/* STORE_ENGINE_DESIGN_PILOT_KAVKAZSKY_20261120 CSS */
/* Stable product-card purchase strip across category grids and home rails. */
.market-grid,.market-scroll{align-items:stretch}
.market-card:not(.skeleton){display:flex;flex-direction:column;height:100%;min-height:0}
.market-card:not(.skeleton)>.market-image{flex:0 0 auto}
.market-card:not(.skeleton)>.market-meta{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}
.market-card .market-meta>.product-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;max-height:4.2em;min-height:0;flex:0 0 auto}
.market-card .market-meta>small{flex:0 0 auto;max-width:100%;min-height:1.35em}
.market-card .market-meta>.market-bottom{margin-top:auto;padding-top:12px;min-height:51px;align-items:center;gap:7px;flex:0 0 auto}
.market-card .market-bottom .stock-dot{display:block;min-width:0;flex:1 1 auto;line-height:1.35}
.market-card .quick-cart.se-quick-cart{position:relative;isolation:isolate;flex:0 0 36px;width:36px;height:36px;min-width:36px;display:grid;place-items:center;font-size:0!important;font-weight:normal;border-radius:11px;line-height:1;box-shadow:0 2px 6px rgba(15,23,42,.08);transition:filter .15s ease,transform .15s ease}
.market-card .quick-cart.se-quick-cart::before,.market-card .quick-cart.se-quick-cart::after{content:"";display:block;position:absolute;left:50%;top:50%;width:14px;height:2px;background:currentColor;border-radius:2px;transform:translate(-50%,-50%);pointer-events:none}
.market-card .quick-cart.se-quick-cart::after{transform:translate(-50%,-50%) rotate(90deg)}
.market-card .quick-cart.se-quick-cart:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.market-card .quick-cart.se-quick-cart:hover:not(:disabled){filter:brightness(.93)}
html[data-se-quick-cart-colors="1"] .market-card .quick-cart.se-quick-cart{background:var(--se-quick-cart-bg,var(--primary))!important;color:var(--se-quick-cart-text,#fff)!important}
@media(max-width:560px){.market-card .market-meta>.market-bottom{padding-top:8px;min-height:46px}.market-card .quick-cart.se-quick-cart{flex-basis:34px;width:34px;height:34px;min-width:34px}}
/* Featured editorial panel remains unchanged until the group is explicitly saved. */
.editorial-card{background:var(--se-editorial-background,linear-gradient(120deg,#0f172a,#252d3b 58%,#394150))!important}
.editorial-card>div:first-child>span,.editorial-card h2{color:var(--se-editorial-title-color,#fff)}
.editorial-card>div:first-child>p{color:var(--se-editorial-text-color,#cbd5e1)}
.editorial-card>div:first-child>button{background:var(--se-editorial-button-bg,#fff);color:var(--se-editorial-button-text,#111827)}
/* Header navigation and cart have their own color groups. */
html[data-se-header-colors="1"] .app-header .catalog-chip,
html[data-se-header-colors="1"] .app-header .header-actions>button:not(.cart-pill),
html[data-se-header-colors="1"] .app-header .mobile-search>button{background:var(--se-header-button-bg,#fff)!important;color:var(--se-header-button-text,#17202a)!important}
html[data-se-header-cart-colors="1"] .app-header .cart-pill{background:var(--se-header-cart-bg,var(--primary))!important;color:var(--se-header-cart-text,#fff)!important}
html[data-se-header-cart-colors="1"] .app-header .cart-pill b{color:var(--se-header-cart-bg,var(--primary))!important}
/* Store product details and cart CTA only, not the administration UI. */
html[data-se-product-cart-colors="1"] .product-buy-dock .primary-btn,
html[data-se-product-cart-colors="1"] .product-modal .primary-btn.dark,
html[data-se-product-cart-colors="1"] .product-detail .primary-btn.dark{background:var(--se-product-cart-bg,var(--primary))!important;color:var(--se-product-cart-text,#fff)!important}
/* Separated admin design groups. */
.se-design-pilot-panel{padding:16px;border:1px solid #dbe3ec;border-radius:16px;background:#f8fafc;display:grid;gap:12px}
.se-design-pilot-panel>h3{margin:0;font-size:17px}
.se-design-pilot-panel>p{margin:0;font-size:13px}
.se-design-group{min-width:0;border:1px solid #d3dce6;border-radius:14px;padding:14px;background:#fff}
.se-design-group legend{font-size:14px;font-weight:850;padding:0 6px}
.se-design-group>.muted{margin:2px 0 12px;font-size:12px;line-height:1.45}
.se-design-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px}
.se-design-grid label{min-width:0;display:flex;flex-direction:column;gap:6px;font-size:12px}
.se-design-grid input,.se-design-grid select{max-width:100%;min-width:0}
.se-design-grid input[type=color]{width:100%;min-height:42px;cursor:pointer}
.se-design-save{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:12px}
.se-design-save [role=status],[data-se-strip-status]{font-size:12px}
.se-design-save .ok,[data-se-strip-status].ok{color:#067647}
.se-design-save .error,[data-se-strip-status].error{color:#b42318}
[data-se-strip-save]{margin-top:8px}

.se-editorial-live-preview{grid-column:1/-1;min-height:160px;padding:18px 20px;border-radius:16px;background:linear-gradient(120deg,#0f172a,#252d3b 58%,#394150);display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:#fff}
.se-editorial-preview-tag{font-size:10px;letter-spacing:.12em;font-weight:800}
.se-editorial-live-preview strong{font-size:21px;font-family:Georgia,serif;line-height:1.15}
.se-editorial-live-preview p{margin:0;font-size:12px;color:#cbd5e1}
.se-editorial-preview-cta{display:inline-flex;padding:8px 12px;background:#fff;color:#111827;border-radius:9px;font-size:12px;font-weight:800}

/* STORE_ENGINE_MARKET_CARD_GEOMETRY_R2_20261120 */
/* Keep the actual card height content-driven: the earlier 100% rule could
   squeeze the text when a horizontal product rail computed its own height. */
.market-grid > .market-card:not(.skeleton),
.market-scroll > .market-card:not(.skeleton) {
  height: auto;
  min-height: 0;
  align-self: stretch;
}
/* A price, a three-line name, a one-line brand and the purchase row are
   independent boxes. No text can occupy the purchase row's space. */
.market-card:not(.skeleton) > .market-meta {
  flex: 1 0 auto;
  min-height: 196px;
  box-sizing: border-box;
}
.market-card:not(.skeleton) .market-meta > .market-price {
  flex: 0 0 auto;
  min-height: 27px;
}
.market-card:not(.skeleton) .market-meta > .product-name {
  box-sizing: border-box;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
  margin: 6px 0 7px;
  height: 4.2em;
  min-height: 4.2em;
  max-height: 4.2em;
  line-height: 1.4;
  text-align: left;
  flex: 0 0 auto;
}
.market-card:not(.skeleton) .market-meta > small {
  flex: 0 0 auto;
  display: block;
  box-sizing: border-box;
  line-height: 1.6;
  height: 1.6em;
  min-height: 1.6em;
  max-height: 1.6em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.market-card:not(.skeleton) .market-meta > .market-bottom {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 11px;
  min-height: 51px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.market-card:not(.skeleton) .market-bottom > .quick-cart.se-quick-cart {
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .market-card:not(.skeleton) > .market-meta {
    min-height: 184px;
  }
  .market-card:not(.skeleton) .market-meta > .market-bottom {
    min-height: 46px;
    padding-top: 8px;
  }
}

/* STORE_ENGINE_PROMO_BANNER_COLORS_CSS_V1_20261120 */
.promo-banner.se-promo-colors-active.banner-mode-gradient{background:var(--se-promo-custom-bg)!important}
.promo-banner.se-promo-colors-active .eyebrow{color:var(--se-promo-eyebrow,#aabbb7)!important}
.promo-banner.se-promo-colors-active h2{color:var(--se-promo-title,#ffffff)!important}
.promo-banner.se-promo-colors-active p{color:var(--se-promo-desc,#cbd5d5)!important}
.promo-banner.se-promo-colors-active .primary-btn{background:var(--se-promo-button-bg,#ffffff)!important;color:var(--se-promo-button-text,#17202a)!important}
.se-promo-color-editor{padding:17px;border:1px solid #dce4e8;border-radius:14px;background:#f7faf9;display:grid;gap:12px}
.se-promo-color-editor>strong{font-size:15px;color:#18242d}
.se-promo-color-editor>p{margin:0;color:#61737c;font-size:13px;line-height:1.45}
.se-promo-color-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.se-promo-color-fields>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:650}
.se-promo-color-fields input,.se-promo-color-fields select{width:100%;box-sizing:border-box;min-height:38px}
.se-promo-color-fields input[type=color]{padding:3px;cursor:pointer}
.se-promo-color-preview{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:21px;border-radius:14px;background:linear-gradient(135deg,#173f36,#34373d);color:#fff;min-height:125px}
.se-promo-color-preview small{font-size:10px;font-weight:800;letter-spacing:.12em;color:#aabbb7}
.se-promo-color-preview strong{font-size:22px;color:#fff}
.se-promo-color-preview p{font-size:12px;color:#cbd5d5;margin:0}
.se-promo-color-preview span{display:inline-block;margin-top:6px;border-radius:9px;background:#fff;color:#17202a;padding:10px 15px;font-size:12px;font-weight:800}
@media(max-width:600px){.se-promo-color-editor{padding:13px}.se-promo-color-fields{grid-template-columns:1fr}.se-promo-color-preview{padding:16px}}

/* STORE_ENGINE_STOCK_STATUS_COLOR_CSS_V1_20261120 */
/* Only positive stock status next to + in product cards; absent state keeps legacy gray. */
html[data-se-stock-status-color="1"] .market-card .market-bottom .stock-dot:not(.no){color:var(--se-stock-available-text-color,#059669)!important}

/* STORE_ENGINE_CONTACT_CATEGORY_STYLE_CSS_V1_20261120 */
/* Override the contact form submit button only, not captcha or other footer buttons. */
html[data-se-contact-submit-colors="1"] .store-contacts-form button[type="submit"]{
  background:var(--se-contact-submit-bg,#193e34)!important;
  color:var(--se-contact-submit-text,#ffffff)!important;
  border-color:var(--se-contact-submit-bg,#193e34)!important;
}
/* The image stays per-category; overlay opacity changes only the colored layer. */
html[data-se-category-hero-style="1"] .catalog-route-hero.se-category-hero{
  background:linear-gradient(var(--se-category-hero-angle,90deg),
    rgba(var(--se-category-hero-rgb-start,17,19,24),var(--se-category-hero-alpha,.70)),
    rgba(var(--se-category-hero-rgb-end,57,65,80),var(--se-category-hero-alpha,.70)))!important;
  color:var(--se-category-hero-title,#ffffff)!important;
}
html[data-se-category-hero-style="1"] .catalog-route-hero.se-category-hero.has-category-art{
  background:linear-gradient(var(--se-category-hero-angle,90deg),
    rgba(var(--se-category-hero-rgb-start,17,19,24),var(--se-category-hero-alpha,.70)),
    rgba(var(--se-category-hero-rgb-end,57,65,80),var(--se-category-hero-alpha,.70))),
    var(--category-hero-image) center/cover no-repeat!important;
}
html[data-se-category-hero-style="1"] .catalog-route-hero.se-category-hero h1,
html[data-se-category-hero-style="1"] .catalog-route-hero.se-category-hero .catalog-route-count strong{color:var(--se-category-hero-title,#ffffff)!important}
html[data-se-category-hero-style="1"] .catalog-route-hero.se-category-hero p{color:var(--se-category-hero-text,#e3e5e9)!important}
html[data-se-category-hero-style="1"] .catalog-route-hero.se-category-hero .eyebrow{color:var(--se-category-hero-badge,#d1d5db)!important}
html[data-se-category-hero-style="1"] .catalog-route-hero.se-category-hero .catalog-route-count span{color:var(--se-category-hero-count,#ffffff)!important}
html[data-se-category-hero-style="1"] .catalog-route-hero.se-category-hero>div{position:relative;z-index:1}
.se-design-group input[type="range"][name="se_design_categoryHeroOpacity"]{width:100%}
