/* Commerce Hub Presentation V3 — reusable component layer. */

[hidden]{display:none!important}
.eyebrow{display:block;color:var(--store-muted);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.store-button{
  display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:8px;padding:0 17px;
  border:1px solid var(--store-line-strong);border-radius:8px;background:var(--store-surface);color:var(--store-ink);
  box-shadow:none;font-size:14px;font-weight:700;line-height:1;text-decoration:none;cursor:pointer;
}
.store-button:hover{border-color:var(--store-ink)}
.store-button--primary{border-color:var(--store-ink);background:var(--store-ink);color:var(--store-surface)}
.store-button--primary:hover{background:color-mix(in srgb,var(--store-ink) 88%,var(--store-surface));color:var(--store-surface)}
.store-button--secondary{background:transparent}.store-button--full{width:100%}.store-button[disabled]{opacity:.45;cursor:not-allowed}

.form-field,.store-field{display:grid;gap:7px}.form-label,.form-field>span,.store-field>span{font-size:12px;font-weight:700;color:var(--store-ink)}
body.store-page :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  width:100%;border:1px solid var(--store-line-strong);border-radius:8px;background:var(--store-surface);color:var(--store-ink);box-shadow:none;outline:0;
}
body.store-page :where(input:not([type="checkbox"]):not([type="radio"]),select){min-height:46px;padding-inline:12px}
body.store-page textarea{padding:12px;resize:vertical}
body.store-page :where(input,select,textarea):focus{border-color:var(--store-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--store-accent) 15%,transparent)}

.media-placeholder,.product-placeholder,.service-placeholder,.event-placeholder,.subscription-placeholder{
  display:grid;width:100%;height:100%;min-height:180px;place-items:center;gap:8px;background:var(--store-surface-2);color:var(--store-muted);text-align:center
}
.media-placeholder svg,.product-placeholder svg,.service-placeholder svg,.event-placeholder svg,.subscription-placeholder svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.5}

.market-card{position:relative;min-width:0;background:transparent;color:var(--store-ink)}
.market-card__stretched-link{position:absolute;inset:0;z-index:2}
.market-card__visual-wrap{position:relative;overflow:hidden;background:var(--store-surface-2)}
.market-card--products .market-card__visual-wrap{aspect-ratio:1/1;background:var(--store-surface)}
.market-card--events .market-card__visual-wrap,.market-card--services .market-card__visual-wrap{aspect-ratio:4/3}
.market-card--subscriptions .market-card__visual-wrap{aspect-ratio:4/3}
.market-card__media{width:100%;height:100%;overflow:hidden}.market-card__media img{width:100%;height:100%;object-fit:cover}
.market-card--products .market-card__media{display:grid;place-items:center;background:var(--store-surface)}
.market-card--products .market-card__media img{object-fit:contain;padding:clamp(8px,1.2vw,18px)}
.market-card:hover .market-card__media img{transform:none}
.market-card__badges{position:absolute;top:10px;left:10px;z-index:3;display:flex;gap:6px}.market-card__badges em{padding:5px 7px;background:rgba(255,255,255,.94);color:#111;font-size:11px;font-style:normal;font-weight:750}
.market-card__favorite{position:absolute;top:10px;right:10px;z-index:4;display:grid;width:38px;height:38px;place-items:center;box-sizing:border-box;border:1px solid rgba(17,19,21,.12);border-radius:50%;background:rgba(255,255,255,.96);color:#111;cursor:pointer;transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
.market-card__favorite span,.market-card__quick-add-icon{display:grid;width:20px;height:20px;place-items:center;line-height:1}
.market-card__favorite svg,.market-card__quick-add svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.market-card__favorite.is-active{border-color:#111;background:#111;color:#fff}.market-card__favorite.is-active svg{fill:currentColor}
.market-card__hover{display:none}
.market-card__body{position:relative;z-index:auto;display:grid;gap:8px;padding:12px 2px 0;background:var(--store-surface)}
.market-card__identity{display:grid;gap:4px}.market-card__meta,.market-card__brand{color:var(--store-muted);font-size:11px;font-weight:650;letter-spacing:.05em;text-transform:uppercase}
.market-card__meta-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.market-card__app-rating{color:var(--store-muted);font-size:11px}.market-card__app-rating b{color:#b7791f}
.market-card__identity h3{min-height:38px;margin:0;font-size:14px;font-weight:600;line-height:1.35;letter-spacing:-.015em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.market-card__identity p,.market-card__home-summary,.market-card__date{margin:0;color:var(--store-muted);font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.market-card__purchase{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:2px}.market-card__price{display:flex;align-items:end;gap:8px}.market-card__discount{display:grid;min-width:43px;height:38px;place-items:center;padding:0 7px;background:var(--store-sale);color:var(--store-sale-ink);font-size:11px;font-style:normal;font-weight:800}
.market-card__price-stack{display:grid;gap:3px}.market-card__price del{color:var(--store-muted);font-size:11px;font-weight:500}.market-card__price strong{font-size:17px;line-height:1;font-weight:780;letter-spacing:-.035em}.market-card__price small{color:var(--store-muted);font-size:10px}
.market-card__quick-add{position:relative;z-index:4;display:grid;width:38px;height:38px;place-items:center;box-sizing:border-box;border:1px solid var(--store-line);border-radius:50%;background:var(--store-surface);color:var(--store-ink);cursor:pointer;transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
.market-card--home-collection.market-card--products .market-card__purchase{display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:end;gap:12px}
.market-card--home-collection.market-card--products .market-card__favorite{width:40px;height:40px;border:0;background:transparent;color:#111315}
.market-card--home-collection.market-card--products .market-card__quick-add{width:40px;height:40px;border-color:rgba(17,19,21,.14);background:#fff;color:#111}
.market-card--home-collection.market-card--products .market-card__favorite.is-active{border:0;background:transparent;color:var(--store-success)}
.market-card--home-collection.market-card--products .market-card__quick-add:focus-visible,.market-card--home-collection.market-card--products .market-card__favorite:focus-visible{outline:3px solid #111;outline-offset:3px}
.market-card--home-collection.market-card--products .market-card__quick-add:disabled{opacity:.35;cursor:not-allowed}
@media(hover:hover){.market-card--home-collection.market-card--products .market-card__quick-add:not(:disabled):hover{border-color:#111;background:#111;color:#fff;transform:translateY(-1px)}.market-card--home-collection.market-card--products .market-card__favorite:not(.is-active):hover{border:0;background:transparent;color:var(--store-success)}}
.market-card__quick-add-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.market-card__signals,.market-card__variants{display:flex;align-items:center;gap:7px;color:var(--store-muted);font-size:11px}.market-card__variants>span{width:12px;height:12px;border:1px solid var(--store-line);border-radius:50%;background:var(--variant-color)}
.home-card-affordance{color:var(--store-muted);font-size:16px;font-style:normal}

.choice-row{display:flex;gap:8px;flex-wrap:wrap}.choice-row label{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid var(--store-line);background:var(--store-surface);font-size:12px}
.listing-chip{display:inline-flex;min-height:38px;align-items:center;gap:7px;padding:0 12px;border:1px solid var(--store-line);border-radius:999px;background:var(--store-surface);font-size:12px}
.store-overlay{position:fixed;inset:0;z-index:250}.store-overlay__scrim{position:absolute;inset:0;background:rgba(0,0,0,.44)}.store-overlay__panel{position:absolute;right:0;top:0;bottom:0;width:min(440px,100%);overflow:auto;background:var(--store-surface);box-shadow:-18px 0 50px rgba(0,0,0,.14)}

.ch-quantity-stepper{display:grid;grid-template-columns:44px minmax(44px,1fr) 44px;min-width:136px;height:46px;border:1px solid var(--store-line-strong);background:var(--store-surface)}
.ch-quantity-stepper button{border:0;background:transparent;cursor:pointer}.ch-quantity-stepper input{min-height:0;border:0;text-align:center;box-shadow:none}

@media(max-width:900px){
  .market-card__body{padding-top:9px}.market-card__identity h3{min-height:34px;font-size:13px}.market-card__price strong{font-size:16px}.market-card__discount{min-width:40px;height:36px;font-size:10px}.market-card__favorite{width:36px;height:36px;top:8px;right:8px}.market-card__quick-add{display:none}.market-card--home-collection.market-card--products .market-card__purchase{grid-template-columns:minmax(0,1fr) 44px}.market-card--home-collection.market-card--products .market-card__favorite{width:44px;height:44px}.market-card--home-collection.market-card--products .market-card__quick-add{display:grid;width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){.market-card:hover .market-card__media img{transform:none}}

/* CH GLOBAL ACTION FEEDBACK V3.1 */

/*
 * Shared action geometry.
 * Applies to every cart-capable product card, not only homepage cards.
 */
.market-card__favorite,
button.market-card__quick-add[data-add-cart]{
  box-sizing:border-box;
  width:40px;
  height:40px;
  flex:0 0 40px;
  overflow:visible;
}

.market-card__favorite span,
button.market-card__quick-add[data-add-cart] .market-card__quick-add-icon{
  display:grid;
  width:20px;
  height:20px;
  place-items:center;
  line-height:1;
}

.market-card__favorite svg,
button.market-card__quick-add[data-add-cart] svg{
  display:block;
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}


/* =========================================================
   FAVORITE
   ========================================================= */

.market-card__favorite{
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease;
}

.market-card__favorite:active{
  transform:scale(.84) rotate(-4deg);
}

.market-card__favorite.is-active{
  border-color:#111;
  background:#111;
  color:#fff;
}

.market-card__favorite.is-active svg{
  fill:currentColor;
  animation:
    ch-heart-pop
    .46s
    cubic-bezier(.2,.9,.25,1.35);
}


/* =========================================================
   GLOBAL QUICK ADD
   ========================================================= */

button.market-card__quick-add[data-add-cart]{
  position:relative;
  isolation:isolate;

  border:1px solid rgba(17,19,21,.14);
  background:#fff;
  color:#111;

  transition:
    transform .2s cubic-bezier(.2,.8,.2,1),
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease;
}


/*
 * Override previous homepage-only black hover.
 * Black is reserved for confirmed add-to-cart feedback.
 */
@media (hover:hover) and (pointer:fine){

  button.market-card__quick-add[data-add-cart]:not(:disabled):hover,
  .market-card--home-collection.market-card--products
  button.market-card__quick-add[data-add-cart]:not(:disabled):hover{

    opacity:1;

    border-color:#111;
    background:#f3f3f1;
    color:#111;

    transform:translateY(-2px);
  }

  .market-card__favorite:not(.is-active):hover{
    border-color:#111;
    background:#f3f3f1;
    color:#111;
  }
}


/* Physical press */
button.market-card__quick-add[data-add-cart]:active{
  transform:scale(.86);
}


/* =========================================================
   SUCCESS: ADD TO CART
   runtime.js supplies .is-cart-success
   ========================================================= */

button.market-card__quick-add[data-add-cart].is-cart-success{
  border-color:#111;
  background:#111;
  color:#fff;

  animation:
    ch-cart-success
    .55s
    cubic-bezier(.2,.8,.2,1);
}


/* Hide bag while success check is shown */
button.market-card__quick-add[data-add-cart].is-cart-success
.market-card__quick-add-icon{
  opacity:0;
}


/* Animated check */
button.market-card__quick-add[data-add-cart].is-cart-success::before{
  content:"✓";

  position:absolute;
  inset:0;

  display:grid;
  place-items:center;

  color:#fff;

  font-size:18px;
  font-weight:800;
  line-height:1;

  animation:
    ch-cart-check
    .48s
    cubic-bezier(.2,.9,.25,1.3)
    both;
}


/* Feedback ring */
button.market-card__quick-add[data-add-cart].is-cart-success::after{
  content:"";

  position:absolute;
  inset:-5px;
  z-index:-1;

  border:1px solid rgba(17,19,21,.3);
  border-radius:50%;

  pointer-events:none;

  animation:
    ch-action-ring
    .58s
    ease-out
    both;
}


/* =========================================================
   EXISTING PRODUCT -> CART FLYER
   ========================================================= */

.store-cart-flyer{
  position:fixed;
  z-index:10050;

  box-sizing:border-box;

  padding:4px;

  pointer-events:none;

  object-fit:contain;

  border:1px solid rgba(17,19,21,.12);
  border-radius:50%;

  background:#fff;

  box-shadow:
    0 12px 32px
    rgba(17,19,21,.18);
}


/* =========================================================
   CART TARGET FEEDBACK
   ========================================================= */

.utility-cart.is-cart-updated,
.store-cart-link.is-cart-updated,
[data-cart-nav].is-cart-updated,
[data-cart-count].is-cart-updated{
  animation:
    ch-cart-target
    .58s
    cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   HOMEPAGE ALIGNMENT
   ========================================================= */

.market-card--home-collection .market-card__purchase{
  display:grid;

  grid-template-columns:
    minmax(0,1fr)
    40px;

  align-items:end;

  gap:12px;
}


/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes ch-heart-pop{
  0%{
    transform:scale(.65);
  }

  55%{
    transform:scale(1.3) rotate(-5deg);
  }

  78%{
    transform:scale(.94) rotate(2deg);
  }

  100%{
    transform:scale(1) rotate(0);
  }
}


@keyframes ch-cart-success{
  0%{
    transform:scale(1);
  }

  32%{
    transform:scale(.84);
  }

  66%{
    transform:scale(1.1);
  }

  100%{
    transform:scale(1);
  }
}


@keyframes ch-cart-check{
  0%{
    opacity:0;
    transform:scale(.3) rotate(-18deg);
  }

  60%{
    opacity:1;
    transform:scale(1.2) rotate(4deg);
  }

  100%{
    opacity:1;
    transform:scale(1) rotate(0);
  }
}


@keyframes ch-action-ring{
  0%{
    opacity:.5;
    transform:scale(.72);
  }

  100%{
    opacity:0;
    transform:scale(1.38);
  }
}


@keyframes ch-cart-target{
  0%,
  100%{
    transform:scale(1);
  }

  40%{
    transform:scale(1.16);
  }

  72%{
    transform:scale(.96);
  }
}


/* =========================================================
   MOBILE
   Global quick-add: no longer homepage-only.
   ========================================================= */

@media(max-width:900px){

  .market-card__favorite,
  button.market-card__quick-add[data-add-cart],
  .market-card--home-collection.market-card--products
  .market-card__favorite,
  .market-card--home-collection.market-card--products
  button.market-card__quick-add[data-add-cart]{

    display:grid;

    width:44px;
    height:44px;

    flex:0 0 44px;
  }


  .market-card--home-collection .market-card__purchase{
    grid-template-columns:
      minmax(0,1fr)
      44px;
  }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button.market-card__quick-add[data-add-cart]:focus-visible,
.market-card__favorite:focus-visible{
  outline:3px solid #111;
  outline-offset:3px;
}


@media(prefers-reduced-motion:reduce){

  .market-card__favorite,
  .market-card__favorite.is-active svg,
  button.market-card__quick-add[data-add-cart],
  button.market-card__quick-add[data-add-cart].is-cart-success,
  button.market-card__quick-add[data-add-cart].is-cart-success::before,
  button.market-card__quick-add[data-add-cart].is-cart-success::after,
  .utility-cart.is-cart-updated,
  .store-cart-link.is-cart-updated,
  [data-cart-nav].is-cart-updated,
  [data-cart-count].is-cart-updated{

    animation:none !important;
    transition:none !important;
  }

  .store-cart-flyer{
    display:none !important;
  }
}

/* CH ACTION REFINEMENT V3.2 START */
/* Sepet butonu: icon-only, global */
button.market-card__quick-add[data-add-cart]{
  width:44px;
  height:44px;
  flex:0 0 44px;
  padding:0;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#111 !important;
  box-shadow:none !important;
  justify-self:end;
  isolation:isolate;
}

button.market-card__quick-add[data-add-cart] .market-card__quick-add-icon{
  display:grid;
  width:24px;
  height:24px;
  place-items:center;
  line-height:1;
  transition:transform .18s ease, opacity .18s ease;
}

button.market-card__quick-add[data-add-cart] svg{
  display:block;
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Ana sayfadaki fiyat + ikon hizası */
.market-card--home-collection .market-card__purchase{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:12px;
}

@media (hover:hover) and (pointer:fine){
  button.market-card__quick-add[data-add-cart]:not(:disabled):hover{
    opacity:.72;
    transform:translateY(-1px) scale(1.04);
  }
}

button.market-card__quick-add[data-add-cart]:active{
  transform:scale(.92);
}

button.market-card__quick-add[data-add-cart]:disabled{
  opacity:.35;
  cursor:not-allowed;
}

/* Success state: circle yok, sadece eğlenceli icon feedback */
button.market-card__quick-add[data-add-cart].is-cart-success{
  border:0 !important;
  background:transparent !important;
  color:#111 !important;
  animation:ch-cart-icon-bounce .56s cubic-bezier(.2,.85,.25,1.2);
}

button.market-card__quick-add[data-add-cart].is-cart-success .market-card__quick-add-icon{
  opacity:0;
}

button.market-card__quick-add[data-add-cart].is-cart-success::before{
  content:"✓";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#111;
  font-size:22px;
  font-weight:800;
  line-height:1;
  animation:ch-cart-check-v32 .48s cubic-bezier(.2,.9,.25,1.3) both;
}

button.market-card__quick-add[data-add-cart].is-cart-success::after{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(17,19,21,.24);
  border-radius:999px;
  pointer-events:none;
  animation:ch-cart-ring-v32 .58s ease-out both;
}

@keyframes ch-cart-icon-bounce{
  0%{transform:scale(1)}
  35%{transform:scale(.82)}
  68%{transform:scale(1.14)}
  100%{transform:scale(1)}
}

@keyframes ch-cart-check-v32{
  0%{
    opacity:0;
    transform:scale(.35) rotate(-18deg);
  }
  60%{
    opacity:1;
    transform:scale(1.18) rotate(4deg);
  }
  100%{
    opacity:1;
    transform:scale(1) rotate(0);
  }
}

@keyframes ch-cart-ring-v32{
  0%{
    opacity:.45;
    transform:scale(.72);
  }
  100%{
    opacity:0;
    transform:scale(1.5);
  }
}

/* Mobilde de icon-only kalsın */
@media(max-width:900px){
  button.market-card__quick-add[data-add-cart]{
    display:grid;
    width:44px;
    height:44px;
    flex:0 0 44px;
  }

  .market-card--home-collection .market-card__purchase{
    grid-template-columns:minmax(0,1fr) auto;
  }
}

@media(prefers-reduced-motion:reduce){
  button.market-card__quick-add[data-add-cart],
  button.market-card__quick-add[data-add-cart] .market-card__quick-add-icon,
  button.market-card__quick-add[data-add-cart].is-cart-success,
  button.market-card__quick-add[data-add-cart].is-cart-success::before,
  button.market-card__quick-add[data-add-cart].is-cart-success::after{
    animation:none !important;
    transition:none !important;
  }
}
/* CH ACTION REFINEMENT V3.2 END */

/* CH PRODUCT SECTION REFINEMENT V3.3 START */
/* Mobil home product section: scalable list layout */
@media(max-width:767px){
  .home-v3-section--products .home-v3-collection-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products{
    display:grid;
    grid-template-columns:132px minmax(0,1fr);
    align-items:start;
    gap:14px;
    padding-bottom:0;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__visual-wrap{
    aspect-ratio:1 / 1;
    min-height:132px;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__favorite{
    top:8px;
    right:8px;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__body{
    gap:8px;
    padding:2px 0 0;
    min-width:0;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__identity{
    gap:5px;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__meta{
    font-size:12px;
    line-height:1.2;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__identity h3{
    min-height:0;
    font-size:15px;
    line-height:1.35;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__purchase{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:end;
    gap:12px;
    margin-top:2px;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__price{
    align-items:flex-end;
    gap:10px;
    min-width:0;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__price-stack{
    gap:2px;
    min-width:0;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__price strong{
    font-size:15px;
    line-height:1.05;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__price del{
    font-size:11px;
    line-height:1.1;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products .market-card__discount{
    min-width:38px;
    height:34px;
    font-size:10px;
    padding-inline:6px;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products button.market-card__quick-add[data-add-cart]{
    width:36px;
    height:36px;
    flex:0 0 36px;
    justify-self:end;
    align-self:end;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products button.market-card__quick-add[data-add-cart] .market-card__quick-add-icon{
    width:22px;
    height:22px;
  }

  .home-v3-section--products .market-card--home-collection.market-card--products button.market-card__quick-add[data-add-cart] svg{
    width:20px;
    height:20px;
  }
}
/* CH PRODUCT SECTION REFINEMENT V3.3 END */

/* CH PRODUCT CARD QUANTITY LAYOUT V3.8 START
   Layout-only refinement: existing typography, price styling and design tokens
   remain unchanged. Product cards share the same rating/favorite/cart geometry
   across homepage, catalog, search, offers, related and saved-product surfaces. */
.market-card--products .market-card__app-rating--media{
  position:absolute;
  top:10px;
  left:10px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-height:30px;
  padding:0 9px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:var(--store-ink);
  box-shadow:0 1px 7px rgba(17,19,21,.06);
  pointer-events:none;
}
.market-card--products .market-card__app-rating--media b{color:#b7791f}
.market-card--products.has-card-rating .market-card__badges{top:48px}

.market-card--products .market-card__purchase{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:8px;
}
.market-card--products .market-card__cart-stepper{
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns:36px minmax(20px,auto) 36px;
  align-items:center;
  justify-self:end;
  min-height:44px;
  color:var(--store-ink);
  user-select:none;
}
.market-card--products .market-card__cart-stepper-button{
  display:grid;
  width:36px;
  height:44px;
  place-items:center;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:currentColor;
  box-shadow:none;
  cursor:pointer;
  touch-action:manipulation;
}
.market-card--products .market-card__cart-stepper-button svg{
  display:block;
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.market-card--products .market-card__cart-stepper-value{
  min-width:20px;
  text-align:center;
  color:currentColor;
  font-variant-numeric:tabular-nums;
}
.market-card--products .market-card__cart-stepper-button:disabled{
  opacity:.28;
  cursor:default;
}
.market-card--products .market-card__cart-stepper-button:focus-visible{
  outline:2px solid currentColor;
  outline-offset:1px;
}
@media(hover:hover) and (pointer:fine){
  .market-card--products .market-card__cart-stepper-button:not(:disabled):hover{opacity:.62}
}
@media(max-width:900px){
  .market-card--products .market-card__app-rating--media{top:8px;left:8px;min-height:28px;padding-inline:8px}
  .market-card--products.has-card-rating .market-card__badges{top:44px}
  .market-card--products .market-card__purchase{gap:5px}
  .market-card--products .market-card__cart-stepper{grid-template-columns:32px minmax(18px,auto) 32px;min-height:42px}
  .market-card--products .market-card__cart-stepper-button{width:32px;height:42px}
  .market-card--products .market-card__cart-stepper-button svg{width:17px;height:17px}
  .market-card--products .market-card__cart-stepper-value{min-width:18px}
}
@media(prefers-reduced-motion:reduce){
  .market-card--products .market-card__cart-stepper-button{transition:none!important}
}
/* CH PRODUCT CARD QUANTITY LAYOUT V3.8 END */

/* CH MOBILE PRODUCT POLISH V4.1 START
   Visual favorite affordance is intentionally smaller while retaining a
   comfortable control hit-area. Applies to every shared product-card surface. */
.market-card--products .market-card__favorite{
  width:40px;
  height:40px;
  flex:0 0 40px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#111315;
  box-shadow:none;
}
.market-card--products .market-card__favorite span{
  display:grid;
  width:31px;
  height:31px;
  place-items:center;
  border:1px solid rgba(17,19,21,.13);
  border-radius:50%;
  background:#fff;
  color:#111315;
  box-shadow:0 1px 5px rgba(17,19,21,.035);
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.market-card--products .market-card__favorite svg{
  width:16px;
  height:16px;
  stroke-width:1.65;
}
.market-card--products .market-card__favorite.is-active{
  border:0;
  background:transparent;
  color:var(--store-success);
}
.market-card--products .market-card__favorite.is-active span{
  border-color:var(--store-success);
  background:#fff;
  color:var(--store-success);
}
.market-card--products .market-card__favorite:active{
  transform:none;
}
.market-card--products .market-card__favorite:active span{
  transform:scale(.9);
}
@media(hover:hover) and (pointer:fine){
  .market-card--products .market-card__favorite:not(.is-active):hover{
    border:0;
    background:transparent;
  }
  .market-card--products .market-card__favorite:not(.is-active):hover span{
    border-color:var(--store-success);
    background:#fff;
    color:var(--store-success);
  }
}
@media(max-width:900px){
  .market-card--products .market-card__favorite,
  .market-card--home-collection.market-card--products .market-card__favorite{
    width:40px;
    height:40px;
    flex:0 0 40px;
  }
  .market-card--products .market-card__favorite span{
    width:29px;
    height:29px;
  }
  .market-card--products .market-card__favorite svg{
    width:15px;
    height:15px;
  }

  /* Two-column catalog: reserve enough room for price and quantity controls. */
  .catalog-page--products .catalog-grid--standard-products .market-card__purchase,
  .listing-page .catalog-grid--standard-products .market-card__purchase{
    grid-template-columns:minmax(0,1fr) 72px;
    gap:2px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__price,
  .listing-page .catalog-grid--standard-products .market-card__price{
    gap:4px;
    overflow:visible;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__discount,
  .listing-page .catalog-grid--standard-products .market-card__discount{
    min-width:30px;
    height:30px;
    padding-inline:4px;
    font-size:9px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__price-stack,
  .listing-page .catalog-grid--standard-products .market-card__price-stack{
    gap:2px;
    min-width:0;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__price del,
  .listing-page .catalog-grid--standard-products .market-card__price del{
    font-size:10px;
    line-height:1;
    white-space:nowrap;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__price strong,
  .listing-page .catalog-grid--standard-products .market-card__price strong{
    font-size:15px;
    line-height:1.02;
    white-space:nowrap;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__cart-stepper,
  .listing-page .catalog-grid--standard-products .market-card__cart-stepper{
    grid-template-columns:29px 14px 29px;
    min-width:72px;
    min-height:40px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__cart-stepper-button,
  .listing-page .catalog-grid--standard-products .market-card__cart-stepper-button{
    width:29px;
    height:40px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__cart-stepper-button svg,
  .listing-page .catalog-grid--standard-products .market-card__cart-stepper-button svg{
    width:15px;
    height:15px;
    stroke-width:1.7;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__cart-stepper-value,
  .listing-page .catalog-grid--standard-products .market-card__cart-stepper-value{
    min-width:14px;
    font-size:12px;
  }
}
@media(max-width:380px){
  .catalog-page--products .catalog-grid--standard-products .market-card__purchase,
  .listing-page .catalog-grid--standard-products .market-card__purchase{
    grid-template-columns:minmax(0,1fr) 68px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__discount,
  .listing-page .catalog-grid--standard-products .market-card__discount{
    min-width:28px;
    height:28px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__cart-stepper,
  .listing-page .catalog-grid--standard-products .market-card__cart-stepper{
    grid-template-columns:27px 14px 27px;
    min-width:68px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__cart-stepper-button,
  .listing-page .catalog-grid--standard-products .market-card__cart-stepper-button{
    width:27px;
  }
}
/* CH MOBILE PRODUCT POLISH V4.1 END */

/* V4.1 narrow-card geometry correction: 185px-class mobile cards. */
@media(max-width:900px){
  .catalog-page--products .catalog-grid--standard-products .market-card__purchase,
  .listing-page .catalog-grid--standard-products .market-card__purchase{
    grid-template-columns:minmax(0,1fr) 68px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__discount,
  .listing-page .catalog-grid--standard-products .market-card__discount{
    min-width:28px;
    height:28px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__cart-stepper,
  .listing-page .catalog-grid--standard-products .market-card__cart-stepper{
    grid-template-columns:28px 12px 28px;
    min-width:68px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__cart-stepper-button,
  .listing-page .catalog-grid--standard-products .market-card__cart-stepper-button{
    width:28px;
    height:40px;
  }
  .catalog-page--products .catalog-grid--standard-products .market-card__cart-stepper-value,
  .listing-page .catalog-grid--standard-products .market-card__cart-stepper-value{
    min-width:12px;
  }
}

/* Preserve a 44px mobile tap target while keeping the visible favorite circle compact. */
@media(max-width:900px){
  .market-card--products .market-card__favorite,
  .market-card--home-collection.market-card--products .market-card__favorite{
    width:44px;
    height:44px;
    flex:0 0 44px;
  }
}

/* Commerce Hub Store V4.3 — stable product-card rating/favorite geometry */
.market-card--products .market-card__media{
  position:relative;
}
.market-card--products .market-card__favorite,
.market-card--home-collection.market-card--products .market-card__favorite{
  position:absolute;
  top:8px;
  right:8px;
  z-index:5;
  display:grid;
  place-items:center;
  padding:0;
  overflow:visible;
}
.market-card--products .market-card__favorite > span{
  pointer-events:none;
}
.market-card--products .market-card__app-rating--media{
  left:8px;
  top:8px;
  gap:5px;
  min-height:30px;
  padding:0 10px;
  z-index:5;
  font-size:12px;
  font-weight:700;
}
.market-card--products .market-card__app-rating-score{
  font-variant-numeric:tabular-nums;
}
.market-card--products .market-card__app-rating--media small{
  color:var(--store-muted);
  font-size:11px;
  font-weight:700;
}
.market-card--products.has-card-rating .market-card__badges{
  top:46px;
}
@media(max-width:900px){
  .market-card--products .market-card__favorite,
  .market-card--home-collection.market-card--products .market-card__favorite{
    top:6px;
    right:6px;
  }
  .market-card--products .market-card__app-rating--media{
    top:6px;
    left:6px;
    min-height:28px;
    padding:0 9px;
    font-size:11px;
  }
  .market-card--products .market-card__app-rating--media small{font-size:10px}
  .market-card--products.has-card-rating .market-card__badges{top:42px}
}


/* Store UI coherence pass V4.4 — product media and rating metadata */
.market-card--products .market-card__visual-wrap,
.market-card--products .market-card__media{background:var(--store-product-media)}
.market-card--products .market-card__media img{background:var(--store-product-media)}
.market-card--products .market-card__media .media-placeholder,
.market-card--products .market-card__media>span{background:var(--store-product-media);color:var(--store-product-media-ink)}
.market-card__app-rating--inline{
  position:static;
  display:inline-flex;
  width:max-content;
  max-width:100%;
  align-items:center;
  gap:5px;
  margin-top:1px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:var(--store-muted);
  font-size:11px;
  line-height:1.25;
  white-space:nowrap;
}
.market-card__app-rating--inline b{color:#b7791f;font-size:13px;line-height:1}
.market-card__app-rating--inline .market-card__app-rating-score{color:var(--store-ink);font-weight:750}
.market-card__app-rating--inline small{color:var(--store-muted);font-size:10px;font-weight:650}
@media(max-width:759px){
  .market-card__app-rating--inline{gap:4px;font-size:10.5px}
  .market-card__app-rating--inline b{font-size:12px}
  .market-card__app-rating--inline small{font-size:9.5px}
}

/* Commerce Hub Store V4.5 — shared product-card media signals
   Product rating and favorite occupy mirrored top corners on every shared
   product-card surface (catalog, search, offers, favorites, home, related). */
.market-card--products .market-card__app-rating--media{
  top:8px;
  left:8px;
  z-index:5;
  min-height:31px;
  padding:0 9px;
  gap:4px;
  border:1px solid rgba(17,19,21,.13);
  border-radius:999px;
  background:rgba(255,255,255,.97);
  color:#111315;
  box-shadow:0 1px 5px rgba(17,19,21,.035);
  font-size:10.5px;
  font-weight:760;
  line-height:1;
  backdrop-filter:blur(6px);
}
.market-card--products .market-card__app-rating--media b{
  color:#a76a00;
  font-size:12px;
  line-height:1;
}
.market-card--products .market-card__app-rating--media .market-card__app-rating-score{
  color:#5d451a;
  font-weight:800;
}
.market-card--products .market-card__app-rating--media small{
  color:#777d84;
  font-size:9.5px;
  font-weight:700;
}
.market-card--products .market-card__favorite,
.market-card--home-collection.market-card--products .market-card__favorite{
  top:4px;
  right:4px;
  width:40px;
  height:40px;
  z-index:5;
}
.market-card--products .market-card__favorite span,
.market-card--home-collection.market-card--products .market-card__favorite span{
  width:31px;
  height:31px;
}
.market-card--products.has-card-rating .market-card__badges{top:46px}
@media(max-width:900px){
  .market-card--products .market-card__app-rating--media{
    top:6px;
    left:6px;
    min-height:30px;
    padding:0 8px;
    font-size:10px;
  }
  .market-card--products .market-card__app-rating--media b{font-size:11.5px}
  .market-card--products .market-card__app-rating--media small{font-size:9px}
  .market-card--products .market-card__favorite,
  .market-card--home-collection.market-card--products .market-card__favorite{
    top:1px;
    right:1px;
    width:44px;
    height:44px;
  }
  .market-card--products.has-card-rating .market-card__badges{top:43px}
}


/* Commerce Hub Store V4.6 — mobile rating/favorite separation */
@media(max-width:900px){
  .market-card--products .market-card__app-rating--media{
    left:6px;
    top:6px;
    max-width:calc(100% - 58px);
    min-height:28px;
    padding:0 8px;
    gap:4px;
    white-space:nowrap;
    overflow:hidden;
  }
  .market-card--products .market-card__app-rating--media small{
    display:none;
  }
  .market-card--products .market-card__favorite,
  .market-card--home-collection.market-card--products .market-card__favorite{
    top:0;
    right:0;
    width:44px;
    height:44px;
  }
  .market-card--products .market-card__favorite span,
  .market-card--home-collection.market-card--products .market-card__favorite span{
    width:30px;
    height:30px;
  }
}
