/* WDevCMS block styles — shared by the live site and the builder canvas. */
:root, .cms-root { --cms-primary: var(--primary, #4f46e5); --cms-width: var(--content-width, 1140px); }
.cms-root *, .cms-root *::before, .cms-root *::after { box-sizing: border-box; }
.cms-root [hidden] { display: none !important; }
.cms-section { position: relative; background-repeat: no-repeat; }
.cms-section.cms-parallax { background-attachment: fixed; }
.cms-overlay { position: absolute; inset: 0; pointer-events: none; }
.cms-container { position: relative; display: flex; flex-wrap: wrap; margin: 0 auto; width: 100%; }
.cms-container.cms-boxed { max-width: var(--cms-width); }
.cms-column { display: flex; flex-direction: column; min-width: 0; min-height: 10px; position: relative; background-size: cover; background-position: center; }
.cms-widget { position: relative; }
.cms-widget + .cms-widget { margin-top: 20px; }

.cms-heading { margin: 0; line-height: 1.2; }
.cms-heading a { color: inherit; text-decoration: none; }
h1.cms-heading { font-size: 3rem; } h2.cms-heading { font-size: 2.25rem; } h3.cms-heading { font-size: 1.6rem; }
.cms-text > :first-child { margin-top: 0; } .cms-text > :last-child { margin-bottom: 0; }
.cms-text { line-height: 1.7; }
.cms-figure { margin: 0; }
.cms-figure img { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
.cms-figure figcaption { font-size: .875rem; opacity: .7; margin-top: 8px; }
.cms-placeholder { background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 10px, #eceef1 10px, #eceef1 20px); color: #6b7280; padding: 40px 20px; text-align: center; border-radius: 6px; font: 500 14px/1.4 system-ui, sans-serif; }

.cms-btn { display: inline-block; text-decoration: none; font-weight: 600; border: 2px solid var(--cms-primary); border-radius: 6px; transition: background-color .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; line-height: 1.2; }
.cms-btn:hover { transform: translateY(-1px); }
.cms-btn-solid { background: var(--cms-primary); color: #fff; }
.cms-btn-solid:hover { filter: brightness(1.1); }
.cms-btn-outline { background: transparent; color: var(--cms-primary); }
.cms-btn-outline:hover { background: var(--cms-primary); color: #fff; }
.cms-btn-ghost { background: transparent; border-color: transparent; color: var(--cms-primary); padding-left: 0 !important; padding-right: 0 !important; }
.cms-btn-sm { padding: 8px 16px; font-size: 14px; } .cms-btn-md { padding: 12px 24px; font-size: 16px; }
.cms-btn-lg { padding: 16px 32px; font-size: 18px; } .cms-btn-xl { padding: 20px 40px; font-size: 20px; }
.cms-btn-block { display: block; text-align: center; }

.cms-spacer { height: 40px; }
.cms-divider-wrap { display: flex; padding: 15px 0; }
.cms-divider { border: 0; border-top: 1px solid #e5e7eb; margin: 0; width: 100%; }

.cms-iconbox-left { display: flex; gap: 16px; text-align: left; }
.cms-iconbox-top .cms-iconbox-icon { margin-bottom: 16px; }
.cms-iconbox-icon { font-size: 40px; line-height: 1; color: var(--cms-primary); flex: none; }
.cms-iconbox.has-bg .cms-iconbox-icon { border-radius: 50%; width: 1.9em; height: 1.9em; display: inline-flex; align-items: center; justify-content: center; }
.cms-iconbox-title { margin: 0 0 8px; font-size: 1.25rem; }
.cms-iconbox-title a { color: inherit; text-decoration: none; }
.cms-iconbox-text { margin: 0; opacity: .85; line-height: 1.6; }

.cms-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.cms-list-vertical { flex-direction: column; } .cms-list-inline { flex-wrap: wrap; gap: 8px 24px; }
.cms-list li { display: flex; gap: 10px; align-items: baseline; }
.cms-list-icon { color: var(--cms-primary); font-weight: 700; flex: none; }
.cms-list a { color: inherit; }

.cms-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cms-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 1/1; }
.cms-gallery a { display: block; overflow: hidden; }
.cms-gallery a img { transition: transform .4s; } .cms-gallery a:hover img { transform: scale(1.05); }

.cms-video { aspect-ratio: 16/9; background: #000; border-radius: 6px; overflow: hidden; }
.cms-video iframe, .cms-video video { width: 100%; height: 100%; border: 0; display: block; }
.cms-map iframe { width: 100%; height: 300px; border: 0; display: block; border-radius: 6px; }

.cms-accordion { display: flex; flex-direction: column; gap: 8px; }
.cms-acc-item { border: 1px solid #e5e7eb; border-radius: 6px; overflow: hidden; }
.cms-acc-item summary { padding: 14px 18px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.cms-acc-item summary::-webkit-details-marker { display: none; }
.cms-acc-item summary::after { content: '+'; font-size: 1.3em; transition: transform .2s; }
.cms-acc-item[open] summary::after { transform: rotate(45deg); }
.cms-acc-body { padding: 0 18px 16px; line-height: 1.6; }

.cms-counter-num { font-size: 48px; font-weight: 800; line-height: 1.1; color: var(--cms-primary); }
.cms-counter-label { margin-top: 6px; opacity: .8; }

.cms-quote { margin: 0; }
.cms-quote-text { margin: 0 0 20px; font-size: 1.2rem; line-height: 1.6; font-style: italic; }
.cms-quote-cite { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.cms-quote-cite small { display: block; opacity: .7; }
.cms-quote-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

.cms-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cms-post-card { border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; background: #fff; color: #1f2937; display: flex; flex-direction: column; }
.cms-post-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.cms-post-body { padding: 18px; }
.cms-post-body time { font-size: 13px; opacity: .6; }
.cms-post-body h3 { margin: 6px 0 8px; font-size: 1.15rem; line-height: 1.3; }
.cms-post-body h3 a { color: inherit; text-decoration: none; } .cms-post-body h3 a:hover { color: var(--cms-primary); }
.cms-post-body p { margin: 0; opacity: .8; font-size: .95rem; line-height: 1.55; }

/* form */
.cms-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cms-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cms-field-full { grid-column: 1 / -1; }
.cms-label { font-weight: 600; font-size: .92em; }
.cms-req { color: #dc2626; }
.cms-input { width: 100%; font: inherit; font-size: 16px; color: inherit; background: rgba(255,255,255,.9); color: #1f2937; border: 1px solid #d1d5db; border-radius: 8px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.cms-input:focus { outline: 0; border-color: var(--cms-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cms-primary) 22%, transparent); }
textarea.cms-input { resize: vertical; min-height: 120px; }
.cms-choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cms-choice { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cms-choice input { width: 18px; height: 18px; accent-color: var(--cms-primary); margin: 0; }
.cms-field.has-error .cms-input { border-color: #dc2626; }
.cms-field-error { color: #dc2626; font-size: .85em; }
.cms-form-actions { display: flex; margin-top: 18px; }
.cms-form-actions .cms-btn-block { width: 100%; }
.cms-form button[disabled] { opacity: .65; cursor: wait; }
.cms-form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 8px; background: #ecfdf5; color: #065f46; font-weight: 500; }
.cms-form-msg.is-error { background: #fef2f2; color: #991b1b; }
.cms-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* site logo */
.cms-sitelogo { display: inline-block; text-decoration: none; color: inherit; line-height: 1; }
.cms-sitelogo img { height: 44px; width: auto; max-width: 100%; display: block; }
.cms-root [style*="text-align: center"] .cms-sitelogo img { margin: 0 auto; }
.cms-sitelogo-title { font-family: var(--font-heading, inherit); font-weight: 800; font-size: 1.4rem; letter-spacing: -.01em; color: inherit; }
.cms-sitelogo-tagline { font-size: .85rem; opacity: .7; margin-top: 4px; }

/* nav menu */
.cms-nav { position: relative; display: flex; justify-content: flex-end; }
.cms-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; align-items: center; }
.cms-nav-vertical .cms-nav-list { flex-direction: column; align-items: stretch; }
.cms-nav-list a { display: block; padding: 8px 14px; border-radius: 6px; text-decoration: none; color: inherit; font-weight: 500; transition: color .15s, background-color .15s; }
.cms-nav-vertical .cms-nav-list a { padding: 6px 0; }
.cms-nav-list a:hover, .cms-nav-list a.active { color: var(--cms-primary); }
.cms-nav-toggle { display: none; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: inherit; padding: 6px; }
@media (max-width: 767px) {
  .cms-responsive .cms-nav-collapsible .cms-nav-toggle { display: block; }
  .cms-responsive .cms-nav-collapsible .cms-nav-list { display: none; position: absolute; top: 100%; right: 0; left: auto; min-width: 220px; flex-direction: column; align-items: stretch; background: var(--cms-nav-drop, var(--bg, #fff)); color: var(--text, #1f2937); box-shadow: 0 12px 30px rgba(0,0,0,.15); border-radius: 10px; padding: 8px; z-index: 50; }
  .cms-responsive .cms-nav-collapsible.open .cms-nav-list { display: flex; }
}
.cms-device-mobile .cms-nav-collapsible .cms-nav-toggle { display: block; }
.cms-device-mobile .cms-nav-collapsible .cms-nav-list { display: none; }

/* social icons */
.cms-social { display: flex; flex-wrap: wrap; gap: 10px; }
.cms-social a { --cms-icon: 18px; display: inline-flex; align-items: center; justify-content: center; width: calc(var(--cms-icon) * 2.2); height: calc(var(--cms-icon) * 2.2); color: #fff; background: var(--cms-primary); text-decoration: none; transition: transform .15s, background-color .15s, color .15s; }
.cms-social a:hover { transform: translateY(-2px); }
.cms-social svg { width: var(--cms-icon); height: var(--cms-icon); }
.cms-social-circle a { border-radius: 50%; } .cms-social-rounded a { border-radius: 8px; } .cms-social-square a { border-radius: 0; }
.cms-social-plain a { width: auto; height: auto; background: none; color: inherit; }

/* icons */
.cms-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }
.cms-iconbox-icon .cms-icon { vertical-align: middle; }
.cms-list-icon .cms-icon { width: 1.05em; height: 1.05em; vertical-align: -0.15em; }
.cms-icon-wrap { display: inline-flex; align-items: center; justify-content: center; font-size: 48px; line-height: 1; color: var(--cms-primary); }
.cms-icon-circle, .cms-icon-rounded, .cms-icon-square { padding: .45em; background: color-mix(in srgb, var(--cms-primary) 12%, transparent); }
.cms-icon-circle { border-radius: 50%; } .cms-icon-rounded { border-radius: .3em; }
.cms-icon-link { display: inline-block; color: inherit; }

/* nested menus (Nav Menu widget) */
.cms-nav-list li { position: relative; }
.cms-caret { font-size: .7em; margin-left: 5px; opacity: .7; }
.cms-nav-list .cms-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; list-style: none; margin: 0; padding: 6px; background: var(--cms-nav-drop, var(--bg, #fff)); color: var(--text, #1f2937); border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.14); z-index: 60; }
.cms-nav-list li:hover > .cms-sub, .cms-nav-list li:focus-within > .cms-sub { display: block; }
.cms-nav-list .cms-sub a { padding: 8px 12px; }
.cms-nav-list a.active-parent { color: var(--cms-primary); }
.cms-nav-vertical .cms-sub { position: static; display: block; box-shadow: none; background: none; padding: 0 0 0 14px; min-width: 0; color: inherit; }
@media (max-width: 767px) {
  .cms-responsive .cms-nav-collapsible .cms-sub { position: static; display: block; box-shadow: none; background: none; padding: 0 0 0 14px; min-width: 0; }
}

/* tabs */
.cms-tabs { --cms-tab-active: var(--cms-primary); --cms-tab-border: #e5e7eb; }
.cms-tabs-nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--cms-tab-border); }
.cms-tab-btn { font: inherit; font-weight: 600; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 18px; cursor: pointer; color: inherit; opacity: .7; }
.cms-tab-btn:hover { opacity: 1; }
.cms-tab-btn.is-active { opacity: 1; color: var(--cms-tab-active); border-bottom-color: var(--cms-tab-active); }
.cms-tab-panel { padding: 20px 4px; line-height: 1.7; }
.cms-tabs-vertical { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 0 24px; }
.cms-tabs-vertical .cms-tabs-nav { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--cms-tab-border); }
.cms-tabs-vertical .cms-tab-btn { text-align: left; border-bottom: 0; border-right: 2px solid transparent; margin: 0 -1px 0 0; }
.cms-tabs-vertical .cms-tab-btn.is-active { border-right-color: var(--cms-tab-active); }
.cms-tabs-vertical .cms-tab-panel { padding-top: 8px; }

/* image carousel */
.cms-carousel { --per: 1; --gap: 16px; --ratio: 16/9; position: relative; }
.cms-carousel-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.cms-carousel-track::-webkit-scrollbar { display: none; }
.cms-slide { position: relative; flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); scroll-snap-align: start; overflow: hidden; border-radius: 10px; }
.cms-slide img { width: 100%; aspect-ratio: var(--ratio); object-fit: cover; display: block; }
.cms-slide > a { display: block; color: inherit; text-decoration: none; }
.cms-slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; color: #fff; background: linear-gradient(transparent, var(--cms-cap-bg, rgba(0,0,0,.65))); }
.cms-slide-caption h3 { margin: 0 0 4px; font-size: 1.25rem; }
.cms-slide-caption p { margin: 0; opacity: .9; font-size: .95rem; }
.cms-car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #111; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); z-index: 2; }
.cms-car-btn:hover { background: #fff; }
.cms-car-prev { left: 12px; } .cms-car-next { right: 12px; }
.cms-car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.cms-car-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: currentColor; opacity: .25; cursor: pointer; transition: opacity .2s, transform .2s; }
.cms-car-dots button.is-active { opacity: .9; transform: scale(1.25); background: var(--cms-primary); }
@media (max-width: 767px) { .cms-responsive .cms-carousel { --per: 1; } }
.cms-device-mobile .cms-carousel { --per: 1; }

/* pricing table */
.cms-pricing { --cms-accent: var(--cms-primary); position: relative; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px 28px; background: #fff; color: #1f2937; text-align: center; height: 100%; display: flex; flex-direction: column; }
.cms-pricing.is-featured { border: 2px solid var(--cms-accent); box-shadow: 0 20px 44px rgba(0,0,0,.12); }
.cms-pricing-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--cms-accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.cms-pricing-title { margin: 0 0 12px; font-size: 1.2rem; }
.cms-pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-bottom: 8px; }
.cms-pricing-cur { font-size: 1.4rem; font-weight: 700; align-self: flex-start; margin-top: 6px; }
.cms-pricing-amount { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.cms-pricing-per { opacity: .6; }
.cms-pricing-desc { opacity: .75; margin: 0 0 20px; }
.cms-pricing-features { list-style: none; margin: 0 0 26px; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cms-pricing-features li { display: flex; gap: 10px; align-items: flex-start; }
.cms-pricing-features .cms-icon { color: var(--cms-accent); margin-top: 3px; }
.cms-pricing-features li.is-off { opacity: .45; } .cms-pricing-features li.is-off .cms-icon { color: inherit; }
.cms-pricing .cms-btn { border-color: var(--cms-accent); }
.cms-pricing .cms-btn-solid { background: var(--cms-accent); }
.cms-pricing .cms-btn-outline { color: var(--cms-accent); }

/* countdown */
.cms-countdown { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cms-cd-part { display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 14px 10px; border-radius: 12px; background: color-mix(in srgb, var(--cms-primary) 10%, transparent); }
.cms-cd-num { font-size: 40px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--cms-primary); }
.cms-cd-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; margin-top: 6px; }
.cms-countdown-done { font-size: 1.2rem; font-weight: 600; }

/* before / after */
.cms-ba { --pos: 50%; --cms-ba-handle: #fff; position: relative; overflow: hidden; user-select: none; line-height: 0; }
.cms-ba img { display: block; width: 100%; height: auto; }
.cms-ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cms-ba-before img { width: 100%; height: 100%; object-fit: cover; }
.cms-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--cms-ba-handle); box-shadow: 0 0 8px rgba(0,0,0,.35); pointer-events: none; }
.cms-ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: var(--cms-ba-handle); color: #111; display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.cms-ba-label { position: absolute; top: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; pointer-events: none; }
.cms-ba-label-before { left: 12px; } .cms-ba-label-after { right: 12px; }
.cms-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* global blocks */
.cms-global { display: block; }

/* site parts (header & footer built in the builder) */
.site-part-header { position: relative; z-index: 100; transition: background-color .25s, box-shadow .25s; }
.site-part-header.is-sticky { position: sticky; top: 0; }
.site-part-header.is-transparent { position: absolute; left: 0; right: 0; top: 0; }
.site-part-header.is-transparent.is-sticky { position: fixed; }
.site-part-header.is-transparent .cms-section { background-color: transparent !important; }
.site-part-header.is-transparent.scrolled .cms-section { background-color: var(--bg, #fff) !important; color: var(--text, #1f2937); }
.site-part-header.has-shadow.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
body.has-adminbar .site-part-header.is-sticky, body.has-adminbar .site-part-header.is-transparent { top: 34px; }

.cms-shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06); }
.cms-shadow-md { box-shadow: 0 6px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05); }
.cms-shadow-lg { box-shadow: 0 20px 40px rgba(0,0,0,.12), 0 6px 12px rgba(0,0,0,.06); }

/* ---- responsive (live site) ---- */
@media (max-width: 767px) {
  .cms-responsive .cms-column { width: 100%; }
  .cms-responsive .cms-posts { grid-template-columns: 1fr; }
  .cms-responsive .cms-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cms-responsive h1.cms-heading { font-size: 2.2rem; } .cms-responsive h2.cms-heading { font-size: 1.75rem; }
  .cms-responsive .cms-hide-mobile { display: none !important; }
  .cms-responsive .cms-field-half { grid-column: 1 / -1; }
  .cms-responsive .cms-tabs-vertical { grid-template-columns: 1fr; }
  .cms-responsive .cms-tabs-vertical .cms-tabs-nav { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--cms-tab-border); }
  .cms-responsive .cms-cd-part { min-width: 66px; } .cms-responsive .cms-cd-num { font-size: 30px; }
}
.cms-device-mobile .cms-field-half { grid-column: 1 / -1; }
@media (min-width: 768px) and (max-width: 1024px) { .cms-responsive .cms-hide-tablet { display: none !important; } }
@media (min-width: 1025px) { .cms-responsive .cms-hide-desktop { display: none !important; } }

/* ---- builder device preview (flattened, no media queries) ---- */
.cms-device-mobile .cms-column { width: 100%; }
.cms-device-mobile .cms-posts { grid-template-columns: 1fr; }
.cms-device-mobile .cms-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cms-device-mobile h1.cms-heading { font-size: 2.2rem; } .cms-device-mobile h2.cms-heading { font-size: 1.75rem; }
.cms-device-desktop .cms-hide-desktop, .cms-device-tablet .cms-hide-tablet, .cms-device-mobile .cms-hide-mobile { opacity: .35; outline: 1px dashed #9ca3af; }

/* ---- entrance animations (live site only) ---- */
@media (prefers-reduced-motion: no-preference) {
  .cms-responsive .cms-anim { transition: opacity .8s ease, transform .8s ease; }
  .cms-responsive .cms-anim:not(.cms-in) { opacity: 0; }
  .cms-responsive .cms-anim-up:not(.cms-in) { transform: translateY(40px); }
  .cms-responsive .cms-anim-down:not(.cms-in) { transform: translateY(-40px); }
  .cms-responsive .cms-anim-left:not(.cms-in) { transform: translateX(-60px); }
  .cms-responsive .cms-anim-right:not(.cms-in) { transform: translateX(60px); }
  .cms-responsive .cms-anim-zoom:not(.cms-in) { transform: scale(.85); }
}

/* ---- lightbox ---- */
.cms-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; z-index: 9999; cursor: zoom-out; }
.cms-lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 4px; }

/* ---- shop widgets */
.cms-root .cms-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cms-root .cms-product-card { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, currentColor 3%, transparent); }
.cms-root .cms-product-thumb { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: color-mix(in srgb, currentColor 6%, transparent); }
.cms-root .cms-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.cms-root .cms-product-card:hover .cms-product-thumb img { transform: scale(1.04); }
.cms-root .cms-product-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 40px; opacity: .4; }
.cms-root .cms-product-badge { position: absolute; top: 10px; left: 10px; background: #111827; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.cms-root .cms-product-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1; }
.cms-root .cms-product-body h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.cms-root .cms-product-body h3 a { color: inherit; text-decoration: none; }
.cms-root .cms-product-price { font-weight: 700; }
.cms-root .cms-product-body .cms-btn { margin-top: auto; }
.cms-was { opacity: .55; font-weight: 400; margin-right: 4px; }
.cms-from { font-weight: 400; font-size: .85em; opacity: .7; }
.cms-cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; font-size: 22px; line-height: 1; }
.cms-cart-link .cms-icon { width: 1em; height: 1em; }
.cms-cart-label { font-size: 15px; font-weight: 600; }
.cms-cart-count { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--primary, #f47735); color: #fff; font: 700 11px/18px system-ui, sans-serif; text-align: center; }
.cms-cart-label + .cms-cart-count { position: static; }
@media (max-width: 767px) { .cms-root .cms-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
