/* Dekor — tema üzerine eklenen, orijinal şablonda karşılığı olmayan parçalar.
   Renkler temanın CSS değişkenlerinden gelir (--bg-primary #755d39 vb.). */

/* ---- yazı tabanlı logo ---- */
#logo p { margin: 0; display: flex; align-items: center; }
#logo img { max-height: 100%; width: auto; }
.dk-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text-body, #2c2a28); text-decoration: none; }
.dk-logo-mark {
  width: 52px; height: 52px; border-radius: 12px; flex: 0 0 auto;
  background: var(--bg-primary, #755d39); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 900; letter-spacing: -1px;
}
.dk-logo-text { display: flex; flex-direction: column; line-height: 1; }
.dk-logo-name { font-size: 30px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.dk-logo-slogan { margin-top: 6px; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--bg-primary, #755d39); }
.header-sticky .dk-logo-mark { width: 40px; height: 40px; font-size: 24px; }
.header-sticky .dk-logo-name { font-size: 24px; }
@media (max-width: 991px) {
  .dk-logo { gap: 8px; }
  .dk-logo-mark { width: 38px; height: 38px; font-size: 22px; border-radius: 9px; }
  .dk-logo-name { font-size: 21px; }
  .dk-logo-slogan { font-size: 8px; letter-spacing: 2px; margin-top: 4px; }
}

/* ---- widget avatarları (orijinalde firma logosu) ---- */
.dk-avatar {
  display: inline-flex !important; align-items: center; justify-content: center;
  background: var(--bg-primary, #755d39) !important; color: #fff;
  font: 900 26px/1 Montserrat, Arial, sans-serif;
}
.dk-wa-avatar.dk-avatar { width: 52px; height: 52px; border-radius: 50%; font-size: 24px; }

/* ---- vitrin başlığı yanındaki "Tümünü Gör" ---- */
.dk-showcase-all { font-size: 13px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dk-showcase-all i { font-size: 11px; }

/* form içindeki kart butonu, flex sırasını bozmadan */
.d-contents { display: contents; }
.product-buttons button.product-buttons-item { background: transparent; cursor: pointer; font: inherit; color: inherit; }

/* ---- liste sayfası ---- */
.dk-list-title { font-size: 20px; font-weight: 700; margin: 0 0 12px; text-transform: uppercase; }
.dk-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.dk-pagination a, .dk-pagination span {
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border-light, #eee); color: var(--text-body, #2c2a28); font-weight: 600; font-size: 13px;
}
.dk-pagination a:hover { border-color: var(--bg-primary, #755d39); color: var(--bg-primary, #755d39); }
.dk-pagination .active { background: var(--bg-primary, #755d39); border-color: var(--bg-primary, #755d39); color: #fff; }
.dk-list-layout .product-item > div { flex-direction: row !important; }
.dk-list-layout .product-item .image-wrapper { max-width: 220px; }
@media (min-width: 768px) {
  /* orijinal filtre mobilde drawer, masaüstünde sabit kolon */
  .dk-filter.drawer-wrapper { position: static; visibility: visible; opacity: 1; pointer-events: all; }
}
@media (max-width: 767px) {
  #product-filter { position: fixed; top: 0; left: 0; bottom: 0; width: 85%; max-width: 360px; z-index: 90; background: #fff;
    overflow-y: auto; transform: translateX(-100%); transition: transform .2s ease-in-out; }
  #product-filter.active { transform: none; }
}

/* ---- içerik sayfaları ---- */
.dk-content img, .product-fullbody img, .blog-detail-text img { max-width: 100%; height: auto; }
.product-fullbody table { max-width: 100%; }
.product-fullbody iframe, .dk-content iframe { max-width: 100%; }
.dk-video { position: relative; padding-top: 56.25%; }
.dk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dk-empty { padding: 60px 0; }
.dk-empty-code { font-size: 72px; font-weight: 900; line-height: 1; margin-bottom: 12px; }
.dk-copyright { font-size: 12px; opacity: .8; border-top: 1px solid rgba(255,255,255,.15); }

/* ---- form mesajları ---- */
.dk-form-message:empty { display: none; }
.dk-form-message { font-size: 13px; padding: 8px 12px; border-radius: 4px; background: rgba(3,199,81,.12); color: #027a32; }
.dk-form-message.is-error { background: rgba(117, 93, 57,.08); color: var(--bg-primary, #755d39); }
footer .dk-form-message { background: rgba(255,255,255,.15); color: #fff; }

/* ---- teklif listesi (drawer + sayfa) ---- */
#quote-panel .drawer-body { padding: 16px; }
.dk-quote-list, .dk-quote-table { margin: 0; padding: 0; }
.dk-quote-item, .dk-quote-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border-light, #eee);
}
.dk-quote-thumb { width: 64px; height: 64px; flex: 0 0 64px; border: 1px solid var(--border-light, #eee); border-radius: 6px; overflow: hidden; background: #fff; }
.dk-quote-thumb img { width: 100%; height: 100%; object-fit: contain; }
.dk-quote-info { flex: 1 1 auto; min-width: 0; font-size: 13px; }
.dk-quote-info a { display: block; line-height: 1.35; }
.dk-quote-meta { color: #747474; font-size: 12px; margin-top: 4px; }
.dk-quote-remove { border: 0; background: transparent; color: #999; font-size: 18px; cursor: pointer; padding: 6px; }
.dk-quote-remove:hover { color: var(--bg-primary, #755d39); }
.dk-quote-qty { width: 110px; flex: 0 0 110px; }
.dk-quote-actions { padding-top: 16px; }
.dk-quote-empty { padding: 30px 10px; color: #747474; }
.dk-quote-empty i { font-size: 42px; color: var(--bg-primary, #755d39); display: block; margin-bottom: 10px; }
@media (max-width: 575px) {
  .dk-quote-row { flex-wrap: wrap; }
  .dk-quote-qty { margin-left: 76px; }
}

/* canlı arama sonuç kutusu */
#dynamic-search[hidden] { display: none !important; }

/* ---- üst bilgi bandı (#header-top) ---- */
.v5-mango.folder-header.tpl-user_default #header-top { background-color: #AD8B56 !important; }
.v5-mango.folder-header.tpl-user_default #header-top a { padding-top: 10px; padding-bottom: 10px; color: #fff; }
.v5-mango.folder-header.tpl-user_default #header-top .text-primary { color: #fff !important; }
.v5-mango.folder-header.tpl-user_default #header-top .border-left,
.v5-mango.folder-header.tpl-user_default #header-top .border-right { border-color: rgba(255, 255, 255, .3) !important; }
