:root {
  --ink: #10202b;
  --deep: #07161d;
  --muted: #64727d;
  --line: #dce5e7;
  --paper: #f6f8f5;
  --brand: #0f766e;
  --gold: #c89b3c;
  --red: #8f1f2f;
  --white: #fff;
  --shadow: 0 20px 60px rgba(16, 32, 43, .13);
  --soft-shadow: 0 14px 34px rgba(16, 32, 43, .09);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; object-fit: cover; }

.site-flash { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 80; max-width: min(720px, calc(100% - 32px)); padding: 12px 16px; border-radius: 8px; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; box-shadow: var(--shadow); font-weight: 800; }
.topbar { display: flex; justify-content: space-between; gap: 18px; padding: 8px clamp(18px, 4vw, 64px); background: var(--deep); color: #d9eeee; font-size: 13px; }
.site-header {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: var(--header-align-items, center); justify-content: var(--header-justify, space-between);
  gap: var(--header-gap, 22px); padding: var(--header-padding-y, 12px) var(--header-padding-x, clamp(18px, 4vw, 64px)); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(16, 32, 43, .05);
  font-family: var(--header-font-family, Arial, Helvetica, sans-serif);
}
.brand { position: relative; display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0; transform: translate(var(--header-brand-x, 0), var(--header-brand-y, 0)); overflow: visible; }
.brand-mark { display: grid; place-items: center; width: var(--header-logo-height, 42px); height: var(--header-logo-height, 42px); border-radius: 8px; background: var(--brand); color: white; font-size: var(--header-brand-font-size, 16px); }
.brand-text { color: var(--ink); font: inherit; font-size: var(--header-brand-font-size, 16px); white-space: nowrap; }
.brand.has-logo { flex: 0 0 auto; width: var(--header-logo-width, auto); height: var(--header-logo-slot-height, 58px); }
.brand-logo { width: var(--header-logo-width, auto); max-width: min(var(--header-logo-width, clamp(164px, 18vw, 238px)), 100%); height: var(--header-logo-height, 58px); max-height: none; border-radius: 0; object-fit: contain; }
nav { display: flex; flex-wrap: wrap; gap: var(--header-menu-gap, 8px); font-size: var(--header-menu-font-size, 14px); color: #22313c; transform: translate(var(--header-menu-x, 0), var(--header-menu-y, 0)); }
nav a { padding: var(--header-menu-pad-y, 8px) var(--header-menu-pad-x, 10px); border-radius: 8px; }
nav a:hover { background: #eef6f2; color: var(--brand); }
.site-nav { align-items: center; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-item.has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .72; }
.has-children::before { content: ""; position: absolute; left: -8px; right: -8px; top: 100%; height: 16px; }
.nav-dropdown { position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; display: grid; min-width: 238px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.nav-item:hover > .nav-dropdown, .nav-item:focus-within > .nav-dropdown, .nav-item.is-open > .nav-dropdown, .nav-dropdown-item:hover > .nav-dropdown, .nav-dropdown-item:focus-within > .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.nav-dropdown .nav-dropdown { left: calc(100% - 2px); top: -8px; transform: translateX(-6px); }
.nav-dropdown-item:hover > .nav-dropdown, .nav-dropdown-item:focus-within > .nav-dropdown { transform: translateX(0); }
.nav-dropdown-item { position: relative; }
.nav-dropdown-item.has-children::before { content: ""; position: absolute; top: -8px; right: auto; bottom: -8px; left: calc(100% - 8px); width: 24px; }
.nav-dropdown a, .nav-dropdown-item > a { display: flex; align-items: center; justify-content: space-between; gap: 14px; white-space: nowrap; }
.nav-dropdown-item > a b { color: var(--muted); font-size: 18px; line-height: 1; }
.header-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.header-cta.secondary { color: var(--ink); background: #eef6f2; border: 1px solid var(--line); }
.site-search { display: grid; grid-template-columns: minmax(120px, 190px) auto; gap: 6px; align-items: center; }
.site-search input { min-height: 38px; border-radius: 8px; }
.site-search button { min-height: 38px; padding: 8px 12px; color: white; background: var(--ink); }
.header-cta { padding: var(--header-button-pad-y, 10px) var(--header-button-pad-x, 14px); border-radius: 8px; color: white; background: var(--brand); font-size: var(--header-button-font-size, 14px); font-weight: 900; white-space: nowrap; transform: translate(var(--header-button-x, 0), var(--header-button-y, 0)); }
.btn, button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px; border-radius: 8px; border: 0; cursor: pointer; font-weight: 700; }
.btn.primary { color: white; background: var(--red); }
.btn.dark { color: white; background: var(--ink); }
.btn.ghost { color: var(--ink); background: white; border: 1px solid var(--line); }
.btn.whatsapp, .floating-wa { color: white; background: #16a34a; }

.hero { height: clamp(520px, 58vw, 820px); min-height: 520px; position: relative; overflow: hidden; background: #0b1720; }
.visual-slider-block { height: var(--visual-height, clamp(520px, 58vw, 820px)); min-height: min(var(--visual-height, 520px), 520px); }
.slides, .slide { height: 100%; min-height: inherit; }
.slide {
  position: absolute; inset: 0; display: grid; align-items: center; padding: clamp(22px, 6vw, 86px);
  overflow: hidden; opacity: 0; transform: scale(1.02); transition: opacity .8s ease, transform 1.2s ease;
}
.slide::before { content: ""; position: absolute; inset: -34px; z-index: 0; background-image: var(--slide-image); background-size: cover; background-position: center; filter: blur(22px); opacity: .42; transform: scale(1.04); }
.slide.has-content::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,22,29,.72), rgba(7,22,29,.2) 44%, rgba(7,22,29,.08)); pointer-events: none; }
.slide-media { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.slide.active { opacity: 1; transform: scale(1); }
.slide-content { position: relative; z-index: 2; max-width: 760px; color: white; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.eyebrow, .section-title span { color: var(--gold); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.02; margin: 10px 0 18px; letter-spacing: 0; }
h2 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.08; margin: 8px 0 14px; letter-spacing: 0; }
h3 { margin: 10px 0 6px; font-size: 20px; line-height: 1.18; }
.slide p { max-width: 620px; font-size: 18px; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); max-width: 1280px; margin: -52px auto 0; position: relative; z-index: 3; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.trust-strip div { padding: 22px; background: white; }
.trust-strip strong { display: block; font-size: 28px; color: var(--brand); }
.trust-strip span { color: var(--muted); font-weight: 700; }

.section { padding: 70px clamp(18px, 4vw, 64px); max-width: 1440px; margin: 0 auto; }
.section.tint { max-width: none; background: #eaf0ed; }
.section.tint > * { max-width: 1312px; margin-left: auto; margin-right: auto; }
.section-title { max-width: 820px; margin-bottom: 30px; }
.section-title p { margin: 0; color: var(--muted); font-size: 17px; }
.home-intro { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 28px; align-items: center; margin-top: -42px; padding: 30px clamp(18px, 3vw, 36px); border: 1px solid rgba(15, 118, 110, .14); border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.home-intro > div:first-child { display: grid; gap: 12px; }
.home-intro > div:first-child span, .home-cta span { color: var(--brand); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.home-intro h2, .home-cta h2 { margin: 0; }
.home-intro p, .home-cta p { margin: 0; color: #46545d; font-size: 18px; }
.home-intro-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-intro-stats article { display: grid; align-content: start; gap: 6px; min-height: 132px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, #fff, #f8fbfa); box-shadow: var(--soft-shadow); }
.home-intro-stats strong { color: var(--red); font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.home-intro-stats span { color: var(--ink); font-weight: 900; line-height: 1.32; }
.home-intro.align-center > div:first-child, .home-cta.align-center > div:first-child { justify-items: center; text-align: center; }
.home-intro.align-right > div:first-child, .home-cta.align-right > div:first-child { justify-items: end; text-align: right; }
.home-intro.content-center .home-intro-stats, .home-cta.content-center .home-cta-actions { justify-content: center; margin-left: auto; margin-right: auto; }
.home-intro.content-right .home-intro-stats, .home-cta.content-right .home-cta-actions { justify-content: end; margin-left: auto; margin-right: 0; }
.home-collections { padding-top: 54px; }
.home-collection-grid { display: grid; grid-template-columns: repeat(var(--collection-cols, 3), minmax(0, 1fr)); gap: 18px; }
.home-collections.align-center .section-title, .featured-product-showcase.align-center .featured-showcase-head { justify-items: center; margin-left: auto; margin-right: auto; text-align: center; }
.home-collections.align-right .section-title, .featured-product-showcase.align-right .featured-showcase-head { justify-items: end; margin-left: auto; margin-right: 0; text-align: right; }
.home-collections.content-center .home-collection-grid, .featured-product-showcase.content-center .home-product-grid { justify-content: center; margin-left: auto; margin-right: auto; }
.home-collections.content-right .home-collection-grid, .featured-product-showcase.content-right .home-product-grid { justify-content: end; margin-left: auto; margin-right: 0; }
.home-collections.content-center .home-collection-card > div, .featured-product-showcase.content-center .product-card { text-align: center; }
.home-collections.content-right .home-collection-card > div, .featured-product-showcase.content-right .product-card { text-align: right; }
.home-collection-card { display: grid; grid-template-rows: 230px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.home-collection-card:hover { transform: translateY(-4px); border-color: rgba(15, 118, 110, .34); box-shadow: var(--shadow); }
.home-collection-image { display: block; overflow: hidden; background: #dfe7e8; }
.home-collection-image img { width: 100%; height: 100%; transition: transform .36s ease; }
.home-collection-card:hover img { transform: scale(1.045); }
.home-collection-card > div { display: grid; align-content: start; gap: 10px; padding: 18px; }
.home-collection-card span { color: var(--brand); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.home-collection-card h3 { margin: 0; font-size: 25px; }
.home-collection-card p { margin: 0; color: var(--muted); }
.home-collection-card nav { display: flex; flex-wrap: wrap; gap: 7px; margin: 3px 0; }
.home-collection-card nav a { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: #f7faf9; color: #2a3a42; font-size: 12px; font-weight: 900; }
.home-collection-card .mini-btn { width: fit-content; margin-top: 4px; }
.home-process-band { max-width: none; margin: 34px 0; background: linear-gradient(135deg, #07161d, #102b33); color: white; }
.home-process-band .section { padding-top: 64px; padding-bottom: 64px; }
.home-process-band .section-title span { color: var(--gold); }
.home-process-band .section-title p, .home-process-band .section-title h2 { color: white; }
.home-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-process-grid article { display: grid; align-content: start; gap: 10px; min-height: 210px; padding: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.06); box-shadow: 0 18px 48px rgba(0,0,0,.16); }
.home-process-grid b { color: var(--gold); font-size: 28px; line-height: 1; }
.home-process-grid strong { font-size: 18px; line-height: 1.2; }
.home-process-grid p { margin: 0; color: #d3e2e1; }
.home-products-section { padding-top: 48px; }
.section.featured-product-showcase.visual-block { margin-inline: auto; }
.featured-product-showcase { display: grid; justify-items: center; gap: 28px; }
.featured-showcase-head { display: grid; justify-items: center; width: min(100%, 980px); max-width: 980px; margin: 0 auto 4px; text-align: center; gap: 16px; }
.featured-showcase-head > div { display: grid; justify-items: center; min-width: 0; max-width: 860px; }
.featured-showcase-head h2 { max-width: 860px; }
.featured-showcase-head p { max-width: 760px; }
.featured-showcase-head .showcase-more { justify-self: center; margin: 0; }
.featured-product-showcase .home-product-grid { width: min(100%, 1320px); margin: 0 auto; grid-template-columns: repeat(var(--featured-cols, 4), minmax(0, 1fr)); justify-content: center; }
.home-product-grid .product-card { min-height: 100%; }
.home-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .56fr); gap: 24px; align-items: center; margin-bottom: 34px; border: 1px solid rgba(15, 118, 110, .16); border-radius: 8px; background: linear-gradient(135deg, white, #eef7f3); box-shadow: var(--shadow); }
.home-cta > div:first-child { display: grid; gap: 12px; }
.home-cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.home-cta-actions .btn { width: 100%; }
.home-cta-actions strong, .home-cta-actions small { grid-column: 1 / -1; display: block; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-weight: 900; text-align: center; }
.home-cta-actions small { color: var(--muted); font-size: 13px; }
.filter-bar { display: grid; grid-template-columns: 1.4fr 1fr auto auto; gap: 12px; align-items: end; margin-bottom: 28px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.filter-bar label { display: grid; gap: 6px; font-weight: 800; }
.subcategory-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.subcategory-strip a { display: grid; gap: 6px; min-height: 112px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.subcategory-strip a:hover { border-color: rgba(15, 118, 110, .35); box-shadow: var(--shadow); transform: translateY(-2px); }
.subcategory-strip a.active { border-color: rgba(15, 118, 110, .55); background: #eef8f5; box-shadow: 0 18px 40px rgba(15, 118, 110, .14); }
.subcategory-strip span { color: var(--brand); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.subcategory-strip strong { font-size: 18px; }
.subcategory-strip small { color: var(--muted); line-height: 1.45; }
.makro-collection-strip { position: sticky; top: 82px; z-index: 12; display: flex; gap: 10px; overflow-x: auto; margin: -6px 0 18px; padding: 10px 2px 12px; background: linear-gradient(180deg, rgba(247,250,249,.96), rgba(247,250,249,.88)); scrollbar-width: thin; }
.makro-collection-strip a { flex: 0 0 auto; min-height: 0; min-width: 132px; max-width: 190px; padding: 10px 12px; gap: 3px; border-radius: 8px; box-shadow: none; }
.makro-collection-strip a:hover { transform: none; box-shadow: var(--soft-shadow); }
.makro-collection-strip span { font-size: 10px; letter-spacing: .02em; }
.makro-collection-strip strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.makro-collection-strip small { font-size: 12px; }
.search-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.result-card { display: grid; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.result-card span { color: var(--brand); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.result-card strong { font-size: 20px; }
.result-card p { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.quote-page { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.quote-page > div { position: sticky; top: 108px; }
.section .empty-state { display: grid; place-items: center; gap: 10px; min-height: 220px; padding: 28px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; color: var(--muted); background: white; }
.section .empty-state strong { color: var(--ink); font-size: 20px; }
.category-grid, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.category-card, .product-card, .wide-card, .mini-catalog, .stat, .admin-panel, .login-card, .install-box {
  background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--soft-shadow);
}
.category-card, .product-card, .mini-catalog, .wide-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.category-card:hover, .product-card:hover, .mini-catalog:hover, .wide-card:hover { transform: translateY(-4px); border-color: rgba(15, 118, 110, .32); box-shadow: var(--shadow); }
.category-card { overflow: hidden; min-height: 330px; }
.category-card img { width: 100%; height: 190px; }
.category-card strong, .category-card small { display: block; padding: 0 18px; }
.category-card strong { padding-top: 16px; font-size: 20px; }
.category-card small { color: var(--muted); padding-bottom: 18px; }

.product-card { overflow: hidden; display: flex; flex-direction: column; position: relative; }
.product-card img { width: 100%; height: 248px; background: #dfe7e8; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.045); }
.product-card a { display: block; }
.product-card span, .product-card h3, .product-card p { margin-left: 16px; margin-right: 16px; }
.product-card span { display: inline-block; margin-top: 16px; color: var(--brand); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.variant-badge { display: inline-block; margin: 8px 16px 0; width: fit-content; padding: 4px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; font-style: normal; font-size: 12px; font-weight: 900; }
.product-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 16px 0; }
.product-card-meta b { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 8px; border: 1px solid rgba(15, 118, 110, .16); border-radius: 999px; background: #f6fbf9; color: var(--ink); font-size: 12px; font-weight: 800; }
.product-card p { color: var(--muted); min-height: 74px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.mini-btn { padding: 8px 12px; border-radius: 8px; color: white; background: var(--brand); font-size: 13px; font-weight: 800; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: center; }
.process-band { max-width: none; background: var(--deep); color: white; }
.process-band .section-title { max-width: 1320px; margin-left: auto; margin-right: auto; }
.process-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-grid article { padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.06); }
.process-grid b { color: var(--gold); }
.process-grid p { color: #d3e2e1; }
.testimonial-band { background: #f7faf9; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-card { display: grid; align-content: start; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.testimonial-card > div { display: flex; align-items: center; gap: 12px; }
.testimonial-card img { width: 54px; height: 54px; border-radius: 999px; }
.testimonial-card span { display: grid; gap: 2px; }
.testimonial-card small { color: var(--muted); }
.testimonial-card b { color: var(--gold); letter-spacing: 2px; }
.testimonial-card p { margin: 0; color: var(--ink); }
.faq-list { display: grid; gap: 12px; max-width: 920px; }
.faq-list details { border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.faq-list summary { cursor: pointer; padding: 16px 18px; font-weight: 900; }
.faq-list p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.catalog-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-catalog { overflow: hidden; }
.mini-catalog img { height: 180px; width: 100%; }
.mini-catalog strong { display: block; padding: 14px; }
.page-head { padding: 82px clamp(18px, 4vw, 64px) 40px; background: #0d2830; color: white; }
.page-head p { max-width: 760px; color: #dbe7e8; }
.product-archive-head { display: grid; gap: 14px; }
.page-head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-head-actions .btn { width: fit-content; }
.page-head.align-center p { margin-left: auto; margin-right: auto; }
.service-showcase-section .service-grid { grid-template-columns: repeat(3, minmax(0, 420px)); max-width: 1320px; text-align: left; }
.service-showcase-section.align-left .section-title { margin-left: 0; margin-right: auto; text-align: left; }
.service-showcase-section.align-center .section-title { margin-left: auto; margin-right: auto; text-align: center; }
.service-showcase-section.align-right .section-title { margin-left: auto; margin-right: 0; text-align: right; }
.service-showcase-section.content-left .service-grid { justify-content: start; margin-left: 0; margin-right: auto; }
.service-showcase-section.content-center .service-grid { justify-content: center; margin-left: auto; margin-right: auto; }
.service-showcase-section.content-right .service-grid { justify-content: end; margin-left: auto; margin-right: 0; }
.service-showcase-section.align-center .service-card { text-align: left; }

.product-detail { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr); gap: 44px; padding: 64px clamp(18px, 4vw, 64px); max-width: 1460px; margin: auto; align-items: start; }
.gallery-view { position: sticky; top: 92px; display: grid; gap: 16px; }
.photo-shell { position: relative; overflow: hidden; border: 1px solid rgba(15, 118, 110, .16); border-radius: 8px; background: #dfe7e8; box-shadow: var(--shadow); }
.gallery-view .main-photo { width: 100%; aspect-ratio: 1.18; cursor: zoom-in; transition: transform .35s ease; }
.photo-shell:hover .main-photo { transform: scale(1.04); }
.zoom-btn { position: absolute; right: 14px; top: 14px; z-index: 2; min-height: 38px; padding: 8px 12px; color: white; background: rgba(7, 22, 29, .76); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); }
.photo-color-badge { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 28px); padding: 9px 12px; border-radius: 8px; color: white; background: rgba(7, 22, 29, .78); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 12px 28px rgba(0,0,0,.18); backdrop-filter: blur(12px); font-size: 13px; font-weight: 800; }
.photo-color-badge strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: white; font-size: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); gap: 12px; padding: 12px; overflow: visible; border: 1px solid rgba(15, 118, 110, .14); border-radius: 8px; background: rgba(255,255,255,.78); box-shadow: var(--soft-shadow); }
.thumbs button { min-width: 0; display: grid; gap: 7px; padding: 7px; border: 2px solid transparent; background: white; border-radius: 8px; box-shadow: 0 8px 20px rgba(16, 32, 43, .08); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.thumbs button.active, .thumbs button:hover { border-color: var(--brand); box-shadow: 0 14px 30px rgba(15, 118, 110, .16); transform: translateY(-1px); }
.thumbs img { width: 100%; height: 86px; border-radius: 6px; cursor: pointer; }
.thumbs span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 12px; font-weight: 900; text-align: center; }
.zoom-hint { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.product-info { display: grid; gap: 16px; }
.product-info-head, .product-panel { padding: clamp(20px, 2.7vw, 30px); border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.94); box-shadow: var(--soft-shadow); }
.product-info-head h1 { margin: 12px 0 10px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; }
.product-info-head p { margin: 0; color: #33414b; font-size: 16px; }
.pill { display: inline-block; padding: 6px 10px; border-radius: 8px; background: #e3f4ef; color: var(--brand); font-weight: 800; }
.price { margin: 20px 0; font-size: 28px; font-weight: 900; color: var(--red); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.swatches span, .swatches button, .option-line { padding: 8px 10px; border: 1px solid var(--line); background: white; border-radius: 8px; }
.swatches button { min-height: 38px; color: var(--ink); font-size: 13px; }
.swatches button.active, .swatches button:hover { color: white; background: var(--brand); border-color: var(--brand); }
.option-line { margin: 8px 0; }
.product-panel h2 { margin: 0 0 14px; font-size: 20px; line-height: 1.2; }
.product-panel-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.product-panel-title span, .product-quote-card > span { color: var(--brand); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.product-panel-title strong { color: var(--ink); font-size: 14px; }
.product-panel-title em { color: var(--brand); font-style: normal; }
.product-color-panel .swatches { margin: 0; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-options button { min-height: 38px; padding: 8px 12px; border: 1px solid rgba(15, 118, 110, .22); border-radius: 8px; background: #f7fbfa; color: var(--ink); font-size: 13px; font-weight: 900; cursor: pointer; }
.size-options button:hover, .size-options button.active { border-color: var(--brand); background: var(--brand); color: white; }
.product-quote-card { display: grid; gap: 10px; border-color: rgba(143, 31, 47, .16); background: linear-gradient(135deg, #fff, #fff7f7); }
.product-quote-card > strong { color: var(--red); font-size: clamp(24px, 3vw, 34px); line-height: 1.1; }
.product-quote-card p, .product-note { margin: 0; color: #46545d; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.product-actions .btn { flex: 1 1 190px; }
.product-specs { display: grid; gap: 10px; margin: 0; }
.product-specs div { display: grid; grid-template-columns: minmax(130px, .58fr) 1fr; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; }
.product-specs dt { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.product-specs dd { margin: 0; color: var(--ink); font-weight: 800; }
.variant-public { display: grid; gap: 10px; margin: 18px 0; }
.variant-public h3 { margin-bottom: 2px; }
.variant-choice { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; width: 100%; min-height: 70px; padding: 10px; background: #f8fbfa; border: 1px solid var(--line); text-align: left; }
.variant-choice:hover, .variant-choice.active { border-color: var(--brand); background: #edf8f4; }
.variant-choice img { width: 54px; height: 54px; border-radius: 999px; object-fit: cover; }
.variant-choice span { display: grid; gap: 2px; }
.variant-choice small { color: var(--muted); }
.variant-choice strong { color: var(--red); white-space: nowrap; }
.assurance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.assurance-grid span { padding: 10px 12px; border-radius: 8px; background: #f1f7f4; border: 1px solid var(--line); font-weight: 800; font-size: 13px; }
.quote-box { margin-top: 22px; padding: 18px; border-radius: 8px; border: 1px solid var(--line); background: #f8fbfa; }
.quote-box h3 { margin-top: 0; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.quote-grid label { display: grid; gap: 6px; font-weight: 800; }
.quote-grid label:last-child { grid-column: span 2; }
.related-section { border-top: 1px solid var(--line); }
.cards, .mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-head { background: linear-gradient(90deg, rgba(7,22,29,.95), rgba(15,118,110,.82)); }
.gallery-showcase { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery-card { position: relative; display: block; min-height: 0; padding: 0; overflow: hidden; border-radius: 8px; background: var(--deep); box-shadow: var(--soft-shadow); }
.gallery-card img { width: 100%; height: 100%; transition: transform .35s ease, filter .35s ease; }
.gallery-card:hover img { transform: scale(1.055); filter: brightness(.82); }
.gallery-card span { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 8px; color: white; background: rgba(7,22,29,.72); backdrop-filter: blur(10px); font-weight: 900; text-align: left; }
.featured-gallery { grid-column: span 2; grid-row: span 2; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { overflow: hidden; border-radius: 8px; background: white; border: 1px solid var(--line); box-shadow: var(--soft-shadow); transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { width: 100%; height: 230px; }
.service-card span, .service-card h3, .service-card p, .service-card b { margin-left: 18px; margin-right: 18px; }
.service-card span { display: inline-block; margin-top: 16px; color: var(--brand); text-transform: uppercase; font-size: 12px; font-weight: 900; }
.service-card p { color: var(--muted); min-height: 78px; }
.service-card b { display: inline-block; margin-bottom: 18px; color: var(--red); }
.service-detail-hero { min-height: 520px; display: grid; align-items: center; padding: clamp(28px, 6vw, 86px); background-size: cover; background-position: center; color: white; }
.service-detail-hero div { max-width: 780px; }
.service-detail-hero p { max-width: 680px; font-size: 18px; color: #e7eeee; }
.service-detail-body { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.service-detail-body > div, .service-detail-body aside { padding: 24px; border-radius: 8px; background: white; border: 1px solid var(--line); box-shadow: var(--soft-shadow); }
.service-detail-body aside { display: grid; gap: 10px; }
.service-detail-body aside strong { font-size: 22px; }
.service-detail-body aside span { padding: 10px 12px; border-radius: 8px; background: #f1f7f4; font-weight: 800; }
.custom-page-shell { --page-bg: var(--paper); background: var(--page-bg); }
.custom-page-shell.bg-image { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.78)), var(--page-bg-image), var(--page-bg); background-size: cover; background-attachment: fixed; }
.custom-page-shell.bg-pattern { background: radial-gradient(circle at 18% 12%, rgba(200,155,60,.14), transparent 30%), linear-gradient(135deg, rgba(15,118,110,.08), transparent 34%), var(--page-bg); }
.custom-page-shell.bg-plain { background: var(--page-bg); }
.custom-page-hero { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: end; padding: clamp(28px, 6vw, 86px); background-size: cover; background-position: center; color: white; }
.custom-page-hero > div { max-width: 820px; }
.custom-page-hero p { max-width: 700px; font-size: 18px; color: #e7eeee; }
.custom-page-hero.align-center { place-items: center; text-align: center; grid-template-columns: 1fr; }
.custom-page-hero.align-center > div { margin: auto; }
.custom-page-hero.align-right { justify-items: end; text-align: right; }
.custom-page-hero.overlay-medium { background-blend-mode: multiply; }
.custom-page-hero.overlay-light { background-blend-mode: normal; }
.custom-page-hero aside { display: grid; gap: 10px; padding: 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.custom-page-hero aside span { padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.12); font-weight: 900; }
.custom-page-hero.page-template-plain { min-height: 360px; align-items: center; }
.custom-page-hero.page-template-service { background-position: center top; }
.custom-page-hero.page-template-premium { min-height: 640px; align-items: center; }
.custom-page-hero.page-template-showroom { min-height: 620px; background-position: center bottom; }
.custom-page-hero.page-template-portfolio { min-height: 520px; align-items: center; }
.custom-page-hero.page-template-contact, .custom-page-hero.page-template-faq { min-height: 430px; align-items: center; }
.custom-page-hero.page-template-story { min-height: 600px; }
.custom-page-hero.page-template-split { grid-template-columns: .92fr 1.08fr; }
.custom-page-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.custom-page-body.width-wide { max-width: 1600px; }
.custom-page-body.width-narrow { max-width: 1040px; }
.custom-page-body:not(:has(aside)) { grid-template-columns: 1fr; }
.custom-page-body article, .custom-page-body aside { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.custom-page-body article p { color: var(--muted); font-size: 17px; }
.custom-page-body aside { display: grid; gap: 10px; }
.custom-page-body aside span { padding: 10px 12px; border-radius: 8px; background: #f1f7f4; font-weight: 800; }
.page-template-landing.custom-page-body article { border-top: 4px solid var(--red); }
.page-template-premium.custom-page-body article { border-top: 4px solid var(--gold); }
.page-template-showroom.custom-page-body article { border-left: 4px solid var(--brand); }
.page-template-portfolio.custom-page-body { grid-template-columns: 1fr; }
.page-template-portfolio.custom-page-body aside { display: none; }
.page-template-contact.custom-page-body aside { position: sticky; top: 108px; border-color: rgba(15,118,110,.28); }
.page-template-faq.custom-page-body article { background: #fbfdfc; }
.page-template-story.custom-page-body article p { font-size: 19px; line-height: 1.8; }
.page-template-split.custom-page-body article { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; }
.builder-card-grid, .builder-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.builder-card-grid article, .builder-step-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.builder-card-grid strong, .builder-step-grid strong { display: block; font-size: 20px; }
.builder-card-grid p, .builder-step-grid p { margin-bottom: 0; color: var(--muted); }
.builder-step-grid b { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 8px; color: white; background: var(--brand); }
.builder-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.builder-gallery button { display: block; min-height: 0; padding: 0; overflow: hidden; border-radius: 8px; background: var(--deep); }
.builder-gallery img { width: 100%; height: 230px; transition: transform .28s ease; }
.builder-gallery button:hover img { transform: scale(1.05); }
.builder-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px; border-radius: 8px; background: var(--deep); box-shadow: var(--shadow); }
.builder-stat-grid article { padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; color: white; background: rgba(255,255,255,.07); }
.builder-stat-grid strong { display: block; color: var(--gold); font-size: clamp(28px, 4vw, 44px); line-height: 1; }
.builder-stat-grid span { display: block; margin-top: 8px; color: #dce8e8; font-weight: 800; }
.builder-visual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.builder-visual-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); transition: transform .22s ease, box-shadow .22s ease; }
.builder-visual-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.builder-visual-card img { width: 100%; height: 260px; }
.builder-visual-card div { padding: 18px; }
.builder-visual-card strong { display: block; font-size: 21px; }
.builder-visual-card p { margin-bottom: 0; color: var(--muted); }
.visual-page-output { display: grid; gap: 22px; }
.visual-page-output-system { gap: 0; }
.visual-block { margin: 0; }
.visual-page-output-system > .visual-block.section { margin-left: auto; margin-right: auto; }
.product-template-output .related-section { padding: 0; border-top: 0; max-width: none; }
.visual-heading { max-width: 900px; }
.visual-categories { display: grid; gap: 18px; }
.visual-categories .category-grid { width: 100%; grid-template-columns: repeat(var(--category-cols, 4), minmax(0, 1fr)); }
.visual-block-size.width-wide { max-width: 1180px; margin-inline: auto; }
.visual-block-size.width-medium { max-width: 880px; margin-inline: auto; }
.visual-block-size.width-narrow { max-width: 640px; margin-inline: auto; }
.visual-block-size .visual-block, .visual-block.visual-block-size { border-radius: var(--visual-radius, 8px); }
.visual-block-size.has-block-bg { background-color: var(--visual-bg, transparent) !important; background-image: var(--visual-bg-image, none) !important; background-size: var(--visual-bg-size, cover) !important; background-repeat: var(--visual-bg-repeat, no-repeat) !important; background-position: var(--visual-bg-position, center) !important; }
.visual-block-size.shape-sharp .visual-block, .visual-block.visual-block-size.shape-sharp { border-radius: 0; }
.visual-block-size.shape-soft .visual-block, .visual-block.visual-block-size.shape-soft { border-radius: 18px; }
.visual-block-size.shape-pill .visual-block, .visual-block.visual-block-size.shape-pill { border-radius: 999px; }
.visual-block-size.shape-arch .visual-block, .visual-block.visual-block-size.shape-arch { border-radius: 54px 54px var(--visual-radius, 8px) var(--visual-radius, 8px); }
.visual-heading span, .visual-split span, .visual-hero span, .visual-cta span, .visual-contact span { color: var(--brand); text-transform: uppercase; font-size: 12px; font-weight: 900; }
.visual-heading h2 { margin-top: 4px; }
.visual-hero { min-height: 520px; display: grid; align-items: end; padding: clamp(28px, 6vw, 70px); border-radius: 8px; overflow: hidden; background-size: cover; background-position: center; color: white; box-shadow: var(--shadow); }
.visual-block-size[style*="--visual-height"] .visual-hero, .visual-block-size[style*="--visual-height"] .visual-text, .visual-block-size[style*="--visual-height"] .visual-cta, .visual-block-size[style*="--visual-height"] .visual-split, .visual-block-size[style*="--visual-height"] .visual-image, .visual-block-size[style*="--visual-height"] .visual-contact, .visual-block-size[style*="--visual-height"] .visual-categories, .visual-block-size[style*="--visual-height"] .builder-gallery, .visual-block-size[style*="--visual-height"] .builder-card-grid, .visual-block-size[style*="--visual-height"] .builder-stat-grid, .visual-block.visual-block-size[style*="--visual-height"] { min-height: var(--visual-height); }
.visual-hero div { max-width: 760px; }
.visual-hero span { color: var(--gold); }
.visual-hero p { max-width: 640px; color: #e7eeee; font-size: 18px; }
.visual-text { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.visual-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px; border-radius: 8px; color: white; background: linear-gradient(135deg, var(--deep), var(--brand)); box-shadow: var(--shadow); }
.visual-cta span { color: var(--gold); }
.visual-cta p { color: #dce8e8; }
.visual-button { display: flex; }
.visual-button.style-center { justify-content: center; }
.visual-button.style-right { justify-content: flex-end; }
.visual-search-box { display: grid; grid-template-columns: minmax(220px, .95fr) minmax(260px, 1.3fr) auto; gap: 14px; align-items: end; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--visual-radius, 8px); background: white; box-shadow: var(--soft-shadow); }
.visual-search-box > div { display: grid; gap: 4px; }
.visual-search-box span { color: var(--brand); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.visual-search-box h3 { margin: 0; }
.visual-search-box p { margin: 0; color: var(--muted); }
.visual-search-box label { display: grid; gap: 6px; }
.visual-search-box input { min-height: 48px; border-radius: 8px; }
.button-size-small .btn, .button-size-small button.btn, .button-size-small.visual-button .btn { min-height: 34px; padding: 7px 12px; font-size: 13px; }
.button-size-large .btn, .button-size-large button.btn, .button-size-large.visual-button .btn { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.button-size-xl .btn, .button-size-xl button.btn, .button-size-xl.visual-button .btn { min-height: 62px; padding: 17px 30px; font-size: 18px; }
.button-size-full .btn, .button-size-full button.btn, .button-size-full.visual-button .btn { width: 100%; min-height: 54px; }
.button-size-full.visual-button { width: 100%; }
.visual-image { position: relative; overflow: hidden; border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.visual-image img { width: 100%; max-height: 560px; }
.visual-image figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 3px; padding: 14px; border-radius: 8px; color: white; background: rgba(7,22,29,.72); backdrop-filter: blur(10px); }
.visual-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.visual-split img { width: 100%; height: 360px; border-radius: 8px; }
.visual-split div { display: grid; justify-items: start; gap: 8px; }
.visual-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.visual-contact > div:last-child { display: grid; gap: 10px; padding: 18px; border-radius: 8px; background: #f1f7f4; }
.visual-contact strong { font-size: 20px; }
.visual-logo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); }
.visual-logo-strip span { display: grid; gap: 4px; padding: 14px; border-radius: 8px; background: #f8fbfa; }
.visual-logo-strip b { color: var(--brand); }
.visual-logo-strip small { color: var(--muted); font-weight: 700; }
.visual-text-box { display: grid; gap: 10px; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: var(--visual-radius, 8px); background: white; box-shadow: var(--soft-shadow); }
.visual-text-box span, .visual-frame span { color: var(--brand); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: 0; }
.visual-text-box h3, .visual-frame h3 { margin: 0; font-size: clamp(22px, 3vw, 34px); line-height: 1.1; }
.visual-text-box p, .visual-frame p { margin: 0; color: var(--muted); }
.visual-empty-section { display: grid; place-items: center; align-content: center; gap: 10px; min-height: var(--visual-height, 320px); padding: clamp(24px, 4vw, 54px); border: 2px dashed color-mix(in srgb, var(--brand) 28%, var(--line)); border-radius: var(--visual-radius, 8px); background: linear-gradient(180deg, #fff, #f7fbf9); text-align: center; }
.visual-empty-section span { color: var(--brand); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: 0; }
.visual-empty-section h2 { margin: 0; }
.visual-empty-section p { max-width: 620px; margin: 0; color: var(--muted); }
.visual-frame { display: grid; gap: 12px; min-height: var(--visual-height, 180px); padding: clamp(20px, 3.5vw, 38px); border: 2px dashed color-mix(in srgb, var(--brand) 34%, var(--line)); border-radius: var(--visual-radius, 8px); background: linear-gradient(180deg, #fff, #f8fbfa); }
.visual-badge { display: inline-grid; justify-self: start; gap: 4px; max-width: min(760px, 100%); padding: 11px 16px; border: 1px solid color-mix(in srgb, var(--gold) 42%, var(--line)); border-radius: 999px; color: var(--ink); background: #fff8e6; box-shadow: var(--soft-shadow); font-weight: 900; }
.visual-badge span { color: var(--gold); text-transform: uppercase; font-size: 11px; letter-spacing: 0; }
.visual-badge strong { line-height: 1.15; }
.visual-embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; box-shadow: var(--soft-shadow); background: white; }
.visual-divider { width: 100%; border: 0; border-top: 1px solid var(--line); }
.visual-spacer { min-height: 54px; }
.visual-block.align-center { text-align: center; justify-items: center; }
.visual-block.align-center.visual-hero { justify-items: center; text-align: center; }
.visual-block.align-center.visual-cta, .visual-block.align-center.visual-contact { text-align: center; }
.visual-block.align-right { text-align: right; justify-items: end; }
.visual-block.align-right.visual-hero { justify-items: end; text-align: right; }
.visual-block.align-right.visual-button { justify-content: flex-end; }
.visual-block.space-compact { padding: 14px; }
.visual-block.space-wide { padding: clamp(30px, 5vw, 58px); }
.visual-hero.space-compact { min-height: 390px; }
.visual-hero.space-wide { min-height: 640px; }
.tone-brand.visual-text, .tone-brand.visual-split, .tone-brand.visual-contact, .tone-brand.builder-card-grid article { border-color: rgba(15,118,110,.34); background: #f4fbf8; }
.tone-warm.visual-text, .tone-warm.visual-split, .tone-warm.visual-contact, .tone-warm.builder-card-grid article { border-color: rgba(200,155,60,.42); background: #fffaf0; }
.tone-dark.visual-text, .tone-dark.visual-split, .tone-dark.visual-contact { color: white; background: var(--deep); border-color: rgba(255,255,255,.12); }
.tone-dark.visual-text p, .tone-dark.visual-split p, .tone-dark.visual-contact p { color: #dce8e8; }
.tone-soft.visual-text, .tone-soft.visual-split, .tone-soft.visual-contact, .tone-soft.builder-card-grid article { background: #f8fbfa; }
.style-accent.visual-text, .style-accent.builder-card-grid article, .style-accent.builder-step-grid article { border-color: rgba(15,118,110,.28); background: #f7fbfa; }
.style-dark.visual-text { color: white; background: var(--deep); border-color: rgba(255,255,255,.12); }
.style-dark.visual-text p { color: #dbe7e8; }
.style-luxury.visual-text, .style-luxury.visual-split, .style-luxury.visual-contact { border-color: rgba(200,155,60,.45); background: #fffdf7; }
.style-glass.visual-text, .style-glass.visual-split, .style-glass.visual-contact { background: rgba(255,255,255,.72); backdrop-filter: blur(14px); }
.style-minimal.visual-text, .style-minimal.visual-split, .style-minimal.visual-contact { box-shadow: none; border-color: transparent; background: transparent; }
.wide-card { display: grid; grid-template-columns: 180px 1fr; overflow: hidden; }
.wide-card img { width: 180px; height: 100%; }
.wide-card div { padding: 18px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: 8px; background: white; }
.mosaic img { width: 100%; height: 320px; }
.mosaic figcaption { padding: 12px 14px; font-weight: 700; }
.floating-wa { position: fixed; right: 18px; bottom: 18px; z-index: 20; padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 900; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px clamp(18px, 4vw, 64px); background: var(--ink); color: white; }
.layout-topbar.style-dark, .layout-topbar.tone-dark { background: var(--deep); color: #d9eeee; }
.layout-header-template.style-dark { color: white; background: rgba(7, 22, 29, .94); border-color: rgba(255,255,255,.1); }
.layout-header-template.style-dark nav a { color: #edf7f4; }
.layout-header-template.style-dark .site-search input { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.22); }
.layout-header-template.style-dark .site-search input::placeholder { color: rgba(255,255,255,.68); }
.site-footer-template { display: block; padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 64px) 24px; background: var(--ink); color: white; }
.site-footer-template .footer-grid { display: grid; grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, .75fr)); gap: var(--footer-gap, clamp(24px, 4vw, 52px)); max-width: 1320px; margin: 0 auto; }
.site-footer-template section { display: grid; align-content: start; gap: 10px; }
.footer-logo { width: min(var(--footer-logo-width, 260px), 100%); height: var(--footer-logo-height, auto); max-height: var(--footer-logo-height, none); margin-bottom: 6px; object-fit: contain; }
.site-footer-template .footer-brand span { color: var(--gold); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.site-footer-template h2 { margin: 0; color: white; font-size: var(--footer-title-font-size, clamp(28px, 4vw, 48px)); }
.site-footer-template p, .site-footer-template span, .site-footer-template a, .site-footer-template small { color: rgba(255,255,255,.76); font-size: var(--footer-text-font-size, 15px); }
.site-footer-template strong { color: white; font-size: 16px; }
.site-footer-template .footer-links a { padding: 3px 0; }
.site-footer-template .footer-links a:hover { color: white; }
.site-footer-template .btn { justify-self: start; margin-top: 10px; color: white; }
.site-footer-template > small { display: block; max-width: 1320px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer-template .footer-brand { position: relative; transform: translate(var(--footer-brand-x, 0), var(--footer-brand-y, 0)); }
.site-footer-template .footer-links { position: relative; transform: translate(var(--footer-links-x, 0), var(--footer-links-y, 0)); }
.site-footer-template .footer-contact { position: relative; transform: translate(var(--footer-contact-x, 0), var(--footer-contact-y, 0)); }
.builder-layout-preview.site-header { position: relative; top: auto; z-index: 1; }
.builder-layout-preview.site-footer-template { border-radius: 8px; overflow: hidden; }
.builder-live-canvas .builder-layout-preview.site-header .nav-item:hover > .nav-dropdown,
.builder-live-canvas .builder-layout-preview.site-header .nav-item:focus-within > .nav-dropdown,
.builder-live-canvas .builder-layout-preview.site-header .nav-dropdown-item:hover > .nav-dropdown,
.builder-live-canvas .builder-layout-preview.site-header .nav-dropdown-item:focus-within > .nav-dropdown { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); }
.builder-live-canvas .builder-layout-preview.site-header [data-header-drag] { cursor: move; }
.header-part-handle { position: absolute; left: 0; top: -24px; z-index: 12; display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--admin-accent, var(--brand)) 42%, white); border-radius: 999px; color: white; background: linear-gradient(135deg, var(--admin-accent, var(--brand)), #0f766e); box-shadow: 0 8px 18px rgba(16,24,40,.16); font-size: 10px; font-weight: 1000; line-height: 1; opacity: 0; pointer-events: auto; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; user-select: none; }
.builder-layout-preview.site-header .brand:hover .header-part-handle,
.builder-layout-preview.site-header nav:hover .header-part-handle,
.builder-layout-preview.site-header .header-cta:hover .header-part-handle,
.builder-layout-preview.site-header .header-part-handle:hover { opacity: 1; transform: translateY(0); }
.header-part-handle i { display: block; width: 10px; height: 10px; border: 2px solid rgba(255,255,255,.96); border-top: 0; border-left: 0; border-radius: 2px; cursor: nwse-resize; }
.builder-layout-preview.site-header nav, .builder-layout-preview.site-header .header-cta { position: relative; }
.builder-layout-preview.site-header nav .header-part-handle { left: 8px; }
.builder-layout-preview.site-header .header-cta .header-part-handle { left: auto; right: 0; }
.builder-live-canvas .builder-layout-preview.site-footer-template [data-footer-drag] { cursor: move; }
.footer-part-handle { position: absolute; left: 0; top: -24px; z-index: 12; display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--admin-accent, var(--brand)) 42%, white); border-radius: 999px; color: white; background: linear-gradient(135deg, #0f766e, #10202b); box-shadow: 0 8px 18px rgba(16,24,40,.18); font-size: 10px; font-weight: 1000; line-height: 1; opacity: 0; pointer-events: auto; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; user-select: none; }
.builder-layout-preview.site-footer-template [data-footer-drag]:hover .footer-part-handle,
.builder-layout-preview.site-footer-template .footer-part-handle:hover { opacity: 1; transform: translateY(0); }
.footer-part-handle i { display: block; width: 10px; height: 10px; border: 2px solid rgba(255,255,255,.96); border-top: 0; border-left: 0; border-radius: 2px; cursor: nwse-resize; }
.builder-layout-preview.site-footer-template .footer-contact .footer-part-handle { left: auto; right: 0; }
.header-builder { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; }
.header-logo-panel { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; }
.header-logo-panel .selected-image-control { background: white; }
.header-builder-title { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.header-builder-title strong { font-size: 14px; }
.header-builder-title span { color: var(--muted); font-size: 12px; font-weight: 700; }
.header-toggle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.header-toggle-grid label, .header-check { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 12px; font-weight: 900; }
.header-builder-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.header-tune-panel { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; }
.header-tune-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.header-menu-list { display: grid; gap: 8px; }
.header-menu-row { display: grid; grid-template-columns: 1fr 1.25fr 1fr 110px auto; gap: 8px; align-items: end; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.header-menu-row label { margin: 0; }
.header-menu-row .icon-danger { min-height: 38px; padding: 8px 12px; color: #991b1b; background: #fee2e2; }
.inspector-header-builder { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }

.lightbox {
  position: fixed; inset: 0; z-index: 60; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 76px 24px 132px;
  background: rgba(7, 22, 29, .9); backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox-stage { display: grid; justify-items: center; gap: 10px; width: min(1180px, 96vw); max-height: calc(100vh - 218px); margin: 0; }
.lightbox-stage > img { max-width: 100%; max-height: calc(100vh - 260px); border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.42); cursor: zoom-in; object-fit: contain; background: white; }
.lightbox-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; min-height: 28px; color: white; text-align: center; font-size: 13px; font-weight: 800; }
.lightbox-caption strong { max-width: min(760px, 86vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-caption span { display: none; padding: 5px 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.12); color: white; font-size: 12px; font-weight: 900; }
.lightbox-caption span:not(:empty) { display: inline-flex; }
.lightbox.zoomed { align-items: flex-start; justify-content: flex-start; overflow: auto; cursor: grab; }
.lightbox.zoomed.panning { cursor: grabbing; user-select: none; }
.lightbox.zoomed .lightbox-stage { justify-items: start; width: max-content; max-height: none; min-width: max-content; margin: 0; padding: 24px 24px 132px; }
.lightbox.zoomed .lightbox-stage > img { max-width: none; max-height: none; width: min(1900px, 180vw); cursor: grab; }
.lightbox.zoomed.panning .lightbox-stage > img { cursor: grabbing; }
.lightbox-close, .lightbox-zoom { position: fixed; top: 18px; z-index: 62; min-height: 42px; color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.lightbox-close { right: 18px; width: 48px; padding: 0; font-size: 18px; }
.lightbox-zoom { right: 82px; padding: 10px 18px; }
.lightbox-nav { position: fixed; top: 50%; z-index: 62; display: grid; place-items: center; width: 52px; height: 66px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(255,255,255,.12); color: white; font-size: 48px; line-height: 1; transform: translateY(-50%); box-shadow: 0 18px 46px rgba(0,0,0,.22); }
.lightbox-nav:hover, .lightbox-close:hover, .lightbox-zoom:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-thumbs { position: fixed; left: 50%; bottom: 18px; z-index: 62; display: flex; gap: 10px; width: min(960px, calc(100vw - 32px)); max-height: 104px; padding: 10px; overflow-x: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(7, 22, 29, .76); box-shadow: 0 18px 58px rgba(0,0,0,.28); backdrop-filter: blur(14px); transform: translateX(-50%); }
.lightbox-thumbs:empty { display: none; }
.lightbox-thumbs button { flex: 0 0 96px; display: grid; gap: 5px; min-height: 0; padding: 5px; border: 2px solid transparent; border-radius: 8px; background: rgba(255,255,255,.1); color: white; }
.lightbox-thumbs button.active, .lightbox-thumbs button:hover { border-color: var(--gold); background: rgba(255,255,255,.18); }
.lightbox-thumbs img { width: 100%; height: 62px; border-radius: 6px; box-shadow: none; object-fit: cover; cursor: pointer; background: white; }
.lightbox-thumbs span { overflow: hidden; color: white; font-size: 11px; font-weight: 900; line-height: 1.2; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

.install, .admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #082029, #0f766e); }
.install-box, .login-card { width: min(520px, 100%); padding: 30px; }
.login-card label, .admin-form label { display: grid; gap: 6px; font-weight: 700; }
input, textarea, select { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; background: white; }
textarea { min-height: 96px; resize: vertical; }
.field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.4; }
.alert, .notice { position: relative; padding: 12px 46px 12px 14px; border-radius: 8px; background: #fef3c7; color: #7c2d12; margin: 0 0 16px; }
.message-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; min-height: 0; padding: 0; border: 0; border-radius: 8px; color: inherit; background: rgba(124, 45, 18, .08); font-weight: 900; cursor: pointer; }
.file-selection-summary { display: inline-flex; width: fit-content; margin-top: 6px; padding: 5px 8px; border-radius: 999px; color: var(--admin-muted, #667085); background: color-mix(in srgb, var(--admin-accent, #0f766e) 10%, transparent); font-size: 12px; font-weight: 800; }
form[data-submitting="1"] { opacity: .74; pointer-events: none; }

.admin {
  --admin-bg: #f5f7fb;
  --admin-surface: #ffffff;
  --admin-surface-2: #f8fafc;
  --admin-text: #101828;
  --admin-muted: #667085;
  --admin-line: #e4e7ec;
  --admin-accent: #0f766e;
  --admin-accent-2: #c89b3c;
  --admin-danger: #d92d20;
  display: grid; grid-template-columns: 282px 1fr; min-height: 100vh; background: var(--admin-bg); color: var(--admin-text);
}
.admin.dark-mode {
  --admin-bg: #0b1020;
  --admin-surface: #111827;
  --admin-surface-2: #0f172a;
  --admin-text: #f8fafc;
  --admin-muted: #98a2b3;
  --admin-line: #263244;
  --admin-accent: #2dd4bf;
  --admin-accent-2: #f4c15d;
  --shadow: 0 20px 60px rgba(0, 0, 0, .35);
  --soft-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}
.admin-side { position: sticky; top: 0; min-height: 100vh; background: var(--admin-surface); color: var(--admin-text); padding: 18px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--admin-line); box-shadow: 12px 0 32px rgba(16, 24, 40, .04); }
.admin-side > strong { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 19px; }
.admin-side > strong span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: white; background: linear-gradient(135deg, var(--admin-accent), var(--brand)); font-size: 13px; }
.admin-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.admin-side a { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 9px 12px; border-radius: 8px; color: var(--admin-muted); font-weight: 800; }
.admin-side a.active, .admin-side a:hover { background: color-mix(in srgb, var(--admin-accent) 12%, transparent); color: var(--admin-accent); }
.admin-side a b { margin-left: auto; min-width: 24px; padding: 2px 7px; border-radius: 999px; color: white; background: var(--admin-accent); font-size: 11px; text-align: center; }
.admin-menu-group { display: grid; gap: 4px; padding: 9px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.admin-menu-group span { padding: 4px 4px 6px; color: var(--admin-muted); text-transform: uppercase; font-size: 11px; font-weight: 900; }
.admin-menu-group a { padding-left: 14px; }
.admin-main { padding: 24px; min-width: 0; }
.admin-main h1 { color: var(--admin-text); font-size: 34px; }
.admin-topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -24px -24px 24px; padding: 16px 24px; background: color-mix(in srgb, var(--admin-surface) 94%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--admin-line); }
.admin-topbar span { color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.admin-topbar h2 { margin: 2px 0 0; font-size: 22px; }
.admin-top-actions { display: flex; align-items: center; gap: 10px; }
.admin-top-actions .btn, .theme-toggle { gap: 8px; }
.admin-user-pill { display: grid; gap: 2px; max-width: 260px; padding: 8px 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); color: var(--admin-text); font-size: 12px; font-weight: 900; }
.admin-user-pill small { overflow: hidden; color: var(--admin-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.theme-toggle { min-height: 40px; color: white; background: var(--admin-accent); box-shadow: 0 10px 20px color-mix(in srgb, var(--admin-accent) 28%, transparent); }
.admin-topbar .theme-toggle span { color: inherit; }
.admin { grid-template-columns: 300px minmax(0, 1fr); background: linear-gradient(180deg, #f7fafc 0%, #eef4f3 100%); }
.admin.dark-mode { background: #0b1020; }
.admin-side { height: 100vh; min-height: 100vh; overflow: hidden; padding: 16px; gap: 10px; scrollbar-width: thin; }
.admin-side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--admin-line); }
.admin-brand { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 11px; align-items: center; min-width: 0; color: var(--admin-text); }
.admin-brand > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; color: white; background: linear-gradient(135deg, var(--admin-accent), var(--brand)); font-size: 14px; font-weight: 1000; letter-spacing: 0; box-shadow: 0 12px 28px color-mix(in srgb, var(--admin-accent) 22%, transparent); }
.admin-brand strong { display: grid; gap: 2px; min-width: 0; margin: 0; font-size: 16px; line-height: 1.1; }
.admin-brand small { overflow: hidden; color: var(--admin-muted); font-size: 11px; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.admin-side-close, .admin-mobile-menu-toggle { display: none; place-items: center; width: 40px; height: 40px; min-height: 40px; padding: 0; border: 1px solid var(--admin-line); border-radius: 8px; color: var(--admin-text); background: var(--admin-surface-2); cursor: pointer; }
.admin-side-status { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 10px 11px; border: 1px solid color-mix(in srgb, var(--admin-accent) 18%, var(--admin-line)); border-radius: 8px; background: color-mix(in srgb, var(--admin-accent) 6%, var(--admin-surface)); color: var(--admin-muted); font-size: 12px; font-weight: 900; }
.admin-side-status i { width: 9px; height: 9px; border-radius: 999px; background: #12b76a; box-shadow: 0 0 0 4px rgba(18, 183, 106, .13); }
.admin-side-status b { color: var(--admin-accent); font-size: 11px; text-transform: uppercase; }
.admin-nav { display: grid; flex: 1 1 auto; gap: 6px; min-height: 0; overflow: hidden auto; padding-right: 3px; scrollbar-width: thin; }
.admin-nav > a, .admin-menu-group a, .admin-side-footer a { position: relative; min-height: 40px; border: 1px solid transparent; transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.admin-nav > a:hover, .admin-menu-group a:hover, .admin-side-footer a:hover { transform: translateX(2px); border-color: color-mix(in srgb, var(--admin-accent) 18%, var(--admin-line)); }
.admin-nav > a.active, .admin-menu-group a.active { border-color: color-mix(in srgb, var(--admin-accent) 24%, var(--admin-line)); box-shadow: inset 3px 0 0 var(--admin-accent); }
.admin-menu-group { gap: 5px; padding: 10px; border-radius: 8px; }
.admin-menu-group > span { display: flex; align-items: center; justify-content: space-between; letter-spacing: 0; }
.admin-side-footer { display: grid; gap: 7px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--admin-line); }
.admin-side-footer a:last-child { color: var(--admin-danger); }
.admin-topbar { min-height: 74px; display: grid; grid-template-columns: minmax(0, 1fr) auto; box-shadow: 0 12px 26px rgba(16, 24, 40, .05); }
.admin-topbar > div:first-of-type { min-width: 0; }
.admin-topbar h2 { overflow: hidden; max-width: 720px; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-pill { min-height: 40px; justify-content: center; }
.admin .btn, .admin button, .admin .mini-btn { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease; }
.admin .btn:hover, .admin button:hover, .admin .mini-btn:hover { transform: translateY(-1px); }
.admin-panel { border: 1px solid var(--admin-line); }
.admin-panel:hover { border-color: color-mix(in srgb, var(--admin-accent) 16%, var(--admin-line)); }
.stat { border: 1px solid var(--admin-line); }
.stat::after { right: 18px; top: auto; bottom: 18px; width: 48px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--admin-accent), var(--admin-accent-2)); }
.quick-grid a, .quality-card, .mini-list > div, .table > div, .media-card, .collection-image-card { transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.quick-grid a:hover, .table > div:hover, .media-card:hover, .collection-image-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--admin-accent) 24%, var(--admin-line)); box-shadow: var(--soft-shadow); }
.table > div { background: var(--admin-surface); }
.table button { border: 1px solid #fecaca; }
.admin-toolbar { background: linear-gradient(180deg, var(--admin-surface), var(--admin-surface-2)); box-shadow: 0 12px 28px rgba(16, 24, 40, .04); }
.admin input:focus, .admin textarea:focus, .admin select:focus { outline: 3px solid color-mix(in srgb, var(--admin-accent) 16%, transparent); border-color: color-mix(in srgb, var(--admin-accent) 55%, var(--admin-line)); }
.seo-workbench { display: grid; gap: 16px; }
.seo-workbench-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 14px; align-items: start; }
.seo-preview-card { display: grid; gap: 7px; padding: 16px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); box-shadow: 0 12px 28px rgba(16, 24, 40, .04); }
.seo-preview-card span, .seo-advanced-grid h4 { margin: 0; color: var(--admin-muted); font-size: 11px; font-weight: 1000; letter-spacing: 0; text-transform: uppercase; }
.seo-preview-card strong { color: #1a0dab; font-size: 19px; line-height: 1.25; font-weight: 500; }
.seo-preview-card small { color: #188038; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.seo-preview-card p { margin: 0; color: #4d5156; line-height: 1.45; }
.seo-preview-card em { color: var(--admin-muted); font-style: normal; font-size: 12px; font-weight: 800; line-height: 1.35; }
.seo-meter { height: 9px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--admin-muted) 16%, transparent); }
.seo-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b42318, var(--admin-accent-2), var(--admin-accent)); transition: width .18s ease; }
.seo-field-grid, .seo-advanced-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.seo-field-grid label.wide, .seo-advanced-grid .wide { grid-column: 1 / -1; }
.seo-field-grid small, .seo-advanced-grid small { color: var(--admin-muted); font-size: 12px; font-weight: 800; text-transform: none; }
.seo-advanced-grid > section { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); }
.seo-score-badge, .seo-status-chip { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 30px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 1000; white-space: nowrap; }
.seo-score-badge.good, .seo-status-chip.good { color: #067647; background: #dcfae6; }
.seo-score-badge.warn, .seo-status-chip.warn { color: #93370d; background: #fef0c7; }
.seo-score-badge.bad, .seo-status-chip.bad { color: #b42318; background: #fee4e2; }
.page-seo-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.page-seo-summary span { display: grid; gap: 2px; padding: 13px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.page-seo-summary b { color: var(--admin-text); font-size: 24px; line-height: 1; }
.page-manager-list > div { grid-template-columns: 54px minmax(0, 1fr) auto auto auto auto auto; }
.seo-row-note { color: #b42318 !important; }
.form-preview.compact img { max-height: 120px; object-fit: cover; }
.admin textarea[aria-invalid="true"], .admin textarea[data-invalid="1"] { border-color: #f04438; outline: 3px solid rgba(240, 68, 56, .14); }
.admin input, .admin textarea, .admin select { background: var(--admin-surface); color: var(--admin-text); border-color: var(--admin-line); }
.admin input::placeholder, .admin textarea::placeholder { color: var(--admin-muted); }
.admin .btn.ghost { background: var(--admin-surface); border-color: var(--admin-line); color: var(--admin-text); }
.admin .notice { border: 1px solid #abefc6; color: #067647; background: #ecfdf3; }
.admin .alert { border: 1px solid #fecdca; color: #b42318; background: #fef3f2; }
.security-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.security-banner strong, .security-banner span { margin-right: auto; }
.security-banner .mini-btn { background: #b42318; color: white; }
.admin-title-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.admin-title-row h1 { margin: 0; }
.admin-eyebrow { display: inline-flex; margin-bottom: 4px; color: var(--admin-accent); font-size: 12px; font-weight: 1000; text-transform: uppercase; }
.page-title-row { align-items: flex-start; }
.page-title-row p { margin: 6px 0 0; color: var(--admin-muted); font-weight: 700; }
.page-title-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.admin-subnav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 8px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); box-shadow: 0 12px 28px rgba(16, 24, 40, .04); }
.admin-subnav a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; color: var(--admin-muted); font-weight: 1000; }
.admin-subnav a:hover, .admin-subnav a.active { color: var(--admin-accent); border-color: color-mix(in srgb, var(--admin-accent) 24%, var(--admin-line)); background: color-mix(in srgb, var(--admin-accent) 9%, var(--admin-surface)); }
.admin-subnav .admin-icon { width: 18px; height: 18px; }
.page-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.page-overview-grid article { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--admin-line); border-radius: 8px; background: linear-gradient(180deg, var(--admin-surface), var(--admin-surface-2)); box-shadow: var(--soft-shadow); }
.page-overview-grid span { color: var(--admin-muted); font-size: 12px; font-weight: 1000; text-transform: uppercase; }
.page-overview-grid strong { color: var(--admin-text); font-size: 30px; line-height: 1; }
.page-overview-grid small { color: var(--admin-muted); font-weight: 800; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { position: relative; padding: 20px; background: var(--admin-surface); border-color: var(--admin-line); overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -28px; top: -28px; width: 88px; height: 88px; border-radius: 999px; background: color-mix(in srgb, var(--admin-accent) 10%, transparent); }
.stat-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 8px; color: var(--admin-accent); background: color-mix(in srgb, var(--admin-accent) 12%, transparent); }
.stat span { color: var(--admin-muted); text-transform: uppercase; font-size: 12px; font-weight: 800; }
.stat strong { display: block; font-size: 34px; }
.stat small { color: var(--admin-muted); font-weight: 700; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 20px; }
.quick-grid a { display: grid; gap: 8px; min-height: 128px; padding: 18px; border: 1px solid var(--admin-line); border-radius: 8px; background: linear-gradient(180deg, var(--admin-surface), var(--admin-surface-2)); box-shadow: var(--soft-shadow); }
.quick-grid .admin-icon { width: 24px; height: 24px; color: var(--admin-accent); }
.quick-grid strong { font-size: 18px; }
.quick-grid span { color: var(--admin-muted); font-size: 13px; font-weight: 700; }
.dashboard-quality { margin-bottom: 20px; }
.dashboard-quality-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quality-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; min-height: 116px; padding: 15px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.quality-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--admin-accent) 34%, var(--admin-line)); box-shadow: var(--soft-shadow); }
.quality-card span { grid-column: 1 / -1; width: fit-content; padding: 4px 9px; border-radius: 999px; color: var(--admin-accent); background: color-mix(in srgb, var(--admin-accent) 10%, transparent); font-size: 11px; font-weight: 1000; text-transform: uppercase; }
.quality-card.warning span { color: #b42318; background: #fee4e2; }
.system-card.ok { border-color: color-mix(in srgb, #12b76a 28%, var(--admin-line)); }
.system-card.warning { border-color: color-mix(in srgb, #f04438 42%, var(--admin-line)); background: #fff7f7; }
.quality-card strong { color: var(--admin-text); font-size: 32px; line-height: 1; }
.quality-card b { color: var(--admin-text); line-height: 1.2; }
.quality-card small { grid-column: 1 / -1; color: var(--admin-muted); font-weight: 800; }
.dashboard-panels { display: grid; grid-template-columns: 1.35fr .85fr; gap: 16px; }
.chart-panel { grid-row: span 2; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head span { color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.panel-head h2 { margin: 2px 0 0; }
.panel-head a { color: var(--admin-accent); font-weight: 900; }
.mini-list { display: grid; gap: 10px; }
.mini-list > div { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.mini-list img { width: 46px; height: 46px; border-radius: 8px; }
.mini-list span { display: grid; gap: 2px; min-width: 0; }
.mini-list b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-list small, .mini-list em { color: var(--admin-muted); font-style: normal; font-size: 12px; }
.progress-panel { display: grid; align-content: start; gap: 14px; }
.progress-row { display: grid; gap: 8px; }
.progress-row div { display: flex; justify-content: space-between; gap: 12px; color: var(--admin-text); font-weight: 800; }
.progress-row span { color: var(--admin-accent); }
.progress-row i { height: 9px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--admin-muted) 14%, transparent); }
.progress-row em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--admin-accent), var(--admin-accent-2)); }
.admin-panel { padding: 20px; margin-bottom: 22px; overflow: hidden; background: var(--admin-surface); border-color: var(--admin-line); box-shadow: var(--soft-shadow); }
.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end; }
.admin-form textarea, .checks, .option-builder, .option-manager, .variant-manager, .seo-manager, .image-manager, .page-builder-intro, .visual-page-editor { grid-column: span 2; }
.option-manager, .variant-manager, .seo-manager, .image-manager { border: 1px solid var(--admin-line); background: var(--admin-surface-2); border-radius: 8px; padding: 16px; }
.visual-page-editor { border: 1px solid var(--admin-line); background: var(--admin-surface-2); border-radius: 8px; padding: 16px; }
.visual-builder-shell { display: grid; grid-template-columns: 270px 1fr; gap: 14px; min-height: 520px; }
.visual-builder-sidebar { display: grid; align-content: start; gap: 8px; max-height: 620px; overflow: auto; padding: 12px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); }
.visual-builder-sidebar > span { color: var(--admin-muted); text-transform: uppercase; font-size: 12px; font-weight: 900; }
.visual-builder-sidebar button { display: grid; justify-items: start; gap: 2px; min-height: 58px; padding: 10px 12px; color: var(--admin-text); background: var(--admin-surface-2); border: 1px solid var(--admin-line); text-align: left; cursor: grab; }
.visual-builder-sidebar button:hover { color: var(--admin-accent); border-color: color-mix(in srgb, var(--admin-accent) 35%, var(--admin-line)); }
.visual-builder-sidebar small { color: var(--admin-muted); font-weight: 700; }
.visual-builder-stage { display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); overflow: hidden; }
.visual-toolbar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--admin-line); background: var(--admin-surface-2); }
.visual-toolbar span { color: var(--admin-muted); font-size: 13px; font-weight: 700; }
.visual-device-tabs { display: flex; gap: 6px; margin-left: auto; }
.visual-device-tabs button { min-height: 32px; padding: 6px 10px; color: var(--admin-muted); background: var(--admin-surface); border: 1px solid var(--admin-line); }
.visual-device-tabs button.active { color: white; background: var(--admin-accent); }
.visual-canvas { display: grid; align-content: start; gap: 8px; min-height: 470px; padding: 14px; background: linear-gradient(180deg, var(--admin-surface), var(--admin-surface-2)); }
.builder-live-page { display: grid; align-content: start; gap: 8px; width: 100%; max-width: 1440px; margin: 0 auto; padding: 70px clamp(18px, 4vw, 64px); }
.builder-live-page.visual-page-output { gap: 0; }
.builder-live-page.visual-page-output > .visual-editor-block { margin-bottom: 22px; }
.builder-live-page.visual-page-output > .visual-editor-block:last-of-type { margin-bottom: 0; }
.builder-live-page.visual-page-output-system { max-width: none; padding: 0 0 70px; gap: 0; }
.builder-live-page.visual-page-output-system > .visual-editor-block { margin-bottom: 0; }
.builder-live-page.visual-page-output-system > .visual-editor-block.type-homeIntro,
.builder-live-page.visual-page-output-system > .visual-editor-block.type-homeCollections,
.builder-live-page.visual-page-output-system > .visual-editor-block.type-featuredProducts,
.builder-live-page.visual-page-output-system > .visual-editor-block.type-homeCta { width: min(1440px, 100%); justify-self: center; }
.builder-live-page.visual-page-output-system > .visual-editor-block.type-slider,
.builder-live-page.visual-page-output-system > .visual-editor-block.type-homeProcess { width: 100%; justify-self: stretch; }
.visual-canvas[data-device="tablet"] { max-width: 780px; width: 100%; justify-self: center; border-left: 10px solid color-mix(in srgb, var(--admin-muted) 18%, transparent); border-right: 10px solid color-mix(in srgb, var(--admin-muted) 18%, transparent); }
.visual-canvas[data-device="mobile"] { max-width: 390px; width: 100%; justify-self: center; border-left: 12px solid color-mix(in srgb, var(--admin-muted) 22%, transparent); border-right: 12px solid color-mix(in srgb, var(--admin-muted) 22%, transparent); }
.visual-canvas.is-over { outline: 2px dashed var(--admin-accent); outline-offset: -8px; }
.visual-empty { display: grid; place-items: center; align-content: center; gap: 16px; min-height: 340px; padding: 24px; border: 1px dashed color-mix(in srgb, var(--admin-accent) 34%, var(--admin-line)); border-radius: 8px; color: var(--admin-muted); text-align: center; font-weight: 800; background: color-mix(in srgb, var(--admin-accent) 5%, transparent); }
.visual-empty b { display: block; color: var(--admin-text); font-size: 24px; line-height: 1.15; }
.visual-empty span { display: block; max-width: 520px; margin-top: 6px; font-size: 14px; font-weight: 700; }
.visual-empty section { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.visual-empty button { min-height: 38px; padding: 8px 12px; color: var(--admin-accent); border: 1px solid color-mix(in srgb, var(--admin-accent) 34%, var(--admin-line)); background: var(--admin-surface); font-weight: 900; }
.visual-insert-rail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; min-height: 36px; margin: 3px 0; padding: 6px; border: 1px dashed transparent; border-radius: 8px; color: var(--admin-muted); opacity: .42; transition: opacity .16s ease, border-color .16s ease, background .16s ease; }
.visual-insert-rail:hover { opacity: 1; border-color: color-mix(in srgb, var(--admin-accent) 34%, var(--admin-line)); background: color-mix(in srgb, var(--admin-accent) 7%, transparent); }
.builder-live-canvas .visual-insert-rail { position: relative; z-index: 3; height: 0; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; overflow: visible; }
.builder-live-canvas .visual-insert-rail:hover, .builder-live-canvas .visual-insert-rail:focus-within { opacity: 1; }
.builder-live-canvas .visual-insert-rail > * { transform: translateY(-50%); }
.visual-insert-rail span { font-size: 11px; font-weight: 900; text-transform: uppercase; }
.visual-insert-rail button { min-height: 28px; padding: 5px 8px; color: var(--admin-accent); border: 1px solid color-mix(in srgb, var(--admin-accent) 24%, var(--admin-line)); background: var(--admin-surface); font-size: 11px; font-weight: 900; }
.visual-editor-block { position: relative; display: grid; gap: 0; padding: 0; border: 0; outline: 1px solid transparent; border-radius: 10px; background: transparent; box-shadow: none; transition: outline-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.visual-editor-block.width-full { width: 100%; }
.visual-editor-block.width-wide { width: min(1180px, 100%); justify-self: center; }
.visual-editor-block.width-medium { width: min(880px, 100%); justify-self: center; }
.visual-editor-block.width-narrow { width: min(640px, 100%); justify-self: center; }
.builder-live-page.visual-page-output-system .visual-editor-block:not(.type-homeIntro):not(.type-homeCollections):not(.type-featuredProducts):not(.type-homeCta) { width: 100%; justify-self: stretch; }
.visual-editor-block:hover, .visual-editor-block.is-selected { outline-color: color-mix(in srgb, var(--admin-accent) 46%, var(--admin-line)); box-shadow: 0 18px 42px color-mix(in srgb, var(--admin-accent) 14%, transparent); }
.visual-editor-block.settings-open { z-index: 40; }
.visual-editor-block.dragging { opacity: .45; }
.visual-editor-block.over { outline-color: var(--admin-accent); }
.visual-block-head { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px; border: 1px solid var(--admin-line); border-radius: 8px; background: color-mix(in srgb, var(--admin-surface) 92%, transparent); opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease; backdrop-filter: blur(14px); }
.visual-editor-block:hover .visual-block-head, .visual-editor-block.is-selected .visual-block-head { opacity: 1; pointer-events: auto; transform: translateY(0); }
.visual-editor-block.layout-editor-block .visual-block-head { position: absolute; opacity: 0; pointer-events: none; transform: translateY(-4px); margin-bottom: 0; }
.visual-editor-block.layout-editor-block:hover .visual-block-head, .visual-editor-block.layout-editor-block.is-selected .visual-block-head { opacity: 1; pointer-events: auto; transform: translateY(0); }
.builder-live-canvas .visual-editor-block.layout-editor-block .visual-block-head { top: -78px; right: 0; left: auto; width: min(100%, 720px); }
.builder-live-canvas .visual-editor-block.layout-editor-block:first-child .visual-block-head { top: -72px; }
.visual-block-head strong { display: grid; grid-template-columns: 34px auto 1fr; align-items: center; gap: 8px; min-width: 0; }
.visual-drag-handle { cursor: grab; user-select: none; }
.visual-drag-handle:active { cursor: grabbing; }
.visual-block-head strong > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--admin-accent); background: color-mix(in srgb, var(--admin-accent) 12%, transparent); font-size: 12px; }
.visual-block-head strong em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; }
.visual-block-head strong small { grid-column: 3; color: var(--admin-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.visual-block-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.visual-block-actions button { display: inline-flex; align-items: center; gap: 5px; min-width: 32px; min-height: 32px; padding: 6px 8px; color: var(--admin-text); background: var(--admin-surface-2); border: 1px solid var(--admin-line); font-size: 14px; line-height: 1; }
.visual-block-actions button span { font-size: 11px; font-weight: 900; }
.visual-block-actions button:first-child { color: var(--admin-accent); background: color-mix(in srgb, var(--admin-accent) 10%, var(--admin-surface)); }
.visual-editor-block.settings-open [data-visual-settings] { color: white; background: linear-gradient(135deg, var(--admin-accent), var(--admin-accent-2)); border-color: var(--admin-accent); box-shadow: 0 12px 28px color-mix(in srgb, var(--admin-accent) 24%, transparent); }
.builder-top-actions button:disabled { opacity: .42; cursor: not-allowed; }
.visual-block-actions button:last-child { color: #991b1b; background: #fee2e2; }
.visual-block-fields { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 10px; margin-top: 58px; padding: 12px; border: 1px solid color-mix(in srgb, var(--admin-accent) 24%, var(--admin-line)); border-radius: 8px; background: color-mix(in srgb, var(--admin-surface) 94%, var(--admin-accent) 6%); box-shadow: 0 18px 42px rgba(16, 24, 40, .12); user-select: text; -webkit-user-select: text; }
.visual-editor-block.is-selected.settings-open .visual-block-fields { display: grid; }
.builder-live-canvas .visual-block-fields { position: absolute; left: 12px; right: 12px; top: 54px; z-index: 32; max-height: min(560px, calc(100vh - 220px)); margin: 0; overflow: auto; overscroll-behavior: contain; backdrop-filter: blur(16px); }
.builder-live-canvas .visual-block-summary { display: none !important; }
.visual-block-fields label { color: var(--admin-muted); font-size: 12px; text-transform: uppercase; }
.visual-block-fields label.wide, .visual-block-fields .visual-inline-tabs.wide, .visual-block-fields .visual-inline-presets.wide, .visual-block-fields .header-builder.wide, .visual-block-fields .header-logo-panel.wide, .visual-block-fields .header-tune-panel.wide, .visual-block-fields .selected-image-control.wide, .visual-block-fields .selected-gallery-control.wide, .visual-block-fields .selected-slider-control.wide, .visual-block-fields .inline-collection-picker.wide { grid-column: 1 / -1; }
.visual-block-fields .block-bg-control.wide { grid-column: 1 / -1; }
.visual-block-fields small { display: block; margin-top: 4px; color: var(--admin-muted); font-size: 11px; font-weight: 900; text-transform: none; }
.visual-height-note { display: grid; gap: 4px; align-content: center; min-height: 52px; padding: 10px; border: 1px dashed var(--admin-line); border-radius: 8px; color: var(--admin-muted); background: var(--admin-surface-2); font-size: 12px; text-transform: none; }
.visual-height-note strong { color: var(--admin-text); font-size: 12px; text-transform: uppercase; }
.visual-height-note small { margin: 0; }
.visual-block-fields input[type="range"] { width: 100%; cursor: ew-resize; accent-color: var(--admin-accent); }
.visual-block-fields[data-active-tab="content"] [data-inline-section]:not([data-inline-section="content"]),
.visual-block-fields[data-active-tab="media"] [data-inline-section]:not([data-inline-section="media"]),
.visual-block-fields[data-active-tab="design"] [data-inline-section]:not([data-inline-section="design"]),
.visual-block-fields[data-active-tab="size"] [data-inline-section]:not([data-inline-section="size"]) { display: none !important; }
.visual-inline-tabs { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.visual-inline-tabs button { display: grid; place-items: center; min-height: 34px; padding: 6px; border: 1px solid transparent; border-radius: 7px; color: var(--admin-muted); background: var(--admin-surface); font-size: 11px; font-weight: 900; text-align: center; }
.visual-inline-tabs button.active { color: white; border-color: var(--admin-accent); background: var(--admin-accent); }
.visual-inline-presets { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px dashed color-mix(in srgb, var(--admin-accent) 34%, var(--admin-line)); border-radius: 8px; background: color-mix(in srgb, var(--admin-accent) 7%, transparent); }
.visual-inline-presets button { min-height: 31px; padding: 6px 10px; color: var(--admin-accent); border: 1px solid color-mix(in srgb, var(--admin-accent) 28%, var(--admin-line)); background: var(--admin-surface); font-size: 12px; font-weight: 900; }
.inline-collection-picker { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.inline-collection-picker > span { color: var(--admin-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.inline-collection-picker > div { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.inline-collection-picker button { overflow: hidden; min-height: 58px; padding: 0; border: 2px solid transparent; background: var(--admin-surface); }
.inline-collection-picker button:hover { border-color: var(--admin-accent); }
.inline-collection-picker img { display: block; width: 100%; height: 58px; object-fit: cover; }
.selected-image-control, .selected-gallery-control, .selected-slider-control { display: grid; gap: 9px; padding: 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); color: var(--admin-text); }
.selected-image-control > span, .selected-gallery-control > span, .selected-slider-control > span { color: var(--admin-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.block-bg-control { display: grid; gap: 10px; padding: 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); color: var(--admin-text); }
.block-bg-control > span { color: var(--admin-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.block-bg-control label { margin: 0; text-transform: uppercase; }
.block-bg-control input[type="color"] { width: 100%; min-height: 42px; padding: 5px; cursor: pointer; }
.block-bg-swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.block-bg-swatches button { width: 34px !important; min-width: 34px; height: 34px; min-height: 34px; padding: 0; border: 2px solid var(--admin-line); border-radius: 8px; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.block-bg-swatches button.active, .block-bg-swatches button:hover { border-color: var(--admin-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--admin-accent) 15%, transparent), inset 0 0 0 1px rgba(255,255,255,.55); }
.block-bg-image-control figure { display: grid; grid-template-columns: 118px 1fr; gap: 10px; align-items: center; min-height: 82px; margin: 0; padding: 8px; border-radius: 8px; background: var(--admin-surface); }
.block-bg-image-control figure.is-empty { grid-template-columns: 1fr; border: 1px dashed var(--admin-line); }
.block-bg-image-control img { width: 118px; height: 72px; border-radius: 7px; object-fit: cover; }
.block-bg-image-control figcaption, .block-bg-empty { color: var(--admin-muted); font-size: 12px; font-weight: 800; text-transform: none; }
.block-bg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.block-bg-collection { display: grid; gap: 7px; }
.block-bg-collection small { color: var(--admin-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.block-bg-collection > div { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.block-bg-collection button { min-height: 58px; padding: 0; overflow: hidden; border: 2px solid transparent; background: var(--admin-surface); }
.block-bg-collection button:hover { border-color: var(--admin-accent); }
.block-bg-collection img { display: block; width: 100%; height: 58px; object-fit: cover; }
.selected-image-control figure { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; min-height: 74px; margin: 0; padding: 8px; border-radius: 8px; background: var(--admin-surface); }
.selected-image-control figure.is-empty { grid-template-columns: 1fr; border: 1px dashed var(--admin-line); }
.selected-image-control img { width: 92px; height: 64px; border-radius: 7px; object-fit: cover; }
.selected-image-control figcaption, .selected-gallery-control small { color: var(--admin-muted); font-size: 12px; font-weight: 800; text-transform: none; }
.selected-image-control > div, .selected-gallery-control > div:last-child, .selected-slider-control > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
.selected-gallery-control > div:first-of-type { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; min-height: 64px; padding: 8px; border-radius: 8px; background: var(--admin-surface); }
.selected-gallery-control > div:first-of-type.is-empty { display: grid; place-items: center; border: 1px dashed var(--admin-line); }
.selected-gallery-control img { width: 100%; height: 58px; border-radius: 7px; object-fit: cover; }
.visual-upload-trigger { position: relative; overflow: hidden; cursor: pointer; }
.slider-editor-list { display: grid; gap: 8px; max-height: 420px; overflow: auto; }
.slider-editor-list.is-empty { place-items: center; min-height: 80px; border: 1px dashed var(--admin-line); border-radius: 8px; color: var(--admin-muted); background: var(--admin-surface); }
.slider-editor-row { display: grid; grid-template-columns: 118px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); }
.slider-editor-row > img { width: 118px; height: 84px; border-radius: 7px; object-fit: cover; }
.slider-editor-row > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.slider-editor-row label { display: grid; gap: 3px; color: var(--admin-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.slider-editor-row input { min-height: 32px; padding: 6px 8px; font-size: 12px; }
.slider-editor-row nav { display: grid; gap: 5px; }
.slider-editor-row nav button { min-height: 30px; padding: 5px 8px; border: 1px solid var(--admin-line); border-radius: 7px; background: var(--admin-surface-2); color: var(--admin-text); font-size: 11px; }
.visual-block-preview { min-height: 92px; overflow: hidden; border-radius: 10px; background: var(--admin-surface-2); color: var(--admin-muted); font-size: 13px; }
.builder-live-canvas .visual-block-preview { display: contents; background: transparent; }
.builder-live-canvas .visual-live-block { min-height: var(--visual-height, auto); border-radius: var(--visual-radius, 8px); }
.builder-live-canvas .visual-live-block.shape-sharp { border-radius: 0; }
.builder-live-canvas .visual-live-block.shape-soft { border-radius: 18px; }
.builder-live-canvas .visual-live-block.shape-pill { border-radius: 999px; }
.builder-live-canvas .visual-live-block.shape-arch { border-radius: 54px 54px var(--visual-radius, 8px) var(--visual-radius, 8px); }
.builder-live-canvas .visual-live-block.custom-page-hero { border-radius: 0; }
.builder-live-canvas .visual-live-block.page-head, .builder-live-canvas .visual-live-block.section { border-radius: 0; }
.builder-live-canvas .visual-live-block.visual-image, .builder-live-canvas .visual-live-block.visual-split { border-radius: 8px; }
.builder-live-canvas .visual-live-block.visual-hero { min-height: var(--visual-height, 520px); }
.builder-live-canvas .visual-live-block.visual-split, .builder-live-canvas .visual-live-block.visual-text, .builder-live-canvas .visual-live-block.visual-text-box, .builder-live-canvas .visual-live-block.visual-frame, .builder-live-canvas .visual-live-block.visual-badge, .builder-live-canvas .visual-live-block.visual-cta, .builder-live-canvas .visual-live-block.visual-contact, .builder-live-canvas .visual-live-block.visual-image, .builder-live-canvas .visual-live-block.builder-gallery, .builder-live-canvas .visual-live-block.builder-card-grid, .builder-live-canvas .visual-live-block.builder-stat-grid { min-height: var(--visual-height, auto); }
.builder-live-canvas .visual-live-block [contenteditable="true"] { cursor: text; border-radius: 6px; outline: 1px dashed transparent; outline-offset: 3px; transition: outline-color .15s ease, background .15s ease; user-select: text; -webkit-user-select: text; }
.builder-live-canvas .visual-live-block [contenteditable="true"]:hover, .builder-live-canvas .visual-live-block [contenteditable="true"]:focus { outline-color: color-mix(in srgb, var(--admin-accent) 70%, white); background: color-mix(in srgb, var(--admin-accent) 12%, transparent); }
.builder-live-products .product-photo { height: 170px; border-radius: 8px 8px 0 0; background: linear-gradient(135deg, #e6efec, #f7faf9); }
.builder-product-archive .page-head { margin: 0; border-radius: 8px 8px 0 0; }
.builder-product-archive .section { padding: 24px; }
.builder-product-archive .filter-bar { margin-bottom: 18px; }
.visual-block-summary { display: none; min-height: 34px; padding: 9px 10px; border-radius: 8px; background: color-mix(in srgb, var(--admin-muted) 8%, transparent); color: var(--admin-muted); font-size: 12px; font-weight: 800; }
.visual-editor-block.is-selected .visual-block-summary { display: block; margin-top: 8px; }
.visual-resize-handle { position: absolute; left: 50%; bottom: -14px; z-index: 6; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 74px; min-height: 28px; padding: 0 11px; border: 1px solid color-mix(in srgb, var(--admin-accent) 42%, var(--admin-line)); border-radius: 999px; color: var(--admin-accent); background: var(--admin-surface); box-shadow: 0 10px 24px rgba(16, 24, 40, .16); cursor: ns-resize; opacity: 0; transform: translateX(-50%); }
.visual-resize-handle span { font-size: 11px; font-weight: 1000; }
.visual-editor-block:hover .visual-resize-handle, .visual-editor-block.is-selected .visual-resize-handle { opacity: 1; }
.visual-render-tool-wrap { position: relative; }
.visual-section-tools-layer { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.visual-section-tool { position: absolute; left: var(--tool-x, 8%); top: var(--tool-y, 12%); display: grid; align-content: start; gap: 7px; width: var(--tool-w, 24%); min-width: 104px; min-height: var(--tool-h, 56px); padding: 22px 11px 12px; border: 1px solid color-mix(in srgb, var(--admin-accent, var(--brand)) 32%, var(--admin-line, var(--line))); border-radius: 8px; color: var(--admin-text, var(--ink)); background: color-mix(in srgb, var(--admin-surface, #fff) 96%, transparent); box-shadow: 0 18px 42px rgba(16, 24, 40, .15); pointer-events: auto; cursor: move; backdrop-filter: blur(14px); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.visual-section-tool:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--admin-accent, var(--brand)) 58%, var(--admin-line, var(--line))); }
.visual-section-tool.is-selected { border-color: var(--admin-accent, var(--brand)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--admin-accent, var(--brand)) 18%, transparent), 0 22px 50px rgba(16, 24, 40, .2); }
.visual-section-tool-name { position: absolute; top: -12px; left: 9px; max-width: calc(100% - 18px); padding: 4px 8px; border-radius: 999px; color: white; background: linear-gradient(135deg, var(--admin-accent, var(--brand)), var(--admin-accent-2, #12b76a)); font-size: 10px; font-weight: 1000; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-shadow: 0 8px 18px rgba(16, 24, 40, .16); }
.visual-section-tool-body { min-width: 0; font-weight: 900; }
.visual-section-tool-body span, .visual-section-tool-body p, .visual-section-tool-body strong { display: block; margin: 0; overflow-wrap: anywhere; }
.visual-section-tool-body p { color: var(--admin-muted, var(--muted)); font-size: 13px; line-height: 1.35; }
.visual-section-tool-body button, .visual-section-tool-body a.btn { width: 100%; min-height: 34px; border: 0; border-radius: 8px; color: white; background: var(--admin-accent, var(--brand)); font-weight: 1000; }
.visual-section-tool-body input { width: 100%; min-height: 34px; border: 1px solid var(--admin-line, var(--line)); border-radius: 8px; background: white; font-weight: 800; }
.visual-section-tool.tool-frame { background: color-mix(in srgb, var(--admin-surface, #fff) 76%, transparent); border-style: dashed; }
.tool-frame-content { display: grid; place-items: center; min-height: calc(var(--tool-h, 90px) - 34px); color: var(--admin-muted, var(--muted)); border: 1px dashed color-mix(in srgb, var(--admin-accent, var(--brand)) 26%, var(--admin-line, var(--line))); border-radius: 7px; font-size: 12px; }
.visual-section-tool.tool-badge { min-width: 90px; min-height: 38px; padding: 14px 10px 8px; border-radius: 999px; background: #fff8e6; }
.visual-section-tool-code { position: absolute; right: 7px; top: 7px; min-height: 22px; padding: 3px 7px; border: 1px solid color-mix(in srgb, var(--admin-accent, var(--brand)) 26%, var(--admin-line, var(--line))); border-radius: 999px; color: var(--admin-accent, var(--brand)); background: var(--admin-surface, #fff); font-size: 10px; font-weight: 1000; opacity: .88; transition: opacity .15s ease, background .15s ease; }
.visual-section-tool-code:hover { opacity: 1; background: color-mix(in srgb, var(--admin-accent, var(--brand)) 9%, var(--admin-surface, #fff)); }
.visual-section-tool i[data-section-tool-resize] { position: absolute; right: -6px; bottom: -6px; width: 16px; height: 16px; border: 2px solid white; border-radius: 5px; background: var(--admin-accent, var(--brand)); box-shadow: 0 6px 12px rgba(16, 24, 40, .16); cursor: nwse-resize; opacity: .9; }
.visual-block-parts-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.visual-block-part-handle { position: absolute; display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 4px 9px; border: 1px solid color-mix(in srgb, var(--admin-accent, var(--brand)) 42%, white); border-radius: 999px; color: white; background: linear-gradient(135deg, var(--admin-accent, var(--brand)), #10202b); box-shadow: 0 10px 24px rgba(16,24,40,.2); font-size: 10px; font-weight: 1000; line-height: 1; cursor: move; pointer-events: auto; opacity: .82; transition: opacity .14s ease, transform .14s ease, box-shadow .14s ease; user-select: none; }
.visual-block-part-handle:hover { opacity: 1; box-shadow: 0 14px 30px rgba(16,24,40,.24); }
.visual-block-part-handle i { display: block; width: 11px; height: 11px; border: 2px solid rgba(255,255,255,.96); border-top: 0; border-left: 0; border-radius: 2px; cursor: nwse-resize; }
.visual-block-part-handle.part-title { left: 18px; top: 18px; transform: translate(var(--part-title-x, 0), var(--part-title-y, 0)); }
.visual-block-part-handle.part-media { left: 18px; top: 78px; transform: translate(var(--part-media-x, 0), var(--part-media-y, 0)); }
.visual-block-part-handle.part-list { left: 18px; top: 138px; transform: translate(var(--part-list-x, 0), var(--part-list-y, 0)); }
.visual-block-part-handle.part-actions { right: 18px; top: 18px; transform: translate(var(--part-actions-x, 0), var(--part-actions-y, 0)); }
.visual-block .section-title,
.visual-block.visual-heading,
.visual-block.visual-text,
.visual-block.visual-text-box,
.visual-block.visual-frame,
.visual-block.visual-empty-section,
.visual-block.visual-badge,
.visual-block.visual-search-box > div:first-child,
.visual-block.visual-split > div:first-child,
.visual-block.home-intro > div:first-child,
.visual-block.home-cta > div:first-child,
.visual-block.home-process-band .section-title { transform: translate(var(--part-title-x, 0), var(--part-title-y, 0)) scale(var(--part-title-scale, 1)); transform-origin: top left; }
.visual-block.visual-image img,
.visual-block.visual-split img,
.visual-block .home-collection-image,
.visual-block .category-card img,
.visual-block .service-card img,
.visual-block .mosaic,
.visual-block .builder-gallery { transform: translate(var(--part-media-x, 0), var(--part-media-y, 0)) scale(var(--part-media-scale, 1)); transform-origin: top left; }
.visual-block .home-collection-grid,
.visual-block .home-process-grid,
.visual-block .home-intro-stats,
.visual-block .product-grid,
.visual-block.product-grid,
.visual-block .category-grid,
.visual-block .service-grid,
.visual-block.builder-card-grid,
.visual-block.builder-step-grid,
.visual-block.builder-stat-grid,
.visual-block .builder-card-grid,
.visual-block .builder-step-grid,
.visual-block .builder-stat-grid { transform: translate(var(--part-list-x, 0), var(--part-list-y, 0)) scale(var(--part-list-scale, 1)); transform-origin: top left; }
.visual-block .home-cta-actions,
.visual-block.visual-hero .btn,
.visual-block.visual-cta > .btn,
.visual-block.visual-contact > .btn,
.visual-block.visual-search-box button,
.visual-block.visual-button,
.visual-block .featured-showcase-head .showcase-more,
.visual-block .home-collection-card .mini-btn,
.visual-block .card-foot { transform: translate(var(--part-actions-x, 0), var(--part-actions-y, 0)) scale(var(--part-actions-scale, 1)); transform-origin: top left; }
.visual-tool-code-popover { position: fixed; z-index: 80; display: grid; gap: 10px; width: min(330px, calc(100vw - 28px)); padding: 12px; border: 1px solid color-mix(in srgb, var(--admin-accent, var(--brand)) 30%, var(--admin-line, var(--line))); border-radius: 8px; background: var(--admin-surface, #fff); box-shadow: 0 26px 70px rgba(16, 24, 40, .24); }
.visual-tool-code-popover header, .visual-tool-code-popover footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.visual-tool-code-popover header b { color: var(--admin-accent, var(--brand)); }
.visual-tool-code-popover header button { width: 30px; height: 30px; padding: 0; border-radius: 8px; color: #991b1b; background: #fee2e2; }
.visual-tool-code-popover label { display: grid; gap: 5px; color: var(--admin-muted, var(--muted)); font-size: 11px; font-weight: 1000; text-transform: uppercase; }
.visual-tool-code-popover textarea { min-height: 96px; resize: vertical; }
.visual-tool-code-popover footer .btn { min-height: 32px; padding: 6px 10px; }
.builder-inspector { display: grid; gap: 12px; }
.builder-inspector em { color: var(--admin-muted); font-size: 13px; font-weight: 800; }
.inspector-selected { display: grid; gap: 4px; padding: 12px; border: 1px solid color-mix(in srgb, var(--admin-accent) 28%, var(--admin-line)); border-radius: 8px; background: color-mix(in srgb, var(--admin-accent) 10%, transparent); }
.inspector-selected b { display: flex; align-items: center; gap: 8px; min-width: 0; }
.inspector-selected span { color: var(--admin-muted); font-size: 12px; font-weight: 900; }
.inspector-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.inspector-actions button { min-height: 34px; padding: 6px 8px; border: 1px solid var(--admin-line); background: var(--admin-surface-2); font-size: 12px; font-weight: 900; }
.inspector-actions button:last-child { color: #991b1b; background: #fee2e2; }
.inspector-quick-add, .inspector-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px; border: 1px dashed color-mix(in srgb, var(--admin-accent) 35%, var(--admin-line)); border-radius: 8px; background: color-mix(in srgb, var(--admin-accent) 7%, transparent); }
.inspector-presets { grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--admin-surface-2); }
.inspector-quick-add span, .inspector-presets span { grid-column: 1 / -1; color: var(--admin-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.inspector-quick-add button, .inspector-presets button { min-height: 32px; padding: 6px 8px; color: var(--admin-accent); border: 1px solid color-mix(in srgb, var(--admin-accent) 26%, var(--admin-line)); background: var(--admin-surface); font-size: 12px; font-weight: 900; }
.inspector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.inspector-grid label { display: grid; gap: 6px; color: var(--admin-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.inspector-grid label.wide, .inspector-grid .header-builder.wide, .inspector-grid .header-logo-panel.wide, .inspector-grid .header-tune-panel.wide { grid-column: 1 / -1; }
.inspector-grid .block-bg-control.wide { grid-column: 1 / -1; }
.inspector-grid textarea { min-height: 86px; }
.visual-mini-icon { width: 20px; height: 20px; color: var(--admin-accent); }
.visual-mockup { --mock-accent: var(--admin-accent); min-height: var(--mock-height, 118px); padding: 16px; color: var(--admin-text); background: linear-gradient(135deg, var(--admin-surface), var(--admin-surface-2)); border: 1px solid var(--admin-line); border-radius: var(--mock-radius, 8px); }
.visual-mockup.shape-sharp { border-radius: 0; }
.visual-mockup.shape-soft { border-radius: 18px; }
.visual-mockup.shape-pill { border-radius: 999px; }
.visual-mockup.shape-arch { border-radius: 48px 48px var(--mock-radius, 8px) var(--mock-radius, 8px); }
.visual-mockup.tone-brand { --mock-accent: var(--brand); }
.visual-mockup.tone-warm { --mock-accent: var(--gold); }
.visual-mockup.tone-dark { color: white; background: linear-gradient(135deg, #07161d, #152536); border-color: rgba(255,255,255,.12); }
.visual-mockup.tone-soft { background: #f6faf8; }
.visual-mockup.align-center { text-align: center; justify-items: center; }
.visual-mockup.align-right { text-align: right; justify-items: end; }
.visual-mockup.space-compact { min-height: 86px; padding: 11px; }
.visual-mockup.space-wide { min-height: 154px; padding: 24px; }
.visual-mockup span { color: var(--mock-accent); text-transform: uppercase; font-size: 11px; font-weight: 900; }
.visual-mockup strong { display: block; max-width: 620px; color: inherit; font-size: clamp(18px, 2.2vw, 28px); line-height: 1.05; }
.visual-mockup p { max-width: 560px; margin: 5px 0 0; color: color-mix(in srgb, currentColor 68%, transparent); font-size: 13px; }
.visual-mockup button { width: fit-content; min-height: 34px; margin-top: 10px; padding: 7px 12px; color: white; background: var(--mock-accent); border-radius: 8px; }
.visual-mockup [contenteditable="true"] { cursor: text; border-radius: 6px; outline: 1px dashed transparent; outline-offset: 3px; transition: outline-color .15s ease, background .15s ease; }
.visual-mockup [contenteditable="true"]:hover, .visual-mockup [contenteditable="true"]:focus { outline-color: color-mix(in srgb, var(--mock-accent) 72%, white); background: color-mix(in srgb, var(--mock-accent) 13%, transparent); }
.mock-hero { position: relative; display: grid; align-content: end; min-height: var(--mock-height, 210px); color: white; background: linear-gradient(90deg, rgba(7,22,29,.86), rgba(7,22,29,.28)), var(--mock-image); background-size: cover; background-position: center; }
.mock-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; align-items: center; }
.mock-split img, .mock-image img { width: 100%; height: 160px; border-radius: 8px; object-fit: cover; }
.mock-image { position: relative; min-height: 0; padding: 0; }
.mock-image img { height: 220px; border-radius: 8px; }
.mock-image figcaption { position: absolute; left: 10px; bottom: 10px; padding: 7px 10px; border-radius: 8px; color: white; background: rgba(7,22,29,.72); font-weight: 900; }
.mock-cards, .mock-stats, .mock-gallery, .mock-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.mock-cards article, .mock-stats article { min-height: 92px; padding: 12px; border-radius: 8px; background: color-mix(in srgb, var(--mock-accent) 10%, var(--admin-surface)); border: 1px solid color-mix(in srgb, var(--mock-accent) 18%, var(--admin-line)); }
.mock-cards b { color: var(--mock-accent); }
.mock-stats strong { color: var(--mock-accent); font-size: 25px; }
.mock-stats span { display: block; color: var(--admin-muted); font-weight: 900; }
.mock-gallery img { width: 100%; height: 116px; border-radius: 8px; }
.mock-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--mock-accent) 28%, #07161d), #07161d); color: white; }
.mock-products article { height: 92px; background: linear-gradient(135deg, color-mix(in srgb, var(--mock-accent) 12%, var(--admin-surface)), var(--admin-surface-2)); border: 1px solid var(--admin-line); border-radius: 8px; }
.mock-products strong { grid-column: 1 / -1; font-size: 15px; }
.mock-list span { display: block; height: 12px; margin-top: 10px; border-radius: 999px; background: color-mix(in srgb, var(--mock-accent) 16%, var(--admin-line)); }
.mock-embed { display: grid; place-items: center; align-content: center; gap: 8px; min-height: 150px; }
.mock-embed .visual-mini-icon { width: 34px; height: 34px; }
.mock-divider { min-height: 34px; display: grid; place-items: center; }
.mock-divider::before { content: ""; width: 100%; border-top: 2px solid var(--admin-line); }
.mock-spacer { min-height: 78px; border: 1px dashed var(--admin-line); background: repeating-linear-gradient(-45deg, transparent 0 10px, color-mix(in srgb, var(--admin-muted) 8%, transparent) 10px 20px); }
.admin.builder-page { display: block; min-height: 100vh; background: radial-gradient(circle at 18% -10%, color-mix(in srgb, var(--admin-accent) 15%, transparent), transparent 32%), var(--admin-bg); }
.builder-create-bar { position: sticky; top: 0; z-index: 25; display: grid; grid-template-columns: auto minmax(220px, 1fr) minmax(150px, .7fr) 150px 48px 140px auto; gap: 8px; align-items: center; padding: 8px 16px; border-bottom: 1px solid var(--admin-line); background: color-mix(in srgb, var(--admin-surface) 96%, transparent); box-shadow: 0 10px 28px rgba(16, 24, 40, .05); backdrop-filter: blur(16px); }
.builder-create-bar strong { color: var(--admin-accent); white-space: nowrap; }
.builder-create-bar input, .builder-create-bar select { min-height: 38px; }
.builder-shell { min-height: 100vh; color: var(--admin-text); }
.builder-topbar { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: auto minmax(240px, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--admin-line); background: color-mix(in srgb, var(--admin-surface) 94%, transparent); backdrop-filter: blur(18px); box-shadow: 0 12px 28px rgba(16, 24, 40, .06); }
.builder-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.builder-brand > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: white; background: linear-gradient(135deg, var(--admin-accent), var(--admin-accent-2)); }
.builder-page-switch { display: grid; grid-template-columns: auto minmax(180px, 360px); gap: 9px; align-items: center; justify-content: center; color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.builder-page-switch select { min-height: 40px; }
.builder-top-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; }
.builder-top-actions .btn, .builder-top-actions .theme-toggle { min-height: 38px; gap: 7px; white-space: nowrap; border-radius: 8px; }
.builder-top-actions .btn.primary { padding-inline: 16px; box-shadow: 0 12px 28px color-mix(in srgb, var(--admin-accent) 22%, transparent); }
.builder-top-actions button.active { color: white; background: var(--admin-accent); border-color: var(--admin-accent); }
.builder-save-state { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 11px; border: 1px solid color-mix(in srgb, var(--admin-accent-2) 30%, var(--admin-line)); border-radius: 999px; color: #027a48; background: #ecfdf3; font-size: 12px; font-weight: 1000; white-space: nowrap; }
.builder-save-state::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.builder-save-state[data-state="dirty"] { color: #b54708; background: #fffaeb; border-color: #fedf89; }
.builder-save-state[data-state="warning"] { color: #b42318; background: #fff1f3; border-color: #fecdd6; }
.builder-save-state[data-state="saving"] { color: var(--admin-accent); background: color-mix(in srgb, var(--admin-accent) 10%, var(--admin-surface)); border-color: color-mix(in srgb, var(--admin-accent) 32%, var(--admin-line)); }
.builder-workspace { --builder-left-width: 390px; --builder-right-width: 360px; display: grid; grid-template-columns: var(--builder-left-width) minmax(0, 1fr) var(--builder-right-width); gap: 16px; padding: 16px 44px; min-height: calc(100vh - 62px); }
.builder-workspace.left-collapsed { grid-template-columns: 0 minmax(0, 1fr) var(--builder-right-width); }
.builder-workspace.right-collapsed { grid-template-columns: var(--builder-left-width) minmax(0, 1fr) 0; }
.builder-workspace.left-collapsed.right-collapsed { grid-template-columns: 0 minmax(0, 1fr) 0; }
.builder-workspace.left-collapsed .builder-left, .builder-workspace.right-collapsed .builder-right { width: 0; min-width: 0; opacity: 0; pointer-events: none; overflow: hidden; }
.builder-workspace.overlay-panels { grid-template-columns: minmax(0, 1fr); position: relative; }
.builder-workspace.overlay-panels.left-collapsed, .builder-workspace.overlay-panels.right-collapsed, .builder-workspace.overlay-panels.left-collapsed.right-collapsed { grid-template-columns: minmax(0, 1fr); }
.builder-workspace.overlay-panels .builder-canvas-panel { grid-column: 1; }
.builder-workspace.overlay-panels .builder-left, .builder-workspace.overlay-panels .builder-right { position: fixed; top: 76px; bottom: 16px; z-index: 35; opacity: 1; width: auto; min-width: 0; pointer-events: auto; transition: transform .22s ease, opacity .18s ease; filter: drop-shadow(0 24px 50px rgba(16, 24, 40, .18)); }
.builder-workspace.overlay-panels .builder-left { left: 16px; width: min(var(--builder-left-width), calc(100vw - 32px)); }
.builder-workspace.overlay-panels .builder-right { right: 16px; width: min(var(--builder-right-width), calc(100vw - 32px)); overflow: auto; }
.builder-workspace.overlay-panels.left-collapsed .builder-left { transform: translateX(calc(-100% - 24px)); opacity: 0; pointer-events: none; }
.builder-workspace.overlay-panels.right-collapsed .builder-right { transform: translateX(calc(100% + 24px)); opacity: 0; pointer-events: none; }
.builder-panel-tab { position: fixed; top: 50%; z-index: 34; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--admin-line); color: var(--admin-text); background: color-mix(in srgb, var(--admin-surface) 94%, transparent); box-shadow: 0 18px 40px rgba(16, 24, 40, .14); backdrop-filter: blur(14px); font-weight: 900; writing-mode: vertical-rl; transform: translateY(-50%); }
.builder-panel-tab.left { left: 0; border-radius: 0 8px 8px 0; }
.builder-panel-tab.right { right: 0; border-radius: 8px 0 0 8px; }
.builder-panel-tab .admin-icon { width: 18px; height: 18px; }
.builder-panel-tab.active { color: var(--admin-accent); background: color-mix(in srgb, var(--admin-accent) 12%, var(--admin-surface)); }
.builder-workspace:not(.left-collapsed) > .builder-panel-tab.left, .builder-workspace:not(.right-collapsed) > .builder-panel-tab.right { opacity: .42; }
.builder-panel-close { position: absolute; top: 8px; right: 8px; z-index: 3; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 8px; color: var(--admin-muted); background: var(--admin-surface-2); border: 1px solid var(--admin-line); font-weight: 900; }
.builder-panel-close:hover { color: #991b1b; background: #fee2e2; }
.builder-panel-resizer { position: absolute; top: 0; bottom: 0; z-index: 4; width: 9px; cursor: ew-resize; }
.builder-panel-resizer.right { right: -6px; }
.builder-panel-resizer.left { left: -6px; }
.builder-panel-resizer::before { content: ""; position: absolute; top: 44%; bottom: 44%; left: 3px; width: 3px; border-radius: 999px; background: color-mix(in srgb, var(--admin-accent) 55%, var(--admin-line)); opacity: .55; }
.builder-panel-resizer:hover::before { opacity: 1; }
.builder-left, .builder-right { position: relative; }
.builder-left, .builder-right { min-width: 0; }
.builder-left { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-content: start; height: calc(100vh - 92px); overflow: hidden; }
.builder-rail { position: sticky; top: 0; display: grid; align-content: start; gap: 9px; min-height: calc(100vh - 104px); padding: 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--admin-surface) 96%, transparent), color-mix(in srgb, var(--admin-surface-2) 92%, transparent)); box-shadow: var(--soft-shadow); backdrop-filter: blur(16px); overflow: auto; }
.builder-rail a { position: relative; display: grid; place-items: center; gap: 6px; min-height: 66px; padding: 9px 6px; border: 1px solid transparent; border-radius: 8px; color: var(--admin-muted); font-size: 11px; font-weight: 900; text-align: center; transition: .18s ease; }
.builder-rail a::before { content: ""; position: absolute; left: -10px; top: 13px; bottom: 13px; width: 3px; border-radius: 999px; background: transparent; }
.builder-rail a.active, .builder-rail a:hover { color: var(--admin-accent); border-color: color-mix(in srgb, var(--admin-accent) 18%, transparent); background: color-mix(in srgb, var(--admin-accent) 12%, transparent); transform: translateX(2px); }
.builder-rail a.active::before, .builder-rail a:hover::before { background: var(--admin-accent); }
.builder-rail .admin-icon { width: 22px; height: 22px; }
.builder-toolbox { position: sticky; top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 10px; max-height: calc(100vh - 104px); overflow: auto; padding: 0 14px 14px; border: 1px solid var(--admin-line); border-radius: 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--admin-surface) 98%, transparent), color-mix(in srgb, var(--admin-surface-2) 92%, transparent)); box-shadow: var(--soft-shadow); backdrop-filter: blur(16px); scrollbar-width: thin; }
.builder-toolbox [hidden] { display: none !important; }
.builder-toolbox-head, .builder-toolbox > span, .builder-search { grid-column: 1 / -1; }
.builder-toolbox-head { position: sticky; top: 0; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 62px; margin: 0 -14px; padding: 12px 14px; border-bottom: 1px solid var(--admin-line); background: color-mix(in srgb, var(--admin-surface) 97%, transparent); backdrop-filter: blur(16px); }
.builder-toolbox-head div { display: grid; gap: 2px; min-width: 0; }
.builder-toolbox-head span { color: var(--admin-muted); font-size: 10px; font-weight: 1000; text-transform: uppercase; }
.builder-toolbox-head strong { overflow: hidden; color: var(--admin-text); font-size: 15px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.builder-panel-close.builder-left-close { position: static; flex: 0 0 auto; display: grid; grid-template-columns: 1fr; place-items: center; width: 34px; height: 34px; min-height: 34px; padding: 0; border-radius: 8px; color: var(--admin-muted); background: var(--admin-surface-2); cursor: pointer; }
.builder-panel-close.builder-left-close::after { content: none; }
.builder-toolbox > span { display: flex; align-items: center; gap: 8px; margin: 12px 0 2px; color: var(--admin-muted); font-size: 11px; font-weight: 1000; letter-spacing: 0; text-transform: uppercase; }
.builder-toolbox > span::after { content: ""; flex: 1; height: 1px; background: var(--admin-line); }
.builder-toolbox button { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; column-gap: 10px; min-height: 74px; padding: 12px 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--admin-surface-2) 82%, transparent), var(--admin-surface)); color: var(--admin-text); text-align: left; cursor: grab; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.builder-toolbox button::after { content: "+"; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; color: var(--admin-accent); background: color-mix(in srgb, var(--admin-accent) 12%, transparent); font-size: 13px; font-weight: 1000; }
.builder-toolbox button b { align-self: end; min-width: 0; padding-right: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.15; }
.builder-toolbox button small { grid-column: 1 / -1; align-self: start; color: var(--admin-muted); line-height: 1.25; font-size: 11px; }
.builder-toolbox button:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--admin-accent) 40%, var(--admin-line)); background: color-mix(in srgb, var(--admin-accent) 8%, var(--admin-surface)); box-shadow: 0 16px 34px rgba(16, 24, 40, .11); }
.builder-toolbox button:active { cursor: grabbing; transform: scale(.99); }
.builder-toolbox .admin-icon { width: 22px; height: 22px; color: var(--admin-accent); }
.builder-toolbox[data-active-tool-tab="tools"] { grid-template-columns: 1fr; }
.builder-toolbox[data-active-tool-tab="tools"] button[data-section-tool-add] { grid-template-columns: 42px minmax(0, 1fr) auto; min-height: 78px; padding: 13px 12px; border-left: 4px solid color-mix(in srgb, var(--admin-accent) 72%, var(--admin-line)); background: linear-gradient(135deg, color-mix(in srgb, var(--admin-accent) 9%, var(--admin-surface)), var(--admin-surface)); }
.builder-toolbox[data-active-tool-tab="tools"] button[data-section-tool-add]::after { content: "Bölüme ekle"; position: static; grid-column: 2; justify-self: start; width: auto; height: auto; margin-top: 5px; padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--admin-accent) 22%, var(--admin-line)); border-radius: 999px; color: var(--admin-accent); background: color-mix(in srgb, var(--admin-accent) 8%, transparent); font-size: 10px; font-weight: 1000; }
.builder-toolbox[data-active-tool-tab="tools"] button[data-section-tool-add] small { grid-column: 2; }
.builder-toolbox[data-active-tool-tab="tools"] button[data-section-tool-add] .admin-icon { grid-row: span 3; display: grid; place-items: center; width: 34px; height: 34px; padding: 7px; border-radius: 8px; background: color-mix(in srgb, var(--admin-accent) 10%, transparent); }
.builder-search { position: sticky; top: 62px; z-index: 11; display: grid; gap: 7px; margin: 0 -14px 4px; padding: 11px 14px 12px; border-bottom: 1px solid var(--admin-line); color: var(--admin-muted); background: color-mix(in srgb, var(--admin-surface) 96%, transparent); font-size: 11px; font-weight: 900; text-transform: uppercase; backdrop-filter: blur(14px); }
.builder-search input { min-height: 40px; background: var(--admin-surface-2); border-color: color-mix(in srgb, var(--admin-accent) 18%, var(--admin-line)); }
.builder-canvas-panel { min-width: 0; display: grid; grid-template-rows: auto auto 1fr; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); box-shadow: var(--soft-shadow); overflow: hidden; }
.builder-canvas-head { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--admin-line); background: var(--admin-surface-2); }
.builder-canvas-head span { color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.builder-canvas-head h1 { margin: 2px 0 0; color: var(--admin-text); font-size: 22px; line-height: 1.15; }
.builder-view-tabs, .builder-canvas-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.builder-view-tabs button { gap: 7px; min-height: 34px; padding: 7px 10px; border: 1px solid var(--admin-line); color: var(--admin-muted); background: var(--admin-surface); }
.builder-view-tabs button.active { color: white; background: var(--admin-accent); border-color: var(--admin-accent); }
.builder-draft-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid #fedf89; background: #fffaeb; color: #93370d; }
.builder-draft-banner[hidden] { display: none !important; }
.builder-draft-banner div { display: grid; gap: 2px; min-width: min(420px, 100%); margin-right: auto; }
.builder-draft-banner strong { color: #7a2e0e; }
.builder-draft-banner span { font-size: 13px; font-weight: 800; }
.builder-draft-banner .btn { min-height: 34px; padding: 7px 12px; }
.builder-browser-frame { display: grid; grid-template-rows: auto 1fr; min-height: 0; margin: 12px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); overflow: hidden; }
.builder-browser-bar { display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 12px; border-bottom: 1px solid var(--admin-line); background: var(--admin-surface); }
.builder-browser-bar span { width: 10px; height: 10px; border-radius: 999px; background: #f04438; }
.builder-browser-bar span:nth-child(2) { background: #fdb022; }
.builder-browser-bar span:nth-child(3) { background: #12b76a; }
.builder-browser-bar p { min-width: 0; margin: 0 0 0 8px; padding: 5px 10px; border: 1px solid var(--admin-line); border-radius: 999px; color: var(--admin-muted); background: var(--admin-surface-2); font-size: 12px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.builder-page-preview { display: block; width: 100%; min-height: calc(100vh - 176px); border: 0; background: white; }
.builder-live-canvas { min-height: calc(100vh - 176px); overflow: auto; align-self: stretch; container-type: inline-size; padding: 0; background: white; }
.builder-live-canvas { scrollbar-width: none; }
.builder-live-canvas::-webkit-scrollbar { width: 0; height: 0; }
.builder-live-page.section { padding: 70px clamp(18px, 4cqw, 64px); }
.builder-workspace.is-preview-mode .builder-live-canvas { display: none; }
.builder-workspace:not(.is-preview-mode) .builder-page-preview { display: none; }
.builder-live-canvas[data-device="tablet"], .builder-live-canvas[data-device="mobile"] { margin: 14px auto; min-height: calc(100vh - 238px); border-top: 16px solid color-mix(in srgb, var(--admin-muted) 16%, transparent); border-bottom: 16px solid color-mix(in srgb, var(--admin-muted) 16%, transparent); border-radius: 18px; box-shadow: 0 24px 70px rgba(16, 24, 40, .16); }
.builder-live-canvas[data-device="tablet"] .site-header { align-items: flex-start; flex-wrap: wrap; }
.builder-live-canvas[data-device="tablet"] .site-header nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; flex-wrap: nowrap; }
.builder-live-canvas[data-device="tablet"] .category-grid, .builder-live-canvas[data-device="tablet"] .product-grid, .builder-live-canvas[data-device="tablet"] .cards, .builder-live-canvas[data-device="tablet"] .service-grid, .builder-live-canvas[data-device="tablet"] .testimonial-grid, .builder-live-canvas[data-device="tablet"] .search-grid, .builder-live-canvas[data-device="tablet"] .builder-card-grid, .builder-live-canvas[data-device="tablet"] .builder-step-grid, .builder-live-canvas[data-device="tablet"] .builder-gallery, .builder-live-canvas[data-device="tablet"] .builder-stat-grid, .builder-live-canvas[data-device="tablet"] .builder-visual-grid, .builder-live-canvas[data-device="tablet"] .visual-categories .category-grid, .builder-live-canvas[data-device="tablet"] .featured-product-showcase .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.builder-live-canvas[data-device="tablet"] .split, .builder-live-canvas[data-device="tablet"] .product-detail, .builder-live-canvas[data-device="tablet"] .trust-strip, .builder-live-canvas[data-device="tablet"] .process-grid, .builder-live-canvas[data-device="tablet"] .filter-bar, .builder-live-canvas[data-device="tablet"] .quote-page, .builder-live-canvas[data-device="tablet"] .quote-item, .builder-live-canvas[data-device="tablet"] .quote-crm, .builder-live-canvas[data-device="tablet"] .service-detail-body, .builder-live-canvas[data-device="tablet"] .custom-page-hero, .builder-live-canvas[data-device="tablet"] .custom-page-body, .builder-live-canvas[data-device="tablet"] .visual-split, .builder-live-canvas[data-device="tablet"] .visual-contact, .builder-live-canvas[data-device="tablet"] .visual-logo-strip, .builder-live-canvas[data-device="tablet"] .site-footer-template .footer-grid, .builder-live-canvas[data-device="tablet"] .home-intro, .builder-live-canvas[data-device="tablet"] .home-cta { grid-template-columns: 1fr; }
.builder-live-canvas[data-device="tablet"] .home-collection-grid, .builder-live-canvas[data-device="tablet"] .home-process-grid, .builder-live-canvas[data-device="tablet"] .gallery-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.builder-live-canvas[data-device="tablet"] .home-showcase-row { grid-template-columns: 1fr; align-items: stretch; }
.builder-live-canvas[data-device="tablet"] .visual-block-head { position: static; opacity: 1; pointer-events: auto; transform: none; margin-bottom: 8px; }
.builder-live-canvas[data-device="mobile"] h1 { font-size: 38px; line-height: 1.05; }
.builder-live-canvas[data-device="mobile"] h2 { font-size: 30px; }
.builder-live-canvas[data-device="mobile"] h3 { font-size: 18px; }
.builder-live-canvas[data-device="mobile"] .topbar { display: grid; gap: 4px; padding: 8px 14px; font-size: 12px; }
.builder-live-canvas[data-device="mobile"] .site-header, .builder-live-canvas[data-device="mobile"] footer, .builder-live-canvas[data-device="mobile"] .topbar, .builder-live-canvas[data-device="mobile"] .visual-cta { align-items: flex-start; flex-direction: column; }
.builder-live-canvas[data-device="mobile"] .site-header { gap: 12px; padding: 12px 14px; }
.builder-live-canvas[data-device="mobile"] .brand { width: 100%; min-width: 0; }
.builder-live-canvas[data-device="mobile"] .brand strong { min-width: 0; overflow-wrap: anywhere; }
.builder-live-canvas[data-device="mobile"] nav { width: 100%; gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
.builder-live-canvas[data-device="mobile"] nav a { flex: 0 0 auto; padding: 8px 9px; white-space: nowrap; background: #f7faf9; border: 1px solid var(--line); }
.builder-live-canvas[data-device="mobile"] .site-search { width: 100%; grid-template-columns: 1fr auto; }
.builder-live-canvas[data-device="mobile"] .header-actions { width: 100%; justify-content: stretch; }
.builder-live-canvas[data-device="mobile"] .header-actions .header-cta { flex: 1 1 150px; text-align: center; }
.builder-live-canvas[data-device="mobile"] .header-cta { width: 100%; text-align: center; }
.builder-live-canvas[data-device="mobile"] .nav-item { position: static; }
.builder-live-canvas[data-device="mobile"] .nav-dropdown, .builder-live-canvas[data-device="mobile"] .nav-dropdown .nav-dropdown { position: static; display: none; min-width: 0; margin-top: 4px; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.builder-live-canvas[data-device="mobile"] .nav-item:hover > .nav-dropdown, .builder-live-canvas[data-device="mobile"] .nav-item:focus-within > .nav-dropdown, .builder-live-canvas[data-device="mobile"] .nav-item.is-open > .nav-dropdown, .builder-live-canvas[data-device="mobile"] .nav-dropdown-item:hover > .nav-dropdown, .builder-live-canvas[data-device="mobile"] .nav-dropdown-item:focus-within > .nav-dropdown { display: grid; }
.builder-live-canvas[data-device="mobile"] .hero, .builder-live-canvas[data-device="mobile"] .slides, .builder-live-canvas[data-device="mobile"] .slide { height: auto; min-height: 0; }
.builder-live-canvas[data-device="mobile"] .slide { display: none; position: relative; padding: 0; transform: none; }
.builder-live-canvas[data-device="mobile"] .slide.active { display: grid; opacity: 1; }
.builder-live-canvas[data-device="mobile"] .slide::before { inset: -20px; filter: blur(18px); opacity: .5; }
.builder-live-canvas[data-device="mobile"] .slide.has-content::after { background: linear-gradient(180deg, rgba(7,22,29,.08), rgba(7,22,29,.92)); }
.builder-live-canvas[data-device="mobile"] .slide-media { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: contain; background: #0b1720; }
.builder-live-canvas[data-device="mobile"] .slide-content { z-index: 2; width: 100%; max-width: none; padding: 20px 16px 30px; background: #0b1720; }
.builder-live-canvas[data-device="mobile"] .slide p, .builder-live-canvas[data-device="mobile"] .visual-hero p, .builder-live-canvas[data-device="mobile"] .custom-page-hero p, .builder-live-canvas[data-device="mobile"] .service-detail-hero p { font-size: 16px; }
.builder-live-canvas[data-device="mobile"] .section, .builder-live-canvas[data-device="mobile"] .builder-live-page.section { padding: 42px 14px; }
.builder-live-canvas[data-device="mobile"] .section-title { margin-bottom: 20px; }
.builder-live-canvas[data-device="mobile"] .category-grid, .builder-live-canvas[data-device="mobile"] .product-grid, .builder-live-canvas[data-device="mobile"] .cards, .builder-live-canvas[data-device="mobile"] .catalog-strip, .builder-live-canvas[data-device="mobile"] .mosaic, .builder-live-canvas[data-device="mobile"] .search-grid, .builder-live-canvas[data-device="mobile"] .builder-card-grid, .builder-live-canvas[data-device="mobile"] .builder-step-grid, .builder-live-canvas[data-device="mobile"] .builder-gallery, .builder-live-canvas[data-device="mobile"] .builder-stat-grid, .builder-live-canvas[data-device="mobile"] .builder-visual-grid, .builder-live-canvas[data-device="mobile"] .quote-grid, .builder-live-canvas[data-device="mobile"] .assurance-grid, .builder-live-canvas[data-device="mobile"] .service-grid, .builder-live-canvas[data-device="mobile"] .testimonial-grid, .builder-live-canvas[data-device="mobile"] .gallery-showcase, .builder-live-canvas[data-device="mobile"] .visual-block-fields, .builder-live-canvas[data-device="mobile"] .visual-inline-tabs, .builder-live-canvas[data-device="mobile"] .home-collection-grid, .builder-live-canvas[data-device="mobile"] .home-process-grid, .builder-live-canvas[data-device="mobile"] .home-intro-stats, .builder-live-canvas[data-device="mobile"] .home-cta-actions, .builder-live-canvas[data-device="mobile"] .visual-categories .category-grid, .builder-live-canvas[data-device="mobile"] .featured-product-showcase .home-product-grid { grid-template-columns: 1fr; }
.builder-live-canvas[data-device="mobile"] .split, .builder-live-canvas[data-device="mobile"] .product-detail, .builder-live-canvas[data-device="mobile"] .trust-strip, .builder-live-canvas[data-device="mobile"] .process-grid, .builder-live-canvas[data-device="mobile"] .filter-bar, .builder-live-canvas[data-device="mobile"] .quote-page, .builder-live-canvas[data-device="mobile"] .quote-item, .builder-live-canvas[data-device="mobile"] .quote-crm, .builder-live-canvas[data-device="mobile"] .service-detail-body, .builder-live-canvas[data-device="mobile"] .custom-page-hero, .builder-live-canvas[data-device="mobile"] .custom-page-body, .builder-live-canvas[data-device="mobile"] .visual-split, .builder-live-canvas[data-device="mobile"] .visual-contact, .builder-live-canvas[data-device="mobile"] .visual-logo-strip, .builder-live-canvas[data-device="mobile"] .site-footer-template .footer-grid, .builder-live-canvas[data-device="mobile"] .home-intro, .builder-live-canvas[data-device="mobile"] .home-cta { grid-template-columns: 1fr; }
.builder-live-canvas[data-device="mobile"] .home-intro { gap: 18px; padding-top: 34px; }
.builder-live-canvas[data-device="mobile"] .featured-showcase-head { display: grid; align-items: start; }
.builder-live-canvas[data-device="mobile"] .featured-showcase-head .showcase-more { width: 100%; text-align: center; }
.builder-live-canvas[data-device="mobile"] .home-collection-card { grid-template-rows: 210px 1fr; }
.builder-live-canvas[data-device="mobile"] .home-process-band .section { padding-top: 42px; padding-bottom: 42px; }
.builder-live-canvas[data-device="mobile"] .home-process-grid article { min-height: auto; }
.builder-live-canvas[data-device="mobile"] .home-cta { margin-bottom: 18px; }
.builder-live-canvas[data-device="mobile"] .category-card { min-height: auto; }
.builder-live-canvas[data-device="mobile"] .category-card img, .builder-live-canvas[data-device="mobile"] .product-card img { height: 210px; }
.builder-live-canvas[data-device="mobile"] .visual-search-box { grid-template-columns: 1fr; }
.builder-live-canvas[data-device="mobile"] .product-card p { min-height: auto; }
.builder-live-canvas[data-device="mobile"] .card-foot { align-items: stretch; flex-direction: column; }
.builder-live-canvas[data-device="mobile"] .card-foot .mini-btn, .builder-live-canvas[data-device="mobile"] .card-foot a { width: 100%; text-align: center; }
.builder-live-canvas[data-device="mobile"] .page-head { padding: 46px 14px 28px; }
.builder-live-canvas[data-device="mobile"] .product-detail { padding: 18px 14px 42px; gap: 22px; }
.builder-live-canvas[data-device="mobile"] .product-info-head, .builder-live-canvas[data-device="mobile"] .product-panel { padding: 18px; }
.builder-live-canvas[data-device="mobile"] .product-info-head h1 { font-size: 34px; }
.builder-live-canvas[data-device="mobile"] .product-panel-title { align-items: flex-start; flex-direction: column; }
.builder-live-canvas[data-device="mobile"] .product-specs div { grid-template-columns: 1fr; gap: 4px; }
.builder-live-canvas[data-device="mobile"] .price { font-size: 24px; }
.builder-live-canvas[data-device="mobile"] .gallery-view { position: static; }
.builder-live-canvas[data-device="mobile"] .gallery-view .main-photo { aspect-ratio: 1; max-height: 640px; }
.builder-live-canvas[data-device="mobile"] .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; scroll-snap-type: x proximity; }
.builder-live-canvas[data-device="mobile"] .thumbs button { flex: 0 0 auto; flex-basis: 104px; scroll-snap-align: start; }
.builder-live-canvas[data-device="mobile"] .thumbs img { width: 100%; height: 68px; }
.builder-live-canvas[data-device="mobile"] .visual-hero { min-height: 420px; padding: 24px 18px; }
.builder-live-canvas[data-device="mobile"] .visual-cta, .builder-live-canvas[data-device="mobile"] .visual-contact { padding: 18px; }
.builder-live-canvas[data-device="mobile"] .custom-page-hero, .builder-live-canvas[data-device="mobile"] .service-detail-hero { min-height: 420px; padding: 32px 16px; }
.builder-live-canvas[data-device="mobile"] .visual-block-head { position: static; opacity: 1; pointer-events: auto; transform: none; margin-bottom: 8px; }
.builder-live-canvas[data-device="mobile"] .visual-block-head, .builder-live-canvas[data-device="mobile"] .visual-block-actions { align-items: stretch; flex-direction: column; }
.builder-live-canvas[data-device="mobile"] .visual-block-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.builder-live-canvas[data-device="mobile"] .visual-block-actions button { width: 100%; }
.builder-live-canvas[data-device="mobile"] .visual-inline-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.builder-live-canvas[data-device="mobile"] .visual-resize-handle { display: none; }
.builder-live-canvas[data-device="mobile"] .site-search button, .builder-live-canvas[data-device="mobile"] .btn, .builder-live-canvas[data-device="mobile"] button { width: 100%; }
.builder-workspace.is-preview-mode .builder-page-preview[data-device="tablet"] { max-width: 780px; min-height: calc(100vh - 238px); margin: 14px auto; border-left: 10px solid color-mix(in srgb, var(--admin-muted) 18%, transparent); border-right: 10px solid color-mix(in srgb, var(--admin-muted) 18%, transparent); border-radius: 18px; box-shadow: 0 24px 70px rgba(16, 24, 40, .16); }
.builder-workspace.is-preview-mode .builder-page-preview[data-device="mobile"] { max-width: 390px; min-height: calc(100vh - 238px); margin: 14px auto; border-left: 12px solid color-mix(in srgb, var(--admin-muted) 22%, transparent); border-right: 12px solid color-mix(in srgb, var(--admin-muted) 22%, transparent); border-radius: 18px; box-shadow: 0 24px 70px rgba(16, 24, 40, .16); }
.builder-focus-mode .builder-create-bar, .builder-focus-mode .builder-topbar { display: none; }
.builder-focus-mode .builder-workspace { grid-template-columns: 0 minmax(0, 1fr) 0; min-height: 100vh; padding: 8px; gap: 0; }
.builder-focus-mode .builder-left, .builder-focus-mode .builder-right { display: none; }
.builder-focus-mode .builder-panel-tab { display: none; }
.builder-focus-mode .builder-workspace.overlay-panels { grid-template-columns: minmax(0, 1fr); }
.builder-focus-mode .builder-canvas-panel { border-radius: 8px; }
.builder-focus-mode .builder-browser-frame { margin: 8px; }
.builder-focus-mode .builder-page-preview, .builder-focus-mode .builder-live-canvas { min-height: calc(100vh - 116px); }
.builder-focus-mode .builder-canvas-head { padding: 10px 12px; }
.is-resizing-builder-panel, .is-resizing-builder-panel * { cursor: ew-resize !important; user-select: none; }
.builder-right { display: grid; align-content: start; gap: 14px; }
.builder-right-tabs { position: sticky; top: 0; z-index: 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: color-mix(in srgb, var(--admin-surface) 94%, transparent); box-shadow: var(--soft-shadow); backdrop-filter: blur(14px); }
.builder-right-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 7px 8px; color: var(--admin-muted); border: 1px solid transparent; background: transparent; font-size: 12px; font-weight: 900; }
.builder-right-tabs button.active { color: white; border-color: var(--admin-accent); background: var(--admin-accent); }
.builder-right-tabs .admin-icon { width: 16px; height: 16px; }
.builder-right [data-right-panel][hidden] { display: none !important; }
.builder-inspector-panel { order: -20; }
.builder-outline-panel { order: -19; }
.builder-collections-panel { order: -18; }
.builder-media-panel { order: -17; }
.builder-pages-panel, .builder-legacy-panel, .builder-tips { order: 5; }
.builder-panel { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); box-shadow: var(--soft-shadow); }
.builder-panel label { display: grid; gap: 6px; color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.builder-panel textarea { min-height: 88px; }
.builder-checks { display: grid; gap: 8px; padding-top: 4px; }
.builder-checks label { display: flex; align-items: center; gap: 8px; color: var(--admin-text); text-transform: none; font-size: 14px; }
.builder-upload-panel { display: grid; gap: 9px; padding: 12px; border: 1px dashed color-mix(in srgb, var(--admin-accent) 36%, var(--admin-line)); border-radius: 8px; background: color-mix(in srgb, var(--admin-accent) 7%, var(--admin-surface)); }
.builder-upload-panel small { color: var(--admin-muted); font-size: 12px; font-weight: 800; }
.builder-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 360px; overflow: auto; }
.builder-media-card { display: grid; gap: 7px; min-width: 0; padding: 8px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.builder-media-card img { width: 100%; height: 92px; border-radius: 6px; object-fit: cover; }
.builder-media-card span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--admin-text); font-size: 12px; font-weight: 900; }
.builder-media-card div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.builder-media-card button { min-height: 32px; padding: 6px; border: 1px solid var(--admin-line); border-radius: 7px; background: var(--admin-surface); color: var(--admin-text); font-size: 11px; font-weight: 900; }
.builder-media-card button:hover { color: var(--admin-accent); border-color: color-mix(in srgb, var(--admin-accent) 40%, var(--admin-line)); }
.builder-media-grid em, .builder-tips p { margin: 0; color: var(--admin-muted); font-size: 13px; }
.builder-collection-list { display: grid; gap: 12px; max-height: 380px; overflow: auto; scrollbar-width: thin; }
.builder-collection-list article { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.collection-apply { display: grid; grid-template-columns: 68px 1fr; gap: 10px; align-items: center; min-height: 72px; padding: 6px; color: var(--admin-text); background: var(--admin-surface); border: 1px solid var(--admin-line); text-align: left; }
.collection-apply img { width: 68px; height: 58px; border-radius: 6px; object-fit: cover; }
.collection-apply span { display: grid; gap: 3px; min-width: 0; }
.collection-apply b, .collection-apply small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collection-apply small, .inspector-collection-picker small { color: var(--admin-muted); font-size: 12px; font-weight: 800; }
.builder-collection-list article > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.builder-collection-list article > div button, .inspector-collection-picker button { min-height: 0; padding: 0; overflow: hidden; border: 1px solid var(--admin-line); border-radius: 7px; background: var(--admin-surface); }
.builder-collection-list article > div img, .inspector-collection-picker img { width: 100%; height: 58px; object-fit: cover; transition: transform .2s ease; }
.builder-collection-list button:hover img, .inspector-collection-picker button:hover img { transform: scale(1.05); }
.inspector-collection-picker { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: color-mix(in srgb, var(--admin-accent) 8%, var(--admin-surface)); }
.inspector-collection-picker > span { color: var(--admin-text); font-weight: 900; }
.inspector-collection-picker > div { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.builder-page-list { display: grid; gap: 8px; max-height: 280px; overflow: auto; }
.builder-page-list a { display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); color: var(--admin-text); }
.builder-page-list a.active, .builder-page-list a:hover { color: var(--admin-accent); border-color: color-mix(in srgb, var(--admin-accent) 38%, var(--admin-line)); background: color-mix(in srgb, var(--admin-accent) 8%, var(--admin-surface)); }
.builder-page-list a.dragging, .page-manager-list > div.dragging, .slide-manager-list > div.dragging { opacity: .45; }
.builder-page-list a.over, .page-manager-list > div.over, .slide-manager-list > div.over { outline: 2px dashed var(--admin-accent); outline-offset: 2px; }
.builder-page-list span { display: grid; gap: 2px; min-width: 0; }
.builder-page-list b, .builder-page-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.builder-page-list small, .builder-legacy-panel small { color: var(--admin-muted); font-size: 12px; font-weight: 800; }
.builder-panel label.wide { grid-column: 1 / -1; }
.builder-outline { display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.builder-outline button { display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: center; justify-content: start; min-height: 50px; padding: 9px 10px; border: 1px solid var(--admin-line); border-radius: 8px; color: var(--admin-text); background: var(--admin-surface-2); text-align: left; }
.builder-outline button:hover { border-color: color-mix(in srgb, var(--admin-accent) 40%, var(--admin-line)); color: var(--admin-accent); }
.builder-outline span { display: grid; gap: 2px; min-width: 0; }
.builder-outline b, .builder-outline small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.builder-outline small, .builder-outline em { color: var(--admin-muted); font-size: 12px; font-weight: 800; }
.builder-empty-state { display: grid; place-items: center; gap: 14px; min-height: calc(100vh - 80px); color: var(--admin-muted); text-align: center; }
.builder-empty-state strong { color: var(--admin-text); font-size: 24px; }
.builder-flash-error { background: #fef3f2; color: #b42318; border-color: #fecdca; }
.seo-manager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seo-manager .option-head, .seo-manager label:nth-of-type(2) { grid-column: span 2; }
.option-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.option-head h3 { margin: 0 0 4px; }
.option-head p { margin: 0; color: var(--muted); font-size: 13px; }
.logo-settings .option-head { grid-column: 1 / -1; }
.logo-upload-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.logo-upload-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); }
.logo-upload-card strong { color: var(--admin-text); font-size: 14px; }
.logo-upload-card figure { display: grid; place-items: center; min-height: 118px; margin: 0; padding: 12px; border: 1px solid var(--admin-line); border-radius: 8px; background: linear-gradient(135deg, #f8fbfa, #eef6f3); }
.logo-upload-card figure.is-empty { border-style: dashed; color: var(--admin-muted); }
.logo-upload-card img { max-width: 100%; max-height: 92px; object-fit: contain; }
.logo-upload-card > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.logo-remove-check { display: inline-flex !important; align-items: center; gap: 7px; min-height: 36px; margin: 0; padding: 7px 10px; border: 1px solid var(--admin-line); border-radius: 8px; color: var(--admin-muted); background: var(--admin-surface-2); font-size: 12px; }
.page-builder-intro { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--admin-line); border-radius: 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--admin-accent) 11%, var(--admin-surface)), var(--admin-surface-2)); }
.page-builder-intro span { color: var(--admin-accent); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.page-builder-intro h3, .page-builder-intro p { margin: 0; }
.page-builder-intro p { color: var(--admin-muted); }
.page-builder-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.page-editor-panel { padding: 14px; }
.page-admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.page-admin-nav { position: sticky; top: 92px; display: grid; gap: 8px; padding: 14px; border: 1px solid var(--admin-line); border-radius: 8px; background: linear-gradient(180deg, var(--admin-surface-2), var(--admin-surface)); box-shadow: 0 14px 32px rgba(16, 24, 40, .05); }
.page-admin-nav strong { color: var(--admin-text); font-size: 14px; }
.page-admin-nav a { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 38px; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; color: var(--admin-muted); font-size: 13px; font-weight: 900; }
.page-admin-nav a:hover, .page-admin-nav a:focus, .page-admin-nav a.active { color: var(--admin-accent); border-color: color-mix(in srgb, var(--admin-accent) 22%, var(--admin-line)); background: color-mix(in srgb, var(--admin-accent) 8%, var(--admin-surface)); transform: none; }
.page-admin-nav .admin-icon { width: 18px; height: 18px; color: currentColor; }
.page-admin-form { align-items: start; min-width: 0; }
.page-section-card { grid-column: 1 / -1; display: grid; gap: 14px; min-width: 0; padding: 18px; scroll-margin-top: 92px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.page-section-card:hover { border-color: color-mix(in srgb, var(--admin-accent) 18%, var(--admin-line)); }
.page-section-card-highlight { background: linear-gradient(135deg, color-mix(in srgb, var(--admin-accent) 7%, var(--admin-surface)), var(--admin-surface-2)); }
.page-section-card .option-head { margin-bottom: 0; }
.page-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end; }
.page-section-grid .wide, .page-section-grid .form-preview, .page-section-card .seo-workbench-grid, .page-section-card .seo-advanced-grid { grid-column: 1 / -1; }
.page-admin-form .page-section-card .page-builder-intro { grid-column: auto; }
.page-section-card .form-preview img { width: 100%; max-height: 180px; border-radius: 8px; object-fit: cover; }
.page-publish-card .checks { grid-column: 1 / -1; }
.page-publish-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-seo-panel { scroll-margin-top: 92px; }
.page-seo-switcher { display: flex; gap: 8px; margin-bottom: 14px; padding-bottom: 8px; overflow-x: auto; }
.page-seo-switcher a { flex: 0 0 auto; min-height: 36px; padding: 8px 11px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); color: var(--admin-muted); font-size: 13px; font-weight: 900; }
.page-seo-switcher a.active, .page-seo-switcher a:hover { color: var(--admin-accent); border-color: color-mix(in srgb, var(--admin-accent) 30%, var(--admin-line)); background: color-mix(in srgb, var(--admin-accent) 8%, var(--admin-surface)); }
.seo-head-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.page-edit-form, .page-seo-form { align-items: start; }
.page-seo-form .page-section-card { background: linear-gradient(180deg, var(--admin-surface-2), var(--admin-surface)); }
.page-order-form { display: flex; justify-content: flex-end; }
.page-manager-list > div, .slide-manager-list > div { cursor: grab; }
.slide-order-hint { margin: -4px 0 14px; padding: 10px 12px; border: 1px dashed color-mix(in srgb, var(--admin-accent) 34%, var(--admin-line)); border-radius: 8px; background: color-mix(in srgb, var(--admin-accent) 7%, var(--admin-surface)); color: var(--admin-muted); font-size: 13px; font-weight: 800; }
.slide-order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.slide-order-actions small { color: var(--admin-muted); font-weight: 800; }
.template-packs > div:not(.option-head) { grid-column: span 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.template-packs button { justify-content: flex-start; gap: 9px; min-height: 52px; color: var(--admin-text); background: var(--admin-surface); border: 1px solid var(--admin-line); }
.template-packs button:hover { color: var(--admin-accent); border-color: color-mix(in srgb, var(--admin-accent) 35%, var(--admin-line)); background: color-mix(in srgb, var(--admin-accent) 8%, var(--admin-surface)); }
.option-builder { display: grid; grid-template-columns: 1fr 2fr auto; gap: 14px; align-items: end; padding: 12px; border: 1px solid var(--admin-line); background: var(--admin-surface); border-radius: 8px; margin-top: 10px; }
.option-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.option-presets button { min-height: 34px; padding: 7px 10px; color: var(--admin-accent); background: color-mix(in srgb, var(--admin-accent) 10%, var(--admin-surface)); border: 1px solid color-mix(in srgb, var(--admin-accent) 20%, var(--admin-line)); }
.builder-sorter { grid-column: span 2; display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; border: 1px dashed var(--admin-line); border-radius: 8px; background: var(--admin-surface); }
.builder-sorter button { gap: 8px; min-height: 44px; color: var(--admin-text); background: var(--admin-surface-2); border: 1px solid var(--admin-line); box-shadow: 0 8px 18px rgba(16, 24, 40, .05); cursor: grab; }
.builder-sorter button.dragging { opacity: .45; cursor: grabbing; }
.builder-sorter button.over { border-color: var(--admin-accent); background: color-mix(in srgb, var(--admin-accent) 11%, var(--admin-surface)); }
.media-picker { grid-column: span 2; display: grid; gap: 8px; padding: 12px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); }
.media-picker small, .media-picker em { color: var(--admin-muted); }
.media-picker > div { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.media-picker button { display: grid; gap: 6px; min-height: 0; padding: 7px; color: var(--admin-text); background: var(--admin-surface-2); border: 1px solid var(--admin-line); }
.media-picker img { width: 100%; height: 78px; border-radius: 6px; }
.media-picker span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 800; }
.tag-editor { display: grid; gap: 8px; font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; padding: 8px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.tag-list button { min-height: 28px; padding: 5px 10px; border-radius: 999px; background: #e7e0fb; color: #5130a4; font-size: 12px; }
.tag-list button::after { content: " ×"; font-weight: 900; }
.tag-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.tag-add button { min-height: 42px; color: white; background: var(--brand); }
.icon-danger { min-height: 38px; padding: 8px 12px; background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.variant-table { overflow: auto; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); }
.variant-row { min-width: 980px; display: grid; grid-template-columns: 86px 1.1fr 1fr .85fr .85fr .7fr .85fr auto; gap: 10px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); }
.variant-row:last-child { border-bottom: 0; }
.variant-title { color: var(--admin-muted); background: var(--admin-surface-2); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.variant-image { display: grid; place-items: center; gap: 6px; min-height: 70px; padding: 6px; border: 1px dashed #b7c5c3; border-radius: 8px; color: var(--muted); font-size: 12px; cursor: pointer; overflow: hidden; }
.variant-image img { width: 58px; height: 58px; border-radius: 999px; object-fit: cover; }
.variant-image input[type="file"] { padding: 0; min-height: auto; border: 0; font-size: 11px; }
.existing-image-grid, .selected-image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0; }
.existing-image-grid figure, .selected-image-card { margin: 0; overflow: hidden; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); }
.existing-image-grid img { width: 100%; height: 150px; }
.existing-image-grid figcaption { display: grid; gap: 3px; padding: 10px; font-weight: 800; }
.existing-image-grid small { color: var(--muted); font-weight: 500; }
.selected-image-card { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px; }
.selected-image-card img { width: 140px; height: 140px; border-radius: 8px; }
.selected-image-card div { display: grid; gap: 8px; }
.selected-image-card label { font-size: 13px; }
.form-preview img { max-width: 220px; height: 140px; border-radius: 8px; box-shadow: var(--soft-shadow); }
.checks { display: flex; flex-wrap: wrap; gap: 14px; }
.checks label { display: flex; align-items: center; gap: 8px; }
.checks input, label input[type="checkbox"] { width: auto; min-height: auto; }
.table { display: grid; gap: 10px; }
.table > div { display: grid; grid-template-columns: 72px 1fr repeat(4, auto); gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.table img { width: 72px; height: 58px; object-fit: cover; border-radius: 8px; background: #e2e8e7; }
.table > div > span:first-child .admin-icon { width: 34px; height: 34px; color: var(--admin-accent); }
.table small { display: block; color: var(--muted); }
.table button { background: #fee2e2; color: #991b1b; min-height: 36px; }
.home-showcase-form { display: grid; gap: 18px; }
.home-showcase-list { display: grid; gap: 10px; max-height: 760px; overflow: auto; padding-right: 4px; scrollbar-width: thin; }
.home-showcase-row { display: grid; grid-template-columns: 90px minmax(280px, 1fr) 110px minmax(220px, .8fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.home-showcase-row.selected { border-color: color-mix(in srgb, var(--admin-accent) 42%, var(--admin-line)); background: color-mix(in srgb, var(--admin-accent) 7%, var(--admin-surface)); }
.showcase-check { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; }
.showcase-product-main { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; }
.showcase-product-main img { width: 78px; height: 58px; object-fit: cover; border-radius: 8px; background: #e2e8e7; }
.showcase-product-main span { display: grid; gap: 4px; min-width: 0; }
.showcase-product-main b, .showcase-product-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.showcase-product-main small { color: var(--admin-muted); font-size: 12px; }
.home-showcase-row label:not(.showcase-check) { display: grid; gap: 5px; color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.home-showcase-row input[type="number"], .home-showcase-row select { min-height: 38px; }
.showcase-save-bar { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; padding: 12px; border: 1px solid var(--admin-line); border-radius: 8px; background: color-mix(in srgb, var(--admin-surface) 94%, transparent); box-shadow: var(--soft-shadow); backdrop-filter: blur(12px); }
.admin-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) 190px auto auto; gap: 12px; align-items: end; margin: 0 0 16px; padding: 14px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.admin-toolbar label { display: grid; gap: 6px; color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.empty-state { display: grid; place-items: center; gap: 10px; min-height: 240px; padding: 28px; border: 1px dashed var(--admin-line); border-radius: 8px; text-align: center; color: var(--admin-muted); background: var(--admin-surface-2); }
.empty-state .admin-icon { width: 36px; height: 36px; color: var(--admin-accent); }
.empty-state strong { color: var(--admin-text); font-size: 19px; }
.quote-list { display: grid; gap: 14px; }
.quote-summary { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.quote-summary span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); color: var(--admin-muted); font-weight: 800; }
.quote-summary b { color: var(--admin-accent); font-size: 20px; }
.quote-item { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 14px; align-items: start; padding: 14px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); }
.quote-item h3, .quote-item p { margin: 0; }
.quote-status { display: inline-block; margin-bottom: 6px; padding: 4px 8px; border-radius: 999px; color: #065f46; background: #d1fae5; font-size: 12px; font-weight: 900; }
.quote-crm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quote-crm label { display: grid; gap: 6px; color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.quote-crm label:nth-child(4) { grid-column: span 2; }
.quote-crm textarea { min-height: 72px; }
.quote-actions { display: flex; gap: 8px; }
.quote-actions button:first-child { background: #dcfce7; color: #166534; }
.quote-actions button:last-child { background: #fee2e2; color: #991b1b; }
.bulk-panel p { color: var(--muted); margin-top: 0; }
.bulk-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bulk-catalog-form { margin-top: 12px; grid-template-columns: minmax(0, 1fr) auto; }
.bulk-catalog-form + .bulk-catalog-form { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.import-help { margin-top: 14px; padding: 12px; border-radius: 8px; background: #f8fbfa; border: 1px solid var(--line); }
.import-help { display: grid; gap: 8px; }
.import-help code { display: block; margin-top: 8px; white-space: normal; line-height: 1.7; }
.import-help small { color: var(--muted); line-height: 1.5; }
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.media-card { display: grid; gap: 12px; overflow: hidden; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); box-shadow: var(--soft-shadow); }
.media-preview { display: grid; place-items: center; min-height: 190px; background: color-mix(in srgb, var(--admin-accent) 8%, var(--admin-surface)); }
.media-preview img { width: 100%; height: 210px; object-fit: cover; }
.media-preview span { display: flex; align-items: center; gap: 8px; color: var(--admin-accent); font-weight: 900; }
.media-card form { display: grid; gap: 10px; padding: 12px; }
.media-card label { display: grid; gap: 5px; color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.media-card small { color: var(--admin-muted); font-weight: 700; }
.media-actions { display: flex; gap: 8px; }
.media-actions button:last-child { background: #fee2e2; color: #991b1b; }
.collection-title-row p { margin: 5px 0 0; max-width: 720px; color: var(--admin-muted); font-weight: 700; line-height: 1.5; }
.collection-stats-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.collection-stats-strip span { display: grid; gap: 3px; padding: 13px 14px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface); color: var(--admin-muted); font-size: 12px; font-weight: 900; }
.collection-stats-strip b { color: var(--admin-accent); font-size: 25px; line-height: 1; }
.collection-editor-panel { border-color: color-mix(in srgb, var(--admin-accent) 22%, var(--admin-line)); }
.collection-upload-box { grid-column: 1 / -1; background: color-mix(in srgb, var(--admin-accent) 6%, var(--admin-surface)); }
.collection-relation-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -2px 0 14px; padding: 10px 12px; border: 1px dashed color-mix(in srgb, var(--admin-accent) 35%, var(--admin-line)); border-radius: 8px; background: color-mix(in srgb, var(--admin-accent) 6%, var(--admin-surface)); color: var(--admin-muted); font-size: 13px; font-weight: 800; }
.collection-relation-note b { color: var(--admin-text); }
.collection-relation-note span { padding: 5px 8px; border-radius: 999px; background: var(--admin-surface); color: var(--admin-accent); }
.collection-image-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.collection-image-card { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-2); box-shadow: var(--soft-shadow); }
.collection-image-card > img { width: 100%; height: 230px; object-fit: cover; background: #e2e8e7; }
.collection-image-card form { display: grid; gap: 9px; padding: 12px; }
.collection-image-card label { display: grid; gap: 5px; color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.collection-list-panel .table { gap: 12px; }
.collection-list-panel .table > div { grid-template-columns: 88px minmax(0, 1fr) auto auto; padding: 12px; background: var(--admin-surface); }
.collection-list-panel .table > div.is-active { border-color: var(--admin-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--admin-accent) 14%, transparent); }
.collection-list-panel .table img { width: 88px; height: 70px; }

@media (max-width: 1180px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .site-header nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; flex-wrap: nowrap; scrollbar-width: thin; }
  .site-header nav a { flex: 0 0 auto; }
  .category-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 28px; }
  .builder-workspace { padding-inline: 24px; }
}

@media (max-width: 980px) {
  .category-grid, .product-grid, .cards, .service-grid, .testimonial-grid, .search-grid, .builder-card-grid, .builder-step-grid, .builder-gallery, .builder-stat-grid, .builder-visual-grid, .media-grid, .collection-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-categories .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-product-showcase .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-stats-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-showcase-section .service-grid { grid-template-columns: repeat(2, minmax(0, 420px)); }
  .subcategory-strip { grid-template-columns: 1fr; }
  .split, .product-detail, .admin, .trust-strip, .process-grid, .filter-bar, .quote-page, .quote-item, .quote-crm, .service-detail-body, .custom-page-hero, .custom-page-body, .dashboard-panels, .admin-toolbar, .visual-builder-shell, .visual-split, .visual-contact, .visual-logo-strip, .site-footer-template .footer-grid, .builder-topbar, .builder-workspace, .builder-create-bar, .home-intro, .home-cta { grid-template-columns: 1fr; }
  .stat-grid, .quick-grid, .dashboard-quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-collection-grid, .home-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-showcase-row { grid-template-columns: 1fr; align-items: stretch; }
  .showcase-product-main { grid-template-columns: 72px minmax(0, 1fr); }
  .gallery-showcase { grid-template-columns: repeat(2, 1fr); }
  .gallery-view { position: static; }
  .product-detail { padding-block: 34px; gap: 22px; }
  .product-info h1 { font-size: clamp(30px, 8vw, 44px); }
  .gallery-view .main-photo { aspect-ratio: 1.1; max-height: 640px; }
  .thumbs { padding-bottom: 4px; scroll-snap-type: x proximity; }
  .thumbs button { flex: 0 0 auto; scroll-snap-align: start; }
  .trust-strip { margin-top: 0; border-radius: 0; }
  .site-header { position: sticky; }
  .admin-side { position: static; min-height: auto; }
  .admin-main { padding: 16px; }
  .admin-topbar { margin: -16px -16px 16px; padding: 14px 16px; }
  .builder-left { grid-template-columns: 1fr; }
  .builder-create-bar, .builder-topbar { position: static; }
  .builder-rail { position: static; min-height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .builder-toolbox { position: static; max-height: none; }
  .builder-right { grid-row: auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .builder-workspace.overlay-panels .builder-left, .builder-workspace.overlay-panels .builder-right {
    top: 12px; bottom: 12px; width: min(420px, calc(100vw - 24px)); max-width: calc(100vw - 24px);
  }
  .builder-workspace.overlay-panels .builder-left { left: 12px; }
  .builder-workspace.overlay-panels .builder-right { right: 12px; }
  .builder-browser-frame { overflow: visible; }
  .builder-live-canvas { padding: 10px; }
}

@media (max-width: 680px) {
  h1 { font-size: clamp(32px, 11vw, 44px); line-height: 1.05; }
  h2 { font-size: clamp(25px, 8vw, 34px); }
  h3 { font-size: 18px; }
  .topbar { display: grid; gap: 4px; padding: 8px 14px; font-size: 12px; }
  .site-header, footer, .topbar, .admin-title-row, .visual-cta, .visual-toolbar, .builder-top-actions, .builder-canvas-head { align-items: flex-start; flex-direction: column; }
  .site-header { gap: 12px; padding: 12px 14px; }
  .brand { width: 100%; min-width: 0; }
  .brand strong { min-width: 0; overflow-wrap: anywhere; }
  nav { width: 100%; gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  nav a { flex: 0 0 auto; padding: 8px 9px; white-space: nowrap; background: #f7faf9; border: 1px solid var(--line); }
  .site-search { width: 100%; grid-template-columns: 1fr auto; }
  .header-actions { width: 100%; justify-content: stretch; }
  .header-actions .header-cta { flex: 1 1 150px; text-align: center; }
  .header-cta { width: 100%; text-align: center; }
  .nav-item { position: static; }
  .has-children::before { display: none; }
  .nav-dropdown, .nav-dropdown .nav-dropdown { position: static; display: none; min-width: 0; margin-top: 4px; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav-dropdown-item { position: static; }
  .nav-dropdown-item.has-children::before { display: none; }
  .nav-item:hover > .nav-dropdown, .nav-item:focus-within > .nav-dropdown, .nav-item.is-open > .nav-dropdown, .nav-dropdown-item:hover > .nav-dropdown, .nav-dropdown-item:focus-within > .nav-dropdown { display: grid; }
  .quote-page > div { position: static; }
  .hero { height: auto; min-height: 0; }
  .slides { height: auto; min-height: 0; }
  .slide { display: none; position: relative; height: auto; min-height: 0; padding: 0; transform: none; }
  .slide.active { display: grid; opacity: 1; }
  .slide::before { inset: -20px; filter: blur(18px); opacity: .5; }
  .slide.has-content::after { background: linear-gradient(180deg, rgba(7,22,29,.08), rgba(7,22,29,.92)); }
  .slide-media { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: contain; background: #0b1720; }
  .slide-content { z-index: 2; width: 100%; max-width: none; padding: 20px 16px 30px; background: #0b1720; }
  .slide p, .visual-hero p, .custom-page-hero p, .service-detail-hero p { font-size: 16px; }
  .section { padding: 42px 14px; }
  .section-title { margin-bottom: 20px; }
  .category-grid, .product-grid, .cards, .catalog-strip, .mosaic, .search-grid, .builder-card-grid, .builder-step-grid, .builder-gallery, .builder-stat-grid, .builder-visual-grid, .media-grid, .admin-form, .option-builder, .quote-grid, .assurance-grid, .service-grid, .testimonial-grid, .gallery-showcase, .seo-manager, .logo-upload-grid, .existing-image-grid, .selected-image-grid, .selected-image-card, .stat-grid, .quick-grid, .dashboard-quality-grid, .admin-toolbar, .media-picker > div, .template-packs > div:not(.option-head), .page-template-split.custom-page-body article, .visual-block-fields, .visual-inline-tabs, .builder-page-switch, .builder-canvas-head, .builder-media-grid, .collection-image-grid, .collection-stats-strip, .builder-collection-list article > div, .inspector-collection-picker > div, .inline-collection-picker > div, .slider-editor-row, .slider-editor-row > div, .home-collection-grid, .home-process-grid, .home-intro-stats, .home-cta-actions { grid-template-columns: 1fr; }
  .visual-categories .category-grid { grid-template-columns: 1fr; }
  .featured-product-showcase .home-product-grid { grid-template-columns: 1fr; }
  .service-showcase-section .service-grid { grid-template-columns: 1fr; }
  .home-intro { gap: 18px; padding-top: 34px; }
  .featured-showcase-head { display: grid; align-items: start; }
  .featured-showcase-head .showcase-more { width: 100%; text-align: center; }
  .home-collection-card { grid-template-rows: 210px 1fr; }
  .home-process-band .section { padding-top: 42px; padding-bottom: 42px; }
  .home-process-grid article { min-height: auto; }
  .home-cta { margin-bottom: 18px; }
  .category-card { min-height: auto; }
  .category-card img, .product-card img { height: 210px; }
  .visual-search-box { grid-template-columns: 1fr; }
  .header-toggle-grid, .header-builder-grid, .header-tune-grid, .header-menu-row { grid-template-columns: 1fr; }
  .product-card p { min-height: auto; }
  .card-foot { align-items: stretch; flex-direction: column; }
  .card-foot .mini-btn, .card-foot a { width: 100%; text-align: center; }
  .page-head { padding: 46px 14px 28px; }
  .product-detail { padding: 18px 14px 42px; }
  .product-info-head, .product-panel { padding: 18px; }
  .product-info-head h1 { font-size: clamp(28px, 9vw, 38px); }
  .product-panel-title { align-items: flex-start; flex-direction: column; }
  .product-specs div { grid-template-columns: 1fr; gap: 4px; }
  .price { font-size: 24px; }
  .gallery-view .main-photo { aspect-ratio: 1; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; }
  .thumbs button { flex-basis: 104px; }
  .thumbs img { width: 100%; height: 68px; }
  .lightbox { padding: 72px 12px 124px; }
  .lightbox-stage { width: calc(100vw - 24px); max-height: calc(100vh - 210px); }
  .lightbox-stage > img { max-height: calc(100vh - 252px); }
  .lightbox-close { right: 10px; width: 44px; }
  .lightbox-zoom { right: 62px; padding: 9px 12px; font-size: 12px; }
  .lightbox-nav { width: 42px; height: 54px; font-size: 38px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-thumbs { bottom: 10px; gap: 8px; width: calc(100vw - 20px); padding: 8px; }
  .lightbox-thumbs button { flex-basis: 82px; }
  .lightbox-thumbs img { height: 54px; }
  .photo-color-badge { left: 10px; bottom: 10px; max-width: calc(100% - 20px); }
  .zoom-btn { right: 10px; top: 10px; min-height: 34px; padding: 7px 10px; font-size: 12px; }
  .variant-choice { grid-template-columns: 58px 1fr; }
  .variant-choice strong { grid-column: 2; justify-self: start; }
  .assurance-grid { grid-template-columns: 1fr; }
  .quote-box { padding: 16px; }
  .floating-wa { right: 14px; bottom: 14px; }
  .visual-hero { min-height: 420px; padding: 24px 18px; }
  .visual-cta, .visual-contact { padding: 18px; }
  .custom-page-hero, .service-detail-hero { min-height: 420px; padding: 32px 16px; }
  .admin { display: block; }
  .admin-side { display: flex; flex-direction: row; align-items: center; overflow-x: auto; min-height: auto; padding: 12px; border-right: 0; border-bottom: 1px solid var(--admin-line); }
  .admin-side strong { margin-bottom: 10px; }
  .admin-side strong, .admin-side a, .admin-menu-group { flex: 0 0 auto; }
  .admin-side a { min-width: max-content; }
  .admin-menu-group { min-width: 220px; }
  .admin-main h1 { font-size: 28px; }
  .admin-topbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .admin-top-actions { width: 100%; flex-wrap: wrap; }
  .admin-top-actions .btn, .admin-top-actions .theme-toggle { flex: 1 1 160px; }
  .table > div { grid-template-columns: 58px minmax(0, 1fr); align-items: start; }
  .table > div > a, .table > div > form, .table > div > button { grid-column: 2; width: 100%; }
  .table > div > a { text-align: center; }
  .builder-workspace.left-collapsed, .builder-workspace.right-collapsed, .builder-workspace.left-collapsed.right-collapsed { grid-template-columns: 1fr; }
  .builder-workspace.left-collapsed .builder-left, .builder-workspace.right-collapsed .builder-right { display: none; }
  .featured-gallery { grid-column: auto; grid-row: auto; }
  .quote-grid label:last-child { grid-column: auto; }
  .admin-form textarea, .checks, .option-builder, .seo-manager, .image-manager, .page-builder-intro, .visual-page-editor, .seo-manager .option-head, .seo-manager label:nth-of-type(2), .builder-sorter, .media-picker, .template-packs > div:not(.option-head), .visual-block-fields label.wide, .quote-crm label:nth-child(4) { grid-column: auto; }
  .visual-block-fields .block-bg-control.wide, .inspector-grid .block-bg-control.wide { grid-column: auto; }
  .builder-topbar { padding: 10px 12px; }
  .builder-brand, .builder-page-switch { width: 100%; }
  .builder-workspace { min-height: auto; padding: 10px 36px; }
  .builder-workspace, .builder-browser-frame { margin: 0; padding-block: 10px; }
  .builder-browser-frame { padding-inline: 8px; border-radius: 8px; }
  .builder-browser-bar { grid-template-columns: 8px 8px 8px minmax(0, 1fr); }
  .builder-browser-bar p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .builder-panel-tab { top: 130px; min-height: 72px; padding: 8px 5px; }
  .builder-panel-tab.left { left: 0; }
  .builder-panel-tab.right { right: 0; }
  .visual-block-head { position: static; opacity: 1; pointer-events: auto; transform: none; margin-bottom: 8px; }
  .visual-block-head, .visual-block-actions { align-items: stretch; flex-direction: column; }
  .visual-block-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-block-actions button { width: 100%; }
  .visual-inline-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-inline-presets button { width: 100%; }
  .visual-resize-handle { display: none; }
  .builder-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .builder-top-actions, .builder-top-actions .btn, .builder-top-actions .theme-toggle, .builder-save-state { width: 100%; }
  .wide-card { grid-template-columns: 1fr; }
  .wide-card img { width: 100%; height: 220px; }
  .table b, .table form { grid-column: 2; }
}

@media (max-width: 980px) {
  .admin { display: block; }
  .admin .admin-side { position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(330px, calc(100vw - 44px)); min-height: 100vh; height: 100vh; display: flex; flex-direction: column; align-items: stretch; overflow: hidden; padding: 16px; border-right: 1px solid var(--admin-line); border-bottom: 0; box-shadow: 28px 0 70px rgba(16, 24, 40, .24); transform: translateX(-105%); transition: transform .22s ease; }
  .admin.admin-nav-open .admin-side { transform: translateX(0); }
  .admin.admin-nav-open::before { content: ""; position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 42, .42); backdrop-filter: blur(2px); }
  .admin-side-head, .admin-side-status, .admin-side-footer { flex: 0 0 auto; }
  .admin-nav { flex: 1 1 auto; min-width: 0; overflow: hidden auto; }
  .admin-nav > a, .admin-menu-group a, .admin-side-footer a { min-width: 0; }
  .admin-menu-group { min-width: 0; }
  .admin-side-close, .admin-mobile-menu-toggle { display: grid; }
  .admin-topbar { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .admin-topbar .admin-top-actions { grid-column: 1 / -1; }
  .page-admin-shell, .page-section-grid, .seo-workbench-grid, .seo-advanced-grid, .page-seo-summary, .page-overview-grid { grid-template-columns: 1fr; }
  .page-admin-nav { position: static; }
  .page-title-actions, .seo-head-actions { width: 100%; justify-content: flex-start; }
  .admin-subnav a { flex: 1 1 180px; }
  .page-manager-list > div { grid-template-columns: 58px minmax(0, 1fr); }
  .page-manager-list .seo-status-chip { grid-column: 2; }
}

@media (max-width: 430px) {
  .category-grid, .product-grid { gap: 14px; }
  .category-card img, .product-card img { height: 190px; }
  .site-search { grid-template-columns: 1fr; }
  .site-search button, .btn, button { width: 100%; }
  .admin-mobile-menu-toggle, .admin-side-close { width: 40px; }
  .lightbox button { width: auto; }
  .lightbox-close { width: 44px; }
  .lightbox-zoom { max-width: calc(100vw - 126px); }
  .lightbox-thumbs button { width: auto; flex-basis: 76px; }
  .hero, .slides, .slide { min-height: 0; }
  .trust-strip div, .process-grid article, .testimonial-card { padding: 16px; }
  .builder-workspace { padding-inline: 30px; }
  .builder-live-canvas { gap: 10px; }
  .visual-block-fields { padding: 10px; }
  .visual-inline-tabs button { min-height: 38px; }
  .quote-summary span { width: 100%; justify-content: space-between; }
}

.builder-live-canvas[data-device="tablet"] .site-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; justify-content: stretch; gap: 12px 16px; padding: 12px 18px; }
.builder-live-canvas[data-device="tablet"] .site-header .brand,
.builder-live-canvas[data-device="tablet"] .site-header nav,
.builder-live-canvas[data-device="tablet"] .site-header .header-cta { transform: none; }
.builder-live-canvas[data-device="tablet"] .site-header nav { grid-column: 1 / -1; order: 3; width: 100%; display: flex; flex-wrap: wrap; overflow: visible; gap: 7px; padding: 0; }
.builder-live-canvas[data-device="tablet"] .site-header nav a { background: #f7faf9; border: 1px solid var(--line); }

.builder-live-canvas[data-device="mobile"] .site-header { display: grid; grid-template-columns: 1fr; align-items: stretch; justify-content: stretch; gap: 10px; padding: 12px; border-radius: 0; }
.builder-live-canvas[data-device="mobile"] .site-header .brand,
.builder-live-canvas[data-device="mobile"] .site-header nav,
.builder-live-canvas[data-device="mobile"] .site-header .header-cta,
.builder-live-canvas[data-device="mobile"] .site-header .site-search { transform: none; }
.builder-live-canvas[data-device="mobile"] .site-header .brand { justify-content: center; width: 100%; min-width: 0; height: min(var(--header-logo-slot-height, 58px), 76px); }
.builder-live-canvas[data-device="mobile"] .site-header .brand-logo { width: min(var(--header-logo-width, 190px), 220px); height: min(var(--header-logo-height, 58px), 72px); margin: 0 auto; object-fit: contain; }
.builder-live-canvas[data-device="mobile"] .site-header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 7px; overflow: visible; padding: 0; }
.builder-live-canvas[data-device="mobile"] .site-header nav > a,
.builder-live-canvas[data-device="mobile"] .site-header .nav-item > a { display: flex; justify-content: center; width: 100%; min-height: 36px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: #f7faf9; white-space: normal; text-align: center; line-height: 1.2; }
.builder-live-canvas[data-device="mobile"] .site-header .nav-item { min-width: 0; }
.builder-live-canvas[data-device="mobile"] .site-header .header-cta { display: flex; width: 100%; justify-content: center; min-height: 40px; text-align: center; }
.builder-live-canvas[data-device="mobile"] .site-header .site-search { width: 100%; grid-template-columns: 1fr; }
.builder-live-canvas[data-device="mobile"] .site-header .nav-dropdown,
.builder-live-canvas[data-device="mobile"] .site-header .nav-dropdown .nav-dropdown { grid-column: 1 / -1; width: 100%; margin-top: 6px; padding: 6px; border-radius: 8px; }
.builder-live-canvas[data-device="mobile"] .site-header .header-part-handle,
.builder-live-canvas[data-device="tablet"] .site-header .header-part-handle { opacity: 1; transform: translateY(0); }

@media (max-width: 680px) {
  .site-header { display: grid; grid-template-columns: 1fr; align-items: stretch; justify-content: stretch; gap: 10px; padding: 12px; }
  .site-header .brand,
  .site-header nav,
  .site-header .header-cta,
  .site-header .site-search { transform: none; }
  .site-header .brand { justify-content: center; width: 100%; min-width: 0; height: min(var(--header-logo-slot-height, 58px), 76px); }
  .site-header .brand-logo { width: min(var(--header-logo-width, 190px), 220px); height: min(var(--header-logo-height, 58px), 72px); margin: 0 auto; object-fit: contain; }
  .site-header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 7px; overflow: visible; padding: 0; }
  .site-header nav > a,
  .site-header .nav-item > a { display: flex; justify-content: center; width: 100%; min-height: 36px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: #f7faf9; white-space: normal; text-align: center; line-height: 1.2; }
  .site-header .nav-item { min-width: 0; position: static; }
  .site-header .header-cta { display: flex; width: 100%; justify-content: center; min-height: 40px; text-align: center; }
  .site-header .site-search { width: 100%; grid-template-columns: 1fr; }
  .site-header .nav-dropdown,
  .site-header .nav-dropdown .nav-dropdown { grid-column: 1 / -1; width: 100%; margin-top: 6px; padding: 6px; border-radius: 8px; }
  .site-footer-template .footer-brand,
  .site-footer-template .footer-links,
  .site-footer-template .footer-contact { transform: none; }
}
