/* Commerce Hub Store — UI standard v5
   Final route-agnostic layer. Loaded after every legacy/module stylesheet.
   Scope is restricted to body.store-page to avoid affecting the parent site. */

:root{
  --ch-v4-font-body:clamp(15.5px,15.15px + .12vw,16px);
  --ch-v4-font-small:13.5px;
  --ch-v4-font-label:14px;
  --ch-v4-font-button:15px;
  --ch-v4-control:48px;
  --ch-v4-icon-target:44px;
  --ch-v4-radius-control:14px;
  --ch-v4-radius-card:20px;
  --ch-v4-line:color-mix(in srgb,var(--store-line) 94%,transparent);
  --ch-v4-shadow-card:0 12px 32px rgba(15,23,42,.06);
  --ch-v4-focus:0 0 0 3px color-mix(in srgb,var(--store-accent) 32%,transparent);
}

/* --------------------------------------------------------------------------
   1. Readability and predictable control sizing
   -------------------------------------------------------------------------- */
body.store-page{
  font-size:var(--ch-v4-font-body)!important;
  line-height:1.55!important;
  letter-spacing:-.005em;
}
body.store-page :where(p,li,dd,dt){font-size:var(--ch-v4-font-body)!important;line-height:1.62!important}
body.store-page :where(label,legend,.form-label,[class*="__label"]){font-size:var(--ch-v4-font-label);line-height:1.35}
body.store-page :where(small,.market-card__meta,.catalog-eyebrow,.eyebrow,[class*="__meta"],[class*="__hint"],[class*="__note"]){
  font-size:var(--ch-v4-font-small)!important;
  line-height:1.5!important;
}
body.store-page :where(button,.store-button,.market-button,.app-button,input,select,textarea){font-family:inherit}
body.store-page :where(.store-button,.market-button,.app-button,button[type="submit"]){font-size:var(--ch-v4-font-button)!important}
body.store-page :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  min-height:var(--ch-v4-control);
  padding-inline:14px;
  font-size:16px!important;
  line-height:1.35;
}
body.store-page :where(input,select,textarea,button,summary):focus-visible{box-shadow:var(--ch-v4-focus)!important}
body.store-page :where(.store-button--primary,.detail-add-button,.mobile-sticky-purchase__add){
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}
body.store-page :where(.store-button--primary,.detail-add-button,.mobile-sticky-purchase__add):hover:not(:disabled),
body.store-page :where(.store-button--primary,.detail-add-button,.mobile-sticky-purchase__add):active:not(:disabled){
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}

/* No user-facing animation transport control. Motion remains automatic. */
body.store-page :where([data-store-motion-toggle],.store-motion-toggle,.app-header__desktop-motion,.app-header__mobile-motion){display:none!important}

/* --------------------------------------------------------------------------
   2. Header navigation: stable hover/current states, no underline or lift
   -------------------------------------------------------------------------- */
body.store-page .app-header__nav--unified>a,
body.store-page .app-header__mega-trigger{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:10px!important;
  color:var(--store-muted)!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transform:none!important;
}
body.store-page .app-header__nav--unified>a::before,
body.store-page .app-header__nav--unified>a::after,
body.store-page .app-header__mega-trigger::before,
body.store-page .app-header__mega-trigger::after{
  display:none!important;
  content:none!important;
}
body.store-page .app-header__nav--unified>a:hover,
body.store-page .app-header__nav--unified>a:focus-visible,
body.store-page .app-header__nav--unified>a[aria-current="page"],
body.store-page .app-header__mega-trigger:hover,
body.store-page .app-header__mega-trigger:focus-visible,
body.store-page .app-header__mega-trigger.is-current,
body.store-page .app-header__mega-trigger[aria-expanded="true"]{
  border:0!important;
  background:var(--store-surface-2)!important;
  color:var(--store-ink)!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transform:none!important;
}
body.store-page .app-header__mega-trigger svg{
  width:16px!important;
  height:16px!important;
  transform:none!important;
  transition:transform .18s ease!important;
}
body.store-page .app-header__mega-trigger[aria-expanded="true"] svg{transform:none!important}

/* Discovery/category rails also remain stationary. */
body.store-page .store-discovery-rail__track>a,
body.store-page .catalog-category-tabs>a,
body.store-page .catalog-subcategory-menu__rail>a{
  text-decoration:none!important;
  box-shadow:none!important;
  transform:none!important;
}
body.store-page .store-discovery-rail__track>a::before,
body.store-page .store-discovery-rail__track>a::after,
body.store-page .catalog-category-tabs>a::before,
body.store-page .catalog-category-tabs>a::after{
  display:none!important;
  content:none!important;
}
body.store-page .store-discovery-rail__track>a:hover,
body.store-page .store-discovery-rail__track>a:active,
body.store-page .catalog-category-tabs>a:hover,
body.store-page .catalog-category-tabs>a:active{transform:none!important}

/* --------------------------------------------------------------------------
   3. Product listing controls and cards
   -------------------------------------------------------------------------- */
body.store-page--products.store-view--listing .catalog-control-bar{
  gap:12px!important;
  padding:12px!important;
  border-radius:18px!important;
}
body.store-page--products.store-view--listing .catalog-filter-toggle,
body.store-page--products.store-view--listing .catalog-sort select,
body.store-page--products.store-view--listing .catalog-category-tabs>a,
body.store-page--products.store-view--listing .catalog-subcategory-menu__rail>a{
  min-height:44px!important;
  font-size:14px!important;
  line-height:1.2!important;
}
body.store-page--products.store-view--listing .catalog-filter-toggle{padding-inline:16px!important}
body.store-page--products.store-view--listing .catalog-category-tabs>a{
  padding-inline:15px!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
}
body.store-page--products.store-view--listing .catalog-category-tabs>a[aria-current="page"]{
  border-color:var(--store-ink)!important;
  background:var(--store-ink)!important;
  color:var(--store-surface)!important;
  -webkit-text-fill-color:var(--store-surface)!important;
}
body.store-page .catalog-grid{gap:30px 20px!important}
body.store-page .market-card{transform:none}
body.store-page .market-card__body{gap:10px!important;padding-top:14px!important}
body.store-page .market-card__identity{gap:5px!important}
body.store-page .market-card__identity h3{
  min-height:2.8em;
  margin:0!important;
  font-size:16px!important;
  font-weight:760!important;
  line-height:1.4!important;
  letter-spacing:-.018em!important;
}
body.store-page .market-card__identity p,
body.store-page .market-card__home-summary{font-size:14px!important;line-height:1.55!important}
body.store-page .market-card__price strong{
  font-size:clamp(19px,1.05vw,22px)!important;
  font-weight:850!important;
  line-height:1.05!important;
  letter-spacing:-.025em!important;
}
body.store-page .market-card__price del{font-size:13px!important;line-height:1.2!important}
body.store-page .market-card__purchase{align-items:end!important;gap:12px!important}
body.store-page .market-card__favorite{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  box-shadow:none!important;
}
body.store-page .market-card__quick-add,
body.store-page .market-card--app-catalog .market-card__quick-add{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  padding:0!important;
  border:1px solid color-mix(in srgb,var(--store-accent) 82%,var(--store-line))!important;
  border-radius:14px!important;
  background:var(--store-accent)!important;
  color:var(--store-accent-ink)!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}
body.store-page .market-card__quick-add::before,
body.store-page .market-card__quick-add::after{display:none!important;content:none!important}
body.store-page .market-card__quick-add:hover:not(:disabled),
body.store-page .market-card__quick-add:active:not(:disabled){
  background:color-mix(in srgb,var(--store-accent) 88%,#000)!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}
body.store-page .market-card__quick-add-icon,
body.store-page .market-card__quick-add-icon svg{
  width:20px!important;
  height:20px!important;
  display:block!important;
  transform:none!important;
}

/* --------------------------------------------------------------------------
   4. One quantity-selector standard for products, services and subscriptions
   -------------------------------------------------------------------------- */
body.store-page.store-view--detail .native-detail-purchase{
  gap:14px!important;
  padding:16px!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
body.store-page.store-view--detail .detail-stock-state{
  min-height:42px!important;
  padding:10px 12px!important;
  font-size:14px!important;
  line-height:1.4!important;
}
body.store-page.store-view--detail .native-detail-purchase__controls{
  display:grid!important;
  grid-template-columns:160px minmax(220px,1fr)!important;
  align-items:end!important;
  gap:12px!important;
  width:100%!important;
}
body.store-page.store-view--detail .native-detail-quantity-label{
  display:grid!important;
  align-content:end!important;
  gap:8px!important;
  width:160px!important;
  min-width:0!important;
}
body.store-page.store-view--detail .native-detail-quantity-label>label,
body.store-page.store-view--detail .native-detail-quantity-label>span{
  margin:0!important;
  color:var(--store-muted)!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1.3!important;
}
body.store-page.store-view--detail .quantity-selector,
body.store-page.store-view--detail .native-detail--commerce .quantity-selector,
body.store-page.store-view--detail .mobile-sticky-purchase__quantity{
  display:grid!important;
  grid-template-columns:48px 62px 48px!important;
  width:160px!important;
  max-width:160px!important;
  height:50px!important;
  min-height:50px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid var(--store-line-strong)!important;
  border-radius:14px!important;
  background:var(--store-surface)!important;
  box-shadow:none!important;
}
body.store-page.store-view--detail .quantity-selector :is(button,input),
body.store-page.store-view--detail .native-detail--commerce .quantity-selector :is(button,input),
body.store-page.store-view--detail .mobile-sticky-purchase__quantity :is(button,input){
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--store-ink)!important;
  box-shadow:none!important;
  transform:none!important;
}
body.store-page.store-view--detail .quantity-selector button{
  display:grid!important;
  place-items:center!important;
  cursor:pointer!important;
  font-size:0!important;
}
body.store-page.store-view--detail .quantity-selector button:first-child{border-right:1px solid var(--store-line)!important}
body.store-page.store-view--detail .quantity-selector button:last-child{border-left:1px solid var(--store-line)!important}
body.store-page.store-view--detail .quantity-selector button:hover:not(:disabled),
body.store-page.store-view--detail .quantity-selector button:active:not(:disabled){
  background:var(--store-surface-2)!important;
  color:var(--store-accent)!important;
  transform:none!important;
}
body.store-page.store-view--detail .quantity-selector button:disabled{
  background:var(--store-surface-2)!important;
  color:var(--store-muted)!important;
  opacity:.5!important;
}
body.store-page.store-view--detail .quantity-selector input{
  -moz-appearance:textfield!important;
  appearance:textfield!important;
  font-size:18px!important;
  font-weight:850!important;
  font-variant-numeric:tabular-nums!important;
  text-align:center!important;
}
body.store-page.store-view--detail .quantity-selector input::-webkit-inner-spin-button,
body.store-page.store-view--detail .quantity-selector input::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
body.store-page.store-view--detail .quantity-selector__icon,
body.store-page--products.store-view--detail .quantity-selector [data-quantity-plus] .quantity-selector__icon,
body.store-page--products.store-view--detail .quantity-selector [data-quantity-minus] .quantity-selector__icon{
  display:block!important;
  width:21px!important;
  height:21px!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.25!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  transform:none!important;
  pointer-events:none!important;
}
body.store-page.store-view--detail .detail-buy-row{width:100%!important;min-width:0!important}
body.store-page.store-view--detail .detail-add-button{
  width:100%!important;
  min-height:50px!important;
  padding-inline:18px!important;
  border-radius:14px!important;
  font-size:15px!important;
  font-weight:820!important;
  box-shadow:none!important;
}
body.store-page.store-view--detail .detail-purchase-note{
  margin:0!important;
  font-size:13px!important;
  line-height:1.55!important;
}

/* Product/detail reading hierarchy. */
body.store-page.store-view--detail .native-detail-copy h1{
  font-size:clamp(32px,3.1vw,50px)!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
}
body.store-page.store-view--detail .native-detail-price strong{
  font-size:clamp(32px,2.6vw,42px)!important;
  line-height:1!important;
}
body.store-page.store-view--detail .native-detail-prose,
body.store-page.store-view--detail .native-detail-prose p,
body.store-page.store-view--detail .native-detail-prose small{
  font-size:15px!important;
  line-height:1.65!important;
}
body.store-page.store-view--detail .native-detail-glass-card summary{
  min-height:54px!important;
  padding-inline:16px!important;
  font-size:15px!important;
  line-height:1.35!important;
}
body.store-page.store-view--detail .native-detail-facts small,
body.store-page.store-view--detail .native-detail-confidence small{font-size:13px!important;line-height:1.45!important}
body.store-page.store-view--detail .native-detail-facts strong,
body.store-page.store-view--detail .native-detail-confidence strong{font-size:15px!important;line-height:1.4!important}

/* --------------------------------------------------------------------------
   5. Cross-route cards, filters, forms and transactional pages
   -------------------------------------------------------------------------- */
body.store-page :where(.service-card,.service-spotlight-card,.event-card,.subscription-card,.cart-card,.checkout-card,.account-card,.support-card){
  border-radius:var(--ch-v4-radius-card)!important;
  box-shadow:var(--ch-v4-shadow-card)!important;
}
body.store-page :where(.service-card,.service-spotlight-card,.event-card,.subscription-card) :where(h2,h3){
  font-size:clamp(18px,1.2vw,22px)!important;
  line-height:1.3!important;
}
body.store-page :where(.service-card,.service-spotlight-card,.event-card,.subscription-card) :where(p){font-size:15px!important;line-height:1.6!important}
body.store-page :where(.service-card,.event-card,.subscription-card) :where(small,[class*="meta"]){font-size:13px!important;line-height:1.45!important}
body.store-page :where(.cart-page,.checkout-page,.account-page,.support-page,.search-page) :where(h1){
  font-size:clamp(30px,3vw,46px)!important;
  line-height:1.08!important;
}
body.store-page :where(.cart-page,.checkout-page,.account-page,.support-page,.search-page) :where(h2,h3){line-height:1.3!important}
body.store-page :where(.cart-page,.checkout-page,.account-page,.support-page,.search-page) :where(p,li){font-size:15px!important;line-height:1.62!important}
body.store-page :where(.cart-page,.checkout-page,.account-page,.support-page,.search-page) :where(label,legend){font-size:14px!important}
body.store-page :where(.cart-page,.checkout-page,.account-page,.support-page,.search-page) :where(button,.store-button){font-size:15px!important}

/* --------------------------------------------------------------------------
   6. Responsive behavior
   -------------------------------------------------------------------------- */
@media (min-width:1400px){
  body.store-page--products.store-view--listing .catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media (min-width:1024px) and (max-width:1399px){
  body.store-page--products.store-view--listing .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (min-width:720px) and (max-width:1023px){
  body.store-page--products.store-view--listing .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media (max-width:900px){
  body.store-page .app-header__nav--unified>a,
  body.store-page .app-header__mega-trigger{font-size:14px!important;transform:none!important}
  body.store-page--products.store-view--listing .catalog-control-bar{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    padding:10px!important;
  }
  body.store-page--products.store-view--listing .catalog-category-tabs{
    grid-column:1/-1!important;
    width:100%!important;
    gap:8px!important;
    padding:2px 0!important;
    overflow-x:auto!important;
    scroll-padding-inline:4px!important;
  }
  body.store-page.store-view--detail .native-detail-purchase__controls{
    grid-template-columns:160px minmax(0,1fr)!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase__quantity-wrap>small{font-size:12px!important}
}

@media (max-width:719px){
  body.store-page{font-size:15px!important}
  body.store-page .store-container{width:calc(100% - 24px)!important}
  body.store-page--products.store-view--listing .catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:24px 12px!important;
  }
  body.store-page .market-card__identity h3{
    min-height:3em;
    font-size:15px!important;
    line-height:1.45!important;
  }
  body.store-page .market-card__price strong{font-size:18px!important}
  body.store-page .market-card__quick-add,
  body.store-page .market-card--app-catalog .market-card__quick-add{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    border-radius:13px!important;
  }
  body.store-page.store-view--detail .native-detail-purchase{
    padding:14px!important;
    border-radius:17px!important;
  }
  body.store-page.store-view--detail .native-detail-purchase__controls{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.store-page.store-view--detail .native-detail-quantity-label{
    width:100%!important;
  }
  body.store-page.store-view--detail .quantity-selector,
  body.store-page.store-view--detail .native-detail--commerce .quantity-selector{
    width:160px!important;
    max-width:160px!important;
  }
  body.store-page.store-view--detail .detail-add-button{min-height:52px!important}
  body.store-page.store-view--detail .native-detail-copy h1{font-size:clamp(30px,9vw,40px)!important}
  body.store-page.store-view--detail .native-detail-price strong{font-size:clamp(30px,8vw,38px)!important}

  body.store-page.store-view--detail .mobile-sticky-purchase,
  body.store-page.store-view--detail .mobile-sticky-purchase.is-visible{
    grid-template-columns:minmax(78px,1fr) 148px!important;
    grid-template-areas:"price quantity" "add add"!important;
    gap:9px!important;
    padding:10px!important;
    border-radius:18px!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase__prices{grid-area:price!important}
  body.store-page.store-view--detail .mobile-sticky-purchase__quantity-wrap{grid-area:quantity!important;justify-self:end!important}
  body.store-page.store-view--detail .mobile-sticky-purchase__add{grid-area:add!important;width:100%!important;min-height:50px!important}
  body.store-page.store-view--detail .mobile-sticky-purchase__quantity{
    grid-template-columns:44px 52px 44px!important;
    width:140px!important;
    max-width:140px!important;
    height:46px!important;
    min-height:46px!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase__quantity :is(button,input){height:44px!important;min-height:44px!important}
}

@media (max-width:374px){
  body.store-page .store-container{width:calc(100% - 20px)!important}
  body.store-page--products.store-view--listing .catalog-grid{gap:22px 10px!important}
  body.store-page .market-card__identity h3{font-size:14px!important}
  body.store-page .market-card__price strong{font-size:17px!important}
  body.store-page.store-view--detail .mobile-sticky-purchase,
  body.store-page.store-view--detail .mobile-sticky-purchase.is-visible{
    grid-template-columns:minmax(72px,1fr) 140px!important;
  }
}

@media (hover:hover) and (pointer:fine){
  body.store-page .market-card:hover{transform:translateY(-2px)!important}
  body.store-page .app-header__nav--unified>a:hover,
  body.store-page .app-header__mega-trigger:hover{transform:none!important}
}

/* --------------------------------------------------------------------------
   7. Legacy microcopy normalization on functional screens
   -------------------------------------------------------------------------- */
body.store-page .market-footer__column h3{font-size:13px!important;line-height:1.35!important}
body.store-page .market-footer__column a{font-size:14px!important;line-height:1.45!important}

body.store-page--products.store-view--listing .market-card--app-catalog .market-card__app-signals{font-size:12px!important;line-height:1.35!important}
body.store-page--products.store-view--listing .market-card--app-catalog .market-card__price del{font-size:13px!important}
body.store-page--products.store-view--detail .native-detail-breadcrumb{font-size:13px!important}

body.store-page--cart :where(
  .cart-page-heading>div>span,
  .cart-page-heading p,
  .cart-page-heading__copy>span,
  .cart-panel-heading>div>span,
  .cart-panel-heading>div>small,
  .cart-panel-heading span,
  .cart-panel-count,
  .cart-row__heading>span,
  .cart-row__heading>div>span,
  .cart-row__meta,
  .cart-row__variant,
  .cart-row__unit-price,
  .cart-row__quantity>span,
  .cart-row__price small,
  .cart-remove b,
  .cart-summary__note,
  .cart-summary__total small,
  .cart-coupon small,
  .cart-coupon-card>header span,
  .cart-summary>header span,
  .shipping-progress>div
){font-size:12px!important;line-height:1.45!important}
body.store-page--cart :where(.cart-row__meta strong,.cart-row__unit-price strong,.cart-coupon button,.cart-remove,.cart-continuation){font-size:13px!important;line-height:1.4!important}
body.store-page--checkout .checkout-item__remove{font-size:13px!important}

body.store-page--account :where(
  .account-profile-summary-card__status article small,
  .account-panel-count,
  .account-security-visual>small
){font-size:12px!important;line-height:1.4!important}
body.store-page--account :where(.account-profile-summary-card__links a,.account-security-layers p){font-size:13px!important;line-height:1.45!important}

body.store-page--events :where(
  .event-price-promo small,
  .ticket-preview--compact .ticket-quantity>span small,
  .ticket-preview--compact .ticket-preview__total small,
  .ticket-preview--compact .ticket-preview__assurance span
){font-size:12px!important;line-height:1.4!important}

/* ========================================================================== 
   Commerce Hub Store — UI standard v5 correction layer
   UX intent: stable geometry, explicit hierarchy, touch-safe controls,
   no decorative CTA glow, and a consistent mobile-first purchase pattern.
   ========================================================================== */

:root{
  --ch-v5-text-body:clamp(15.5px,15.1px + .14vw,16px);
  --ch-v5-text-secondary:14px;
  --ch-v5-text-small:13px;
  --ch-v5-text-control:15px;
  --ch-v5-control-h:48px;
  --ch-v5-control-h-compact:44px;
  --ch-v5-icon:18px;
  --ch-v5-stepper-main:144px;
  --ch-v5-stepper-compact:132px;
  --ch-v5-radius-control:12px;
  --ch-v5-radius-card:20px;
  --ch-v5-focus-ring:0 0 0 3px color-mix(in srgb,var(--store-accent) 30%,transparent);
}

/* 1. Typography: remove sub-13px transactional text and preserve readable rhythm. */
body.store-page{
  font-size:var(--ch-v5-text-body)!important;
  line-height:1.55!important;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body.store-page :where(p,li,dd,dt){font-size:var(--ch-v5-text-body)!important;line-height:1.62!important}
body.store-page :where(label,legend,.form-label,[class*="__label"]){font-size:14px!important;line-height:1.4!important}
body.store-page :where(small,.eyebrow,[class*="__meta"],[class*="__hint"],[class*="__note"]){font-size:var(--ch-v5-text-small)!important;line-height:1.5!important}
body.store-page :where(button,.store-button,.market-button,.app-button){font-size:var(--ch-v5-text-control)!important;line-height:1.2!important}
body.store-page :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){font-size:16px!important;line-height:1.4!important}
body.store-page :where(h1,h2,h3,h4){text-wrap:balance}

/* 2. Primary navigation: fixed baseline; no underline, vertical lift or arrow rotation. */
body.store-page .app-header__nav--unified,
body.store-page .app-header__mega{
  border:0!important;
  box-shadow:none!important;
  transform:none!important;
}
body.store-page .app-header__nav--unified>a,
body.store-page .app-header__mega-trigger{
  position:relative!important;
  top:auto!important;
  bottom:auto!important;
  margin-block:0!important;
  border:0!important;
  border-bottom:0!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transform:none!important;
}
body.store-page .app-header__nav--unified>a::before,
body.store-page .app-header__nav--unified>a::after,
body.store-page .app-header__mega-trigger::before,
body.store-page .app-header__mega-trigger::after,
body.store-page .app-header__mega::before,
body.store-page .app-header__mega::after{
  display:none!important;
  width:0!important;
  height:0!important;
  border:0!important;
  background:transparent!important;
  content:none!important;
  box-shadow:none!important;
  transform:none!important;
}
body.store-page .app-header__nav--unified>a:hover,
body.store-page .app-header__nav--unified>a:focus-visible,
body.store-page .app-header__nav--unified>a[aria-current="page"],
body.store-page .app-header__mega-trigger:hover,
body.store-page .app-header__mega-trigger:focus-visible,
body.store-page .app-header__mega-trigger.is-current,
body.store-page .app-header__mega-trigger[aria-expanded="true"]{
  border:0!important;
  border-bottom:0!important;
  background:var(--store-surface-2)!important;
  color:var(--store-ink)!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transform:none!important;
}
body.store-page .app-header__mega-trigger svg,
body.store-page .app-header__mega-trigger[aria-expanded="true"] svg{
  transform:none!important;
}

/* 3. Product-card quick add: a single 48px target with no glow or trailing artefact. */
body.store-page .market-card__purchase{
  min-width:0!important;
  align-items:flex-end!important;
}
body.store-page .market-card__quick-add,
body.store-page .market-card--app-catalog .market-card__quick-add{
  position:relative!important;
  isolation:isolate!important;
  display:grid!important;
  inline-size:48px!important;
  block-size:48px!important;
  min-inline-size:48px!important;
  min-block-size:48px!important;
  flex:0 0 48px!important;
  place-items:center!important;
  overflow:hidden!important;
  padding:0!important;
  border:1px solid var(--store-accent)!important;
  border-radius:13px!important;
  outline:0!important;
  background:var(--store-accent)!important;
  color:#fff!important;
  box-shadow:none!important;
  filter:none!important;
  translate:none!important;
  transform:none!important;
}
body.store-page .market-card__quick-add::before,
body.store-page .market-card__quick-add::after{
  display:none!important;
  inset:auto!important;
  width:0!important;
  height:0!important;
  border:0!important;
  background:transparent!important;
  content:none!important;
  box-shadow:none!important;
  animation:none!important;
  transform:none!important;
}
body.store-page .market-card__quick-add:hover:not(:disabled),
body.store-page .market-card__quick-add:active:not(:disabled),
body.store-page .market-card__quick-add.is-cart-success{
  background:color-mix(in srgb,var(--store-accent) 90%,#000)!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}
body.store-page .market-card__quick-add:focus-visible{
  outline:2px solid var(--store-surface)!important;
  outline-offset:2px!important;
  box-shadow:0 0 0 4px var(--store-accent)!important;
}
body.store-page .market-card__quick-add-label{display:none!important}
body.store-page .market-card__quick-add-icon{
  display:grid!important;
  inline-size:20px!important;
  block-size:20px!important;
  place-items:center!important;
  line-height:1!important;
  transform:none!important;
}
body.store-page .market-card__quick-add-icon svg{
  display:block!important;
  inline-size:20px!important;
  block-size:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  transform:none!important;
}

/* Preserve add-to-cart confirmation without producing an outer blue halo. */
body.store-page [data-add-cart].is-cart-success::after{
  inset:0!important;
  display:grid!important;
  width:auto!important;
  height:auto!important;
  place-items:center!important;
  border:0!important;
  border-radius:inherit!important;
  background:var(--store-accent)!important;
  color:#fff!important;
  content:"✓"!important;
  box-shadow:none!important;
  filter:none!important;
}
body.store-page :is(.detail-add-button,.mobile-sticky-purchase__add)[data-add-cart].is-cart-success::after{
  content:"✓  Sepete eklendi"!important;
}
body.store-page .market-card__quick-add[data-add-cart].is-cart-success::after{
  display:grid!important;
  width:auto!important;
  height:auto!important;
  content:"✓"!important;
  box-shadow:none!important;
}

/* 4. Product/service quantity selector: equal segments, centered affordances. */
body.store-page.store-view--detail .native-detail-purchase{
  padding:16px!important;
  border-radius:18px!important;
}
body.store-page.store-view--detail .native-detail-purchase__controls{
  display:grid!important;
  grid-template-columns:var(--ch-v5-stepper-main) minmax(220px,1fr)!important;
  align-items:end!important;
  gap:12px!important;
  width:100%!important;
}
body.store-page.store-view--detail .native-detail-quantity-label{
  display:grid!important;
  width:var(--ch-v5-stepper-main)!important;
  gap:8px!important;
  align-content:end!important;
}
body.store-page.store-view--detail .native-detail-quantity-label>label,
body.store-page.store-view--detail .native-detail-quantity-label>span{
  margin:0!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1.3!important;
}
body.store-page.store-view--detail .quantity-selector,
body.store-page.store-view--detail .native-detail--commerce .quantity-selector{
  display:grid!important;
  grid-template-columns:repeat(3,48px)!important;
  inline-size:var(--ch-v5-stepper-main)!important;
  max-inline-size:var(--ch-v5-stepper-main)!important;
  block-size:48px!important;
  min-block-size:48px!important;
  overflow:hidden!important;
  padding:0!important;
  border:1px solid var(--store-line-strong)!important;
  border-radius:var(--ch-v5-radius-control)!important;
  background:var(--store-surface)!important;
  box-shadow:none!important;
}
body.store-page.store-view--detail .quantity-selector :is(button,input){
  display:grid!important;
  inline-size:48px!important;
  block-size:46px!important;
  min-inline-size:48px!important;
  min-block-size:46px!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--store-ink)!important;
  box-shadow:none!important;
  transform:none!important;
}
body.store-page.store-view--detail .quantity-selector button:first-child{border-inline-end:1px solid var(--store-line)!important}
body.store-page.store-view--detail .quantity-selector button:last-child{border-inline-start:1px solid var(--store-line)!important}
body.store-page.store-view--detail .quantity-selector button:hover:not(:disabled),
body.store-page.store-view--detail .quantity-selector button:active:not(:disabled){
  background:var(--store-surface-2)!important;
  color:var(--store-accent)!important;
}
body.store-page.store-view--detail .quantity-selector button:focus-visible{
  position:relative!important;
  z-index:2!important;
  outline:2px solid var(--store-accent)!important;
  outline-offset:-2px!important;
  box-shadow:none!important;
}
body.store-page.store-view--detail .quantity-selector input{
  appearance:textfield!important;
  -moz-appearance:textfield!important;
  font-size:17px!important;
  font-weight:820!important;
  font-variant-numeric:tabular-nums!important;
  line-height:1!important;
  text-align:center!important;
}
body.store-page.store-view--detail .quantity-selector__icon{
  display:block!important;
  inline-size:var(--ch-v5-icon)!important;
  block-size:var(--ch-v5-icon)!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  transform:none!important;
  pointer-events:none!important;
}
body.store-page.store-view--detail .detail-add-button{
  min-block-size:48px!important;
  border-radius:var(--ch-v5-radius-control)!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}
body.store-page.store-view--detail .detail-add-button:hover:not(:disabled),
body.store-page.store-view--detail .detail-add-button:active:not(:disabled){
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}

/* Subscription plans are single-plan purchases; no quantity control. */
body.store-page--subscriptions.store-view--detail .native-detail-quantity-label,
body.store-page--subscriptions.store-view--detail .mobile-sticky-purchase__quantity-wrap{display:none!important}
body.store-page--subscriptions.store-view--detail .native-detail-purchase__controls{grid-template-columns:1fr!important}

/* 5. Cross-route consistency: readable cards and stable controls. */
body.store-page :where(.service-card,.service-spotlight-card,.event-card,.subscription-card,.cart-card,.checkout-card,.account-card,.support-card){
  border-radius:var(--ch-v5-radius-card)!important;
}
body.store-page :where(.service-card,.event-card,.subscription-card,.cart-card,.checkout-card,.account-card,.support-card) :where(p,li){
  font-size:15px!important;
  line-height:1.58!important;
}
body.store-page :where(.service-card,.event-card,.subscription-card,.cart-card,.checkout-card,.account-card,.support-card) :where(small,[class*="meta"]){
  font-size:13px!important;
  line-height:1.48!important;
}
body.store-page :where(.store-button,.market-button,.app-button,button[type="submit"]){
  min-block-size:44px;
  border-radius:12px;
}
body.store-page :where(.store-button--primary,.market-button--primary,.app-button--primary){
  box-shadow:none!important;
  filter:none!important;
}
body.store-page :where(.store-button--primary,.market-button--primary,.app-button--primary):hover:not(:disabled),
body.store-page :where(.store-button--primary,.market-button--primary,.app-button--primary):active:not(:disabled){
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}

/* Correct legacy microcopy reductions on cart, checkout, account and events. */
body.store-page--cart :where(
  .cart-page-heading>div>span,.cart-page-heading p,.cart-page-heading__copy>span,
  .cart-panel-heading>div>span,.cart-panel-heading>div>small,.cart-panel-heading span,
  .cart-panel-count,.cart-row__heading>span,.cart-row__heading>div>span,
  .cart-row__meta,.cart-row__variant,.cart-row__unit-price,.cart-row__quantity>span,
  .cart-row__price small,.cart-remove b,.cart-summary__note,.cart-summary__total small,
  .cart-coupon small,.cart-coupon-card>header span,.cart-summary>header span,.shipping-progress>div
){font-size:13px!important;line-height:1.5!important}
body.store-page--account :where(.account-profile-summary-card__status article small,.account-panel-count,.account-security-visual>small){font-size:13px!important;line-height:1.48!important}
body.store-page--events :where(.event-price-promo small,.ticket-preview--compact .ticket-quantity>span small,.ticket-preview--compact .ticket-preview__total small,.ticket-preview--compact .ticket-preview__assurance span){font-size:13px!important;line-height:1.48!important}

/* 6. Mobile-first purchase composition. */
@media (max-width:719px){
  body.store-page{font-size:15.5px!important}
  body.store-page .store-container{width:calc(100% - 24px)!important}
  body.store-page .market-card__quick-add,
  body.store-page .market-card--app-catalog .market-card__quick-add{
    inline-size:46px!important;
    block-size:46px!important;
    min-inline-size:46px!important;
    min-block-size:46px!important;
    flex-basis:46px!important;
    border-radius:12px!important;
  }
  body.store-page.store-view--detail .native-detail-purchase__controls{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.store-page.store-view--detail .native-detail-quantity-label{
    display:flex!important;
    width:100%!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
  }
  body.store-page.store-view--detail .quantity-selector,
  body.store-page.store-view--detail .native-detail--commerce .quantity-selector{
    flex:0 0 var(--ch-v5-stepper-main)!important;
  }
  body.store-page.store-view--detail .detail-add-button{min-block-size:52px!important}

  body.store-page.store-view--detail .mobile-sticky-purchase,
  body.store-page.store-view--detail .mobile-sticky-purchase.is-visible{
    grid-template-columns:minmax(88px,1fr) var(--ch-v5-stepper-compact)!important;
    grid-template-areas:"price quantity" "add add"!important;
    gap:9px!important;
    padding:10px!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase__prices{grid-area:price!important}
  body.store-page.store-view--detail .mobile-sticky-purchase__quantity-wrap{grid-area:quantity!important;justify-self:end!important}
  body.store-page.store-view--detail .mobile-sticky-purchase__add{grid-area:add!important;min-block-size:50px!important;box-shadow:none!important}
  body.store-page.store-view--detail .mobile-sticky-purchase__quantity{
    display:grid!important;
    grid-template-columns:repeat(3,44px)!important;
    inline-size:var(--ch-v5-stepper-compact)!important;
    max-inline-size:var(--ch-v5-stepper-compact)!important;
    block-size:44px!important;
    min-block-size:44px!important;
    overflow:hidden!important;
    border:1px solid var(--store-line-strong)!important;
    border-radius:11px!important;
    background:var(--store-surface)!important;
    box-shadow:none!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase__quantity :is(button,input){
    inline-size:44px!important;
    block-size:42px!important;
    min-inline-size:44px!important;
    min-block-size:42px!important;
  }
}

@media (max-width:374px){
  body.store-page .store-container{width:calc(100% - 20px)!important}
  body.store-page.store-view--detail .native-detail-purchase{padding:13px!important}
  body.store-page.store-view--detail .native-detail-quantity-label{gap:8px!important}
  body.store-page.store-view--detail .native-detail-quantity-label>label{font-size:13px!important}
}

/* Fine pointers may change color, never geometry. */
@media (hover:hover) and (pointer:fine){
  body.store-page .market-card__quick-add:hover,
  body.store-page .detail-add-button:hover,
  body.store-page .app-header__nav--unified>a:hover,
  body.store-page .app-header__mega-trigger:hover{transform:none!important}
}

/* v5.1 — specificity and mobile dock corrections discovered in route rendering. */
body.store-page--products.store-view--listing .market-card--app-catalog .market-card__quick-add,
body.store-page--services.store-view--listing .market-card__quick-add,
body.store-page--subscriptions.store-view--listing .market-card__quick-add{
  inline-size:48px!important;
  block-size:48px!important;
  min-inline-size:48px!important;
  min-block-size:48px!important;
  flex:0 0 48px!important;
  box-shadow:none!important;
}
body.store-page.store-view--detail .mobile-sticky-purchase__quantity-wrap{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:end!important;
  inline-size:var(--ch-v5-stepper-compact)!important;
  min-inline-size:var(--ch-v5-stepper-compact)!important;
  max-inline-size:var(--ch-v5-stepper-compact)!important;
  gap:4px!important;
}
body.store-page.store-view--detail .mobile-sticky-purchase__quantity-wrap>small{
  display:block!important;
  inline-size:max-content!important;
  max-inline-size:100%!important;
  white-space:nowrap!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  font-size:10px!important;
  line-height:1!important;
}
body.store-page.store-view--detail .mobile-sticky-purchase__quantity{
  grid-area:auto!important;
  justify-self:end!important;
}
@media (max-width:719px){
  body.store-page--products.store-view--listing .market-card--app-catalog .market-card__quick-add,
  body.store-page--services.store-view--listing .market-card__quick-add,
  body.store-page--subscriptions.store-view--listing .market-card__quick-add{
    inline-size:46px!important;
    block-size:46px!important;
    min-inline-size:46px!important;
    min-block-size:46px!important;
    flex-basis:46px!important;
  }
}

/* ========================================================================== 
   Commerce Hub Store — UI standard v6
   Final component-contract layer.
   - Dedicated quantity-stepper markup prevents legacy selector collisions.
   - Product-card prices use one DOM order and one visual hierarchy everywhere.
   - Related, listing and recently-viewed cards share the same grid/card contract.
   ========================================================================== */

:root{
  --ch-v6-control-height:48px;
  --ch-v6-stepper-width:150px;
  --ch-v6-stepper-button:46px;
  --ch-v6-stepper-value:58px;
  --ch-v6-stepper-radius:13px;
  --ch-v6-stepper-icon:18px;
  --ch-v6-card-title-size:16px;
  --ch-v6-price-current-size:22px;
  --ch-v6-price-old-size:13px;
}

/* --------------------------------------------------------------------------
   1. Quantity stepper — isolated component, no dependency on legacy classes.
   -------------------------------------------------------------------------- */
body.store-page.store-view--detail .native-detail-purchase__controls{
  display:grid!important;
  grid-template-columns:var(--ch-v6-stepper-width) minmax(220px,1fr)!important;
  align-items:end!important;
  gap:14px!important;
  inline-size:100%!important;
}
body.store-page.store-view--detail .native-detail-quantity-label{
  display:grid!important;
  grid-template-columns:1fr!important;
  align-content:end!important;
  gap:8px!important;
  inline-size:var(--ch-v6-stepper-width)!important;
  min-inline-size:0!important;
  max-inline-size:var(--ch-v6-stepper-width)!important;
}
body.store-page.store-view--detail .native-detail-quantity-label>label,
body.store-page.store-view--detail .native-detail-quantity-label>span{
  display:block!important;
  margin:0!important;
  color:var(--store-muted)!important;
  font-size:14px!important;
  font-weight:760!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}
body.store-page.store-view--detail .ch-quantity-stepper{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:var(--ch-v6-stepper-button) var(--ch-v6-stepper-value) var(--ch-v6-stepper-button)!important;
  inline-size:var(--ch-v6-stepper-width)!important;
  min-inline-size:var(--ch-v6-stepper-width)!important;
  max-inline-size:var(--ch-v6-stepper-width)!important;
  block-size:var(--ch-v6-control-height)!important;
  min-block-size:var(--ch-v6-control-height)!important;
  max-block-size:var(--ch-v6-control-height)!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--store-line-strong)!important;
  border-radius:var(--ch-v6-stepper-radius)!important;
  background:var(--store-surface)!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
  isolation:isolate!important;
}
body.store-page.store-view--detail .ch-quantity-stepper>button,
body.store-page.store-view--detail .ch-quantity-stepper>input{
  box-sizing:border-box!important;
  display:grid!important;
  inline-size:100%!important;
  min-inline-size:0!important;
  max-inline-size:none!important;
  block-size:46px!important;
  min-block-size:46px!important;
  max-block-size:46px!important;
  place-items:center!important;
  align-self:stretch!important;
  justify-self:stretch!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  color:var(--store-ink)!important;
  box-shadow:none!important;
  filter:none!important;
  translate:none!important;
  transform:none!important;
}
body.store-page.store-view--detail .ch-quantity-stepper>button{
  position:relative!important;
  z-index:1!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
body.store-page.store-view--detail .ch-quantity-stepper>button:first-child{
  border-inline-end:1px solid var(--store-line)!important;
}
body.store-page.store-view--detail .ch-quantity-stepper>button:last-child{
  border-inline-start:1px solid var(--store-line)!important;
}
body.store-page.store-view--detail .ch-quantity-stepper>button:hover:not(:disabled),
body.store-page.store-view--detail .ch-quantity-stepper>button:active:not(:disabled){
  background:var(--store-surface-2)!important;
  color:var(--store-accent)!important;
}
body.store-page.store-view--detail .ch-quantity-stepper>button:focus-visible{
  z-index:3!important;
  outline:2px solid var(--store-accent)!important;
  outline-offset:-2px!important;
  box-shadow:none!important;
}
body.store-page.store-view--detail .ch-quantity-stepper>button:disabled{
  cursor:not-allowed!important;
  color:var(--store-muted)!important;
  opacity:.42!important;
}
body.store-page.store-view--detail .ch-quantity-stepper>input{
  appearance:textfield!important;
  -moz-appearance:textfield!important;
  font-size:17px!important;
  font-weight:850!important;
  font-variant-numeric:tabular-nums!important;
  line-height:1!important;
  text-align:center!important;
  caret-color:var(--store-accent)!important;
}
body.store-page.store-view--detail .ch-quantity-stepper>input::-webkit-inner-spin-button,
body.store-page.store-view--detail .ch-quantity-stepper>input::-webkit-outer-spin-button{
  -webkit-appearance:none!important;
  margin:0!important;
}
body.store-page.store-view--detail .ch-quantity-stepper__icon{
  box-sizing:content-box!important;
  display:block!important;
  inline-size:var(--ch-v6-stepper-icon)!important;
  min-inline-size:var(--ch-v6-stepper-icon)!important;
  max-inline-size:var(--ch-v6-stepper-icon)!important;
  block-size:var(--ch-v6-stepper-icon)!important;
  min-block-size:var(--ch-v6-stepper-icon)!important;
  max-block-size:var(--ch-v6-stepper-icon)!important;
  overflow:visible!important;
  margin:auto!important;
  padding:0!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
  transform:none!important;
}
body.store-page.store-view--detail .detail-buy-row{
  display:block!important;
  inline-size:100%!important;
  min-inline-size:0!important;
}
body.store-page.store-view--detail .detail-add-button{
  inline-size:100%!important;
  min-block-size:var(--ch-v6-control-height)!important;
  block-size:var(--ch-v6-control-height)!important;
  padding-inline:20px!important;
  border-radius:var(--ch-v6-stepper-radius)!important;
  font-size:15px!important;
  font-weight:820!important;
  line-height:1!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}

/* Single-plan subscription purchases do not expose meaningless quantity UI. */
body.store-page--subscriptions.store-view--detail .native-detail-quantity-label,
body.store-page--subscriptions.store-view--detail .mobile-sticky-purchase__quantity-wrap{
  display:none!important;
}
body.store-page--subscriptions.store-view--detail .native-detail-purchase__controls{
  grid-template-columns:1fr!important;
}

/* Mobile purchase card: label/stepper row followed by a full-width primary action. */
@media (max-width:719px){
  body.store-page.store-view--detail .native-detail-purchase__controls{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.store-page.store-view--detail .native-detail-quantity-label{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) var(--ch-v6-stepper-width)!important;
    align-items:center!important;
    gap:12px!important;
    inline-size:100%!important;
    max-inline-size:none!important;
  }
  body.store-page.store-view--detail .native-detail-quantity-label>label,
  body.store-page.store-view--detail .native-detail-quantity-label>span{
    min-inline-size:0!important;
    white-space:normal!important;
  }
  body.store-page.store-view--detail .ch-quantity-stepper{
    justify-self:end!important;
  }
  body.store-page.store-view--detail .detail-add-button{
    min-block-size:52px!important;
    block-size:52px!important;
  }

  body.store-page.store-view--detail .mobile-sticky-purchase,
  body.store-page.store-view--detail .mobile-sticky-purchase.is-visible{
    grid-template-columns:minmax(0,1fr) var(--ch-v6-stepper-width)!important;
    grid-template-areas:"price quantity" "add add"!important;
    align-items:end!important;
    gap:10px 12px!important;
    padding:10px!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase__prices{
    grid-area:price!important;
    min-inline-size:0!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase__quantity-wrap{
    grid-area:quantity!important;
    display:grid!important;
    inline-size:var(--ch-v6-stepper-width)!important;
    min-inline-size:var(--ch-v6-stepper-width)!important;
    max-inline-size:var(--ch-v6-stepper-width)!important;
    justify-items:end!important;
    gap:5px!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase__quantity-wrap>small{
    display:block!important;
    inline-size:auto!important;
    max-inline-size:100%!important;
    margin:0!important;
    font-size:11px!important;
    font-weight:750!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase__quantity.ch-quantity-stepper{
    justify-self:end!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase__add{
    grid-area:add!important;
    inline-size:100%!important;
    min-block-size:50px!important;
    block-size:50px!important;
    box-shadow:none!important;
  }
}

@media (max-width:359px){
  :root{
    --ch-v6-stepper-width:144px;
    --ch-v6-stepper-button:44px;
    --ch-v6-stepper-value:56px;
  }
  body.store-page.store-view--detail .native-detail-quantity-label{
    grid-template-columns:1fr!important;
    align-items:start!important;
  }
  body.store-page.store-view--detail .ch-quantity-stepper{
    justify-self:start!important;
  }
  body.store-page.store-view--detail .mobile-sticky-purchase,
  body.store-page.store-view--detail .mobile-sticky-purchase.is-visible{
    grid-template-columns:minmax(0,1fr) var(--ch-v6-stepper-width)!important;
  }
}

/* --------------------------------------------------------------------------
   2. Product-card system — same hierarchy on listing, related and history.
   -------------------------------------------------------------------------- */
body.store-page .catalog-grid--standard-products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:30px 20px!important;
  align-items:stretch!important;
}
body.store-page .catalog-grid--standard-products>.market-card--app-catalog{
  display:flex!important;
  min-inline-size:0!important;
  block-size:100%!important;
  flex-direction:column!important;
}
body.store-page .catalog-grid--standard-products .market-card__body{
  display:flex!important;
  min-block-size:128px!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:14px 1px 0!important;
}
body.store-page .catalog-grid--standard-products .market-card__identity{
  display:grid!important;
  gap:6px!important;
}
body.store-page .catalog-grid--standard-products .market-card__identity h3{
  display:-webkit-box!important;
  min-block-size:2.8em!important;
  overflow:hidden!important;
  margin:0!important;
  font-size:var(--ch-v6-card-title-size)!important;
  font-weight:780!important;
  line-height:1.4!important;
  letter-spacing:-.018em!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
body.store-page .catalog-grid--standard-products .market-card__purchase{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 48px!important;
  align-items:end!important;
  gap:12px!important;
  margin-block-start:auto!important;
  padding-block-start:2px!important;
}
body.store-page .catalog-grid--standard-products .market-card__price{
  display:flex!important;
  min-inline-size:0!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:4px 6px!important;
}
body.store-page .catalog-grid--standard-products .market-card__price.has-discount{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:"old old" "current suffix"!important;
  align-items:baseline!important;
  gap:3px 5px!important;
}
body.store-page .catalog-grid--standard-products .market-card__price del{
  grid-area:old!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:var(--store-danger)!important;
  font-size:var(--ch-v6-price-old-size)!important;
  font-weight:760!important;
  line-height:1.15!important;
  opacity:1!important;
  text-decoration-color:currentColor!important;
  text-decoration-line:line-through!important;
  text-decoration-thickness:1.8px!important;
  text-decoration-skip-ink:auto!important;
  white-space:nowrap!important;
}
body.store-page .catalog-grid--standard-products .market-card__price strong{
  grid-area:current!important;
  display:block!important;
  min-inline-size:0!important;
  margin:0!important;
  color:var(--store-ink)!important;
  font-size:var(--ch-v6-price-current-size)!important;
  font-weight:860!important;
  line-height:1.05!important;
  letter-spacing:-.03em!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}
body.store-page .catalog-grid--standard-products .market-card__price small{
  grid-area:suffix!important;
  align-self:end!important;
  margin:0!important;
  color:var(--store-muted)!important;
  font-size:13px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
body.store-page .catalog-grid--standard-products .market-card__quick-add{
  align-self:end!important;
  justify-self:end!important;
  inline-size:48px!important;
  block-size:48px!important;
  min-inline-size:48px!important;
  min-block-size:48px!important;
  max-inline-size:48px!important;
  max-block-size:48px!important;
  margin:0!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}

/* Related products must not fall back to the old detail-route card typography. */
body.store-page--products.store-view--detail .native-detail-related{
  inline-size:min(var(--store-container,1200px),calc(100% - (var(--store-page-gutter,24px) * 2)))!important;
  margin-inline:auto!important;
}
body.store-page--products.store-view--detail .native-detail-related .market-section-heading{
  align-items:end!important;
  gap:20px!important;
  margin-block-end:22px!important;
}
body.store-page--products.store-view--detail .native-detail-related .market-section-heading h2{
  margin:5px 0 0!important;
  font-size:clamp(28px,2.4vw,38px)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
body.store-page--products.store-view--detail .native-detail-related .market-section-heading>div>span{
  color:var(--store-accent)!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}

@media (min-width:1400px){
  body.store-page .catalog-grid--standard-products{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
  body.store-page--products.store-view--detail .catalog-grid--related-products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media (min-width:1024px) and (max-width:1399px){
  body.store-page .catalog-grid--standard-products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media (min-width:720px) and (max-width:1023px){
  body.store-page .catalog-grid--standard-products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (max-width:719px){
  :root{
    --ch-v6-card-title-size:15px;
    --ch-v6-price-current-size:18px;
    --ch-v6-price-old-size:12px;
  }
  body.store-page .catalog-grid--standard-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:24px 12px!important;
  }
  body.store-page .catalog-grid--standard-products .market-card__body{
    min-block-size:122px!important;
    padding-block-start:11px!important;
  }
  body.store-page .catalog-grid--standard-products .market-card__purchase{
    grid-template-columns:minmax(0,1fr) 46px!important;
    gap:8px!important;
  }
  body.store-page .catalog-grid--standard-products .market-card__quick-add{
    inline-size:46px!important;
    block-size:46px!important;
    min-inline-size:46px!important;
    min-block-size:46px!important;
    max-inline-size:46px!important;
    max-block-size:46px!important;
  }
  body.store-page--products.store-view--detail .native-detail-related .market-section-heading{
    align-items:center!important;
    margin-block-end:16px!important;
  }
  body.store-page--products.store-view--detail .native-detail-related .market-section-heading h2{
    font-size:clamp(25px,8vw,32px)!important;
  }
}
@media (max-width:374px){
  :root{
    --ch-v6-card-title-size:14px;
    --ch-v6-price-current-size:17px;
    --ch-v6-price-old-size:11px;
  }
  body.store-page .catalog-grid--standard-products{
    gap:22px 10px!important;
  }
  body.store-page .catalog-grid--standard-products .market-card__purchase{
    grid-template-columns:minmax(0,1fr) 44px!important;
    gap:6px!important;
  }
  body.store-page .catalog-grid--standard-products .market-card__quick-add{
    inline-size:44px!important;
    block-size:44px!important;
    min-inline-size:44px!important;
    min-block-size:44px!important;
    max-inline-size:44px!important;
    max-block-size:44px!important;
  }
}

/* Keep all add-to-cart controls visually flat; no detached glow/artefact. */
body.store-page :where(.market-card__quick-add,.detail-add-button,.mobile-sticky-purchase__add){
  box-shadow:none!important;
  filter:none!important;
  translate:none!important;
}
body.store-page :where(.market-card__quick-add,.detail-add-button,.mobile-sticky-purchase__add)::before{
  box-shadow:none!important;
  filter:none!important;
}

/* v6.1 — remove the legacy full-width strike-price highlight strip. */
body.store-page .catalog-grid--standard-products .market-card__price del{
  inline-size:max-content!important;
  min-inline-size:0!important;
  max-inline-size:100%!important;
  justify-self:start!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* ========================================================================== 
   v7 — Stable product recommendations and global readable commerce controls
   ========================================================================== */
body.store-page{font-size:16px}
body.store-page :where(p,li,dd,input,select,textarea){font-size:max(15px,1em)}
body.store-page :where(button,.store-button){font-size:15px}

body.store-page--products.store-view--detail .native-detail-related{
  overflow:visible!important;
  padding-bottom:clamp(30px,4vw,54px)!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products{
  align-items:stretch!important;
  overflow:visible!important;
  padding:2px 0 10px!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products>.market-card{
  display:flex!important;
  min-height:100%!important;
  overflow:visible!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__visual-wrap{
  overflow:hidden!important;
  border:1px solid var(--store-line)!important;
  border-radius:20px!important;
  background:var(--store-surface-2)!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__body{
  min-height:150px!important;
  padding:14px 0 0!important;
  overflow:visible!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__identity h3{
  min-height:2.9em!important;
  font-size:16px!important;
  line-height:1.45!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__purchase{
  min-height:54px!important;
  align-items:end!important;
  overflow:visible!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__price{
  align-self:end!important;
  overflow:visible!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__price del{
  color:var(--store-danger)!important;
  font-size:13px!important;
  line-height:1.2!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__price strong{
  font-size:21px!important;
  line-height:1.08!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__quick-add{
  flex:0 0 48px!important;
  width:48px!important;height:48px!important;
  margin:0!important;
  overflow:hidden!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
@media(max-width:719px){
  body.store-page--products.store-view--detail .native-detail-related{width:calc(100% - 24px)!important;padding-bottom:30px!important}
  body.store-page--products.store-view--detail .catalog-grid--related-products{display:flex!important;gap:12px!important;overflow-x:auto!important;margin-inline:-12px!important;padding:2px 12px 16px!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important}
  body.store-page--products.store-view--detail .catalog-grid--related-products::-webkit-scrollbar{display:none!important}
  body.store-page--products.store-view--detail .catalog-grid--related-products>.market-card{flex:0 0 min(72vw,280px)!important;scroll-snap-align:start!important}
  body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__body{min-height:142px!important}
  body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__identity h3{font-size:15px!important}
  body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__price strong{font-size:19px!important}
  body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__quick-add{width:46px!important;height:46px!important;flex-basis:46px!important}
}

/* v7.1 — recommendation-card vertical rhythm: content never clips and price stays close to title. */
body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__body{
  display:grid!important;
  grid-template-rows:auto auto!important;
  align-content:start!important;
  gap:13px!important;
  min-height:126px!important;
  flex:0 0 auto!important;
}
body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__purchase{
  margin-top:0!important;
  padding-top:0!important;
}
@media(max-width:719px){
  body.store-page--products.store-view--detail .catalog-grid--related-products .market-card__body{min-height:120px!important;gap:11px!important}
}

/* ========================================================================== 
   Commerce Hub UI Standard v9 — catalog rendering, event commerce and responsive search
   Final cascade layer. Loaded after route CSS to prevent legacy regressions.
   ========================================================================== */

/* Event discovery header and search */
body.store-page--events.store-view--listing .event-market{
  padding:clamp(24px,4vw,54px) 0 clamp(96px,10vw,148px)!important;
}
body.store-page--events.store-view--listing .event-market__container{
  gap:clamp(28px,4vw,52px)!important;
}
body.store-page--events.store-view--listing .event-market__masthead{
  display:grid!important;
  grid-template-columns:minmax(300px,.8fr) minmax(480px,1.2fr)!important;
  align-items:center!important;
  gap:clamp(28px,5vw,76px)!important;
  width:100%!important;
  padding:clamp(24px,3.2vw,44px)!important;
  border:1px solid var(--event-line)!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,var(--event-surface),color-mix(in srgb,var(--event-blue) 4%,var(--event-surface)))!important;
  box-shadow:0 18px 54px rgba(15,23,42,.07)!important;
}
body.store-page--events.store-view--listing .event-market__intro{
  display:grid!important;
  gap:10px!important;
  min-width:0!important;
}
body.store-page--events.store-view--listing .event-market__intro>span{
  color:var(--event-blue)!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
}
body.store-page--events.store-view--listing .event-market__intro h1{
  margin:0!important;
  color:var(--event-ink)!important;
  font-size:clamp(38px,4.2vw,64px)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
  text-wrap:balance!important;
}
body.store-page--events.store-view--listing .event-market__intro p{
  max-width:52ch!important;
  margin:0!important;
  color:var(--event-muted)!important;
  font-size:16px!important;
  line-height:1.6!important;
}
body.store-page--events.store-view--listing .event-market__quick-search{
  display:grid!important;
  grid-template-columns:50px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:0!important;
  width:100%!important;
  min-width:0!important;
  min-height:66px!important;
  padding:7px!important;
  border:1px solid var(--event-line-strong)!important;
  border-radius:19px!important;
  background:var(--event-surface)!important;
  box-shadow:0 12px 32px rgba(15,23,42,.08)!important;
}
body.store-page--events.store-view--listing .event-market__search-icon{
  display:grid!important;
  width:50px!important;
  height:50px!important;
  place-items:center!important;
  color:var(--event-muted)!important;
}
body.store-page--events.store-view--listing .event-market__search-icon svg{
  width:22px!important;
  height:22px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.store-page--events.store-view--listing .event-market__quick-search input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:50px!important;
  padding:0 14px 0 2px!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:var(--event-ink)!important;
  -webkit-text-fill-color:var(--event-ink)!important;
  font:inherit!important;
  font-size:16px!important;
  line-height:1.4!important;
  box-shadow:none!important;
}
body.store-page--events.store-view--listing .event-market__quick-search input::placeholder{
  color:color-mix(in srgb,var(--event-muted) 84%,transparent)!important;
  opacity:1!important;
}
body.store-page--events.store-view--listing .event-market__quick-search button{
  display:inline-flex!important;
  min-width:118px!important;
  height:52px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  padding:0 20px!important;
  border:0!important;
  border-radius:14px!important;
  background:var(--event-blue)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font:inherit!important;
  font-size:15px!important;
  font-weight:850!important;
  box-shadow:none!important;
  transform:none!important;
  cursor:pointer!important;
}
body.store-page--events.store-view--listing .event-market__quick-search button::before{content:none!important}
body.store-page--events.store-view--listing .event-market__quick-search button svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.store-page--events.store-view--listing .event-category-strip{
  margin-top:-18px!important;
  padding:2px 0 8px!important;
}
body.store-page--events.store-view--listing .event-category-strip a{
  min-height:46px!important;
  padding:0 16px!important;
  font-size:14px!important;
  transform:none!important;
  box-shadow:none!important;
}

/* Event detail hero: two complete columns, no blank panel or image band */
body.store-page--events.store-view--detail .event-detail-page{
  padding:clamp(18px,2.5vw,34px) 0 clamp(110px,10vw,150px)!important;
  background:var(--store-canvas)!important;
}
body.store-page--events.store-view--detail .event-detail-page__container{
  display:grid!important;
  gap:clamp(24px,3.2vw,42px)!important;
}
body.store-page--events.store-view--detail .event-detail-hero--commerce{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)!important;
  min-height:0!important;
  overflow:hidden!important;
  border:1px solid var(--event-line)!important;
  border-radius:30px!important;
  background:var(--event-surface)!important;
  box-shadow:0 24px 72px rgba(15,23,42,.10)!important;
}
body.store-page--events.store-view--detail .event-detail-hero--commerce .event-detail-hero__poster{
  position:relative!important;
  min-width:0!important;
  min-height:590px!important;
  height:100%!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:var(--event-surface-2)!important;
}
body.store-page--events.store-view--detail .event-detail-hero--commerce .event-detail-hero__poster>img{
  position:absolute!important;
  inset:0!important;
  z-index:-2!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
  background:var(--event-surface-2)!important;
}
body.store-page--events.store-view--detail .event-detail-hero--commerce .event-detail-hero__poster>i{
  position:absolute!important;
  inset:0!important;
  z-index:-1!important;
  background:linear-gradient(180deg,rgba(3,7,18,.02),rgba(3,7,18,.24))!important;
}
body.store-page--events.store-view--detail .event-detail-hero--commerce .event-detail-hero__card{
  display:flex!important;
  min-width:0!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:clamp(18px,2.2vw,28px)!important;
  padding:clamp(28px,4vw,58px)!important;
  background:var(--event-surface)!important;
}
body.store-page--events.store-view--detail .event-detail-hero__eyebrow{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.store-page--events.store-view--detail .event-detail-hero__eyebrow span,
body.store-page--events.store-view--detail .event-detail-hero__eyebrow b{
  display:inline-flex!important;
  min-height:32px!important;
  align-items:center!important;
  padding:0 11px!important;
  border-radius:999px!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
}
body.store-page--events.store-view--detail .event-detail-hero__eyebrow span{
  background:var(--event-blue-soft)!important;
  color:var(--event-blue)!important;
}
body.store-page--events.store-view--detail .event-detail-hero__eyebrow b{
  background:color-mix(in srgb,var(--event-success) 10%,var(--event-surface))!important;
  color:var(--event-success)!important;
}
body.store-page--events.store-view--detail .event-detail-hero__title{
  display:grid!important;
  gap:10px!important;
}
body.store-page--events.store-view--detail .event-detail-hero__title>p{
  margin:0!important;
  color:var(--event-blue)!important;
  font-size:14px!important;
  font-weight:850!important;
}
body.store-page--events.store-view--detail .event-detail-hero__title h1{
  margin:0!important;
  color:var(--event-ink)!important;
  font-size:clamp(42px,4.8vw,70px)!important;
  line-height:.96!important;
  letter-spacing:-.06em!important;
  text-wrap:balance!important;
}
body.store-page--events.store-view--detail .event-detail-hero__venue{
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
  color:var(--event-muted)!important;
}
body.store-page--events.store-view--detail .event-detail-hero__venue span{font-size:18px!important;line-height:1.4!important}
body.store-page--events.store-view--detail .event-detail-hero__venue strong{
  font-size:16px!important;
  font-weight:650!important;
  line-height:1.45!important;
}
body.store-page--events.store-view--detail .event-detail-hero__summary{
  display:-webkit-box!important;
  overflow:hidden!important;
  margin:0!important;
  color:var(--event-muted)!important;
  font-size:16px!important;
  line-height:1.65!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
}
body.store-page--events.store-view--detail .event-detail-hero__meta{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  overflow:hidden!important;
  border:1px solid var(--event-line)!important;
  border-radius:16px!important;
  background:var(--event-surface-2)!important;
}
body.store-page--events.store-view--detail .event-detail-hero__meta>span{
  display:grid!important;
  gap:5px!important;
  min-width:0!important;
  padding:14px!important;
}
body.store-page--events.store-view--detail .event-detail-hero__meta>span+span{border-left:1px solid var(--event-line)!important}
body.store-page--events.store-view--detail .event-detail-hero__meta small{
  color:var(--event-muted)!important;
  font-size:11px!important;
  font-weight:750!important;
}
body.store-page--events.store-view--detail .event-detail-hero__meta strong{
  overflow:hidden!important;
  color:var(--event-ink)!important;
  font-size:14px!important;
  line-height:1.35!important;
  text-overflow:ellipsis!important;
}
body.store-page--events.store-view--detail .event-detail-hero__purchase{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:18px!important;
  padding-top:22px!important;
  border-top:1px solid var(--event-line)!important;
}
body.store-page--events.store-view--detail .event-detail-hero__purchase>div{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  gap:4px 10px!important;
  align-items:end!important;
}
body.store-page--events.store-view--detail .event-detail-hero__purchase small{
  grid-column:1/-1!important;
  color:var(--event-muted)!important;
  font-size:12px!important;
  font-weight:750!important;
}
body.store-page--events.store-view--detail .event-detail-hero__purchase strong{
  color:var(--event-ink)!important;
  font-size:clamp(31px,3vw,44px)!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  white-space:nowrap!important;
}
body.store-page--events.store-view--detail .event-detail-hero__purchase>div>span{
  align-self:center!important;
  justify-self:start!important;
  padding:6px 8px!important;
  border-radius:999px!important;
  background:color-mix(in srgb,var(--event-success) 10%,var(--event-surface))!important;
  color:var(--event-success)!important;
  font-size:11px!important;
  font-weight:850!important;
}
body.store-page--events.store-view--detail .event-detail-hero__purchase>a{
  min-width:190px!important;
  min-height:54px!important;
  border-radius:15px!important;
  box-shadow:none!important;
  font-size:15px!important;
}

/* Campaign rail: prevent one-character columns and make code/benefit scannable */
body.store-page--events.store-view--detail .event-promo-rail{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr))!important;
  gap:14px!important;
  overflow:visible!important;
  padding:0!important;
}
body.store-page--events.store-view--detail .event-promo-card{
  display:grid!important;
  grid-template-columns:50px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:16px!important;
  min-width:0!important;
  min-height:112px!important;
  padding:18px!important;
  border:1px solid var(--event-line)!important;
  border-radius:20px!important;
  background:var(--event-surface)!important;
  box-shadow:0 10px 30px rgba(15,23,42,.05)!important;
}
body.store-page--events.store-view--detail .event-promo-card__icon{
  display:grid!important;
  width:50px!important;
  height:50px!important;
  place-items:center!important;
  border-radius:15px!important;
  background:var(--event-blue-soft)!important;
  color:var(--event-blue)!important;
  font-size:21px!important;
  font-weight:900!important;
}
body.store-page--events.store-view--detail .event-promo-card__copy{
  display:grid!important;
  gap:4px!important;
  min-width:0!important;
}
body.store-page--events.store-view--detail .event-promo-card__copy small{
  color:var(--event-blue)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
}
body.store-page--events.store-view--detail .event-promo-card__copy strong{
  color:var(--event-ink)!important;
  font-size:16px!important;
  line-height:1.35!important;
}
body.store-page--events.store-view--detail .event-promo-card__copy p{
  margin:0!important;
  color:var(--event-muted)!important;
  font-size:14px!important;
  line-height:1.5!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.store-page--events.store-view--detail .event-promo-card__action{
  display:grid!important;
  justify-items:end!important;
  gap:7px!important;
  min-width:max-content!important;
}
body.store-page--events.store-view--detail .event-promo-card__action b{
  color:var(--event-success)!important;
  font-size:14px!important;
  white-space:nowrap!important;
}
body.store-page--events.store-view--detail .event-promo-card__action code{
  display:inline-flex!important;
  min-height:34px!important;
  align-items:center!important;
  padding:0 11px!important;
  border-radius:10px!important;
  background:var(--event-surface-2)!important;
  color:var(--event-ink)!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:.04em!important;
  white-space:nowrap!important;
}

/* Ticketing copy: readable in both themes */
body.store-page--events.store-view--detail .ticket-builder__head p,
body.store-page--events.store-view--detail .ticket-choice small,
body.store-page--events.store-view--detail .ticket-preview--compact :where(dt,dd,small),
body.store-page--events.store-view--detail .event-info-grid :where(p,li){
  font-size:15px!important;
  line-height:1.55!important;
}
body.store-page--events.store-view--detail .ticket-step-list label>span>small,
body.store-page--events.store-view--detail .ticket-preview__heading small{
  font-size:12px!important;
}
body.store-page--events.store-view--detail .ticket-step-list select{
  font-size:15px!important;
}

/* Product detail reading scale — selector strength matches route-specific legacy CSS */
body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card summary{
  min-height:58px!important;
  padding:0 17px!important;
  color:var(--store-ink)!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.4!important;
}
body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card summary span{
  width:32px!important;
  min-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  font-size:19px!important;
}
body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card .native-detail-prose{
  padding:0 17px 18px!important;
  color:var(--store-muted)!important;
  font-size:16px!important;
  line-height:1.7!important;
  overflow-wrap:anywhere!important;
}
body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card .native-detail-prose p{
  margin:0 0 10px!important;
  color:var(--store-ink)!important;
  font-size:16px!important;
  line-height:1.7!important;
}
body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card .native-detail-prose small{
  display:block!important;
  color:var(--store-muted)!important;
  font-size:14px!important;
  line-height:1.6!important;
}

/* Customer reviews: reduce dead space and increase legibility */
body.store-page--products.store-view--detail .native-reviews{
  gap:24px!important;
  padding:clamp(22px,3vw,34px)!important;
  border-radius:24px!important;
}
body.store-page--products.store-view--detail .native-reviews__header{
  align-items:center!important;
  gap:28px!important;
}
body.store-page--products.store-view--detail .native-reviews__header>div:first-child>span{
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
}
body.store-page--products.store-view--detail .native-reviews__header h2{
  font-size:clamp(30px,3vw,42px)!important;
}
body.store-page--products.store-view--detail .native-reviews__header p{
  max-width:66ch!important;
  font-size:15px!important;
  line-height:1.6!important;
}
body.store-page--products.store-view--detail .native-reviews__score{
  min-width:220px!important;
  grid-template-columns:auto 1fr!important;
  gap:5px 14px!important;
  padding:16px 18px!important;
  border-radius:16px!important;
}
body.store-page--products.store-view--detail .native-reviews__score strong{font-size:36px!important}
body.store-page--products.store-view--detail .native-reviews__score span{font-size:16px!important}
body.store-page--products.store-view--detail .native-reviews__score small{font-size:13px!important}
body.store-page--products.store-view--detail .native-reviews__layout{
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr)!important;
  gap:20px!important;
}
body.store-page--products.store-view--detail .native-reviews__empty{
  min-height:178px!important;
  padding:24px!important;
  border-radius:16px!important;
}
body.store-page--products.store-view--detail .native-reviews__empty strong{font-size:16px!important}
body.store-page--products.store-view--detail .native-reviews__empty p{font-size:14px!important;line-height:1.6!important}
body.store-page--products.store-view--detail .native-review-composer{
  top:calc(var(--store-header-h) + 16px)!important;
  gap:14px!important;
  padding:16px!important;
  border-radius:17px!important;
  background:color-mix(in srgb,var(--store-surface-2) 72%,var(--store-surface))!important;
}
body.store-page--products.store-view--detail .native-review-composer__heading strong{font-size:15px!important}
body.store-page--products.store-view--detail .native-review-composer__heading small{font-size:13px!important;line-height:1.45!important}
body.store-page--products.store-view--detail .native-review-notice strong{font-size:14px!important}
body.store-page--products.store-view--detail .native-review-notice>span{font-size:12px!important;line-height:1.55!important}
body.store-page--products.store-view--detail .native-review-field>span,
body.store-page--products.store-view--detail .native-review-stars legend{font-size:14px!important}
body.store-page--products.store-view--detail .native-review-field input,
body.store-page--products.store-view--detail .native-review-field textarea{font-size:16px!important}

/* Event card transaction row: promotion never collides with CTA */
body.store-page--events .event-spotlight-card__footer,
body.store-page--events .event-card__body footer{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:14px!important;
}
body.store-page--events .event-spotlight-card__footer>span,
body.store-page--events .event-card__body footer>div{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  gap:4px 8px!important;
  min-width:0!important;
}
body.store-page--events .event-spotlight-card__footer>span>small,
body.store-page--events .event-card__body footer>div>small{
  grid-column:1/-1!important;
}
body.store-page--events .event-price-promo{
  display:inline-flex!important;
  width:fit-content!important;
  max-width:100%!important;
  flex-wrap:wrap!important;
  padding:5px 8px!important;
  font-size:11px!important;
  line-height:1.25!important;
}
body.store-page--events .event-price-promo small{
  font-size:11px!important;
  line-height:1.25!important;
  white-space:normal!important;
}

html[data-theme="dark"] body.store-page--events.store-view--listing .event-market__masthead,
html[data-store-theme="dark"] body.store-page--events.store-view--listing .event-market__masthead,
html[data-theme="dark"] body.store-page--events.store-view--detail .event-detail-hero--commerce,
html[data-store-theme="dark"] body.store-page--events.store-view--detail .event-detail-hero--commerce,
html[data-theme="dark"] body.store-page--events.store-view--detail .event-promo-card,
html[data-store-theme="dark"] body.store-page--events.store-view--detail .event-promo-card{
  box-shadow:0 20px 58px rgba(0,0,0,.28)!important;
}

@media(max-width:1120px){
  body.store-page--events.store-view--listing .event-market__masthead{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  body.store-page--events.store-view--detail .event-detail-hero--commerce{
    grid-template-columns:minmax(0,1fr) minmax(360px,.86fr)!important;
  }
  body.store-page--events.store-view--detail .event-detail-hero--commerce .event-detail-hero__poster{min-height:540px!important}
  body.store-page--products.store-view--detail .native-reviews__layout{grid-template-columns:minmax(0,1fr) 340px!important}
}

@media(max-width:800px){
  body.store-page--events.store-view--listing .event-market{
    padding:14px 0 calc(100px + env(safe-area-inset-bottom))!important;
  }
  body.store-page--events.store-view--listing .event-market__container{gap:30px!important}
  body.store-page--events.store-view--listing .event-market__masthead{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    padding:20px!important;
    border-radius:22px!important;
  }
  body.store-page--events.store-view--listing .event-market__intro{display:grid!important}
  body.store-page--events.store-view--listing .event-market__intro h1{font-size:clamp(34px,10vw,48px)!important}
  body.store-page--events.store-view--listing .event-market__intro p{font-size:15px!important}
  body.store-page--events.store-view--listing .event-market__quick-search{
    grid-template-columns:44px minmax(0,1fr) 52px!important;
    min-height:58px!important;
    padding:5px!important;
    border-radius:16px!important;
  }
  body.store-page--events.store-view--listing .event-market__search-icon{width:44px!important;height:46px!important}
  body.store-page--events.store-view--listing .event-market__quick-search input{height:46px!important;font-size:16px!important;padding-right:8px!important}
  body.store-page--events.store-view--listing .event-market__quick-search button{
    min-width:52px!important;
    width:52px!important;
    height:48px!important;
    padding:0!important;
    border-radius:13px!important;
    font-size:0!important;
  }
  body.store-page--events.store-view--listing .event-market__quick-search button .event-search-label{display:none!important}
  body.store-page--events.store-view--listing .event-market__quick-search button svg{width:20px!important;height:20px!important}
  body.store-page--events.store-view--listing .event-category-strip{
    margin:0 calc(var(--store-page-gutter) * -1)!important;
    padding:0 var(--store-page-gutter) 8px!important;
  }
  body.store-page--events.store-view--detail .event-detail-hero--commerce{
    grid-template-columns:1fr!important;
    border-radius:22px!important;
  }
  body.store-page--events.store-view--detail .event-detail-hero--commerce .event-detail-hero__poster{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:16/10!important;
  }
  body.store-page--events.store-view--detail .event-detail-hero--commerce .event-detail-hero__card{
    gap:18px!important;
    padding:22px 18px 24px!important;
  }
  body.store-page--events.store-view--detail .event-detail-hero__title h1{font-size:clamp(36px,10.5vw,50px)!important}
  body.store-page--events.store-view--detail .event-detail-hero__summary{font-size:15px!important;-webkit-line-clamp:4!important}
  body.store-page--events.store-view--detail .event-detail-hero__meta{grid-template-columns:1fr 1fr!important}
  body.store-page--events.store-view--detail .event-detail-hero__meta>span:nth-child(3){grid-column:1/-1!important;border-top:1px solid var(--event-line)!important;border-left:0!important}
  body.store-page--events.store-view--detail .event-detail-hero__purchase{grid-template-columns:1fr!important;gap:14px!important}
  body.store-page--events.store-view--detail .event-detail-hero__purchase>a{width:100%!important;min-width:0!important}
  body.store-page--events.store-view--detail .event-promo-rail{
    display:flex!important;
    gap:12px!important;
    overflow-x:auto!important;
    margin-inline:calc(var(--store-page-gutter) * -1)!important;
    padding:0 var(--store-page-gutter) 8px!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
  }
  body.store-page--events.store-view--detail .event-promo-card{
    flex:0 0 min(88vw,430px)!important;
    grid-template-columns:46px minmax(0,1fr)!important;
    min-height:0!important;
    padding:16px!important;
    scroll-snap-align:center!important;
  }
  body.store-page--events.store-view--detail .event-promo-card__action{
    grid-column:2!important;
    grid-template-columns:auto auto!important;
    justify-content:start!important;
    justify-items:start!important;
    align-items:center!important;
  }
  body.store-page--products.store-view--detail .native-reviews__layout{grid-template-columns:1fr!important}
  body.store-page--products.store-view--detail .native-review-composer{position:static!important}
}

@media(max-width:640px){
  /* Vertical event cards are more robust than compressed horizontal cards. */
  body.store-page--events .event-card{
    display:flex!important;
    min-height:0!important;
    flex-direction:column!important;
    border-radius:20px!important;
  }
  body.store-page--events .event-card__media{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/10!important;
  }
  body.store-page--events .event-card__body{
    min-height:0!important;
    gap:10px!important;
    padding:17px!important;
  }
  body.store-page--events .event-card__body h3{font-size:22px!important;line-height:1.18!important}
  body.store-page--events .event-card__body p{font-size:14px!important}
  body.store-page--events .event-card__facts{display:flex!important}
  body.store-page--events .event-card__body footer,
  body.store-page--events .event-spotlight-card__footer{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    gap:12px!important;
  }
  body.store-page--events .event-card__body footer>div,
  body.store-page--events .event-spotlight-card__footer>span{
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
  }
  body.store-page--events .event-card__body footer>a,
  body.store-page--events .event-spotlight-card__footer>b{
    width:100%!important;
    min-height:48px!important;
    justify-self:stretch!important;
  }
  body.store-page--events .event-price-promo{
    grid-column:1/-1!important;
    margin-top:3px!important;
  }
  body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card summary{font-size:15px!important}
  body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card .native-detail-prose,
  body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card .native-detail-prose p{font-size:15px!important}
  body.store-page--products.store-view--detail .native-reviews{padding:18px!important}
  body.store-page--products.store-view--detail .native-reviews__header{align-items:flex-start!important;flex-direction:column!important}
  body.store-page--products.store-view--detail .native-reviews__score{width:100%!important;min-width:0!important}
}

@media(max-width:420px){
  body.store-page--events.store-view--listing .event-market__masthead{padding:17px!important}
  body.store-page--events.store-view--listing .event-market__intro>span{font-size:11px!important}
  body.store-page--events.store-view--listing .event-market__intro h1{font-size:34px!important}
  body.store-page--events.store-view--detail .event-detail-hero__eyebrow{align-items:flex-start!important;flex-direction:column!important}
  body.store-page--events.store-view--detail .event-detail-hero__meta{grid-template-columns:1fr!important}
  body.store-page--events.store-view--detail .event-detail-hero__meta>span+span{border-top:1px solid var(--event-line)!important;border-left:0!important}
  body.store-page--events.store-view--detail .event-detail-hero__meta>span:nth-child(3){grid-column:auto!important}
  body.store-page--events.store-view--detail .event-promo-card{grid-template-columns:42px minmax(0,1fr)!important}
  body.store-page--events.store-view--detail .event-promo-card__icon{width:42px!important;height:42px!important}
  body.store-page--events.store-view--detail .event-promo-card__action{grid-template-columns:1fr!important}
}
body.store-page--products.store-view--detail .native-reviews__score--empty{
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
}
body.store-page--products.store-view--detail .native-reviews__score--empty>span{
  grid-row:1/3!important;
  display:grid!important;
  width:42px!important;
  height:42px!important;
  place-items:center!important;
  border-radius:13px!important;
  background:var(--store-accent-soft)!important;
  color:var(--store-accent)!important;
  font-size:24px!important;
  letter-spacing:0!important;
}
body.store-page--products.store-view--detail .native-reviews__score--empty>strong{
  grid-row:auto!important;
  font-size:15px!important;
  line-height:1.25!important;
  letter-spacing:0!important;
}
body.store-page--products.store-view--detail .native-reviews__score--empty>small{
  white-space:normal!important;
  line-height:1.35!important;
}
@media(max-width:800px){
  body.store-page--events.store-view--detail .event-detail-hero__title h1{
    font-size:clamp(35px,9.5vw,44px)!important;
    line-height:1.02!important;
    letter-spacing:-.045em!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}
/* Final responsive guarantees after legacy media rules. */
body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card summary{
  font-size:16px!important;
}
body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card .native-detail-prose,
body.store-page--products.store-view--detail .native-detail--commerce .native-detail-glass-card .native-detail-prose p{
  font-size:16px!important;
}
@media(max-width:800px){
  body.store-page--events.store-view--listing .event-card-grid{
    grid-template-columns:1fr!important;
  }
  body.store-page--events .event-card{
    display:flex!important;
    min-height:0!important;
    flex-direction:column!important;
  }
  body.store-page--events .event-card__media{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/10!important;
  }
  body.store-page--events .event-card__body{
    min-height:0!important;
  }
  body.store-page--events .event-card__body footer{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
  }
  body.store-page--events .event-card__body footer>div{
    grid-template-columns:auto minmax(0,1fr)!important;
  }
  body.store-page--events .event-card__body footer>a{
    width:100%!important;
    min-height:48px!important;
  }
  body.store-page--events .event-card__body .event-price-promo{
    grid-column:1/-1!important;
    width:fit-content!important;
    max-width:100%!important;
    height:auto!important;
  }
}

/* Product-detail readability contract retained in v9: outrank legacy accordion selectors. */
body.store-page--products.store-view--detail
.native-detail--commerce
.native-detail-accordions
.native-detail-glass-card > summary{
  font-size:16px!important;
  line-height:1.4!important;
  font-weight:750!important;
}
body.store-page--products.store-view--detail
.native-detail--commerce
.native-detail-accordions
.native-detail-glass-card
.native-detail-prose,
body.store-page--products.store-view--detail
.native-detail--commerce
.native-detail-accordions
.native-detail-glass-card
.native-detail-prose p,
body.store-page--products.store-view--detail
.native-detail--commerce
.native-detail-accordions
.native-detail-glass-card
.native-detail-prose small{
  font-size:16px!important;
  line-height:1.7!important;
}

/* Event-card transaction row retained in v9: never suppress campaign codes or secondary facts. */
body.store-page--events .event-price-promo > small{
  display:inline-flex!important;
  align-items:center!important;
  min-height:22px!important;
  padding:2px 7px!important;
  border-radius:999px!important;
  background:color-mix(in srgb,var(--event-success) 10%,var(--event-surface))!important;
  color:var(--event-text)!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
}
@media(max-width:800px){
  body.store-page--events .event-card__facts > span{
    display:inline-flex!important;
  }
  body.store-page--events .event-price-promo{
    display:flex!important;
    width:max-content!important;
    max-width:100%!important;
    align-items:center!important;
    gap:6px!important;
    flex-wrap:wrap!important;
  }
  body.store-page--events .event-price-promo > b,
  body.store-page--events .event-price-promo > small{
    flex:0 0 auto!important;
  }
}

/* ========================================================================== 
   V9 — services rendering repair and event catalog commerce layout
   ========================================================================== */

/* Services: the empty stretched link must overlay the card, not consume a grid row. */
body.store-page--services.store-view--listing .service-card{
  position:relative!important;
  display:flex!important;
  min-height:100%!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
body.store-page--services.store-view--listing .service-card__link{
  position:absolute!important;
  inset:0!important;
  z-index:3!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  border-radius:inherit!important;
}
body.store-page--services.store-view--listing .service-card__media,
body.store-page--services.store-view--listing .service-card__body{
  position:relative!important;
  z-index:1!important;
}
body.store-page--services.store-view--listing .service-card__body{
  flex:1 1 auto!important;
}
body.store-page--services.store-view--listing .service-card__body footer>a{
  position:relative!important;
  z-index:4!important;
}
@media (min-width:1240px){
  body.store-page--services.store-view--listing .service-card-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media (min-width:780px) and (max-width:1239px){
  body.store-page--services.store-view--listing .service-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:779px){
  body.store-page--services.store-view--listing .service-card-grid{
    grid-template-columns:1fr!important;
  }
  body.store-page--services.store-view--listing .service-card{
    display:grid!important;
    grid-template-columns:minmax(116px,36%) minmax(0,1fr)!important;
  }
}

/* Event discovery search: clear input hierarchy and a recognisable primary action. */
body.store-page--events.store-view--listing .event-market__masthead{
  grid-template-columns:minmax(300px,.82fr) minmax(520px,1.18fr)!important;
  align-items:center!important;
}
body.store-page--events.store-view--listing .event-market__quick-search{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr) auto!important;
  min-height:68px!important;
  gap:12px!important;
  padding:7px 8px 7px 18px!important;
  border:1px solid var(--event-line)!important;
  border-radius:20px!important;
  background:var(--event-surface)!important;
  box-shadow:0 12px 34px rgba(15,23,42,.065)!important;
}
body.store-page--events.store-view--listing .event-market__quick-search:focus-within{
  border-color:color-mix(in srgb,var(--event-blue) 62%,var(--event-line))!important;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--event-blue) 12%,transparent),0 14px 38px rgba(15,23,42,.08)!important;
}
body.store-page--events.store-view--listing .event-market__quick-search input{
  height:52px!important;
  font-size:16px!important;
}
body.store-page--events.store-view--listing .event-market__quick-search button{
  min-width:154px!important;
  height:52px!important;
  gap:10px!important;
  padding:0 20px!important;
  border-radius:14px!important;
  font-size:15px!important;
  box-shadow:none!important;
}
body.store-page--events.store-view--listing .event-search-label__short{display:none!important}

/* Catalog filters: progressive disclosure, readable labels and a non-cramped action row. */
body.store-page--events.store-view--listing .event-filter-panel[hidden]{display:none!important}
body.store-page--events.store-view--listing .event-filter-panel.is-open{
  display:grid!important;
}
body.store-page--events.store-view--listing .event-filter-panel{
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  align-items:end!important;
  gap:14px!important;
  padding:20px!important;
  border-radius:22px!important;
  box-shadow:0 12px 34px rgba(15,23,42,.055)!important;
}
body.store-page--events.store-view--listing .event-filter-panel>label:nth-of-type(1){grid-column:span 4!important}
body.store-page--events.store-view--listing .event-filter-panel>label:nth-of-type(2),
body.store-page--events.store-view--listing .event-filter-panel>label:nth-of-type(3),
body.store-page--events.store-view--listing .event-filter-panel>label:nth-of-type(4),
body.store-page--events.store-view--listing .event-filter-panel>label:nth-of-type(5){grid-column:span 2!important}
body.store-page--events.store-view--listing .event-filter-panel label>span{
  color:var(--event-muted)!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  line-height:1.35!important;
}
body.store-page--events.store-view--listing .event-filter-panel input,
body.store-page--events.store-view--listing .event-filter-panel select,
body.store-page--events.store-view--listing .event-filter-panel__search>div{
  height:50px!important;
  border-radius:13px!important;
  font-size:15px!important;
}
body.store-page--events.store-view--listing .event-filter-panel__actions{
  grid-column:1/-1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  padding-top:2px!important;
}
body.store-page--events.store-view--listing .event-filter-panel__reset{
  display:inline-flex!important;
  min-height:48px!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 14px!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  color:var(--event-muted)!important;
  font-size:14px!important;
  font-weight:750!important;
}
body.store-page--events.store-view--listing .event-filter-panel__reset:hover{
  border-color:var(--event-line)!important;
  background:var(--event-surface-2)!important;
  color:var(--event-ink)!important;
}
body.store-page--events.store-view--listing .event-filter-panel__submit{
  display:inline-flex!important;
  min-width:190px!important;
  min-height:50px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  padding:0 18px!important;
  border-radius:13px!important;
  font-size:15px!important;
  font-weight:850!important;
  box-shadow:none!important;
}
body.store-page--events.store-view--listing .event-filter-panel__submit svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Event cards: fixed four-column desktop grid and a dedicated promotion row. */
body.store-page--events.store-view--listing .event-card-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}
body.store-page--events.store-view--listing .event-card{
  display:flex!important;
  min-height:100%!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
body.store-page--events.store-view--listing .event-card__media{
  flex:0 0 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16/10!important;
}
body.store-page--events.store-view--listing .event-card__body{
  display:flex!important;
  min-height:0!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:18px!important;
}
body.store-page--events.store-view--listing .event-card__body>small{
  font-size:13px!important;
  line-height:1.35!important;
}
body.store-page--events.store-view--listing .event-card__body h3{
  font-size:clamp(19px,1.55vw,23px)!important;
  line-height:1.16!important;
}
body.store-page--events.store-view--listing .event-card__body>p{
  overflow:visible!important;
  white-space:normal!important;
  color:var(--event-muted)!important;
  font-size:14px!important;
  line-height:1.5!important;
}
body.store-page--events.store-view--listing .event-card__facts{
  min-height:32px!important;
  gap:7px!important;
}
body.store-page--events.store-view--listing .event-card__facts span{
  display:inline-flex!important;
  min-height:30px!important;
  align-items:center!important;
  padding:0 10px!important;
  border:1px solid var(--event-line)!important;
  border-radius:999px!important;
  background:var(--event-surface-2)!important;
  font-size:12px!important;
  line-height:1!important;
}
body.store-page--events.store-view--listing .event-card__commerce{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:12px!important;
  margin-top:auto!important;
  padding-top:16px!important;
  border-top:1px solid var(--event-line)!important;
}
body.store-page--events.store-view--listing .event-card__promotion{
  grid-column:1/-1!important;
  display:flex!important;
  min-width:0!important;
  min-height:38px!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px 9px!important;
  border:1px solid color-mix(in srgb,var(--store-success) 34%,var(--event-line))!important;
  border-radius:11px!important;
  background:color-mix(in srgb,var(--store-success) 8%,var(--event-surface))!important;
  color:color-mix(in srgb,var(--store-success) 82%,var(--event-ink))!important;
  font-style:normal!important;
  overflow:hidden!important;
}
body.store-page--events.store-view--listing .event-card__promotion span{
  flex:0 0 auto!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
body.store-page--events.store-view--listing .event-card__promotion code{
  min-width:0!important;
  overflow:hidden!important;
  padding:4px 7px!important;
  border-radius:7px!important;
  background:color-mix(in srgb,var(--store-success) 12%,var(--event-surface))!important;
  color:inherit!important;
  font:inherit!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.2!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.store-page--events.store-view--listing .event-card__price{
  display:grid!important;
  min-width:0!important;
  gap:3px!important;
}
body.store-page--events.store-view--listing .event-card__price small{
  color:var(--event-muted)!important;
  font-size:12px!important;
  line-height:1.25!important;
}
body.store-page--events.store-view--listing .event-card__price strong{
  color:var(--event-ink)!important;
  font-size:24px!important;
  font-weight:900!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
  white-space:nowrap!important;
}
body.store-page--events.store-view--listing .event-card__cta{
  display:inline-flex!important;
  min-width:132px!important;
  min-height:48px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 14px!important;
  border-radius:13px!important;
  background:var(--event-blue)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
body.store-page--events.store-view--listing .event-card__cta b{
  font-size:15px!important;
  line-height:1!important;
}

@media (min-width:900px) and (max-width:1239px){
  body.store-page--events.store-view--listing .event-card-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.store-page--events.store-view--listing .event-market__masthead{
    grid-template-columns:1fr!important;
  }
}
@media (min-width:620px) and (max-width:899px){
  body.store-page--events.store-view--listing .event-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.store-page--events.store-view--listing .event-filter-panel>label:nth-of-type(n){
    grid-column:span 6!important;
  }
  body.store-page--events.store-view--listing .event-filter-panel>label:nth-of-type(1){
    grid-column:1/-1!important;
  }
}
@media (max-width:619px){
  body.store-page--events.store-view--listing .event-market__masthead{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  body.store-page--events.store-view--listing .event-market__intro{display:none!important}
  body.store-page--events.store-view--listing .event-market__quick-search{
    grid-template-columns:20px minmax(0,1fr) auto!important;
    min-height:60px!important;
    padding:5px 6px 5px 14px!important;
    border-radius:16px!important;
    box-shadow:none!important;
  }
  body.store-page--events.store-view--listing .event-market__quick-search input{
    height:48px!important;
    font-size:16px!important;
  }
  body.store-page--events.store-view--listing .event-market__quick-search button{
    min-width:76px!important;
    width:auto!important;
    height:48px!important;
    padding:0 13px!important;
    border-radius:12px!important;
    font-size:14px!important;
  }
  body.store-page--events.store-view--listing .event-search-label__long{display:none!important}
  body.store-page--events.store-view--listing .event-search-label__short{display:inline!important}
  body.store-page--events.store-view--listing .event-filter-panel{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:14px!important;
    border-radius:17px!important;
  }
  body.store-page--events.store-view--listing .event-filter-panel>label:nth-of-type(n){
    grid-column:1/-1!important;
  }
  body.store-page--events.store-view--listing .event-filter-panel__actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  body.store-page--events.store-view--listing .event-filter-panel__submit,
  body.store-page--events.store-view--listing .event-filter-panel__reset{
    width:100%!important;
  }
  body.store-page--events.store-view--listing .event-filter-panel__submit{order:1!important}
  body.store-page--events.store-view--listing .event-filter-panel__reset{order:2!important}
  body.store-page--events.store-view--listing .event-card-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  body.store-page--events.store-view--listing .event-card{
    display:flex!important;
    grid-template-columns:none!important;
    flex-direction:column!important;
    border-radius:20px!important;
  }
  body.store-page--events.store-view--listing .event-card__media{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/10!important;
  }
  body.store-page--events.store-view--listing .event-card__body{
    min-height:0!important;
    padding:16px!important;
  }
  body.store-page--events.store-view--listing .event-card__commerce{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
  }
  body.store-page--events.store-view--listing .event-card__promotion,
  body.store-page--events.store-view--listing .event-card__price,
  body.store-page--events.store-view--listing .event-card__cta{
    grid-column:1!important;
  }
  body.store-page--events.store-view--listing .event-card__promotion{
    flex-wrap:wrap!important;
  }
  body.store-page--events.store-view--listing .event-card__cta{
    width:100%!important;
    min-width:0!important;
  }
}

/* V9 service-card mobile correction and commerce footer consistency. */
body.store-page--services.store-view--listing .service-filter-toggle{flex:0 0 auto!important;white-space:nowrap!important}
body.store-page--services.store-view--listing .service-card__body footer>div{
  display:grid!important;
  min-width:0!important;
  gap:3px!important;
}
body.store-page--services.store-view--listing .service-card__body footer>div>small{
  color:var(--service-muted)!important;
  font-size:12px!important;
  line-height:1.25!important;
}
body.store-page--services.store-view--listing .service-card__body footer>div>strong{
  color:var(--service-ink)!important;
  font-size:23px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
}
body.store-page--services.store-view--listing .service-card__body footer>a{
  display:inline-flex!important;
  min-width:104px!important;
  min-height:46px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 14px!important;
  border-radius:13px!important;
  background:var(--service-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
@media (max-width:779px){
  body.store-page--services.store-view--listing .service-section-title--catalog{
    align-items:flex-start!important;
  }
  body.store-page--services.store-view--listing .service-card{
    display:flex!important;
    grid-template-columns:none!important;
    flex-direction:column!important;
    border-radius:20px!important;
  }
  body.store-page--services.store-view--listing .service-card__media{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/10!important;
  }
  body.store-page--services.store-view--listing .service-card__body{
    min-height:0!important;
    padding:16px!important;
  }
  body.store-page--services.store-view--listing .service-card__body footer{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:end!important;
    gap:12px!important;
  }
  body.store-page--services.store-view--listing .service-card__body footer>a{
    width:auto!important;
    min-width:112px!important;
  }
}
@media (max-width:430px){
  body.store-page--services.store-view--listing .service-section-title--catalog{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  body.store-page--services.store-view--listing .service-section-title--catalog h2{
    font-size:34px!important;
  }
}
@media (max-width:619px){
  body.store-page--events.store-view--listing .event-market__quick-search button::before{content:none!important;display:none!important}
  body.store-page--events.store-view--listing .event-market__quick-search button .event-search-label{
    display:inline-flex!important;
    align-items:center!important;
  }
}
body.store-page--events.store-view--listing .event-filter-panel__search>div input{
  appearance:none!important;
  -webkit-appearance:none!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
