:root {
  --bts-grad: linear-gradient(90deg,#f1b07e,#e07e95 35%,#8ab2ff 75%,#f1b07e);
  --bts-ink: rgba(255,255,255,.96);
  --brand: #bb002b; /* Example default brand color */
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: #f8fafc;
}

/* GLOBAL BREADCRUMB */
.breadcrumb {
  background: transparent;
  padding: 24px 0 12px;
  margin: 0;
}
.breadcrumb ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  align-items: center;
}
.breadcrumb-item { display: flex; align-items: center; gap: 10px; color: #94a3b8; }
.breadcrumb-item a { color: #64748b; text-decoration: none; transition: 0.2s; }
.breadcrumb-item a:hover { color: var(--brand); }
.breadcrumb-item + .breadcrumb-item::before { 
  content: "\f105"; 
  font-family: FontAwesome; 
  font-size: 14px;
  color: #cbd5e1;
}
.breadcrumb-item.active { color: #1e293b; font-weight: 700; }

/* PREMIUM SELECT STYLING */
.ps-custom-select, .filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px !important;
  border: 1px solid #e2e8f0;
  background-color: #fff;
  transition: all 0.2s ease;
  text-align: center;
  text-align-last: center;
}
.ps-custom-select:focus, .filter-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(187, 0, 43, 0.05);
  outline: none;
}

/* MULTI SELECT CUSTOM UI */
.ps-multi-select-wrap { position: relative; width: 100%; }
.ps-multi-trigger {
  width: 100%; height: 42px; border-radius: 10px; border: 1px solid #e2e8f0;
  padding: 0 15px; font-size: 13px; font-weight: 600; color: #1e293b;
  background: white; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
}
.ps-multi-trigger::after {
  content: "\f107"; font-family: FontAwesome; font-size: 14px; color: #64748b;
}
.ps-multi-dropdown {
  position: absolute; top: 100%; left: 0; right: 0;
  background: white; border-radius: 12px; border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 99999;
  margin-top: 8px; max-height: 250px; overflow-y: auto;
  padding: 10px; display: none;
}
.ps-multi-select-wrap.open .ps-multi-dropdown { display: block; }
.ps-checkbox-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 8px; cursor: pointer; transition: 0.2s;
  font-size: 13px; font-weight: 600; color: #475569;
}
.ps-checkbox-item:hover { background: #f8fafc; color: var(--brand); }
.ps-checkbox-item input {
  width: 16px; height: 16px; border-radius: 4px; border: 2px solid #cbd5e1;
  accent-color: var(--brand); cursor: pointer;
}

/* CATEGORY FILTER BAR */
.top-filter-bar { 
  background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); 
  border: 1px solid rgba(0,0,0,0.05); border-radius: 16px; 
  padding: 20px; margin-bottom: 25px; 
  display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; 
  position: relative; z-index: 1000;
}
.filter-item { flex: 1; min-width: 180px; position: relative; z-index: 1001; }
.filter-item label { 
  display: block; font-weight: 800; font-size: 11px; 
  text-transform: uppercase; color: #64748b; 
  margin-bottom: 8px; letter-spacing: 0.5px; 
}
.filter-price-group { display: flex; gap: 8px; align-items: center; }
.filter-price-group input { 
  height: 42px; border-radius: 10px; border: 1px solid #e2e8f0; 
  width: 80px; text-align: center; font-size: 14px; 
}
.filter-submit { 
  height: 42px; padding: 0 20px; border-radius: 10px; 
  background: #0f172a; color: white; border: none; 
  font-weight: 700; transition: 0.2s; 
}
.filter-submit:hover { background: #334155; transform: translateY(-1px); }
.filter-clear { 
  color: #ef4444; text-decoration: none; font-weight: 700; 
  font-size: 13px; display: flex; align-items: center; gap: 5px; 
}
.filter-clear:hover { color: #dc2626; }

/* ACTIVE FILTER PILLS */
.active-filters-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.filter-pill {
  display: flex; align-items: center; gap: 8px; 
  padding: 6px 14px; background: #fff; 
  border: 1px solid #e2e8f0; border-radius: 99px;
  font-size: 12px; font-weight: 700; color: #475569;
  transition: 0.2s; text-decoration: none !important;
}
.filter-pill:hover { border-color: var(--brand); color: var(--brand); background: #fef2f2; }
.filter-pill i { font-size: 11px; color: #94a3b8; }
.filter-pill:hover i { color: var(--brand); }

/* SKELETON SCREEN OVERLAY */
#ps-skeleton {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: #f8fafc; z-index: 100000; transition: opacity 0.4s ease;
}
.sk-header { height: 120px; background: #fff; border-bottom: 1px solid #e2e8f0; margin-bottom: 40px; }
.sk-logo { width: 180px; height: 40px; border-radius: 8px; background: #f1f5f9; }
.sk-nav { width: 400px; height: 20px; border-radius: 6px; background: #f1f5f9; }

.sk-body { display: flex; gap: 30px; }
.sk-sidebar { flex: 0 0 260px; height: 500px; background: #fff; border-radius: 20px; padding: 20px; }
.sk-content { flex: 1; }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sk-item { background: #fff; border-radius: 24px; padding: 15px; display: flex; flex-direction: column; gap: 12px; }
.sk-item-img { aspect-ratio: 1/1; border-radius: 16px; background: #f1f5f9; }
.sk-item-line { height: 12px; border-radius: 6px; background: #f1f5f9; }
.sk-item-line.long { width: 80%; }
.sk-item-line.short { width: 40%; }

/* PREMIUM SHIMMER & PULSE */
.sk-logo, .sk-nav, .sk-sidebar, .sk-item-img, .sk-item-line {
  position: relative; overflow: hidden;
}
.sk-logo::after, .sk-nav::after, .sk-sidebar::after, .sk-item-img::after, .sk-item-line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: sk-shimmer 1.8s infinite linear;
}
@keyframes sk-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Add a soft pulse to the background */
.sk-logo, .sk-nav, .sk-sidebar, .sk-item-img, .sk-item-line {
  animation: sk-pulse 2s infinite ease-in-out;
}
@keyframes sk-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@media (max-width: 768px) {
  .sk-sidebar { display: none; }
  .sk-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sk-header { height: 70px; }
  .sk-nav { display: none; }
}

#txtMobileArama { text-transform: uppercase; }

.ps-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

a.ps-offer-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .25px;
  line-height: 1;
  color: var(--bts-ink);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
  will-change: transform, filter;
}

a.ps-offer-cta::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: var(--bts-grad);
  background-size: 260% 100%;
  filter: blur(20px);
  opacity: .34;
  z-index: -1;
  animation: bts-gradient 6s linear infinite, bts-pulse 1.9s ease-in-out infinite;
}

a.ps-offer-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1px;
  background: var(--bts-grad);
  background-size: 260% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .62;
  animation: bts-gradient 6s linear infinite;
  pointer-events: none;
}

a.ps-offer-cta .cta-text {
  font-weight: 950;
  background: var(--bts-grad);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bts-gradient 6s linear infinite, bts-shimmer 1.7s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(255,255,255,.16), 0 0 18px rgba(138,178,255,.14);
}

a.ps-offer-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.30);
  box-shadow: 0 18px 44px rgba(0,0,0,.18), 0 0 22px rgba(138,178,255,.22), 0 0 18px rgba(224,126,149,.18);
  filter: saturate(1.06) brightness(1.02);
}

a.ps-offer-cta:active { transform: translateY(0); }

@keyframes bts-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 260% 50%; }
}

@keyframes bts-pulse {
  0%, 100% { opacity: .30; transform: scale(1); }
  50% { opacity: .44; transform: scale(1.015); }
}

@keyframes bts-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

/* GLOBAL NOTIFICATIONS (TOAST & BAR) */
.ps-toast-container {
  position: fixed; top: 30px; right: 30px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 999999; pointer-events: none;
}
.ps-toast {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 14px 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  display: flex; align-items: center; gap: 12px;
  transform: translateX(120%);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: auto;
}
.ps-toast.show { transform: translateX(0); }
.ps-toast i { color: var(--brand); font-size: 16px; }
.ps-toast span { font-size: 13px; font-weight: 700; color: #0f172a; }

.ps-cmp-bar {
  position: fixed; bottom: 30px; right: 30px;
  width: 60px; height: 60px;
  background: #0f172a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  z-index: 999998;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0; transform: scale(0.5); pointer-events: none;
  text-decoration: none !important;
}
.ps-cmp-bar.show { opacity: 1; transform: scale(1); pointer-events: auto; }
@media (max-width: 768px) {
  #compare-button { display: none !important; }
}
.ps-cmp-bar:hover { transform: scale(1.1); background: var(--brand); }
.ps-cmp-bar i { color: #fff; font-size: 20px; }
.ps-cmp-dot {
  position: absolute; top: -5px; right: -5px;
  width: 24px; height: 24px; background: var(--brand);
  border-radius: 50%; border: 2px solid #fff;
  color: #fff; font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.ps-cmp-info span, .ps-cmp-btn { display: none; }

/* AJAX Search Style */
#arama_sonuclari, #arama_sonuclari_mobile {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  z-index: 9999; margin-top: 8px;
  max-height: 420px; overflow-y: auto;
  display: none; border: 1px solid #f1f5f9;
}
#arama_sonuclari.show, #arama_sonuclari_mobile.show { display: block; }
#arama_sonuclari ul, #arama_sonuclari_mobile ul { list-style: none; padding: 6px; margin: 0; }
#arama_sonuclari li { border-radius: 8px; margin-bottom: 2px; transition: 0.15s ease; }
#arama_sonuclari li:hover, #arama_sonuclari li.selected { background: #f1f5f9; }
#arama_sonuclari a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; text-decoration: none !important;
}
#arama_sonuclari img {
  width: 48px; height: 48px; object-fit: contain;
  border-radius: 8px; background: #fff; border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.ara-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ara-name { font-size: 13px; font-weight: 700; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ara-info .stok-ok { font-size: 11px; font-weight: 800; color: #16a34a; }
.ara-info .stok-no { font-size: 11px; font-weight: 800; color: #ef4444; }

/* FOOTER STYLES */
@media (max-width: 768px) {
  .footer-bottom .fast-links h4,
  .ps-footer .fast-links h4 {
    text-align: center !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    border-right: 0 !important;
    background: transparent !important;
  }
  .ps-footer .fast-links ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 10px !important;
  }
  .ps-footer .fast-links li {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
  }
  .ps-footer .fast-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 6px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 1px solid rgba(255,255,255,.20) !important;
    border-radius: 10px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .ps-footer .fast-links li + li a { border-top: 0 !important; }
  .footer-bottom .fast-links {
    display: block !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
@media (max-width: 360px) {
  .ps-footer .fast-links ul { grid-template-columns: 1fr !important; }
}

/* =========================================================
   URUN DETAY - MINIMALIST REDESIGN
   ========================================================= */
:root {
  --pd-bg: #ffffff;
  --pd-text: #0f172a;
  --pd-muted: #475569;
  --pd-sub: #94a3b8;
  --pd-line: #f1f5f9;
  --pd-brand: #bb002b;
  --pd-success: #10b981;
  --pd-radius: 24px;
  --pd-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
}

.pd-wrap {
  padding: 60px 0 100px;
}

.pd-main-card {
  background: var(--pd-bg);
  border-radius: var(--pd-radius);
  box-shadow: var(--pd-shadow);
  border: 1px solid rgba(15, 23, 42, 0.04);
  overflow: hidden;
  padding: 40px;
}

/* Gallery */
.pd-gallery {
  position: relative;
}
.gallery-main {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  background: #f8fafc;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.gallery-main:hover img {
  transform: scale(1.04);
}
.pd-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.pd-thumbs::-webkit-scrollbar { height: 4px; }
.pd-thumbs::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }
.thumb-item {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 10px;
  border: 1px solid var(--pd-line);
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
  transition: 0.2s;
}
.thumb-item:hover { border-color: var(--pd-brand); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.btn-trase-minimal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s;
}
.btn-trase-minimal:hover { background: #e2e8f0; color: var(--pd-text); }

.pd-details {
  padding-left: 20px;
}
@media (max-width: 991px) { .pd-details { padding-left: 0; margin-top: 30px; } }

.pd-header { margin-bottom: 24px; }
.pd-code-badge {
  display: inline-flex;
  padding: 4px 10px;
  background: #f1f5f9;
  border-radius: 6px;
  color: var(--pd-muted);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.pd-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--pd-text);
  line-height: 1.2;
}
.pd-title.orange { color: #f59e0b; }

.pd-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.m-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  background: #f8fafc;
  border: 1px solid var(--pd-line);
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.m-badge i { color: var(--pd-brand); font-size: 11px; }
.m-badge.stock-ok { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.m-badge.stock-ok i { color: #22c55e; }
.m-badge.stock-no { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.m-badge.stock-no i { color: #ef4444; }

.pd-price-box {
  background: #f8fafc;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #f1f5f9;
}
.pd-price-main {
  font-size: 36px;
  font-weight: 900;
  color: var(--pd-brand);
  margin: 0;
  letter-spacing: -0.5px;
}
.pd-price-sub {
  font-size: 13px;
  color: var(--pd-muted);
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pd-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  transition: 0.2s;
}
.spec-item:hover { border-color: var(--pd-brand); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.spec-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--pd-sub);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.spec-val { font-size: 14px; font-weight: 700; color: var(--pd-text); }

.pd-vars { margin-bottom: 24px; }
.pd-vars-title { font-size: 14px; font-weight: 900; margin-bottom: 12px; color: var(--pd-text); }
.pd-vars-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-var-item { display: flex; flex-direction: column; gap: 8px; width: 80px; }
.pd-var-link {
  width: 80px; height: 80px;
  border-radius: 16px;
  border: 1px solid var(--pd-line);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-var-link:hover { border-color: var(--pd-brand); transform: translateY(-4px); box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1); }
.pd-var-link.active { border-color: var(--pd-brand); border-width: 2px; box-shadow: 0 0 0 4px rgba(187, 0, 43, 0.1); }
.pd-var-link img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.pd-var-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--pd-muted);
    text-align: center;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pd-var-label span.v-attr { color: var(--pd-text); font-weight: 700; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-var-label span.v-ebat { color: var(--pd-muted); font-size: 10px; font-weight: 700; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-var-label span.v-stok { font-size: 10px; font-weight: 800; }
.pd-var-label span.v-stok.ok { color: var(--pd-success); }
.pd-var-label span.v-stok.no { color: #ef4444; }

.pd-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.btn-pd-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  transition: 0.2s;
  cursor: pointer;
  border: none;
}
.btn-pd-compare { background: #1e293b; color: #fff; }
.btn-pd-compare:hover { background: #0f172a; transform: translateY(-2px); }
.btn-pd-compare.inlist { background: #16a34a; }

.pd-desc-box {
  border-top: 1px solid var(--pd-line);
  padding-top: 24px;
}
.pd-desc-box h3 { font-size: 16px; font-weight: 900; margin-bottom: 16px; }
.pd-desc-box ul { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.pd-desc-box li {
  font-size: 13px; font-weight: 600; color: #475569;
  display: flex; align-items: center; gap: 8px;
}
.pd-desc-box li:before { content: "\f00c"; font-family: FontAwesome; color: #22c55e; font-size: 11px; }

.minimal-cmp-bar {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
}
