/* Ürün detay: seçili küçük görsel vurgusu (galeri, renk varyantı değil) */
.productImageColors .productColor.active img { border: 2px solid var(--cta, #a27f2d); }
#urunResimListContainer li.active img { border: 2px solid var(--cta, #a27f2d); }

/* Fırsat rozeti (indirimli ürün): sağ üst köşe, tüm ürün kartlarında (mağaza/kategori/anasayfa) */
.firsat-badge {
  position: absolute; top: 8px; right: 8px; width: 56px; height: 56px;
  background: url('/img/real/firsat.png') no-repeat center / contain;
  z-index: 3; pointer-events: none; opacity: .96;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
}
@media (max-width: 992px) { .firsat-badge { width: 48px; height: 48px; top: 6px; right: 6px; } }
@media (max-width: 576px) { .firsat-badge { width: 40px; height: 40px; top: 5px; right: 5px; } }

/* Mağaza / kategori sayfası: breadcrumb + sonuç sayısı (referans /shop/ sayfasından esinlenildi) */
.rx-shop-breadcrumb { font-size: 13px; color: #888; margin: 18px 0 6px; }
.rx-shop-breadcrumb a { color: #888; }
.rx-shop-breadcrumb a:hover { color: var(--brand, #035f3d); }
.rx-shop-breadcrumb span { color: #222; font-weight: 600; }
.rx-shop-count { font-size: 13px; color: #777; margin: 0; }

.rx-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; margin: 4px 0 18px; padding-bottom: 14px; border-bottom: 1px solid #eee;
}
.rx-shop-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.rx-filter-select {
  border: 1px solid #ddd; border-radius: 4px; padding: 8px 12px; font-size: 13px;
  color: #333; background: #fff; cursor: pointer;
}
.rx-filter-select:hover { border-color: var(--brand, #035f3d); }

/* Referans sitenin gövde fontu: Montserrat (Google Fonts, serbest kullanım) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

*:not(.fa):not([class*=" fa-"]):not([class^="fa-"]):not(i) {
  font-family: 'Montserrat', system-ui, Arial, sans-serif !important;
}

/* Saat Dünyası marka renkleri: beyaz/siyah zemin + #035f3d vurgu, #a27f2d sepet CTA */
:root { --brand: #035f3d; --brand-dark: #024a30; --cta: #a27f2d; --cta-dark: #8a6b24; }

/* WhatsApp yüzen buton: temiz yeşil daire, temanın bozuk gradient hilesi yerine */
.whatsapp-call {
  position: fixed; bottom: 24px; left: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  box-shadow: 0 4px 16px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center;
}
.whatsapp-call a { font-size: 28px !important; display: flex !important; align-items: center; justify-content: center; width: 100%; height: 100%; }
.whatsapp-call i { background: none !important; color: #fff !important; font-size: 28px; }

/* ---- Header: tek satır navbar — logo | ara | kategori▾ + düz linkler | sepet + para birimi ---- */
.rx-header-row { padding: 0 !important; border-bottom: 1px solid #eee; min-height: 0 !important; }
.rx-navbar {
  display: flex; align-items: center; gap: 22px; padding: 8px 20px !important; min-height: 0 !important;
  max-width: 1400px; margin: 0 auto; width: 100%;
}

.rx-logo-col { line-height: 0; flex-shrink: 0; }
.rx-logo-col img { max-width: 280px !important; width: auto !important; height: auto !important; max-height: 86px !important; object-fit: contain; display: block; }

.rx-search-icon {
  font-size: 15px; color: #444; width: auto; height: auto; border: none;
  background: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rx-search-icon:hover { color: var(--brand); }

/* Arama: sayfa yerinde kalır, üstüne yarı saydam karartma + ortada input+buton kutusu */
.rx-search-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9998;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.rx-search-overlay.active { display: flex; }
.rx-search-close {
  position: fixed; top: 24px; right: 30px; background: none; border: none;
  color: #fff; font-size: 24px; cursor: pointer; opacity: .85; z-index: 9999;
}
.rx-search-close:hover { opacity: 1; }
.rx-search-form {
  display: flex; align-items: stretch; width: 100%; max-width: 780px;
}
.rx-search-input {
  flex: 1; background: rgba(255,255,255,.18); border: none; outline: none; color: #fff;
  font-size: 20px; font-weight: 500; padding: 20px 24px; border-radius: 0;
}
.rx-search-input::placeholder { color: rgba(255,255,255,.75); }
.rx-search-submit {
  background: var(--cta); border: none; color: #fff; font-size: 20px; cursor: pointer;
  padding: 0 28px; flex-shrink: 0;
}
.rx-search-submit:hover { background: var(--cta-dark); }
@media (max-width: 600px) {
  .rx-search-input { font-size: 16px; padding: 16px 18px; }
  .rx-search-close { top: 16px; right: 16px; font-size: 22px; }
}

.rx-flat-nav { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.rx-flat-nav > a {
  position: relative; color: #222; font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .02em; padding-left: 14px;
}
.rx-flat-nav > a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 14px; background: #ddd;
}
.rx-flat-nav > a:hover { color: var(--brand); }

.rx-cat-dropdown { position: relative; }
.rx-cat-btn {
  background: none; border: none; padding: 0 0 0 14px; cursor: pointer; position: relative;
  font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .02em;
  display: flex; align-items: center; gap: 6px; color: #222;
}
.rx-cat-btn::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 14px; background: #ddd;
}
.rx-cat-btn:hover { color: var(--brand); }
.rx-cat-menu {
  display: none; position: absolute; top: 100%; left: -14px; margin-top: 14px;
  background: #fff; border: 1px solid #eee; border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); min-width: 220px; max-height: 420px;
  overflow-y: auto; z-index: 50; padding: 6px 0; list-style: none;
}
/* Buton ile menü arasındaki boşluk hover'ı kesmesin diye görünmez köprü */
.rx-cat-dropdown::after {
  content: ""; position: absolute; top: 100%; left: -14px; width: 260px; height: 14px;
}
.rx-cat-dropdown:hover .rx-cat-menu { display: block; }
.rx-cat-menu li a {
  display: block; padding: 9px 18px; color: #333; font-size: 14px;
  text-transform: none; font-weight: 400;
}
.rx-cat-menu li a:hover { background: #f5f5f5; color: var(--brand); }

/* Ürün detay "SEPETE EKLE" (rx-hero-cta + btn-add-cart birlikte): eski şablonun
   sabit height:35px + kırık cart.png ::before'unu ezip modern ikonla değiştir */
.rx-hero-cta.btn-add-cart {
  height: auto !important;
  line-height: normal !important;
  padding: calc(.85em + 9px) 2.2em !important;
  box-sizing: border-box;
}
.rx-hero-cta.btn-add-cart::before { content: none !important; background: none !important; width: 0 !important; margin: 0 !important; }
.rx-hero-cta.btn-add-cart i { font-size: 1.15em; margin-right: 8px; }

.whatsappFastOrder i { font-size: 1.6em; vertical-align: middle; margin-right: 6px; }

.rx-navbar-right {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto;
  transform: scale(1.25); transform-origin: center right;
}
.rx-cart-btn {
  position: relative; background: var(--brand); color: #fff !important; border-radius: 6px;
  padding: 7px 16px; display: flex !important; align-items: center; gap: 7px;
  font-weight: 700; font-size: 13px; white-space: nowrap; line-height: 1.3;
}
.rx-cart-btn:hover { background: var(--brand-dark); }
.rx-cart-badge {
  position: absolute; top: -7px; right: -7px; background: var(--cta); color: #fff;
  font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0 2px;
  border: 2px solid #fff;
}
.rx-currency-dropdown { position: relative; }
.rx-currency {
  border: 1px solid #ddd; border-radius: 4px; padding: 6px 12px; font-size: 12px;
  font-weight: 600; color: #333; cursor: pointer; background: #fff;
}
.rx-currency:hover { border-color: var(--brand); color: var(--brand); }
.rx-currency-menu {
  display: none; position: absolute; top: 100%; right: 0; margin-top: 8px;
  background: #fff; border: 1px solid #eee; border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); min-width: 200px; z-index: 50;
  padding: 6px 0; list-style: none;
}
.rx-currency-dropdown:hover .rx-currency-menu { display: block; }
.rx-currency-opt { display: block; padding: 9px 16px; color: #333; font-size: 13px; }
.rx-currency-opt:hover { background: #f5f5f5; color: var(--brand); }
.rx-currency-opt.active { color: var(--brand); font-weight: 700; }

@media (max-width: 1100px) { .rx-flat-nav { display: none; } }

/* ---- Hero: ürün fotoğrafı çıplak (overlay yok), metin gölgeyle okunur ---- */
.rx-hero {
  background: url('/img/real/m126729vtnr-0001-hero-banner-scaled.webp') center 35% / cover no-repeat;
  min-height: 620px; display: flex; align-items: center; justify-content: center;
  padding: 60px 20px; text-align: center; color: #fff;
}
.rx-hero-inner { max-width: 720px; margin: 0 auto; }
.rx-hero h1 {
  font-size: 42px; font-weight: 800; margin: 0 0 12px; letter-spacing: .01em;
  text-shadow: 0 3px 14px rgba(0,0,0,.55);
}
.rx-hero p { font-size: 17px; margin: 0 0 26px; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.rx-hero-cta {
  position: relative; overflow: hidden; display: inline-block;
  background: var(--cta); color: #fff !important;
  font-weight: 700; padding: .85em 2.2em; border-radius: 8px; font-size: 1.5em;
  margin-bottom: 30px; transition: background .2s;
}
.rx-hero-cta::after {
  content: ""; position: absolute; top: 0; left: -25%; width: 150%; height: 100%;
  box-shadow: inset 1px 1px 0 0 hsla(0,0%,100%,.1), inset 0 2em 15px 0 hsla(0,0%,100%,.2);
  pointer-events: none;
}
.rx-hero-cta:hover { background: var(--cta-dark); }
@media (max-width: 549px) { .rx-hero-cta { font-size: 1.2em; } }
.rx-hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.rx-hero-badges span {
  background: rgba(0,0,0,.25); padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 768px) {
  .rx-header-flex { flex-wrap: wrap; gap: 10px; }
  .rx-hero h1 { font-size: 28px; }
  .rx-hero { padding: 40px 16px; min-height: 420px; }
}

/* Ürün kartı: indirim rozeti, kategori etiketi, yıldız puanı, hover'da 2. görsel */
.rx-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--cta); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 3px; text-transform: uppercase;
}
.left-block {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  height: auto !important; padding-bottom: 0 !important;
}
.product-list li .left-block img { object-fit: contain !important; }

/* Bootstrap col-* grid'i float ile diziyor; farklı yükseklikteki kartlarda
   satırlar üst üste biniyordu. Flexbox'a çevirip satır bazında hizala. */
.product-list.grid, ul#product-list.product-list {
  display: flex !important; flex-wrap: wrap !important; float: none !important;
}
.product-list.grid > li, ul#product-list.product-list > li {
  float: none !important; display: flex !important;
}
.product-list.grid > li > .product-container, ul#product-list.product-list > li > .product-container {
  display: flex; flex-direction: column; width: 100%;
}

.rx-img-swap { position: relative; display: block; overflow: hidden; }
.rx-img-back {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .25s ease;
}
.rx-img-swap:hover .rx-img-back { opacity: 1; }

.rx-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #888; margin-bottom: 2px; }

.rx-rating { display: flex; align-items: center; gap: 6px; margin: 3px 0; }
.rx-stars {
  position: relative; display: inline-block; font-size: 13px; line-height: 1;
  font-family: Arial, sans-serif; color: #ddd;
}
.rx-stars::before { content: "★★★★★"; }
.rx-stars::after {
  content: "★★★★★"; position: absolute; left: 0; top: 0; overflow: hidden;
  width: calc(var(--rx-rating, 0) / 5 * 100%); color: var(--cta); white-space: nowrap;
}
.rx-review-count { font-size: 12px; color: #999; }

.rx-old-price { text-decoration: line-through; color: #999; font-size: 13px; margin-right: 6px; }

.btn-add-cart,
.product-list .button-group .btn-add-cart,
#product .pb-right-column .form-action .button-group .btn-add-cart,
#product .detailCartFixed .dright .btnAddCart {
  background: var(--cta) !important;
}
.btn-add-cart:hover { background: var(--cta-dark) !important; }

a:hover, a:focus { color: var(--brand); }

.group-price .price-percent-reduction,
.product-list li .price-percent-reduction2 {
  background: var(--brand) !important;
}

#product .pb-right-column .product-price-group .pricex .price,
.product-list li .price {
  color: var(--brand) !important;
}

.header, .main-header { background: #fff !important; }
.top-header { background: #f7f7f7; border-bottom: 1px solid #eee; }

/* Arama kutusu: header beyaz iken tam ters, siyah zemin */
.header-search-box .input-serach input,
.header-search-box .form-inline .form-group input,
#detailSearchKeyx {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}
.header-search-box .input-serach input::placeholder,
#detailSearchKeyx::placeholder {
  color: #ccc !important;
}
.header-search-box .btn-search { background: #000 !important; color: #fff !important; }

.btn-primary, .btn.btn-primary { background: var(--cta) !important; border-color: var(--cta) !important; }

/* WhatsApp sosyal ikonu (orijinal temada tanımlı değildi) */
.social-link .fa-whatsapp { background: #25D366; }

/* Mobil alt bar: buton sayisi kac olursa olsun esit genislikte yayilsin
   (orijinal tema 3 butona gore width:33% sabitliyordu) */
.menufix { display: flex; }
.menufix a { float: none; width: auto; flex: 1 1 0; }

/* Form alan hatalari (input alti kirmizi mesaj + kirmizi cerceve) */
.field-error {
  color: #d9534f;
  font-size: 12.5px;
  line-height: 1.4;
  margin: 5px 2px 0;
  font-weight: 600;
}
.sf-form-input.has-error,
input.has-error, select.has-error, textarea.has-error {
  border-color: #d9534f !important;
  background-color: #fff6f6 !important;
}
.sf-form-input.has-error:focus,
input.has-error:focus, select.has-error:focus, textarea.has-error:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(217, 83, 79, .18) !important;
}
