:root {
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --red: #d0021b;
  --gray: #f5f5f7;
  --border: #e5e5e5;
  --muted: #86868b;
  --radius: 12px;
  --header-h: 64px;
  --nav-h: 46px;
  --header-total: 110px;
  --topbar-h: 36px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--black);
  color: #fff;
  height: var(--topbar-h);
  font-size: 12.5px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.topbar-country {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 12.5px;
  padding: 4px 6px;
  border-radius: 4px;
}
.topbar-country:hover { background: rgba(255,255,255,.12); }
.topbar-country img { width: 18px; height: 12px; object-fit: cover; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { opacity: .85; }
.topbar-links a:hover { opacity: 1; }
.topbar-admin { border: 1px solid rgba(255,255,255,.35); padding: 2px 8px; border-radius: 20px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.top-text-link {
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.top-text-link:hover { background: var(--gray); }
.top-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 600;
}
.top-chip:hover { border-color: var(--black); }
.top-chip img { width: 18px; height: 12px; object-fit: cover; }
.nav-row { display: flex; align-items: center; height: var(--nav-h); border-top: 1px solid var(--border); }
.nav-row .container { display: flex; width: 100%; }
.logo img { height: 26px; width: auto; }

.nav-list { display: flex; list-style: none; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 6px;
}
.nav-link:hover { background: var(--gray); }
.badge-deal {
  font-style: normal;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}
.chev { transition: transform .2s; }
.nav-item:hover .chev { transform: rotate(180deg); }

.header-top-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  position: relative;
  background: transparent;
  border: none;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--black);
}
.icon-btn:hover { background: var(--gray); }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.hamburger { display: none; background: none; border: none; flex-direction: column; gap: 4px; padding: 8px; }
.hamburger span { width: 20px; height: 2px; background: var(--black); display: block; }

/* ---------- Mega menu ---------- */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
  max-height: calc(100vh - var(--header-total) - 12px);
  overflow-y: auto;
}
.header.show-mega #megaMenu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
  padding: 28px 0 34px;
}
.mega-col h5 { font-size: 14px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--black); display: inline-block; }
.mega-col a {
  display: block;
  font-size: 13px;
  color: #444;
  padding: 3.5px 0;
}
.mega-col a:hover { color: var(--black); text-decoration: underline; }
.mega-col .tag { color: var(--red); font-size: 10px; font-weight: 700; margin-left: 4px; font-style: normal; }
.mega-col .mega-more { margin-top: 8px; font-weight: 600; color: var(--black); }

/* ---------- Drop panels (Destek / Program) ---------- */
.drop-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
}
.header.show-support #supportPanel { opacity: 1; visibility: visible; transform: translateY(0); }
.header.show-program #programPanel { opacity: 1; visibility: visible; transform: translateY(0); }
.support-grid { display: flex; gap: 40px; padding: 20px 20px 24px; }
.support-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; width: 130px; text-align: center; }
.support-tile img { width: 56px; height: 56px; object-fit: contain; }
.support-tile:hover span { text-decoration: underline; }
.program-list { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; max-width: 280px; margin: 0; }
.program-list a { font-size: 14px; padding: 6px 8px; border-radius: 6px; }
.program-list a:hover { background: var(--gray); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 0 30% 0 0;
  min-width: 300px;
  background: #fff;
  z-index: 400;
  transform: translateX(-105%);
  transition: .25s;
  overflow-y: auto;
  box-shadow: 10px 0 30px rgba(0,0,0,.15);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); }
.mobile-nav-head img { height: 22px; }
.mobile-nav-head button { background: none; border: none; font-size: 18px; }
.mobile-nav-list { padding: 10px 0; }
.mobile-group > a, .mobile-group > .group-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 500;
  background: none;
  border: none;
  text-align: left;
}
.mobile-sub { display: none; padding: 4px 0 10px; background: var(--gray); }
.mobile-sub a { display: block; padding: 8px 18px 8px 28px; font-size: 14px; color: #333; }
.mobile-sub .sub-title { font-weight: 600; color: var(--black); }

/* ---------- Hero ---------- */
.hero img { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 46px 0 40px; }
.section-promo {
  background: linear-gradient(135deg, #1a1a1a 0%, #3a0d0d 100%);
  color: #fff;
}
.section-new { background: #fff; }
.section-title { font-size: 26px; font-weight: 700; text-align: center; margin-bottom: 26px; letter-spacing: .3px; }

.carousel-wrap { position: relative; }
.product-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.product-row::-webkit-scrollbar { display: none; }
.car-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--black);
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  z-index: 5;
}
.car-btn.prev { left: -14px; }
.car-btn.next { right: -14px; }
.car-btn:hover { background: var(--gray); }

/* ---------- Product card ---------- */
.card {
  flex: 0 0 232px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--black);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.card-img {
  position: relative;
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.card-img img { max-height: 100%; object-fit: contain; }
.card-img > a {
  width: 100%;
  height: 100%;
  margin: -14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 44px;
  pointer-events: none;
}
.card-body { padding: 12px 14px 16px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 15px; font-weight: 600; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title:hover { text-decoration: underline; }
.card-prices { margin: 8px 0 12px; display: flex; justify-content: center; align-items: baseline; gap: 8px; }
.price-now { font-size: 17px; font-weight: 700; }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.card-actions { margin-top: auto; display: flex; gap: 8px; }
.btn-add {
  flex: 1;
  background: #fff;
  color: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 4px;
  padding: 9px 6px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.btn-add:hover { background: var(--black); color: #fff; }
.btn-buy {
  flex: 1;
  background: var(--black);
  color: #fff;
  border: 1.5px solid var(--black);
  border-radius: 4px;
  padding: 9px 6px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .15s;
}
.btn-buy:hover { background: #333; }

/* ---------- Category pills ---------- */
.cat-pills-wrap {
  position: sticky;
  top: calc(var(--header-total) - 2px);
  z-index: 150;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.cat-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  padding: 9px 18px;
  border: 1.5px solid var(--black);
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 600;
  background: #fff;
  transition: .15s;
  line-height: 1.25;
  text-align: center;
}
.cat-pill:hover, .cat-pill.active { background: var(--black); color: #fff; }

/* ---------- Category sections ---------- */
.cat-section { padding: 48px 0 30px; scroll-margin-top: calc(var(--header-total) + 16px); }
.cat-section:nth-child(even) { background: var(--gray); }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.cat-head h2 { font-size: 24px; font-weight: 700; }
.more-link { font-size: 14px; font-weight: 600; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-grid .card { flex: none; }

/* ---------- Trust ---------- */
.trust { padding: 50px 0 60px; background: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: .15s;
}
.trust-item:hover { background: #ececee; }
.trust-item img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.trust-item span { font-size: 14px; font-weight: 600; line-height: 1.35; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #cfcfcf; padding: 54px 0 28px; font-size: 13.5px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid #2a2a2a;
}
.footer-logo { height: 24px; width: auto; margin-bottom: 18px; }
.footer-contact p { margin-bottom: 9px; }
.footer-contact strong { color: #fff; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-apps { display: flex; gap: 10px; margin-top: 14px; }
.footer-apps img { height: 36px; width: auto; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; padding: 4.5px 0; color: #cfcfcf; }
.footer-col a:hover { color: #fff; }
.news-text { margin-bottom: 12px; line-height: 1.55; }
#newsForm { display: flex; gap: 8px; }
#newsForm input {
  flex: 1;
  background: #161616;
  border: 1px solid #333;
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
}
#newsForm input:focus { border-color: #666; }
#newsForm button {
  background: #fff;
  color: var(--black);
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13px;
}
#newsForm button:hover { background: var(--gray); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.footer-social a:hover { background: #222; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 20px 0 6px;
  font-size: 12.5px;
}
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12.5px; color: #9a9a9a; }
.payments { height: 26px; width: auto; }

/* ---------- Cart drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  z-index: 300;
}
.drawer-backdrop.show { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 92vw;
  background: #fff;
  z-index: 350;
  transform: translateX(105%);
  transition: .25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-head h3 { font-size: 18px; }
.cart-head button { background: none; border: none; font-size: 18px; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 0; }
.cart-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 74px; height: 74px; object-fit: contain; background: var(--gray); border-radius: 8px; padding: 6px; }
.ci-info { flex: 1; }
.ci-title { font-size: 14px; font-weight: 600; }
.ci-price { font-size: 14px; font-weight: 700; margin-top: 2px; }
.ci-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty-ctrl { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.qty-ctrl button { width: 28px; height: 28px; border: none; background: #fff; font-size: 15px; }
.qty-ctrl button:hover { background: var(--gray); }
.qty-ctrl span { min-width: 28px; text-align: center; font-size: 13px; font-weight: 600; }
.ci-remove { background: none; border: none; color: var(--muted); font-size: 12.5px; text-decoration: underline; }
.ci-remove:hover { color: var(--red); }
.cart-foot { border-top: 1px solid var(--border); padding: 16px 20px 20px; }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.btn-primary {
  width: 100%;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 26px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
}
.btn-primary:hover { background: #333; }
.btn-ghost {
  width: 100%;
  background: #fff;
  color: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 26px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}
.btn-ghost:hover { background: var(--gray); }
.checkout-form label { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 4px; }
.checkout-form input, .checkout-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--black); }
.order-success { text-align: center; padding: 40px 0; }
.order-success .ok-ico { width: 62px; height: 62px; border-radius: 50%; background: #e8f7ec; color: #1e9e4a; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.order-success h4 { font-size: 18px; margin-bottom: 6px; }
.order-success p { color: var(--muted); font-size: 14px; }

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 16px 16px;
}
.modal.show { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 560px;
  padding: 26px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 18px;
}
.search-box { max-width: 680px; }
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--black);
  border-radius: 26px;
  padding: 10px 16px;
}
.search-input-wrap input { border: none; outline: none; flex: 1; font-size: 15px; }
.search-results { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.sr-item:hover { background: var(--gray); }
.sr-item img { width: 58px; height: 58px; object-fit: contain; background: var(--gray); border-radius: 8px; padding: 4px; }
.sr-item .sr-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.sr-item .sr-price { font-size: 13px; color: var(--muted); margin-top: 2px; }
.country-box { max-width: 720px; }
.country-box h3 { margin-bottom: 16px; font-size: 18px; }
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.country-group { display: contents; }
.country-group h5 {
  grid-column: 1 / -1;
  margin: 14px 0 2px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.country-group:first-child h5 { margin-top: 0; }
.country-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
}
.country-item:hover { background: var(--gray); }
.country-item img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; }

/* ---------- Kampanya bar + popup ---------- */
body.deal-on { --header-total: 152px; }
.deal-bar {
  display: none;
  height: 40px;
  background: var(--black);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
}
.deal-bar.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.deal-sep { margin: 0 10px; opacity: .5; }
.deal-timer {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border-radius: 14px;
  padding: 2px 12px;
  margin-left: 8px;
  font-variant-numeric: tabular-nums;
  min-width: 58px;
}
.deal-box { max-width: 460px; text-align: center; padding: 38px 32px; }
.deal-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.deal-title { font-size: 21px; margin: 0 0 10px; }
.deal-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
.btn-deal {
  width: 100%;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
}
.btn-deal:hover { background: #333; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black);
  color: #fff;
  padding: 12px 22px;
  border-radius: 26px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: .25s;
  z-index: 600;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ---------- Product detail ---------- */
.pdp { min-height: 50vh; }
.breadcrumb { font-size: 13px; color: var(--muted); padding: 18px 0 6px; }
.breadcrumb a:hover { text-decoration: underline; color: var(--black); }
.pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  padding: 14px 0 30px;
}
.pdp-left {
  position: sticky;
  top: calc(var(--header-total) + 16px);
  align-self: start;
}
.pdp-img {
  background: var(--gray);
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pdp-thumb {
  width: 66px;
  height: 66px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--black); }
.card-img img { transition: opacity .25s; }
.card-img .card-img-alt {
  position: absolute;
  inset: 0;
  margin: auto;
  max-height: calc(100% - 28px);
  padding: 14px;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.card:hover .card-img-alt { opacity: 1; }
.pdp-img > img:last-child { max-height: 100%; object-fit: contain; }
.pdp-info h1 { font-size: 28px; margin: 6px 0 6px; }
.pdp-reviews { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.pdp-reviews .stars { letter-spacing: 2px; font-size: 15px; }
.pdp-reviews .star { color: #d8d8dc; }
.pdp-reviews .star.on { color: #f5a623; }
.pdp-reviews:hover { color: var(--black); }
.pdp-highlights { list-style: none; margin: 2px 0 16px; display: grid; gap: 7px; }
.pdp-highlights li { position: relative; padding-left: 26px; font-size: 14px; font-weight: 600; }
.pdp-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.acc-section { padding: 30px 0 4px; }
.acc-section h2 { font-size: 21px; margin-bottom: 16px; }
.acc-list { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; }
.acc-row { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--border); align-items: flex-start; }
.acc-row:last-child { border-bottom: none; }
.acc-row.selected { background: #fafafa; }
.acc-check {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  color: transparent;
  flex: none;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.acc-row.selected .acc-check { background: var(--black); border-color: var(--black); color: #fff; }
.acc-thumb { width: 64px; height: 64px; object-fit: contain; background: var(--gray); border-radius: 10px; padding: 4px; flex: none; }
.acc-info { flex: 1; min-width: 0; }
.acc-title { font-size: 14px; font-weight: 600; }
.acc-variant { font-size: 12px; color: var(--muted); margin-top: 2px; }
.acc-price { font-size: 15px; font-weight: 700; margin-top: 4px; }
.acc-detail-toggle { background: none; border: none; font-size: 12.5px; color: var(--muted); text-decoration: underline; padding: 6px 0 0; }
.acc-detail {
  display: none;
  font-size: 12.5px;
  color: #555;
  line-height: 1.6;
  background: var(--gray);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 8px;
  max-height: 190px;
  overflow-y: auto;
  white-space: pre-line;
}
.acc-detail.open { display: block; }
.acc-qty { flex: none; margin-top: 24px; }
.acc-summary { border: 1.5px solid var(--black); border-radius: 14px; padding: 18px; margin-top: 18px; background: #fff; }
.acc-summary-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.acc-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.acc-chip { display: flex; align-items: center; gap: 8px; background: var(--gray); border-radius: 10px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; }
.acc-chip img { width: 34px; height: 34px; object-fit: contain; }
.acc-chip .chip-price { color: var(--muted); font-weight: 500; }
.acc-plus { font-weight: 800; color: var(--muted); }
.acc-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.acc-total-row strong { font-size: 21px; }
.acc-note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.acc-row.acc-hidden { display: none; }
.acc-more-wrap { display: flex; justify-content: center; margin-top: 14px; }
.acc-more {
  background: #fff;
  color: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 4px;
  padding: 10px 28px;
  font-size: 13.5px;
  font-weight: 600;
}
.acc-more:hover { background: var(--black); color: #fff; }
.pdp-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 30px 0 6px; }
.pdp-trust .perk { justify-content: center; font-size: 14px; }
.pdp-cat { font-size: 12.5px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .6px; }
.pdp-prices { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 4px; flex-wrap: wrap; }
.pdp-price { font-size: 30px; font-weight: 800; }
.pdp-old { font-size: 18px; color: var(--muted); text-decoration: line-through; }
.pdp-disc { background: #f0f0f2; color: var(--black); font-size: 12.5px; font-weight: 800; padding: 3px 9px; border-radius: 14px; }
.pdp-kargo { font-size: 13.5px; color: var(--green); font-weight: 600; margin-bottom: 6px; }
.pdp-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 20px; }
.perk {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--gray);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}
.perk svg { flex: none; color: var(--black); }
.pdp-qty-row { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.pdp-qty { display: flex; align-items: center; border: 1.5px solid var(--black); border-radius: 28px; overflow: hidden; }
.pdp-qty button { width: 44px; height: 44px; border: none; background: #fff; font-size: 18px; }
.pdp-qty button:hover { background: var(--gray); }
.pdp-qty span { min-width: 40px; text-align: center; font-weight: 700; }
.pdp-actions { display: flex; gap: 12px; }
.btn-pdp-cart {
  flex: 1;
  background: #fff;
  color: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 4px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}
.btn-pdp-cart:hover { background: var(--black); color: #fff; }
.btn-pdp-buy {
  flex: 1;
  background: var(--black);
  color: #fff;
  border: 1.5px solid var(--black);
  border-radius: 4px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}
.btn-pdp-buy:hover { background: #333; }
.pdp-pay { margin-top: 18px; height: 24px; width: auto; opacity: .85; }
.pdp-desc { padding: 8px 0 26px; max-width: 780px; }
.pdp-desc h2 { font-size: 20px; margin-bottom: 12px; }
.pdp-desc-body { color: #333; font-size: 14.5px; line-height: 1.7; }
.pdp-desc-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 12px 0; }
.pdp-desc-body ul, .pdp-desc-body ol { padding-left: 20px; margin: 10px 0; }
.pdp-desc-body p { margin: 10px 0; }
.pdp-desc-body h1, .pdp-desc-body h2, .pdp-desc-body h3, .pdp-desc-body h4 { font-size: 17px; margin: 18px 0 8px; color: var(--black); }
.pdp-desc-body table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.pdp-desc-body td, .pdp-desc-body th { border: 1px solid var(--border); padding: 8px; font-size: 13px; text-align: left; }
.pdp-desc-body strong { color: var(--black); }
.pdp-desc-body ul { padding-left: 18px; color: #333; display: block; }
.pdp-related { padding: 6px 0 54px; }
.pdp-related .section-title { text-align: left; }
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 22px; }
  .pdp-img { position: static; }
  .pdp-actions { flex-direction: column; }
  .pdp-info h1 { font-size: 22px; }
  .pdp-trust { grid-template-columns: 1fr 1fr; }
  .acc-row { flex-wrap: wrap; }
  .acc-check { margin-top: 4px; }
  .acc-qty { margin-top: 4px; }
  .acc-thumb { width: 54px; height: 54px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .mega-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-total: 65px; }
  body.deal-on { --header-total: 105px; }
  .nav-row { display: none; }
  .hamburger { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .card { flex-basis: 200px; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .section-title { font-size: 21px; }
  .cat-head h2 { font-size: 20px; }
}
@media (max-width: 520px) {
  .deal-bar.show { height: auto; min-height: 40px; flex-wrap: wrap; padding: 8px 12px; }
  .deal-sep { display: none; }
  .deal-bar { font-size: 13px; gap: 4px; }
  .top-text-link { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .search-results { grid-template-columns: 1fr; }
}
