/*
  Journal3 (OpenCart 3) - Product card "expand down" hover actions
  - Keeps name/price visible
  - Reveals action area by expanding card height downward
  - Works best with the companion JS that tags action blocks & measures height
*/

:root {
  --oc-card-expand-radius: 0px;
  --oc-card-expand-border: rgba(0, 0, 0, 0.10);
  --oc-card-expand-border-hover: rgba(30, 167, 253, 0.85);
  --oc-card-expand-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  --oc-card-expand-bg: #fff;
  --oc-card-expand-gap: 12px;
  /* Hover panel altı ile bir alt satır kartı arası hedef boşluk */
  --oc-grid-hover-row-gap: 2px;
  --oc-category-hover-row-gap: 0px;
  /* Kategori: satırlar arası kalıcı boşluk (hover'da değişmez; hover paneli bu alana taşar) */
  --oc-category-row-gap: 32px;
  --oc-card-expand-speed: 180ms;

  /* Tooltip */
  --oc-tooltip-bg: rgba(17, 24, 39, 0.92);
  --oc-tooltip-fg: #fff;
  --oc-tooltip-radius: 10px;

  /* Badge tooltip (delivery/stock) */
  /* Default: dark pill like modern UI (edit these to theme your tooltip) */
  --oc-badge-tip-bg: rgba(17, 24, 39, 0.96);
  --oc-badge-tip-fg: #fff;
  --oc-badge-tip-border: rgba(255, 255, 255, 0.14);
  --oc-badge-tip-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  --oc-badge-tip-radius: 999px;
  --oc-badge-tip-font-size: 12px;
  --oc-badge-tip-pad-y: 7px;
  --oc-badge-tip-pad-x: 10px;
  /* Distance between icon and tooltip */
  --oc-badge-tip-gap: 4px;

  /* Badge tooltip frame (single fixed box, text swaps on hover) */
  --oc-badge-frame-bg: var(--oc-badge-tip-bg);
  --oc-badge-frame-fg: var(--oc-badge-tip-fg);
  --oc-badge-frame-border: var(--oc-badge-tip-border);
  --oc-badge-frame-shadow: var(--oc-badge-tip-shadow);
  --oc-badge-frame-radius: 12px;
  --oc-badge-frame-font-size: 12px;
  --oc-badge-frame-pad-y: 7px;
  --oc-badge-frame-pad-x: 12px;
  --oc-badge-frame-gap: 6px;
  /* Positive values move the fixed tooltip DOWN (closer to icons) */
  --oc-badge-frame-drop: 12px;
  --oc-badge-frame-max-w: 220px;

  /* Sepet / menü çekmecesi + özel giriş offcanvas arka plan flu */
  --fb-overlay-blur: 8px;
  --fb-overlay-dim: rgba(0, 0, 0, 0.35);
}

/* Apply to cards that JS enhances */
/* NOT: oc-card-expand product-THUMB'a eklenir, product-layout'a değil.
   margin-bottom buraya yazılmamalı — flex parent (product-layout) child margin'ini
   kendi yüksekliğine dahil eder ve kart büyür.
   Satırlar arası boşluk extra-info-strip.css'deki product-layout kurallarından gelir. */
.oc-card-expand {
  --oc-card-expand-border-current: var(--oc-card-expand-border);
  position: relative;
  z-index: 0;
  overflow: visible;
  isolation: isolate;
  transition: box-shadow var(--oc-card-expand-speed) ease,
              transform var(--oc-card-expand-speed) ease;
}

/* Masaüstü grid: hover çerçevesi yuvarlak köşeli */
@media (min-width: 992px) {
  html:not(.phone) .product-grid .product-thumb.oc-card-expand {
    --oc-card-expand-radius: 14px;
  }
}

.oc-card-expand:hover {
  /* Keep the expanded area above adjacent cards so hover doesn't "jump" */
  z-index: 99999;
  --oc-card-expand-border-current: var(--oc-card-expand-border-hover);
  background: var(--oc-card-expand-bg);
  border-radius: var(--oc-card-expand-radius);
  box-shadow: var(--oc-card-expand-shadow);
}

/* JS-stabilized hover (prevents flicker when moving into revealed area) */
.oc-card-expand.oc-hovering {
  z-index: 99999;
  --oc-card-expand-border-current: var(--oc-card-expand-border-hover);
  background: var(--oc-card-expand-bg);
  border-radius: var(--oc-card-expand-radius);
  box-shadow: var(--oc-card-expand-shadow);
}

.oc-card-expand.oc-expanded {
  --oc-card-expand-border-current: var(--oc-card-expand-border-hover);
  background: var(--oc-card-expand-bg);
  border-radius: var(--oc-card-expand-radius);
  box-shadow: var(--oc-card-expand-shadow);
  z-index: 99999;
}

/* Extend the white card background to cover the revealed action area.
   This prevents underlying product borders/separators from showing through at the bottom. */
.oc-card-expand:hover::before,
.oc-card-expand.oc-hovering::before,
.oc-card-expand.oc-expanded::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--oc-actions-frame-h, var(--oc-actions-h, 140px)));
  background: var(--oc-card-expand-bg);
  border-radius: var(--oc-card-expand-radius);
  pointer-events: none;
  z-index: -1;
}

/* Avoid a "double frame": many skins already draw a border on the card itself. */
.oc-card-expand:hover,
.oc-card-expand.oc-hovering,
.oc-card-expand.oc-expanded {
  border: 0 !important;
}

/* Border that respects radius without layout shift */
.oc-card-expand:hover::after,
.oc-card-expand.oc-hovering::after,
.oc-card-expand.oc-expanded::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--oc-actions-frame-h, var(--oc-actions-h, 140px)));
  border-radius: var(--oc-card-expand-radius);
  box-shadow: 0 0 0 1px var(--oc-card-expand-border-current, var(--oc-card-expand-border));
  pointer-events: none;
  z-index: 2147483647;
}

/* Journal3 hover sometimes hides/moves caption/name/price.
   For enhanced cards, keep them visible and stationary. */
.oc-card-expand .caption,
.oc-card-expand:hover .caption {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.oc-card-expand .caption .name,
.oc-card-expand:hover .caption .name,
.oc-card-expand .caption .price,
.oc-card-expand:hover .caption .price {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  max-height: none !important;
}

/* If theme collapses parts of caption on hover */
.oc-card-expand:hover .caption * {
  transform: none !important;
}

/* Action block: collapsed by default; expands on hover */
.oc-card-expand .oc-actions {
  /* Render as a dropdown panel so it doesn't push other products down */
  position: absolute;
  left: 0;
  right: 0;
  top: var(--oc-actions-top, 100%);
  max-height: 0;
  /* Theme may use opacity/visibility/transform on .button-group; keep ours deterministic */
  opacity: 0 !important;
  visibility: visible !important;
  overflow: hidden;
  margin: 0;
  pointer-events: none;
  background: var(--oc-card-expand-bg);
  border-radius: 0 0 var(--oc-card-expand-radius) var(--oc-card-expand-radius);
  /* Frame is drawn by the card (::after); avoid any inner separators/lines. */
  border: 0 !important;
  box-shadow: none !important;
  z-index: 20;
  transform: translateY(-4px) !important;
  will-change: transform, opacity;
  transition: opacity var(--oc-card-expand-speed) ease,
              transform var(--oc-card-expand-speed) ease;
}

/* Some skins add separators via borders/pseudo elements on button groups */
.oc-card-expand .oc-actions,
.oc-card-expand .oc-actions::before,
.oc-card-expand .oc-actions::after {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* buttons-wrapper için position'a DOKUNMUYORUZ.
   Journal3, buttons-wrapper'ı position:absolute ile konumlandırır (kart dışı → yükseklik etkilenmez).
   Daha önce buradaki "position: static !important" Journal3'ün absolute'unu eziyordu;
   buttons-wrapper normal akışa girince kart JS çalışır çalışmaz büyüyordu.
   Sadece margin/padding/overflow normalize ediyoruz, konum Journal3'e bırakılıyor. */
.oc-card-expand .buttons-wrapper:not(.oc-actions) {
  margin-top: 0 !important;
  padding: 0 !important;
}
/* buttons-wrapper kendisi action panel seçildiyse: absolute konumlandır,
   böylece normal akıştan çıkar ve kart yüksekliğini artırmaz. */
.oc-card-expand .buttons-wrapper.oc-actions {
  position: absolute !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  left: 0;
  right: 0;
  top: var(--oc-actions-top, 100%);
}

/* Keep the hover frame tight to qty/add-to-cart by removing theme bottom space
   from wrappers inside the measured dropdown panel. */
.oc-card-expand .oc-actions .buttons-wrapper,
.oc-card-expand .oc-actions .button-group,
.oc-card-expand .oc-actions .cart-group,
.oc-card-expand .oc-actions .wish-group,
.oc-card-expand .oc-actions .compare-group {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.oc-card-expand .oc-actions .cart-group,
.oc-card-expand .oc-actions .button-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding-right: 12px !important;
}

/* Some skins set `.buttons-wrapper .button-group { position: absolute; ... }`.
   That makes the group detach and render way below the card.
   Neutralize it only for enhanced cards; do NOT touch the actual dropdown panel when `.button-group` is `.oc-actions`. */
.oc-card-expand .buttons-wrapper .button-group:not(.oc-actions) {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

/* ── Module-262: sayaç resim içindeyken gizle (JS thumb'a taşır) — desktop/mobil ortak ── */
.module-products-262 .product-list .product-thumb:has(> .countdown) .image-group .image > .countdown {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.module-products-262 .product-list .product-thumb .image-group .image > .countdown::before {
  display: none !important;
  content: none !important;
}

/* Home "Fırsatlar" list: ensure countdown is visible and not clipped */
.module-products-262 .product-list .product-thumb .image {
  overflow: visible;
}

.module-products-262 .product-list .product-thumb .countdown {
  left: 0;
  transform: none;
  bottom: 0;
  width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  z-index: 5;
}

/* Reset image layout (keep default list layout) */
.module-products-262 .product-list .product-thumb .image {
  display: block;
}

/* Three-column layout: image | content | countdown (right) */
.module-products-262 .product-list .product-thumb {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) minmax(360px, 460px);
  column-gap: 24px;
  align-items: center;
}

.module-products-262 .product-list .product-thumb .image-group {
  width: 100% !important;
  max-width: 240px;
}

.module-products-262 .product-list .product-thumb .caption {
  width: 100% !important;
}

/* Countdown on the right side */
.module-products-262 .product-list .product-thumb > .countdown {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: #fff;
  color: #1b4f8a;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
  padding: 22px 18px;
  min-width: 360px;
  align-self: center;
}

.module-products-262 .product-list .product-thumb > .countdown > div {
  font-size: 38px;
  line-height: 1;
}

.module-products-262 .product-list .product-thumb > .countdown > div span {
  font-size: 12px;
  margin-top: 6px;
}

/* === Modern redesign for Fırsat Ürünü list (module-products-262 only) === */
.module-products-262 .product-list .product-layout {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 22px;
  padding: 22px 26px;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
  border: 1px solid rgba(16, 24, 40, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.module-products-262 .product-list .product-layout:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(16, 24, 40, 0.16);
  border-color: rgba(16, 24, 40, 0.12);
}

.module-products-262 .product-list .product-thumb {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(380px, 520px);
  column-gap: 30px;
  align-items: center;
}

.module-products-262 .product-list .product-thumb .image-group {
  width: 100% !important;
  max-width: 240px;
}

.module-products-262 .product-list .product-thumb .image {
  border-radius: 18px;
  background: #f5f7fb;
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.04);
}

.module-products-262 .product-list .product-thumb .product-img > div {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.module-products-262 .product-list .product-thumb .caption {
  width: 100% !important;
  gap: 8px;
}

/* Reduce gap between image and title */
.module-products-262 .product-list .product-thumb {
  row-gap: 8px;
}

.module-products-262 .product-list .product-thumb .image-group {
  margin-bottom: 0 !important;
}

.module-products-262 .product-list .product-thumb .name a {
  font-size: 18px;
  font-weight: 700;
  color: #121826;
}

.module-products-262 .product-list .product-thumb .price .price-new {
  color: #e53935;
  font-weight: 700;
  font-size: 19px;
}

.module-products-262 .product-list .product-thumb .price .price-old {
  text-decoration: line-through;
}

.module-products-262 .product-list .product-thumb .buttons-wrapper {
  margin-top: 6px;
}

.module-products-262 .product-list .product-thumb .price .price-old {
  color: #98a2b3;
  font-size: 14px;
}

.module-products-262 .product-list .product-thumb .buttons-wrapper .cart-group {
  flex-basis: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.module-products-262 .product-list .product-thumb .buttons-wrapper .wish-group {
  margin-top: 8px;
  justify-content: flex-start;
  gap: 10px;
}

@media (min-width: 821px) {
  .module-products-262 .product-list .product-thumb .buttons-wrapper .wish-group {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
  }
}

.module-products-262 .product-list .product-thumb .btn-cart {
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 10px 22px rgba(0, 123, 255, 0.28);
  font-weight: 700;
}

/* Modern qty stepper — mobil list (masaüstü ayrı blokta) */
@media (max-width: 820px) {
.module-products-262 .product-list .product-thumb .stepper {
  height: 42px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  width: 120px !important;
  border-radius: 10px !important;
  border: 1px solid #E7E8EE !important;
  background: #fff !important;
  padding: 5px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.module-products-262 .product-list .product-thumb .stepper button {
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  border-radius: 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.module-products-262 .product-list .product-thumb .stepper button.fa-angle-down {
  border: 1px solid #E7E8EE !important;
  background: #fff !important;
}

.module-products-262 .product-list .product-thumb .stepper button.fa-angle-up {
  border: none !important;
  background: #f0f0f0 !important;
}

.module-products-262 .product-list .product-thumb .stepper button.fa-angle-down::before {
  content: '-' !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  color: #555 !important;
  line-height: 1 !important;
  display: inline-block !important;
  opacity: 1 !important;
}

.module-products-262 .product-list .product-thumb .stepper button.fa-angle-up::before {
  content: '+' !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  color: #555 !important;
  line-height: 1 !important;
  display: inline-block !important;
  opacity: 1 !important;
}

.module-products-262 .product-list .product-thumb .stepper input.form-control {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: 28px !important;
  min-height: 28px !important;
  border: 1px solid #fff !important;
  border-color: #fff !important;
  outline: 0 none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #222 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  align-self: center !important;
}
}

.module-products-262 .product-list .product-thumb > .countdown {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  color: #1b4f8a;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.18);
  padding: 26px 22px;
  min-width: 380px;
  align-self: center;
}

.module-products-262 .product-list .product-thumb > .countdown > div {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.5px;
}

.module-products-262 .product-list .product-thumb > .countdown > div span {
  font-size: 12px;
  margin-top: 6px;
}

@media (max-width: 1100px) {
  .module-products-262 .product-list .product-thumb {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    row-gap: 16px;
  }

  .module-products-262 .product-list .product-thumb > .countdown {
    grid-column: 1 / -1;
  }
}

/* Eski mobil blok (margin-top:-95px) kaldırıldı — Mobile rescue (≤820px) kullanılıyor */

@media (max-width: 520px) {
  .module-products-262 .product-list .product-thumb .name a {
    font-size: 16px;
  }

  .module-products-262 .product-list .product-thumb > .countdown > div {
    font-size: 28px;
  }

  .module-products-262 .product-list .product-thumb .stepper {
    height: 38px;
    min-width: 86px;
    gap: 6px !important;
  }

  .module-products-262 .product-list .product-thumb .stepper button {
    width: 26px;
    min-width: 26px;
    height: 26px;
    font-size: 15px !important;
  }
}

/* Buttons under add-to-cart, align left */
.module-products-262 .product-list .product-thumb .buttons-wrapper .button-group {
  flex-wrap: wrap;
  align-items: center;
}

/* ── Grid + List (262) Stepper — tek referans (masaüstü) ── */
@media (min-width: 768px) {
  .product-thumb .stepper,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper {
    --stepper-height: 42px !important;
    --stepper-min-width: 120px !important;
    overflow: hidden !important;
    height: 42px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    width: 120px !important;
    border-radius: 10px !important;
    border: 1px solid #E7E8EE !important;
    border-style: solid !important;
    background: #fff !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    box-shadow: none !important;
  }

  .product-thumb .stepper button.fa-angle-down,
  .product-thumb .stepper button.fa-angle-up,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper button.fa-angle-down,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper button.fa-angle-up {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    border-radius: 5px !important;
    border: none !important;
    background: #f0f0f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: auto !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    appearance: none !important;
    -webkit-appearance: none !important;
  }

  .product-thumb .stepper button.fa-angle-down > em,
  .product-thumb .stepper button.fa-angle-up > em,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper button.fa-angle-down > em,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper button.fa-angle-up > em {
    display: none !important;
  }

  .product-thumb .stepper button.fa-angle-down::after,
  .product-thumb .stepper button.fa-angle-up::after,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper button.fa-angle-down::after,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper button.fa-angle-up::after {
    display: none !important;
    content: none !important;
  }

  /* İkonlar font değil — ince çizgi (grid ile birebir) */
  .product-thumb .stepper button.fa-angle-down::before,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper button.fa-angle-down::before {
    content: '' !important;
    display: block !important;
    width: 10px !important;
    height: 2px !important;
    background-color: #555 !important;
    border-radius: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
  }

  .product-thumb .stepper button.fa-angle-up::before,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper button.fa-angle-up::before {
    content: '' !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    background:
      linear-gradient(#555, #555) center/10px 2px no-repeat,
      linear-gradient(#555, #555) center/2px 10px no-repeat !important;
  }

  .product-thumb .stepper button.fa-angle-down:hover,
  .product-thumb .stepper button.fa-angle-up:hover,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper button.fa-angle-down:hover,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper button.fa-angle-up:hover {
    background: #e4e4e4 !important;
  }

  .product-thumb .stepper input.form-control,
  .product-thumb .stepper input[type="number"],
  .product-thumb .stepper input[type="text"],
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper input.form-control,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper input[type="number"],
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper input[type="text"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    height: 28px !important;
    min-height: 28px !important;
    border: 1px solid #fff !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #fff !important;
    outline: 0 none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #222 !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    align-self: center !important;
  }

  .product-thumb .stepper label,
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper label {
    display: none !important;
  }

  .product-thumb .stepper input[type="hidden"],
  html:not(.phone) .module-products-262 .product-list .product-thumb .stepper input[type="hidden"] {
    display: none !important;
    width: 0 !important;
    flex: none !important;
  }
}

/* ── Ürün detay sayfası .scb-il-stepper — grid ile aynı görünüm ── */

/* Container: temada zaten border var, sadece yüksekliği eşitle */
.scb-il-stepper {
  height: 42px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  width: 120px !important;
  padding: 5px !important;
  gap: 3px !important;
}

/* − butonu */
.scb-il-stepper .scb-il-btn.scb-il-minus {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 5px !important;
  border: 1px solid #E7E8EE !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
}

.scb-il-stepper .scb-il-btn.scb-il-minus::before {
  content: '-' !important;
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #555 !important;
  line-height: 1 !important;
}

/* + butonu */
.scb-il-stepper .scb-il-btn.scb-il-plus {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 5px !important;
  border: none !important;
  background: #f0f0f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
}

.scb-il-stepper .scb-il-btn.scb-il-plus::before {
  content: '+' !important;
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #555 !important;
  line-height: 1 !important;
}

/* Miktar input — çerçeve yok */
.scb-il-stepper input.inline-quantity,
.scb-il-stepper input[type="text"],
.scb-il-stepper input[type="number"] {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: 28px !important;
  min-height: 28px !important;
  border: 1px solid #fff !important;
  border-color: #fff !important;
  outline: 0 none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #222 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  align-self: center !important;
}

.module-products-257 .product-grid .product-thumb .stepper button {
  min-height: 28px;
}

.module-products-257 .product-grid .product-thumb .stepper input.form-control {
  border-color: rgb(254 254 254) !important;
}

.module-products-262 .product-list .product-thumb .buttons-wrapper .cart-group {
  flex-basis: 100%;
}

.module-products-262 .product-list .product-thumb .buttons-wrapper .wish-group {
  margin-top: 8px;
  justify-content: flex-start;
}

/* ── Fiyat + Kargo ikonları satır 1 / QTY + Sepete Ekle satır 2 ── */
@media (min-width: 821px) {
  /* Satır 1: fiyat solda, kargo ikonları sağda */
  .module-products-262 .product-list .product-thumb .oc-list-price-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 8px;
  }
  .module-products-262 .product-list .product-thumb .oc-list-price-row .price {
    flex: 1 1 auto;
    margin-bottom: 0 !important;
  }
  .module-products-262 .product-list .product-thumb .oc-list-price-row .wish-group {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
  }
  /* Satır 2: stepper + sepete ekle yan yana */
  .module-products-262 .product-list .product-thumb .buttons-wrapper .cart-group {
    flex-basis: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }
  .module-products-262 .product-list .product-thumb .buttons-wrapper .cart-group .btn-cart {
    flex: 1 1 auto !important;
  }
  .module-products-262 .product-list .product-thumb .buttons-wrapper .cart-group .stepper {
    flex: 0 0 auto !important;
  }
}

.oc-card-expand:hover .oc-actions,
.oc-card-expand.oc-hovering .oc-actions,
.oc-card-expand.oc-expanded .oc-actions {
  max-height: var(--oc-actions-h, 140px);
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto;
  padding-bottom: 0;
}

/* Let theme control internal action layout/sizing.
   Only provide a mild spacing hint (works when the theme uses flex/grid). */
.oc-card-expand .oc-actions {
  gap: 10px;
}

/* If we cloned wishlist/compare into the price row, hide the originals inside the dropdown */
.oc-card-expand.oc-has-badges:hover .oc-actions .wish-group,
.oc-card-expand.oc-has-badges.oc-hovering .oc-actions .wish-group,
.oc-card-expand.oc-has-badges.oc-expanded .oc-actions .wish-group {
  display: none !important;
}

/* Journal3 often frames the inner .product-thumb.
   While expanded, let inner thumb overflow and remove its own frame so the outer frame wraps everything. */
.oc-card-expand.oc-hovering .product-thumb,
.oc-card-expand.oc-expanded .product-thumb {
  overflow: visible !important;
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
}

.oc-card-expand.oc-hovering,
.oc-card-expand.oc-expanded,
.oc-card-expand.oc-hovering .product-thumb,
.oc-card-expand.oc-expanded .product-thumb,
.oc-card-expand.oc-hovering .caption,
.oc-card-expand.oc-expanded .caption,
.oc-card-expand.oc-hovering .product-thumb .caption,
.oc-card-expand.oc-expanded .product-thumb .caption {
  border-radius: inherit;
}

/* No extra separator line (theme may already have one) */
.oc-card-expand .oc-actions::before {
  display: none;
}

/* Touch devices: no hover, keep actions accessible */
@media (hover: none) {
  .oc-card-expand .buttons-wrapper {
    margin-top: var(--oc-card-expand-gap) !important;
  }

  .oc-card-expand .oc-actions {
    position: static !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: visible !important;
    margin-top: var(--oc-card-expand-gap);
    pointer-events: auto !important;
  }

  .oc-card-expand .oc-actions::before {
    margin-bottom: var(--oc-card-expand-gap);
  }
}

/* -------------------- Modern tooltip (JS-positioned) -------------------- */

.oc-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-9999px, -9999px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 7px 10px;
  border-radius: var(--oc-tooltip-radius);
  background: var(--oc-tooltip-bg);
  color: var(--oc-tooltip-fg);
  font-size: 12px;
  line-height: 1.1;
  z-index: 2147483647;
  transition: opacity 120ms ease;
}

.oc-tooltip.oc-tooltip--show {
  opacity: 1;
}

/* -------------------- Product image hover strip (up to 4 images) -------------------- */

.oc-imgstrip-wrap {
  position: relative;
}

.oc-imgstrip {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 4px;
  display: flex;
  gap: 8px;
  z-index: 5;
  pointer-events: none;
}

.oc-imgstrip__seg {
  flex: 1 1 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  opacity: 0.9;
}

.oc-imgstrip__seg.is-active {
  background: rgba(0, 162, 224, 1);
  opacity: 1;
}

/* Small cards: keep the strip subtle */
@media (max-width: 1024px) {
  .oc-imgstrip {
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 3px;
    gap: 6px;
  }
}

/* Delivery / stock icons next to price */
.oc-card-expand .caption .price {
  /* Some skins use block layout; keep it stable and allow inline badges */
  align-items: center;
}

/* Many skins wrap the main price in a div; make it a row so badges can sit to the right */
.oc-card-expand .caption .price > div {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.oc-card-expand .caption .price .oc-delivery-badges {
  /* Hidden by default so it doesn't change price row height */
  display: none;
  overflow: visible;
}

/* ── Grid ürün kartı: resim ile başlık/fiyat arası boşluk azalt ── */
.oc-card-expand .product-thumb .image,
.oc-card-expand .product-thumb .image-group {
  margin-bottom: 4px !important;
}

.oc-card-expand .product-thumb .caption {
  padding-top: 4px !important;
}

/* Journal3 bazı temalarda image-group altına ekstra boşluk ekler */
.oc-card-expand .product-thumb .product-img {
  margin-bottom: 0 !important;
}

/* Allow the badge pill tooltip to extend outside the price row */
.oc-card-expand .caption,
.oc-card-expand .caption .price {
  overflow: visible;
}

.oc-card-expand:hover .caption .price .oc-delivery-badges,
.oc-card-expand.oc-hovering .caption .price .oc-delivery-badges,
.oc-card-expand.oc-expanded .caption .price .oc-delivery-badges {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-top: -14px;
  vertical-align: middle;
}

/* Touch devices: no hover, keep icons visible */
@media (hover: none) {
  .oc-card-expand .caption .price .oc-delivery-badges {
    display: none !important;
  }
}

/* Also hide on small screens (mobile) */
@media (max-width: 768px) {
  .oc-card-expand .caption .price .oc-delivery-badges {
    display: none !important;
  }

  /* Mobile: keep qty and add-to-cart tight */
  .oc-card-expand .oc-actions {
    gap: 3px;
  }
}

/* Keep the badges clickable and avoid layout jump */
.oc-card-expand .caption .price .oc-delivery-badges a,
.oc-card-expand .caption .price .oc-delivery-badges button {
  flex: 0 0 auto;
}

/* Journal3 wishlist/compare buttons often include text; make them icon-only when moved */
.oc-card-expand .caption .price .oc-delivery-badges .btn-text {
  display: none !important;
}

.oc-card-expand .caption .price .oc-delivery-badges a,
.oc-card-expand .caption .price .oc-delivery-badges button {
  width: 34px;
  height: 34px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Badge tooltip: SINGLE fixed frame per card (same location for both icons).
   JS updates `.oc-delivery-badges[data-oc-tip-active]` so only text changes.
   NOTE: avoid ::before/::after on the button itself; many Journal3 skins draw icons with pseudo-elements. */
.oc-card-expand .caption .price .oc-delivery-badges.oc-tip-frame {
  position: relative;
  overflow: visible;
  /* Default arrow position: near the right side */
  --oc-badge-arrow-x: calc(100% - 18px);
}

/* Backward-compat: if old tip nodes exist from previous versions, hide them. */
.oc-card-expand .caption .price .oc-delivery-badges .oc-badge-tip {
  display: none !important;
}

.oc-card-expand .caption .price .oc-delivery-badges.oc-tip-frame::after {
  content: attr(data-oc-tip-active);
  position: absolute;
  right: 5px;
  left: auto;
  bottom: calc(100% + var(--oc-badge-frame-gap) - var(--oc-badge-frame-drop));
  max-width: var(--oc-badge-frame-max-w);
  padding: var(--oc-badge-frame-pad-y) var(--oc-badge-frame-pad-x);
  border-radius: var(--oc-badge-frame-radius);
  background: var(--oc-badge-frame-bg);
  color: var(--oc-badge-frame-fg);
  border: 1px solid var(--oc-badge-frame-border);
  box-shadow: var(--oc-badge-frame-shadow);
  font-size: var(--oc-badge-frame-font-size);
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  z-index: 2147483647;
  transition: opacity 120ms ease, transform 140ms cubic-bezier(.2,.8,.2,1);
}

.oc-card-expand .caption .price .oc-delivery-badges.oc-tip-frame::before {
  content: "";
  position: absolute;
  left: calc(var(--oc-badge-arrow-x) - 4px);
  bottom: calc(100% + (var(--oc-badge-frame-gap) - 2px) - var(--oc-badge-frame-drop));
  width: 8px;
  height: 8px;
  transform: translateY(4px) rotate(45deg);
  background: var(--oc-badge-frame-bg);
  border-right: 1px solid var(--oc-badge-frame-border);
  border-bottom: 1px solid var(--oc-badge-frame-border);
  opacity: 0;
  pointer-events: none;
  z-index: 2147483647;
  transition: opacity 120ms ease, transform 140ms cubic-bezier(.2,.8,.2,1);
}

/* Tooltip box stays fixed; arrow x is driven by JS via --oc-badge-arrow-x. */

.oc-card-expand .caption .price .oc-delivery-badges.oc-tip-frame.oc-tip-active::after {
  opacity: 1;
  transform: translateY(0);
}

.oc-card-expand .caption .price .oc-delivery-badges.oc-tip-frame.oc-tip-active::before {
  opacity: 1;
  transform: translateY(0) rotate(45deg);
}

/* ── Grid ürün kartı: qty + Sepete Ekle yan yana (desktop) ── */
@media (min-width: 768px) {
  .oc-card-expand .oc-actions .cart-group .btn-cart {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    margin-right: 0 !important;
  }

  .oc-card-expand .oc-actions .cart-group .stepper {
    flex: 0 0 auto !important;
  }
}

/* ── List ürünleri arası boşluk ── */
.module-products-262 .product-list .product-layout + .product-layout {
  margin-top: 8px;
}

/* ── Satırlar arası dikey boşluk azalt (%20): 10px → 8px (sol/sağ dokunulmadı) ── */
.module-products-257 .ipr-grid .product-layout {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

/* Kategori ipr-grid: panel thumb içinde kalsın, layout satırı şişirmesin */
#product-category .main-products.product-grid.ipr-grid > .product-layout,
#product-category .product-grid.ipr-grid > .product-layout {
  overflow: visible !important;
  align-self: flex-start !important;
  height: auto !important;
}

#product-category .main-products.product-grid.ipr-grid .product-thumb.oc-card-expand,
#product-category .product-grid.ipr-grid .product-thumb.oc-card-expand {
  position: relative !important;
}

#product-category .oc-card-expand .caption > .buttons-wrapper {
  margin-top: 0 !important;
}

/* Kategori sayfası — masaüstü satır aralığı 32px, anasayfa etkilenmez */
@media (min-width: 992px) {
  html:not(.phone) #product-category {
    --oc-category-row-gap: 32px;
  }

  /* auto-grid: kartlar .auto-grid-items içinde (kategori şablonu) */
  html:not(.phone) #product-category .product-grid.auto-grid .auto-grid-items > .product-layout,
  html:not(.phone) #product-category .product-grid.auto-grid .auto-grid-items > .product-item {
    margin-bottom: var(--oc-category-row-gap, 32px) !important;
  }

  /* ipr-grid: satır aralığı gap ile */
  html:not(.phone) #product-category .main-products.product-grid.ipr-grid:not(.swiper-wrapper),
  html:not(.phone) #product-category .product-grid.ipr-grid:not(.swiper-wrapper) {
    row-gap: var(--oc-category-row-gap, 32px) !important;
  }

  html:not(.phone) #product-category .product-grid.ipr-grid:not(.swiper-wrapper) > .product-layout,
  html:not(.phone) #product-category .product-grid.ipr-grid:not(.swiper-wrapper) > .product-item,
  html:not(.phone) #product-category .main-products.product-grid.ipr-grid:not(.swiper-wrapper) > .product-layout,
  html:not(.phone) #product-category .main-products.product-grid.ipr-grid:not(.swiper-wrapper) > .product-item {
    margin-bottom: 0 !important;
  }
}

/* ── Misafir (giriş yapmamış): grid kartlarda fiyat satırına kopyalanan hover badge'leri gizle ── */
.oc-guest .product-grid .oc-delivery-badges {
  display: none !important;
}

/* ── Misafir: buttons-wrapper'ı tamamen gizle; visibility:hidden yerine display:none
   kullanıyoruz ki alan rezervasyonu kalkıp boş beyaz kutu görünmesin.
   Bu kural YALNIZCA oc-guest (giriş yapmamış) kullanıcılara uygulanır;
   giriş yapmış kullanıcılarda buttons-wrapper normal çalışmaya devam eder. ── */
.oc-guest .product-grid .product-thumb .buttons-wrapper {
  display: none !important;
}

/* ================= Modern Offer Panel v3 (module-products-262) ================= */
.module-products-262 .product-list .product-layout {
  background: linear-gradient(160deg, #ffffff 0%, #f9fbff 52%, #f4f8ff 100%);
  border: 1px solid rgba(15, 84, 173, 0.12);
  border-radius: 26px;
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.09);
  padding: 22px 24px;
  overflow: hidden;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.module-products-262 .product-list .product-layout::before,
.module-products-262 .product-list .product-layout::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.module-products-262 .product-list .product-layout::before {
  top: -88px;
  right: -96px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0));
}

.module-products-262 .product-list .product-layout::after {
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.28), rgba(37, 99, 235, 0));
}

.module-products-262 .product-list .product-layout:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 84, 173, 0.22);
  box-shadow: 0 20px 52px rgba(17, 24, 39, 0.14);
}

.module-products-262 .product-list .product-thumb {
  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr) minmax(340px, 420px);
  column-gap: 26px;
}

.module-products-262 .product-list .product-thumb .image {
  border-radius: 18px;
  background: linear-gradient(180deg, #f7faff 0%, #edf3ff 100%);
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.09), 0 8px 22px rgba(15, 23, 42, 0.08);
}

.module-products-262 .product-list .product-thumb .name a {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.2px;
  color: #101828;
}

.module-products-262 .product-list .product-thumb .price {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.module-products-262 .product-list .product-thumb .price > div {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: nowrap;
}

.module-products-262 .product-list .product-thumb .price .price-new {
  font-size: 36px;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.95px;
  color: #cf1d16;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.module-products-262 .product-list .product-thumb .price .price-old {
  font-size: 17px;
  color: #8c98aa;
  margin-left: 0;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #b5becc;
  text-underline-offset: 2px;
  opacity: 0.95;
}

.module-products-262 .product-list .product-thumb .price .oc-price-insight {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.module-products-262 .product-list .product-thumb .price .oc-price-insight__badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.24);
}

.module-products-262 .product-list .product-thumb .price .oc-price-insight__save {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef8ff;
  border: 1px solid #cde7ff;
  color: #0f4c92;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.module-products-262 .product-list .product-thumb .buttons-wrapper .cart-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.module-products-262 .product-list .product-thumb .btn-cart {
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284ff 0%, #00b0ff 100%);
  box-shadow: 0 10px 22px rgba(2, 132, 255, 0.32);
  font-weight: 700;
  color: #fff !important;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.module-products-262 .product-list .product-thumb .btn-cart .btn-text {
  color: #fff !important;
}

/* Masaüstü: module-262 sepet butonu (stepper yukarıdaki ortak blokta) */
@media (min-width: 821px) {
  html:not(.phone) .module-products-262 .product-list .product-thumb .btn-cart,
  html:not(.phone) .module-products-262 .product-list .product-thumb .btn-cart::before,
  html:not(.phone) .module-products-262 .product-list .product-thumb .btn-cart em,
  html:not(.phone) .module-products-262 .product-list .product-thumb .btn-cart i,
  html:not(.phone) .module-products-262 .product-list .product-thumb .btn-cart .btn-text {
    color: #fff !important;
  }

  html:not(.phone) .module-products-262 .product-list .product-thumb .btn-cart:hover,
  html:not(.phone) .no-touchevents .module-products-262 .product-list .product-thumb .btn-cart.btn:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #0284ff 0%, #00b0ff 100%) !important;
    --background-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(2, 132, 255, 0.35);
    filter: brightness(1.02);
  }

  html:not(.phone) .module-products-262 .product-list .product-thumb .btn-cart:hover::before,
  html:not(.phone) .no-touchevents .module-products-262 .product-list .product-thumb .btn-cart.btn:hover::before,
  html:not(.phone) .module-products-262 .product-list .product-thumb .btn-cart:hover em,
  html:not(.phone) .no-touchevents .module-products-262 .product-list .product-thumb .btn-cart.btn:hover em,
  html:not(.phone) .module-products-262 .product-list .product-thumb .btn-cart:hover i,
  html:not(.phone) .module-products-262 .product-list .product-thumb .btn-cart:hover .btn-text,
  html:not(.phone) .no-touchevents .module-products-262 .product-list .product-thumb .btn-cart.btn:hover .btn-text {
    color: #fff !important;
  }
}

.module-products-262 .product-list .product-thumb > .countdown {
  position: relative !important;
  background: linear-gradient(160deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid rgba(14, 116, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  padding: 14px 12px;
  min-width: 330px;
  gap: 8px;
}

.module-products-262 .product-list .product-thumb > .countdown::before {
  content: "SÜRESİ DOLMADAN KAÇIRMA";
  position: absolute;
  top: -10px;
  left: 14px;
  height: 20px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: #0b4ea2;
  background: #eaf2ff;
  border: 1px solid rgba(11, 78, 162, 0.16);
}

.module-products-262 .product-list .product-thumb > .countdown > div {
  min-width: 68px;
  border-radius: 12px;
  padding: 11px 8px;
  background: #fff;
  border: 1px solid rgba(14, 116, 255, 0.10);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
  font-size: 38px;
  font-weight: 700;
  color: #1565c0;
}

.module-products-262 .product-list .product-thumb > .countdown > div span {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24px;
  color: #475467;
}

@media (max-width: 1100px) {
  .module-products-262 .product-list .product-thumb {
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  }

  .module-products-262 .product-list .product-thumb > .countdown {
    grid-column: 1 / -1;
    min-width: 100%;
    margin-top: 8px !important;
  }
}

@media (max-width: 820px) {
  .module-products-262 .product-list .product-layout {
    border-radius: 18px;
    padding: 14px;
  }

  .module-products-262 .product-list .product-thumb .name a {
    font-size: 17px;
  }

  .module-products-262 .product-list .product-thumb .price .price-new {
    font-size: 30px;
    letter-spacing: -0.6px;
  }

  .module-products-262 .product-list .product-thumb .price .price-old {
    font-size: 14px;
  }

  .module-products-262 .product-list .product-thumb .price .oc-price-insight {
    margin-top: 6px;
    gap: 6px;
  }

  .module-products-262 .product-list .product-thumb .price .oc-price-insight__badge,
  .module-products-262 .product-list .product-thumb .price .oc-price-insight__save {
    height: 22px;
    font-size: 10px;
    padding: 0 8px;
  }

  .module-products-262 .product-list .product-thumb > .countdown {
    border-radius: 14px;
    padding: 40px 8px 10px !important;
    gap: 6px;
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    min-width: 100% !important;
  }

  .module-products-262 .product-list .product-thumb > .countdown::before {
    content: "SÜRESİ DOLMADAN KAÇIRMA" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 32px !important;
    font-size: 11px !important;
    padding: 0 10px !important;
    border-radius: 12px 12px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .module-products-262 .product-list .product-thumb > .countdown > div {
    min-width: 58px;
    font-size: 26px;
    padding: 8px 6px;
  }
}

/* ================= Mobile rescue: Fırsat kart + slider image fit ================= */
@media (max-width: 820px) {
  /* Fırsat ürünü kartı: mobilde üst satırda resim + içerik, altta sayaç, en altta aksiyonlar */
  .module-products-262 .product-list .product-layout {
    padding: 12px !important;
    border-radius: 16px !important;
    overflow: hidden;
  }

  /* Kampanya etiketi: resim sol üst (caption strip olmasın) */
  .module-products-262 .product-list .product-thumb .image-group {
    position: relative;
    overflow: visible;
  }

  .module-products-262 .product-list .product-thumb .image-group > .product-extra-info {
    position: absolute;
    top: 0;
    left: 10px;
    right: auto;
    z-index: 12;
    width: auto;
    max-width: calc(100% - 20px);
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .module-products-262 .product-list .product-thumb .image-group > .product-extra-info .product-extra-info-badge,
  .module-products-262 .product-list .product-thumb .image-group > .product-extra-info .product-extra-info-strip {
    width: auto !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
  }

  .module-products-262 .product-list .product-thumb {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "image"
      "caption"
      "countdown countdown"
      "actions actions" !important;
    column-gap: 0 !important;
    row-gap: 10px !important;
    align-items: start !important;
  }

  .module-products-262 .product-list .product-thumb .image-group {
    grid-area: image !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    order: initial !important;
  }

  .module-products-262 .product-list .product-thumb .image {
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .module-products-262 .product-list .product-thumb .product-img > div,
  .module-products-262 .product-list .product-thumb .product-img img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 200px;
    object-fit: contain !important;
  }

  .module-products-262 .product-list .product-thumb .caption > .product-extra-info {
    display: none !important;
  }

  .module-products-262 .product-list .product-thumb .caption {
    grid-area: caption !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    order: initial !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  /* Mobil sıralama: ürün adı -> fiyat (extra-info resimde) */
  .module-products-262 .product-list .product-thumb .caption > .product-extra-info {
    display: none !important;
  }

  .module-products-262 .product-list .product-thumb .caption .name {
    order: 2 !important;
    margin: 0 !important;
  }

  .module-products-262 .product-list .product-thumb .caption .price {
    order: 3 !important;
    margin: 0 !important;
  }

  .module-products-262 .product-list .product-thumb .buttons-wrapper {
    grid-area: actions !important;
    order: initial !important;
    margin-top: 0 !important;
  }

  .module-products-262 .product-list .product-thumb > .countdown {
    grid-area: countdown !important;
    order: initial !important;
    min-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 40px 8px 10px !important;
    gap: 6px !important;
    position: relative !important;
  }

  .module-products-262 .product-list .product-thumb > .countdown::before {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 32px;
    font-size: 11px;
    letter-spacing: 0.35px;
    border-radius: 12px 12px 0 0;
  }

  /* Güvenlik: countdown yanlışlıkla caption içine taşınırsa da alta sabit kalsın */
  .module-products-262 .product-list .product-thumb .caption > .countdown {
    order: 99 !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .module-products-262 .product-list .product-thumb > .countdown > div {
    min-width: 0 !important;
    width: calc(25% - 5px) !important;
    font-size: 22px !important;
    padding: 8px 4px !important;
  }

  .module-products-262 .product-list .product-thumb > .countdown > div span {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
  }

  .module-products-262 .product-list .product-thumb .name a {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  /* Kampanyalı fiyat yerleşimi: eski fiyat yeni fiyatın altında */
  .module-products-262 .product-list .product-thumb .price > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    white-space: normal !important;
  }

  .module-products-262 .product-list .product-thumb .price .price-new {
    font-size: 37px !important;
    line-height: 0.95 !important;
  }

  .module-products-262 .product-list .product-thumb .price .price-old {
    font-size: 15px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  /* Net indirim üstte, kazanç altında ve solda */
  .module-products-262 .product-list .product-thumb .price .oc-price-insight {
    margin-top: 4px !important;
    gap: 4px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .module-products-262 .product-list .product-thumb .price .oc-price-insight__badge,
  .module-products-262 .product-list .product-thumb .price .oc-price-insight__save {
    height: 18px !important;
    font-size: 9px !important;
    padding: 0 7px !important;
    max-width: 100% !important;
  }

  .module-products-262 .product-list .product-thumb .buttons-wrapper .cart-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .module-products-262 .product-list .product-thumb .stepper {
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 34px !important;
    padding: 3px !important;
  }

  .module-products-262 .product-list .product-thumb .stepper button {
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
  }

  .module-products-262 .product-list .product-thumb .btn-cart {
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  /* 2. görseldeki alan: mobilde banner/slider görseli kesilmesin */
  [class*="module-banners_grid-"] .slide-content.slide-content-image,
  [class*="module-slider-"] .slide-content.slide-content-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  [class*="module-banners_grid-"] .slide-content.slide-content-image > img,
  [class*="module-slider-"] .slide-content.slide-content-image > img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  [class*="module-banners_grid-"] .swiper-slide .slide-link,
  [class*="module-slider-"] .swiper-slide .slide-link {
    inset: 0 !important;
  }
}

/* Telefon (≤576px): fırsat ürünü resmi kart genişliğinde */
@media (max-width: 576px) {
  .module-products-262 .product-list .product-thumb .image-group {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .module-products-262 .product-list .product-thumb .product-img img,
  .module-products-262 .product-list .product-thumb .image img {
    max-height: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 220px;
    margin: 0 !important;
    display: block !important;
    object-fit: contain !important;
  }
}

/* Module-262 mobile fallback (list sınıfı olmasa da sıra sabit kalsın) */
@media (max-width: 820px) {
  /* Module-262 mobile: disable expand-down overlay layer entirely */
  .module-products-262 .oc-card-expand,
  .module-products-262 .oc-card-expand:hover,
  .module-products-262 .oc-card-expand.oc-hovering,
  .module-products-262 .oc-card-expand.oc-expanded {
    box-shadow: none !important;
    border: 0 !important;
  }

  .module-products-262 .oc-card-expand::before,
  .module-products-262 .oc-card-expand::after {
    display: none !important;
  }

  .module-products-262 .oc-actions,
  .module-products-262 .oc-card-expand .oc-actions {
    position: static !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    z-index: auto !important;
  }

  .module-products-262 .product-thumb {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .module-products-262 .product-thumb .image-group { order: 1 !important; }
  .module-products-262 .product-thumb .caption { order: 2 !important; margin-top: 0 !important; }
  .module-products-262 .product-thumb > .countdown,
  .module-products-262 .product-thumb .countdown { order: 3 !important; }
  .module-products-262 .product-thumb .buttons-wrapper { order: 4 !important; }

  .module-products-262 .product-thumb .caption {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;
    width: 100% !important;
    padding: 0 4px !important;
  }

  .module-products-262 .product-thumb .caption > .product-extra-info {
    display: none !important;
  }

  .module-products-262 .product-thumb .caption .name {
    order: 2 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .module-products-262 .product-thumb .caption .name a {
    font-size: 18px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.2px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .module-products-262 .product-thumb .caption .price {
    order: 3 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .module-products-262 .product-thumb .caption > .countdown { order: 98 !important; }
  .module-products-262 .product-thumb .caption > .buttons-wrapper { order: 99 !important; }

  .module-products-262 .product-thumb .price > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  .module-products-262 .product-thumb .price .oc-price-insight {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    margin-top: 2px !important;
  }

  .module-products-262 .product-thumb .price .price-new {
    font-size: 36px !important;
    line-height: 0.95 !important;
  }

  .module-products-262 .product-thumb .price .price-old {
    font-size: 14px !important;
    opacity: 0.9 !important;
  }

  /* Sert düzeltme: tema absolute kuralları mobil akışı bozmasın */
  .module-products-262 .product-thumb .buttons-wrapper,
  .module-products-262 .product-thumb .buttons-wrapper .button-group,
  .module-products-262 .product-thumb .buttons-wrapper .cart-group,
  .module-products-262 .product-thumb > .countdown,
  .module-products-262 .product-thumb .caption > .countdown,
  .module-products-262 .product-thumb .caption > .buttons-wrapper {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    float: none !important;
    clear: both !important;
  }

  /* Sıra kilidi */
  .module-products-262 .product-thumb .image-group { order: 1 !important; }
  .module-products-262 .product-thumb .caption { order: 2 !important; }
  .module-products-262 .product-thumb > .countdown,
  .module-products-262 .product-thumb .caption > .countdown { order: 3 !important; }
  .module-products-262 .product-thumb .buttons-wrapper { order: 4 !important; }

  /* Alttaki iki satır full-width kalsın */
  .module-products-262 .product-thumb > .countdown,
  .module-products-262 .product-thumb .buttons-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }

  .module-products-262 .product-thumb > .countdown {
    margin-top: 4px !important;
  }

  .module-products-262 .product-thumb .caption > .countdown,
  .module-products-262 .product-thumb .caption > .buttons-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 6px !important;
  }

  .module-products-262 .product-thumb .buttons-wrapper .cart-group {
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .module-products-262 .product-thumb .stepper {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 34px !important;
  }

  .module-products-262 .product-thumb .btn-cart {
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
}

/* Final mobile list lock (module-262 only): old price right of new, gain right of net discount */
@media (max-width: 820px) {
  body .module-products-262 .product-list:not(.product-grid) .product-thumb .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
  }

  /* Fiyat satırı: HTML div/span fark etmeden yan yana */
  body .module-products-262 .product-list:not(.product-grid) .product-thumb .price > div,
  body .module-products-262 .product-list:not(.product-grid) .product-thumb .price .price-new + .price-old,
  body .module-products-262 .product-list:not(.product-grid) .product-thumb .price .price-normal + .price-old {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 8px !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
  }

  body .module-products-262 .product-list:not(.product-grid) .product-thumb .price .price-old {
    display: inline !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    vertical-align: baseline !important;
  }

  /* Net indirim + kazanç satırı: yan yana */
  body .module-products-262 .product-list:not(.product-grid) .product-thumb .price .oc-price-insight {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
}

/* ================= Tahtakale + Story strip compact layout ================= */
@media (min-width: 992px) {
  /* Tahtakale bloğu, satırdaki kardeşleri arasında dar kalsın */
  .grid-items > .grid-item.module-blocks-237 {
    flex: 0 0 320px !important;
    width: 320px !important;
    max-width: 320px !important;
    min-width: 320px !important;
  }

  /* Tahtakale bloğu içi daha kompakt */
  .grid-items > .grid-item.module-blocks-237 .block-header.block-head-text {
    min-height: 74px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
  }

  .grid-items > .grid-item.module-blocks-237 .block-header-text {
    font-size: 20px !important;
    line-height: 1.08 !important;
    letter-spacing: 0.1px;
  }

  /* Hemen yanındaki story alanı kalan tüm genişliği alsın */
  .grid-items > .grid-item.module-blocks-237 + .grid-item {
    flex: 1 1 0 !important;
    max-width: calc(100% - 332px) !important;
    min-width: 0 !important;
  }

  /* Story modülü/slider içinde görünür alanı genişlet */
  .grid-items > .grid-item.module-blocks-237 + .grid-item .module-body,
  .grid-items > .grid-item.module-blocks-237 + .grid-item .swiper-container,
  .grid-items > .grid-item.module-blocks-237 + .grid-item .swiper-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Story tarafında gereksiz alt çubuk/kontrol varsa gizle */
  .grid-items > .grid-item.module-blocks-237 + .grid-item .auto-carousel-bar,
  .grid-items > .grid-item.module-blocks-237 + .grid-item .auto-carousel-controls.auto-carousel-buttons {
    display: none !important;
  }
}

/* Remove grey wrapper bg from left Tahtakale slot (theme adds it on variant classes) */
.grid-items.single-item > .grid-item[class*="grid-module-top-4-1"],
.grid-items > .grid-item[class*="grid-module-top-4-1"],
.grid-items > .grid-item.module-blocks-237 {
  background: transparent !important;
  box-shadow: none !important;
}

.grid-items.single-item > .grid-item[class*="grid-module-top-4-1"]::before,
.grid-items > .grid-item[class*="grid-module-top-4-1"]::before,
.grid-items.single-item > .grid-item[class*="grid-module-top-4-1"]::after,
.grid-items > .grid-item[class*="grid-module-top-4-1"]::after {
  background: transparent !important;
  box-shadow: none !important;
}

/* Hide old module arrow button in left discover slot */
.grid-items > .grid-item[class*="grid-module-top-4-1"] .btn.blh {
  display: none !important;
}

/* ================= Premium discover card (left Tahtakale slot) ================= */
.tk-discover-card {
  --bg1: #ffffff;
  --bg2: #f3f8ff;
  --line: #d8e6ff;
  --title: #0f172a;
  --sub: #1d6fb5;
  --cta1: #00a2e0;
  --cta2: #0ea5e9;

  position: relative;
  display: grid;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, var(--bg1) 0%, var(--bg2) 100%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
  text-decoration: none !important;
  overflow: hidden;
  min-height: 108px;
  max-height: 124px;
  grid-template-rows: auto auto 1fr auto;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 4px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.tk-discover-card::before {
  content: "";
  position: absolute;
  top: -45px;
  right: -45px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 162, 224, 0.20), rgba(0, 162, 224, 0));
  pointer-events: none;
}

.tk-discover-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
  border-color: #c7dcff;
}

.tk-discover-card__badge {
  display: inline-flex;
  width: fit-content;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #00a2e0, #22b8ff);
  border-radius: 999px;
  padding: 3px 7px;
  margin-bottom: 2px;
}

.tk-discover-card__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0.1px;
  color: var(--title);
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tk-discover-card__subtitle {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 650;
  color: var(--sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tk-discover-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--cta1), var(--cta2));
  border-radius: 999px;
  padding: 5px 8px;
  width: fit-content;
  box-shadow: 0 4px 10px rgba(0, 162, 224, 0.28);
}

.tk-discover-card__cta::after {
  content: "›";
  font-size: 14px;
  line-height: 1;
}

/* href="#" olan linkleri tıklanamaz yap */
.tk-discover-card a[href="#"] {
  pointer-events: none;
  cursor: default;
}

/* Journal3 product-thumb override — tk-discover-card içindeki tema stillerini sıfırla */
.tk-discover-card .tk-discover-card__title,
.tk-discover-card .tk-discover-card__title a {
  font-size: 19px !important;
  line-height: 1.02 !important;
  font-weight: 800 !important;
  letter-spacing: 0.1px !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.tk-discover-card .tk-discover-card__badge {
  display: inline-flex !important;
  position: static !important;
  width: fit-content !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: linear-gradient(90deg, #00a2e0, #22b8ff) !important;
  border-radius: 999px !important;
  padding: 3px 7px !important;
  margin: 0 0 2px 0 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
}

.tk-discover-card .tk-discover-card__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: linear-gradient(90deg, #00a2e0, #0ea5e9) !important;
  border-radius: 999px !important;
  padding: 5px 8px !important;
  width: fit-content !important;
  max-width: fit-content !important;
  box-shadow: 0 4px 10px rgba(0, 162, 224, 0.28) !important;
  margin: 0 !important;
  border: none !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .tk-discover-card .tk-discover-card__title,
  .tk-discover-card .tk-discover-card__title a {
    font-size: 14px !important;
    line-height: 1.08 !important;
  }
  .tk-discover-card .tk-discover-card__cta {
    font-size: 9px !important;
    padding: 4px 7px !important;
  }
}

@media (max-width: 768px) {
  .tk-discover-card {
    padding: 9px 9px 8px;
    border-radius: 12px;
    min-height: 98px;
    max-height: 112px;
  }

  .tk-discover-card__title {
    font-size: 14px;
    line-height: 1.08;
  }

  .tk-discover-card__subtitle {
    font-size: 9px;
  }

  .tk-discover-card__cta {
    font-size: 9px;
    padding: 4px 7px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Footer unified card  .hk-csc  — clean 1200px modern redesign
═══════════════════════════════════════════════════════════════ */

/* Halve footer's default top padding so the card sits closer to page content */
footer {
  padding-top: 0 !important;
}
footer > *:first-child,
footer .grid-cols-wrapper:first-child,
footer .grid-row:first-child {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ── Card wrapper ────────────────────────────────────────────── */
footer .hk-csc {
  display: flex;
  flex-direction: column;
  width: calc(100% - 32px);
  max-width: 1160px;
  margin: 14px auto 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  /* Ensure card sits above any remaining original footer modules */
  position: relative !important;
  z-index: 10 !important;
}

/* ── Panel base ──────────────────────────────────────────────── */
footer .hk-csc__panel {
  padding: 18px 24px;
}
footer .hk-csc__left  { background: #f7f9fe; }
footer .hk-csc__right { background: #ffffff; }

/* ── Section label ───────────────────────────────────────────── */
footer .hk-csc__head-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
footer .hk-csc__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  flex-shrink: 0;
}
footer .hk-csc__head {
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  margin: 0 !important; padding: 0 !important; border: none !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ── 3 contact boxes side-by-side ───────────────────────────── */
footer .hk-csc__contact-items {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: stretch;
}

/* ── Each box: border acts as frame, label sits ON the border ── */
footer .hk-csc__box,
footer a.hk-csc__box {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch !important;
  /* Force block-level so <a> fills the full flex cell */
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;
  background: #ffffff;
  padding: 16px 14px 12px;
  transition: border-color 200ms, background 200ms, transform 200ms, box-shadow 200ms;
  cursor: pointer;
}

/* Full hit-area fix: ::before fills the entire visual box so hover fires
   anywhere inside the border, not just over inline content */
footer .hk-csc__box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 11px;
  z-index: 0;
}

/* CSS :hover + .hk-hover class (set by elementsFromPoint tracker in JS).
   Both routes used so hover works regardless of z-index / stacking issues. */
footer .hk-csc__box:hover,
footer .hk-csc__box.hk-hover {
  border-color: #3b82f6 !important;
  background: #f0f7ff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(59,130,246,0.13) !important;
}
footer .hk-csc__box:hover .hk-csc__box-label,
footer .hk-csc__box.hk-hover .hk-csc__box-label {
  background: #f0f7ff !important;
  color: #2563eb !important;
}
footer .hk-csc__box:hover .hk-csc__ico,
footer .hk-csc__box.hk-hover .hk-csc__ico {
  background: #3b82f6 !important;
  transform: scale(1.1) !important;
}
footer .hk-csc__box:hover .hk-csc__ico svg,
footer .hk-csc__box.hk-hover .hk-csc__ico svg {
  stroke: #fff !important;
}
footer .hk-csc__box:hover .hk-csc__prim,
footer .hk-csc__box.hk-hover .hk-csc__prim {
  color: #2563eb !important;
}

/* ── Floating label on the border (legend style) ────────────── */
footer .hk-csc__box-label {
  position: absolute;
  top: 0;
  left: 12px;
  transform: translateY(-50%);
  background: #f7f9fe;              /* matches .hk-csc__left panel bg */
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #3b82f6;
  white-space: nowrap;
  line-height: 1;
  transition: background 200ms, color 200ms;
  pointer-events: none;
  z-index: 2;
}

/* ── Box is now the <a>, handle link resets here ────────────── */
footer .hk-csc__box {
  text-decoration: none !important;
  color: inherit !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}
footer .hk-csc__box:hover,
footer .hk-csc__box:focus,
footer .hk-csc__box:active {
  text-decoration: none !important;
  color: inherit !important;
}

/* ── Inner row (span, no border — box carries it) ────────────── */
footer .hk-csc__row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  flex: 1 !important;
  position: relative;
  z-index: 1;
}

/* ── Icon bubble ─────────────────────────────────────────────── */
footer .hk-csc__ico {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms, transform 200ms;
}
footer .hk-csc__ico svg {
  width: 15px; height: 15px;
  stroke: #3b82f6;
  transition: stroke 200ms;
}
/* icon hover set by JS */

/* ── Text ────────────────────────────────────────────────────── */
footer .hk-csc__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }

footer .hk-csc__prim {
  font-size: 13px; font-weight: 600; color: #1e293b;
  line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 200ms;
}
footer .hk-csc__prim--wrap {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}
/* prim color hover set by JS */

footer .hk-csc__sec {
  font-size: 11px; color: #94a3b8; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Divider ─────────────────────────────────────────────────── */
footer .hk-csc__sep {
  background: rgba(15, 23, 42, 0.07);
  flex-shrink: 0;
  height: 1px; margin: 0 24px;   /* horizontal on mobile */
}

/* ── Social panel ────────────────────────────────────────────── */
footer .hk-csc__socials {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
footer .hk-csc__social-ico {
  display: inline-flex !important;
  align-items: center !important; justify-content: center !important;
  width: 44px !important; height: 44px !important; min-width: 44px !important;
  border-radius: 12px !important; overflow: hidden !important;
  text-decoration: none !important; font-size: 0 !important; color: transparent !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
  transition: transform 220ms cubic-bezier(.34,1.56,.64,1), box-shadow 220ms ease !important;
  will-change: transform;
  background-size: cover !important; background-position: center !important;
  background-repeat: no-repeat !important;
}
footer .hk-csc__social-ico:hover {
  transform: translateY(-4px) scale(1.10) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,0.20) !important;
}
footer .hk-csc__social-ico img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block !important;
}

/* ── Desktop (≥ 768px): row layout ──────────────────────────── */
@media (min-width: 768px) {
  footer .hk-csc {
    flex-direction: row;
    align-items: stretch;
  }
  footer .hk-csc__left  { flex: 1;          padding: 18px 24px; }
  footer .hk-csc__right { flex: 0 0 220px;  padding: 18px 24px; display: flex; flex-direction: column; justify-content: center; }
  footer .hk-csc__sep   { width: 1px; height: auto; margin: 18px 0; }
}

/* ── Mobile: stack ───────────────────────────────────────────── */
@media (max-width: 767px) {
  footer .hk-csc { width: calc(100% - 24px); }
  footer .hk-csc__contact-items { flex-direction: column; }
  footer .hk-csc__row { flex: none; }
}

/* ── Arama sayfası: tüm hover efektleri ve qty/Sepete Ekle tamamen kapalı ── */
/* Üç yöntem birlikte:
   1. #product-search          → standart OpenCart arama sayfası wrapper'ı
   2. html.route-product-search → Journal3'ün <html> elementine eklediği route class'ı
   3. .oc-search-page          → JS fallback class */

/* product-layout/item ve thumb üzerinde transition sıfırla + hover dondur */
#product-search .product-layout .product-thumb,
#product-search .product-item .product-thumb,
html.route-product-search .product-layout .product-thumb,
html.route-product-search .product-item .product-thumb,
.oc-search-page .product-layout .product-thumb,
.oc-search-page .product-item .product-thumb {
  transition: none !important;
}

#product-search .product-layout:hover .product-thumb,
#product-search .product-item:hover .product-thumb,
#product-search .product-layout .product-thumb:hover,
html.route-product-search .product-layout:hover .product-thumb,
html.route-product-search .product-item:hover .product-thumb,
html.route-product-search .product-layout .product-thumb:hover,
.oc-search-page .product-layout:hover .product-thumb,
.oc-search-page .product-item:hover .product-thumb,
.oc-search-page .product-layout .product-thumb:hover {
  /* inherit yerine explicit 0/none — Journal3'ün !important hover stilini de geçer */
  border-width: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
}

/* product-layout hover efektlerini de kapat */
#product-search .product-layout:hover,
#product-search .product-item:hover,
html.route-product-search .product-layout:hover,
html.route-product-search .product-item:hover,
.oc-search-page .product-layout:hover,
.oc-search-page .product-item:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* oc-card-expand hover genişlemesini kapat */
#product-search .oc-card-expand:hover,
#product-search .oc-card-expand.oc-hovering,
#product-search .oc-card-expand.oc-expanded,
html.route-product-search .oc-card-expand:hover,
html.route-product-search .oc-card-expand.oc-hovering,
html.route-product-search .oc-card-expand.oc-expanded,
.oc-search-page .oc-card-expand:hover,
.oc-search-page .oc-card-expand.oc-hovering,
.oc-search-page .oc-card-expand.oc-expanded {
  z-index: auto !important;
  box-shadow: none !important;
  transform: none !important;
  background: transparent !important;
  border: none !important;
}

#product-search .oc-card-expand:hover::before,
#product-search .oc-card-expand:hover::after,
#product-search .oc-card-expand.oc-hovering::before,
#product-search .oc-card-expand.oc-hovering::after,
#product-search .oc-card-expand.oc-expanded::before,
#product-search .oc-card-expand.oc-expanded::after,
html.route-product-search .oc-card-expand:hover::before,
html.route-product-search .oc-card-expand:hover::after,
html.route-product-search .oc-card-expand.oc-hovering::before,
html.route-product-search .oc-card-expand.oc-hovering::after,
html.route-product-search .oc-card-expand.oc-expanded::before,
html.route-product-search .oc-card-expand.oc-expanded::after,
.oc-search-page .oc-card-expand:hover::before,
.oc-search-page .oc-card-expand:hover::after,
.oc-search-page .oc-card-expand.oc-hovering::before,
.oc-search-page .oc-card-expand.oc-hovering::after,
.oc-search-page .oc-card-expand.oc-expanded::before,
.oc-search-page .oc-card-expand.oc-expanded::after {
  display: none !important;
}

/* qty, sepete ekle ve tüm aksiyon alanını gizle */
#product-search .oc-actions,
#product-search .product-grid .buttons-wrapper,
#product-search .product-grid .button-group,
#product-search .product-grid .cart-group,
#product-search .product-grid .stepper,
html.route-product-search .oc-actions,
html.route-product-search .product-grid .buttons-wrapper,
html.route-product-search .product-grid .button-group,
html.route-product-search .product-grid .cart-group,
html.route-product-search .product-grid .stepper,
.oc-search-page .oc-actions,
.oc-search-page .product-grid .buttons-wrapper,
.oc-search-page .product-grid .button-group,
.oc-search-page .product-grid .cart-group,
.oc-search-page .product-grid .stepper {
  display: none !important;
}

/* ================================================================
   Sepet + menü çekmecesi + özel giriş offcanvas (#demo) — arka plan flu
   Blur yalnızca .global-wrapper içinde; çekmece panelleri body'de olduğu için net kalır.
   ================================================================ */
html.mobile-cart-content-container-open.mobile-overlay :is(.global-wrapper, .notice-module, [class*="module-header_notice"]),
html.mobile-main-menu-container-open.mobile-overlay :is(.global-wrapper, .notice-module, [class*="module-header_notice"]),
html.desktop-mobile-main-menu-container-open.mobile-overlay :is(.global-wrapper, .notice-module, [class*="module-header_notice"]),
html.account-offcanvas-open :is(.global-wrapper, .notice-module, [class*="module-header_notice"]) {
  filter: blur(var(--fb-overlay-blur));
  transition: filter 0.2s ease-out;
}

html.mobile-cart-content-container-open.mobile-overlay .site-wrapper::before,
html.mobile-main-menu-container-open.mobile-overlay .site-wrapper::before,
html.desktop-mobile-main-menu-container-open.mobile-overlay .site-wrapper::before {
  content: "";
  position: fixed;
  z-index: 49999;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  background: var(--fb-overlay-dim) !important;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}

html.mobile-cart-content-container-open .mobile-cart-content-container,
html.mobile-main-menu-container-open .mobile-main-menu-container,
html.desktop-mobile-main-menu-container-open .desktop-mobile-main-menu-container {
  filter: none !important;
}

/* Bootstrap offcanvas — Bayi Girişi (#demo), sağdan açılan özel panel */
html.account-offcanvas-open .offcanvas-backdrop.show,
body:has(#demo.offcanvas.show) .offcanvas-backdrop.show {
  background-color: var(--fb-overlay-dim) !important;
  opacity: 1 !important;
  backdrop-filter: blur(var(--fb-overlay-blur));
  -webkit-backdrop-filter: blur(var(--fb-overlay-blur));
}

@media (max-width: 767px) {
  .product-layout.has-extra-button {
    overflow: visible !important;
  }
  .customer-logged-out .product-thumb.oc-imgstrip-card .caption .guest-price-lock {
    display: block !important;
    margin-bottom: 8px !important;
  }
  #fbSupportWidget,
  .fb-support-widget {
    bottom: 200px !important;
  }
}

