/* Dolumax teması — OpenCart 3 varsayılan temasının üzerine yazar. Renkler dolumax.com'dan alındı. */
:root {
  --dmx-red: #b42226;
  --dmx-red-dark: #8f1b1e;
  --dmx-accent: #ff3a2d;
  --dmx-blue: #34bcec;
  --dmx-text: #333e48;
  --dmx-muted: #6b7680;
  --dmx-line: #e3e5e8;
  --dmx-soft: #f8f8f8;
}

body {
  font-family: 'Inter', 'Open Sans', Helvetica, Arial, sans-serif;
  color: var(--dmx-text);
  font-size: 13px;
  background: #fff;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', 'Open Sans', sans-serif; color: var(--dmx-text); }
a, a:focus { color: var(--dmx-red); }
a:hover { color: var(--dmx-red-dark); }
.btn-link, .btn-link:hover, .btn-link:focus { color: var(--dmx-red); }

/* Üst şerit */
#top {
  background: #fff;
  border-bottom: 1px solid var(--dmx-line);
  padding: 4px 0 2px;
  margin: 0;
  min-height: 34px;
}
#top .dmx-welcome { float: left; line-height: 28px; font-size: 12px; color: var(--dmx-text); }
#top #top-links a, #top .btn-link, #top-links li { color: var(--dmx-text); text-shadow: none; font-size: 12px; }
#top #top-links a:hover { color: var(--dmx-red); }
#top #top-links li + li { border-left: 1px solid var(--dmx-line); padding-left: 10px; }

/* Logo, arama, sepet */
header { padding: 18px 0 14px; background: #fff; }
.dmx-header-row { display: flex; align-items: center; flex-wrap: wrap; }
#logo { margin: 0; }
#logo img { max-height: 72px; width: auto; }
#search { margin-bottom: 0; }
#search .input-lg {
  height: 44px; border: 2px solid var(--dmx-red); border-right: 0;
  border-radius: 24px 0 0 24px; box-shadow: none; font-size: 13px; padding-left: 20px;
}
#search .btn-lg {
  height: 44px; background: var(--dmx-red); background-image: none; border: 2px solid var(--dmx-red);
  color: #fff; border-radius: 0 24px 24px 0; padding: 10px 22px; text-shadow: none; box-shadow: none;
}
#search .btn-lg:hover { background: var(--dmx-red-dark); border-color: var(--dmx-red-dark); }
#cart { margin-bottom: 0; }
#cart > .btn, #cart.open > .btn {
  background: #fff; background-image: none; border: 1px solid var(--dmx-line); border-radius: 24px;
  color: var(--dmx-text); text-shadow: none; box-shadow: none; height: 44px; font-size: 13px; font-weight: 600;
}
#cart > .btn .fa-shopping-cart { color: var(--dmx-red); font-size: 18px; vertical-align: -2px; margin-right: 4px; }
#cart > .btn:hover { border-color: var(--dmx-red); }
#cart .dropdown-menu { background: #fff; border-radius: 6px; }

/* Kategori menüsü */
.dmx-menu-bar { border-top: 1px solid var(--dmx-line); border-bottom: 1px solid var(--dmx-line); background: #fff; margin-bottom: 0; }
#menu.dmx-menu, .dmx-menu { background: none; background-image: none; box-shadow: none; filter: none;
  display: flex; align-items: center; min-height: 46px; background: none; border: 0; margin: 0; padding: 0; border-radius: 0; }
.dmx-cat-dropdown { position: relative; flex: 0 0 262px; }
.dmx-cat-toggle {
  width: 100%; height: 46px; border: 0; background: var(--dmx-red); color: #fff; font-weight: 600;
  text-align: left; padding: 0 18px; font-size: 13px; border-radius: 6px 6px 0 0;
}
.dmx-cat-toggle .fa-bars { margin-right: 8px; }
.dmx-cat-list {
  width: 100%; margin: 0; padding: 6px 0; border: 1px solid var(--dmx-line); border-top: 0;
  border-radius: 0 0 6px 6px; box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.dmx-cat-list > li { position: relative; }
.dmx-cat-list > li > a {
  display: block; padding: 6px 18px; color: var(--dmx-text); font-size: 13px; border-bottom: 1px solid #f1f2f3;
}
.dmx-cat-list > li:last-child > a { border-bottom: 0; }
.dmx-cat-list > li > a:hover, .dmx-cat-list > li:hover > a { color: var(--dmx-red); background: var(--dmx-soft); }
.dmx-cat-list .fa-angle-right { color: #b5bbc1; margin-top: 3px; }
.dmx-sub {
  display: none; position: absolute; left: 100%; top: -7px; min-width: 240px; background: #fff;
  border: 1px solid var(--dmx-line); border-radius: 6px; padding: 8px 0; box-shadow: 0 8px 20px rgba(0,0,0,.08);
  z-index: 1002; max-height: 70vh; overflow-y: auto;
}
.dmx-cat-list > li:hover > .dmx-sub { display: block; }
.dmx-sub li a { display: block; padding: 6px 18px; color: var(--dmx-text); }
.dmx-sub li a:hover { color: var(--dmx-red); background: var(--dmx-soft); }
.dmx-sub .dmx-see-all a { font-weight: 600; color: var(--dmx-red); }
.dmx-links { margin: 0 0 0 26px; padding: 0; }
.dmx-links > li { padding: 0 12px 0 0; }
.dmx-links > li > a { color: var(--dmx-text); font-weight: 600; font-size: 13px; }
.dmx-links > li > a:hover { color: var(--dmx-red); }
.dmx-menu-right { margin-left: auto; font-weight: 600; font-size: 13px; color: var(--dmx-text); }
.dmx-menu-right:hover { color: var(--dmx-red); }
/* Ana sayfada kategori listesi masaüstünde açık dursun (dolumax.com'daki gibi) */
@media (min-width: 992px) {
  body:has(#common-home) .dmx-cat-dropdown .dmx-cat-list { display: block; position: absolute; }
  body:has(#common-home) .dmx-cat-dropdown .dmx-cat-toggle { pointer-events: none; }
}

/* Ana sayfa slider */
#common-home { margin-top: 0; }
.dmx-slider { margin: 0 0 30px; background: #ececec url('../../../../../image/catalog/dolumax/slider/background.jpg') center/cover no-repeat; border-radius: 0 0 6px 6px; overflow: hidden; }
.dmx-slider .carousel-inner > .item { height: 410px; }
.dmx-slide { display: flex; align-items: center; height: 100%; padding: 30px 40px 30px 300px; position: relative; }
.dmx-slide .dmx-cover { position: absolute; inset: 0; z-index: 1; }
.dmx-slide .dmx-text, .dmx-slide .dmx-img { position: relative; z-index: 2; pointer-events: none; }
.dmx-slide .dmx-btn { pointer-events: auto; }
.dmx-slide .dmx-text { flex: 0 0 44%; }
.dmx-slide .dmx-img { flex: 1; text-align: center; }
.dmx-slide .dmx-img img { max-width: 100%; max-height: 330px; display: inline-block; }
.dmx-small { font-size: 18px; font-weight: 600; color: var(--dmx-blue); margin-bottom: 8px; letter-spacing: .3px; }
.dmx-small.dark { color: var(--dmx-text); font-weight: 800; font-size: 15px; }
.dmx-big { font-size: 54px; line-height: 1.05; font-weight: 600; color: var(--dmx-accent); margin-bottom: 10px; }
.dmx-big.dark { color: var(--dmx-text); font-weight: 700; }
.dmx-big.light { color: var(--dmx-text); font-weight: 300; font-size: 40px; }
.dmx-big.blue { color: var(--dmx-blue); }
.dmx-mid { font-size: 34px; font-weight: 700; color: #000; line-height: 1.1; }
.dmx-btn {
  display: inline-block; margin-top: 18px; padding: 11px 26px; border-radius: 30px; font-weight: 600; font-size: 15px;
  background: var(--dmx-red); color: #fff !important; text-decoration: none !important;
}
.dmx-btn:hover { background: var(--dmx-red-dark); }
.dmx-btn.dark { background: rgba(0,0,0,.78); }
.dmx-btn.dark:hover { background: #000; }
.dmx-slider .carousel-indicators { bottom: 8px; left: 62%; }
.dmx-slider .carousel-indicators li { border-color: #999; }
.dmx-slider .carousel-indicators .active { background: var(--dmx-red); border-color: var(--dmx-red); }
.dmx-slider .carousel-control { width: 5%; background: none; color: var(--dmx-text); z-index: 3; }
.dmx-slider .carousel-control .fa { position: absolute; top: 50%; margin-top: -15px; font-size: 30px; }
.dmx-slider .carousel-control.left .fa { left: 40%; }
.dmx-slider .carousel-control.right .fa { right: 40%; }
@media (max-width: 991px) {
  .dmx-slide { padding: 24px 50px; }
  .dmx-big { font-size: 38px; }
  .dmx-big.light { font-size: 28px; }
  .dmx-slider .carousel-indicators { left: 50%; }
}
@media (max-width: 767px) {
  .dmx-slider .carousel-inner > .item { height: 300px; }
  .dmx-slide { flex-direction: column; justify-content: center; text-align: center; padding: 20px 40px; }
  .dmx-slide .dmx-text { flex: none; }
  .dmx-slide .dmx-img img { max-height: 120px; }
  .dmx-big { font-size: 28px; }
  .dmx-big.light { font-size: 20px; }
  .dmx-mid { font-size: 22px; }
  .dmx-small { font-size: 13px; }
  .dmx-btn { margin-top: 10px; padding: 8px 20px; font-size: 13px; }
}

/* Modül başlıkları (Çok Satanlar, Yeni Gelenler) */
#content > h3, #content .row + h3, #common-home h3 {
  font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--dmx-line); padding-bottom: 12px;
  margin: 30px 0 20px; position: relative;
}
#common-home h3:after { content: ''; position: absolute; left: 0; bottom: -2px; width: 80px; height: 3px; background: var(--dmx-red); }

/* Ürün kartları */
.product-thumb { border: 1px solid var(--dmx-line); border-radius: 8px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.product-thumb:hover { border-color: #d0d4d8; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.product-thumb .image { padding: 12px; }
.product-thumb h4 { font-size: 13px; line-height: 1.4; font-weight: 600; min-height: 54px; }
.product-thumb h4 a { color: var(--dmx-text); }
.product-thumb h4 a:hover { color: var(--dmx-red); }
.product-thumb .caption p:not(.price) { display: none; }
.product-thumb .price { color: var(--dmx-text); font-size: 17px; font-weight: 700; }
.product-thumb .price-new { color: var(--dmx-red); }
.product-thumb .price-tax { display: none; }
.product-thumb .button-group { border-top: 1px solid var(--dmx-line); background: #fff; }
.product-thumb .button-group button { background: #fff; color: var(--dmx-muted); }
.product-thumb .button-group button:first-child { background: var(--dmx-red); color: #fff; font-weight: 600; text-transform: none; }
.product-thumb .button-group button:first-child:hover { background: var(--dmx-red-dark); }
.product-thumb .button-group button + button { border-left: 1px solid var(--dmx-line); }
.product-thumb .button-group button:hover { color: var(--dmx-red); background: var(--dmx-soft); }

/* Düğmeler */
.btn-primary, .btn-primary:focus {
  background: var(--dmx-red); background-image: none; border-color: var(--dmx-red); text-shadow: none; box-shadow: none; color: #fff;
}
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
  background: var(--dmx-red-dark); border-color: var(--dmx-red-dark); background-image: none; color: #fff;
}
.btn { border-radius: 4px; }
#button-cart { border-radius: 30px; font-weight: 600; }

/* Ürün sayfası */
#product-product h1 { font-size: 24px; font-weight: 600; line-height: 1.3; }
#product-product .list-unstyled h2 { color: var(--dmx-red); font-weight: 700; }
#product-product .thumbnails > li > a, .thumbnails a.thumbnail { border-radius: 8px; }

/* Sol sütun (kategori ve filtre) */
.list-group a { color: var(--dmx-text); border-color: var(--dmx-line); }
.list-group a.active, .list-group a.active:hover, .list-group a:hover {
  background: var(--dmx-red); border-color: var(--dmx-red); color: #fff; text-shadow: none;
}
.panel-default > .panel-heading { background: var(--dmx-soft); color: var(--dmx-text); font-weight: 600; }
#column-left .panel-footer .btn-primary { width: 100%; }

/* Sayfalama, breadcrumb */
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover {
  background: var(--dmx-red); border-color: var(--dmx-red);
}
.pagination > li > a { color: var(--dmx-text); }
.breadcrumb { background: var(--dmx-soft); border: 0; border-radius: 6px; margin: 18px 0; }
.breadcrumb > li { text-shadow: none; }
.breadcrumb > li:after { display: none; }
.breadcrumb > li + li:before { content: '›'; padding: 0 8px; color: #b5bbc1; }

/* Alt bilgi */
.dmx-footer { background: #fff; border-top: 1px solid var(--dmx-line); color: var(--dmx-text); padding-top: 40px; margin-top: 40px; }
.dmx-footer h5 { color: var(--dmx-text); font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.dmx-footer p, .dmx-footer a { color: var(--dmx-muted); }
.dmx-footer a:hover { color: var(--dmx-red); }
.dmx-footer ul li { margin-bottom: 7px; }
.dmx-footer .dmx-phone { font-size: 14px; font-weight: 700; color: var(--dmx-text); }
.dmx-footer .dmx-phone .fa { color: var(--dmx-red); }
.dmx-footer-logo { max-height: 60px; margin-bottom: 18px; }
.dmx-copyright { background: var(--dmx-soft); margin-top: 30px; padding: 16px 0 6px; }
.dmx-copyright p { margin: 0 0 10px; line-height: 28px; }
.dmx-copyright img { max-height: 28px; display: inline-block; margin-bottom: 10px; }
footer hr { display: none; }

@media (max-width: 767px) {
  .dmx-header-row { text-align: center; }
  #logo { margin-bottom: 12px; }
  #logo img { margin: 0 auto; max-height: 56px; }
  #search { margin-bottom: 10px; }
  .dmx-cat-dropdown { flex: 1 1 100%; }
  .dmx-cat-list { position: static; float: none; box-shadow: none; }
  .dmx-sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 6px 14px; max-height: none; }
  .dmx-menu-right { display: none; }
  .dmx-copyright .text-right { text-align: left; }
}

/* DMX-DUZELT-1 (müşteri geri bildirimi) */
/* Sepete eklendi uyarısı menünün altında kalmasın: sağ üstte bildirim olarak çıksın */
.container > .alert-success.alert-dismissible { position: fixed; top: 16px; right: 16px; z-index: 3000; max-width: 420px; margin: 0;
  padding: 14px 40px 14px 16px; border: 0; border-left: 4px solid #2e9e5b; border-radius: 8px; background: #fff; color: #333e48;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 14px; line-height: 1.45; }
.container > .alert-success.alert-dismissible .fa-check-circle { color: #2e9e5b; margin-right: 4px; }
.container > .alert-success.alert-dismissible a { color: #b42226; font-weight: 600; }
@media (max-width: 767px) { .container > .alert-success.alert-dismissible { left: 12px; right: 12px; max-width: none; } }
/* Ürün kartları: başlık ile buton arasındaki boşluk */
.product-thumb .caption { min-height: 0; padding: 4px 14px 10px; }
.product-thumb h4 { min-height: 0; height: 54px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin: 6px 0 8px; }
.product-thumb .price { margin: 0; }
.product-thumb .image { padding: 10px 10px 0; }
.product-thumb .image img { max-height: 190px; width: auto; margin: 0 auto; }
.product-layout { margin-bottom: 22px; }
/* Ürün sayfası */
#product-product h1 { font-size: 22px; line-height: 1.35; margin-top: 4px; }
#product-product .thumbnails > li:first-child .thumbnail { display: flex; align-items: center; justify-content: center; min-height: 260px; }
#product-product .thumbnails > li:first-child img { max-height: 420px; width: auto; }
.dmx-tags { margin: 24px 0 10px; padding-top: 16px; border-top: 1px solid #eceef0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dmx-tags span { font-weight: 600; margin-right: 4px; font-size: 13px; }
.dmx-tags a { display: inline-block; padding: 3px 10px; border: 1px solid #e3e5e8; border-radius: 14px; background: #f7f8f9; color: #5b6670; font-size: 12px; line-height: 1.5; }
.dmx-tags a:hover { border-color: #b42226; color: #b42226; text-decoration: none; }
/* DMX-DUZELT-1-SON */
