/**
 * Rumeysa Gelinlik — Bridal Luxury Override Layer
 * Rollback: header.tpl içinde bridal-luxury.css satırını yorum satırı yapın.
 * OpenCart fonksiyonlarına dokunmaz — yalnızca görsel katman.
 */

/* ─── Design Tokens ─────────────────────────────────────────── */
html.bridal-luxury {
  --bl-ivory: #faf8f5;
  --bl-cream: #f5f0e8;
  --bl-champagne: #e8dfd0;
  --bl-gold: #c4a882;
  --bl-gold-light: #d4bc9a;
  --bl-text: #3d3835;
  --bl-text-muted: #8a8279;
  --bl-text-light: #a69e94;
  --bl-border: rgba(196, 168, 130, 0.22);
  --bl-shadow: 0 8px 32px rgba(61, 56, 53, 0.06);
  --bl-shadow-hover: 0 16px 48px rgba(61, 56, 53, 0.1);
  --bl-radius: 2px;
  --bl-transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --bl-font-serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --bl-font-sans: 'DM Sans', 'Montserrat', sans-serif;
  --bl-header-height: 72px;
}

/* ─── Base & Typography ─────────────────────────────────────── */
html.bridal-luxury body {
  font-family: var(--bl-font-sans);
  background-color: var(--bl-ivory);
  color: var(--bl-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.bridal-luxury h1,
html.bridal-luxury h2,
html.bridal-luxury h3,
html.bridal-luxury h4,
html.bridal-luxury h5,
html.bridal-luxury .urunbaslik,
html.bridal-luxury .urunbaslik b {
  font-family: var(--bl-font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--bl-text);
}

html.bridal-luxury a {
  color: var(--bl-text);
  transition: color var(--bl-transition);
}

html.bridal-luxury a:hover,
html.bridal-luxury a:focus {
  color: var(--bl-gold);
  text-decoration: none;
}

html.bridal-luxury .container {
  padding-left: 20px;
  padding-right: 20px;
}

/* ─── Top Bar ───────────────────────────────────────────────── */
html.bridal-luxury nav#top {
  background: var(--bl-cream);
  border-bottom: 1px solid var(--bl-border);
  font-size: 12px;
  letter-spacing: 0.04em;
}

html.bridal-luxury nav#top a {
  color: var(--bl-text-muted);
}

html.bridal-luxury nav#top a:hover {
  color: var(--bl-gold);
}

html.bridal-luxury nav#top .list-inline li {
  border-color: var(--bl-border);
}

html.bridal-luxury .shwustmenucizgi {
  background: linear-gradient(90deg, transparent, var(--bl-gold-light), transparent);
  height: 1px;
}

/* ─── Header — eski pembe/gri arka plan ─────────────────────── */
body.bridal-luxury #header,
html.bridal-luxury #header {
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  padding: 14px 0 10px;
  transition: background var(--bl-transition), border-color var(--bl-transition), box-shadow var(--bl-transition);
}

html.bridal-luxury.bridal-scrolled #header,
html.bridal-luxury .stk.sticky-header #header {
  background: rgba(250, 248, 245, 0.98);
  border-bottom-color: var(--bl-border);
  box-shadow: var(--bl-shadow);
}

html.bridal-luxury #header #logo img {
  max-height: 56px;
  width: auto;
  transition: opacity var(--bl-transition);
}

html.bridal-luxury #search .input-lg {
  background: #fff;
  border: 1px solid var(--bl-border);
  border-radius: 0;
  color: var(--bl-text);
  font-family: var(--bl-font-sans);
  font-size: 13px;
  letter-spacing: 0.03em;
}

html.bridal-luxury #search .input-lg:focus {
  border-color: var(--bl-gold-light);
  box-shadow: 0 0 0 2px rgba(196, 168, 130, 0.15);
}

html.bridal-luxury #search .btn-lg {
  background: var(--bl-text);
  border: 1px solid var(--bl-text);
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  transition: background var(--bl-transition), border-color var(--bl-transition);
}

html.bridal-luxury #search .btn-lg:hover {
  background: var(--bl-gold);
  border-color: var(--bl-gold);
}

html.bridal-luxury #search i {
  color: var(--bl-ivory);
}

/* Cart — işlevsellik korunur, yalnızca görünüm */
html.bridal-luxury #cart > .btn {
  background: transparent;
  border: 1px solid var(--bl-border);
  border-radius: 0;
  color: var(--bl-text);
  font-family: var(--bl-font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color var(--bl-transition), background var(--bl-transition);
}

html.bridal-luxury #cart > .btn:hover {
  background: var(--bl-cream);
  border-color: var(--bl-gold-light);
}

html.bridal-luxury #cart .dropdown-menu {
  border-top: 2px solid var(--bl-gold);
  border-radius: 0;
  box-shadow: var(--bl-shadow-hover);
}

html.bridal-luxury #cart .dropdown-menu::before {
  border-bottom-color: var(--bl-gold);
}

/* ─── Navigation / Menu — pembe border kaldirildi ───────────── */
body.bridal-luxury #menu,
html.bridal-luxury #menu {
  background: rgba(250, 248, 245, 0.98);
  border-top: 1px solid var(--bl-border);
  border-bottom: 1px solid var(--bl-border);
  min-height: 48px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-family: var(--bl-font-sans);
  margin-bottom: 0;
}

html.bridal-luxury .stk.sticky-header {
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bl-border);
  box-shadow: var(--bl-shadow);
  height: auto;
  transition: background var(--bl-transition), box-shadow var(--bl-transition);
}

html.bridal-luxury #menu .nav > li > a {
  color: var(--bl-text);
  font-weight: 400;
  padding: 14px 18px;
  transition: color var(--bl-transition);
}

html.bridal-luxury #menu .nav > li > a:hover,
html.bridal-luxury #menu .nav > li.open > a {
  background: transparent;
  color: var(--bl-gold);
}

html.bridal-luxury #menu .dropdown-menu {
  background: var(--bl-ivory);
  border: 1px solid var(--bl-border);
  border-radius: 0;
  box-shadow: var(--bl-shadow-hover);
}

html.bridal-luxury #menu .dropdown-inner a {
  color: var(--bl-text-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

html.bridal-luxury #menu .dropdown-inner li a:hover {
  color: var(--bl-gold);
  background: var(--bl-cream);
}

/* ─── Mobile Header ─────────────────────────────────────────── */
html.bridal-luxury .mobile-header {
  background: var(--bl-ivory);
  border-bottom: 1px solid var(--bl-border);
}

html.bridal-luxury .mobile-menu-wrapper {
  background: var(--bl-text);
}

html.bridal-luxury .mobile-menu-wrapper .mobile-menu a {
  font-family: var(--bl-font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

html.bridal-luxury .altsabitmenu {
  background: var(--bl-ivory);
  border-top: 1px solid var(--bl-border);
  box-shadow: 0 -4px 20px rgba(61, 56, 53, 0.06);
}

/* ─── Hero / Slideshow ──────────────────────────────────────── */
html.bridal-luxury .swiper-viewport {
  margin-bottom: 0;
}

html.bridal-luxury .swiper-container {
  overflow: hidden;
}

html.bridal-luxury .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

html.bridal-luxury .swiper-slide img[src*="placeholders"] {
  outline: 2px dashed var(--bl-gold-light);
  outline-offset: -2px;
  opacity: 0.95;
}

@media (min-width: 768px) {
  html.bridal-luxury .content_top2 .swiper-viewport,
  html.bridal-luxury #content > .content:first-child .swiper-viewport {
    max-height: 85vh;
  }

  html.bridal-luxury .swiper-slide img {
    max-height: 85vh;
    object-fit: cover;
  }
}

html.bridal-luxury .swiper-pagination-bullet {
  background: var(--bl-champagne);
  opacity: 0.6;
}

html.bridal-luxury .swiper-pagination-bullet-active {
  background: var(--bl-gold);
  opacity: 1;
}

html.bridal-luxury #slideyazi p {
  background: rgba(250, 248, 245, 0.88);
  color: var(--bl-text);
  font-family: var(--bl-font-serif);
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 12px 24px;
  line-height: 1.4;
}

html.bridal-luxury .bridal-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

html.bridal-luxury .bridal-fade-in.bridal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Section Headings ──────────────────────────────────────── */
html.bridal-luxury .urunbaslik {
  margin-bottom: 48px;
  margin-top: 32px;
  color: var(--bl-text-muted);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

html.bridal-luxury .urunbaslik b {
  display: block;
  font-family: var(--bl-font-serif);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--bl-text);
  line-height: 1.2;
  margin-bottom: 0;
  padding: 8px 0 0;
  text-transform: none;
}

html.bridal-luxury .urunbaslik:after {
  background: var(--bl-gold);
  width: 48px;
  height: 1px;
  bottom: -16px;
}

/* ─── Product Cards ─────────────────────────────────────────── */
html.bridal-luxury .product-layout {
  margin-bottom: 32px;
}

html.bridal-luxury .product-thumb {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transition: transform var(--bl-transition);
}

html.bridal-luxury .product-thumb .image {
  overflow: hidden;
  background: var(--bl-cream);
  margin-bottom: 16px;
}

html.bridal-luxury .product-thumb .image img {
  border-radius: 0;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

html.bridal-luxury .product-thumb:hover .image img {
  transform: scale(1.04);
}

html.bridal-luxury .product-thumb .image a:hover::before {
  display: none;
}

html.bridal-luxury .product-thumb h4 {
  min-height: auto;
  margin-bottom: 8px;
}

html.bridal-luxury .product-thumb h4 a {
  font-family: var(--bl-font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--bl-text);
  line-height: 1.4;
}

html.bridal-luxury .product-thumb:hover h4 a {
  color: var(--bl-gold);
}

html.bridal-luxury .product-thumb .caption {
  background: transparent;
  height: auto;
  min-height: auto;
  padding: 0 4px 12px;
  position: static;
  text-align: center;
}

html.bridal-luxury .product-thumb .price {
  font-family: var(--bl-font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--bl-text-muted);
  letter-spacing: 0.04em;
}

html.bridal-luxury .product-thumb .price-new {
  color: var(--bl-text);
  font-weight: 500;
}

html.bridal-luxury .product-thumb .price-old {
  color: var(--bl-text-light);
  font-size: 12px;
}

html.bridal-luxury .product-thumb:hover .price {
  color: var(--bl-text-muted);
}

html.bridal-luxury .product-thumb .button-group {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--bl-transition), transform var(--bl-transition);
  background: rgba(250, 248, 245, 0.95);
  border-top: 1px solid var(--bl-border);
}

html.bridal-luxury .product-thumb:hover .button-group {
  opacity: 1;
  transform: translateY(0);
}

html.bridal-luxury .product-thumb .button-group button {
  background: transparent;
  border: none;
  color: var(--bl-text-muted);
  transition: color var(--bl-transition);
}

html.bridal-luxury .product-thumb .button-group button:hover {
  background: transparent;
  color: var(--bl-gold);
}

html.bridal-luxury .product-layout .indirim {
  background: var(--bl-text);
  border-radius: 0;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

html.bridal-luxury .product-layout .sale {
  background-color: var(--bl-champagne);
  color: var(--bl-text);
  font-family: var(--bl-font-sans);
  font-size: 10px;
  letter-spacing: 0.06em;
  border-radius: 0;
}

/* ─── Product Detail ─────────────────────────────────────────── */
html.bridal-luxury #product {
  padding-top: 16px;
}

html.bridal-luxury #product h1 {
  font-family: var(--bl-font-serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

html.bridal-luxury #product .price {
  font-family: var(--bl-font-sans);
  font-size: 18px;
  color: var(--bl-text-muted);
  letter-spacing: 0.04em;
}

html.bridal-luxury #product .btn-primary,
html.bridal-luxury #button-cart {
  background: var(--bl-text);
  border: 1px solid var(--bl-text);
  border-radius: 0;
  font-family: var(--bl-font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 14px 32px;
  text-transform: uppercase;
  transition: background var(--bl-transition), border-color var(--bl-transition);
}

html.bridal-luxury #product .btn-primary:hover,
html.bridal-luxury #button-cart:hover {
  background: var(--bl-gold);
  border-color: var(--bl-gold);
}

html.bridal-luxury .thumbnails {
  margin-bottom: 24px;
}

html.bridal-luxury .thumbnails li img {
  border: 1px solid var(--bl-border);
  border-radius: 0;
  transition: border-color var(--bl-transition);
}

html.bridal-luxury .thumbnails li img:hover,
html.bridal-luxury .thumbnails li.active img {
  border-color: var(--bl-gold);
}

/* ─── Category & Breadcrumb ─────────────────────────────────── */
html.bridal-luxury .breadcrumb {
  background: transparent;
  border-bottom: 1px solid var(--bl-border);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 16px 0;
  text-transform: uppercase;
}

html.bridal-luxury .breadcrumb a {
  color: var(--bl-text-muted);
}

html.bridal-luxury .breadcrumb a:hover {
  color: var(--bl-gold);
}

html.bridal-luxury .pagination > li > a,
html.bridal-luxury .pagination > li > span {
  border-color: var(--bl-border);
  color: var(--bl-text-muted);
  border-radius: 0;
}

html.bridal-luxury .pagination > .active > a {
  background: var(--bl-text);
  border-color: var(--bl-text);
}

/* ─── Buttons (genel — checkout hariç) ─────────────────────── */
html.bridal-luxury .btn-default {
  background: transparent;
  border: 1px solid var(--bl-border);
  border-radius: 0;
  color: var(--bl-text);
  letter-spacing: 0.06em;
  transition: border-color var(--bl-transition), background var(--bl-transition);
}

html.bridal-luxury .btn-default:hover {
  background: var(--bl-cream);
  border-color: var(--bl-gold-light);
  color: var(--bl-text);
}

html.bridal-luxury .btn-primary:not(#button-cart) {
  background: var(--bl-text);
  border-color: var(--bl-text);
  border-radius: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html.bridal-luxury .btn-primary:not(#button-cart):hover {
  background: var(--bl-gold);
  border-color: var(--bl-gold);
}

/* Footer: bridal-luxury-footer.css dosyasinda */

html.bridal-luxury .specialthemes3 {
  background: var(--bl-cream);
}

/* ─── Newsletter ────────────────────────────────────────────── */
html.bridal-luxury .osdemthemes,
html.bridal-luxury .specialthemes .newsletter-block {
  background: var(--bl-champagne);
}

/* ─── Carousels (Owl) ───────────────────────────────────────── */
html.bridal-luxury .owl-carousel .owl-nav button {
  background: transparent;
  border: 1px solid var(--bl-border);
  color: var(--bl-text-muted);
  transition: border-color var(--bl-transition), color var(--bl-transition);
}

html.bridal-luxury .owl-carousel .owl-nav button:hover {
  border-color: var(--bl-gold);
  color: var(--bl-gold);
}

/* ─── Forms (filtre, arama — layout korunur) ────────────────── */
html.bridal-luxury .form-control {
  border: 1px solid var(--bl-border);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--bl-font-sans);
}

html.bridal-luxury .form-control:focus {
  border-color: var(--bl-gold-light);
  box-shadow: 0 0 0 2px rgba(196, 168, 130, 0.12);
}

html.bridal-luxury span.customSelect {
  border-color: var(--bl-border);
  border-radius: 0;
}

/* ─── Content Sections ──────────────────────────────────────── */
html.bridal-luxury #content {
  padding-bottom: 48px;
}

html.bridal-luxury .specialthemes3,
html.bridal-luxury .orta {
  box-shadow: none;
  background: var(--bl-ivory);
}

/* ─── Reduced Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html.bridal-luxury .product-thumb .image img,
  html.bridal-luxury .bridal-fade-in,
  html.bridal-luxury .product-thumb .button-group {
    transition: none;
    transform: none;
  }

  html.bridal-luxury .bridal-fade-in {
    opacity: 1;
  }
}

/* ─── Mobile Optimizations ──────────────────────────────────── */
@media (max-width: 767px) {
  html.bridal-luxury .product-thumb .button-group {
    opacity: 1;
    transform: none;
  }

  html.bridal-luxury .product-layout {
    margin-bottom: 24px;
  }

  html.bridal-luxury .urunbaslik {
    margin-bottom: 32px;
  }

  html.bridal-luxury #header #logo img {
    max-height: 44px;
  }

  html.bridal-luxury .product-thumb h4 a {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  html.bridal-luxury .container {
    max-width: 1320px;
  }
}

/* ─── bu_top_banners: SADECE 4’lü pazaryeri satırı ─────────────
   Tek banner (.bu-banner koleksiyon) orijinal col-12; dokunulmaz. */
body.bridal-luxury .bu_top_banners:has(> .leftrightx:first-child:nth-last-child(4)),
html.bridal-luxury .bu_top_banners:has(> .leftrightx:first-child:nth-last-child(4)) {
  display: flex;
  flex-wrap: nowrap;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 5px;
  padding: 0 6px;
  box-sizing: border-box;
}

body.bridal-luxury .bu_top_banners:has(> .leftrightx:first-child:nth-last-child(4)) > .leftrightx,
html.bridal-luxury .bu_top_banners:has(> .leftrightx:first-child:nth-last-child(4)) > .leftrightx {
  flex: 1 1 25%;
  width: 25%;
  max-width: 25%;
  min-width: 0;
  float: none;
  margin: 0;
  padding: 0 4px;
  box-sizing: border-box;
}

body.bridal-luxury .bu_top_banners:has(> .leftrightx:first-child:nth-last-child(4)) .top_banner_url,
html.bridal-luxury .bu_top_banners:has(> .leftrightx:first-child:nth-last-child(4)) .top_banner_url {
  display: block;
  width: 100%;
}

body.bridal-luxury .bu_top_banners:has(> .leftrightx:first-child:nth-last-child(4)) .top_banner_img,
body.bridal-luxury .bu_top_banners:has(> .leftrightx:first-child:nth-last-child(4)) .main_img,
html.bridal-luxury .bu_top_banners:has(> .leftrightx:first-child:nth-last-child(4)) .top_banner_img,
html.bridal-luxury .bu_top_banners:has(> .leftrightx:first-child:nth-last-child(4)) .main_img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* Tek banner (koleksiyon) — orijinal tam genislik */
body.bridal-luxury .bu_top_banners > .leftrightx:only-child,
html.bridal-luxury .bu_top_banners > .leftrightx:only-child {
  width: 100%;
  max-width: 100%;
  float: none;
  flex: none;
  padding: 4px;
}

body.bridal-luxury .bu_top_banners > .leftrightx:only-child .bu-banner,
html.bridal-luxury .bu_top_banners > .leftrightx:only-child .bu-banner {
  width: 100%;
}

body.bridal-luxury .bu_top_banners > .leftrightx:only-child .top_banner_img,
body.bridal-luxury .bu_top_banners > .leftrightx:only-child .main_img,
html.bridal-luxury .bu_top_banners > .leftrightx:only-child .top_banner_img,
html.bridal-luxury .bu_top_banners > .leftrightx:only-child .main_img {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
  border-radius: 10px;
}
