/* =========================================================
   İstanbul Pet Shop – Tema D "Modern" (OpenCart 3.0.5.0)
   Fotoğraf odaklı, ferah, modern e-ticaret görünümü.
   ========================================================= */
:root {
  --pr: #0B506E;
  --pr-dk: #083B52;
  --cta: #0F1B21;
  --cta-dk: #0B506E;
  --acc: #ACC101;
  --brand-cyan: #00ACC1;
  --sale: #D63B1F;
  --ps-ink: #0F1B21;
  --ps-muted: #5E6B70;
  --ps-soft: #F3F5F4;
  --ps-line: #E6EAE9;
  --ps-radius: 20px;
  --ps-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ps-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}


/* ---------- Temel ---------- */
body {
  font-family: var(--ps-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ps-ink);
  background: #fff;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--ps-head); color: var(--ps-ink); font-weight: 600; }
h1 { font-size: 34px; } h2 { font-size: 28px; } h3 { font-size: 22px; }
a { color: var(--pr); }
a:hover, a:focus { color: var(--cta-dk); text-decoration: none; }
legend { font-family: var(--ps-head); font-size: 20px; border-color: var(--ps-line); }
.container { max-width: 1240px; width: auto; padding-left: 16px; padding-right: 16px; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }

/* Bootstrap clearfix sözde öğeleri grid/flex düzenlerini bozmasın */
#ps-top .container::before, #ps-top .container::after,
#ps-header .container::before, #ps-header .container::after,
.ps-hero .container::before, .ps-hero .container::after,
.ps-newsletter .container::before, .ps-newsletter .container::after { display: none; }

/* ---------- Butonlar ---------- */
.btn { border-radius: 999px; font-weight: 700; padding: 9px 20px; border-width: 2px; text-shadow: none; box-shadow: none; background-image: none; transition: background .15s, transform .15s; }
.btn-lg { padding: 13px 28px; font-size: 17px; }
.btn-xs, .btn-sm { padding: 5px 12px; }
.btn-primary, .btn-primary:focus { background: var(--cta); border-color: var(--cta); color: #fff; }
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] { background: var(--cta-dk); border-color: var(--cta-dk); color: #fff; }
.btn-default { background: #fff; border-color: var(--ps-line); color: var(--ps-ink); }
.btn-default:hover { background: var(--ps-soft); border-color: var(--pr); color: var(--pr); }
.btn-info, .btn-info:focus { background: var(--pr); border-color: var(--pr); color: #fff; }
.btn-info:hover, .btn-info:active { background: var(--pr-dk); border-color: var(--pr-dk); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--pr); }

/* ---------- Form ---------- */
.form-control { border-radius: 12px; border: 2px solid var(--ps-line); box-shadow: none; height: 44px; font-size: 15px; }
textarea.form-control { height: auto; }
.form-control:focus { border-color: var(--pr); box-shadow: 0 0 0 3px rgba(11,94,99,.15); }

/* ---------- Üst bilgi şeridi ---------- */
#ps-top { background: var(--pr); color: #E6F2F1; font-size: 13px; }
#ps-top .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; flex-wrap: wrap; }
#ps-top a, #ps-top .btn-link { color: #fff; }
#ps-top a:hover, #ps-top .btn-link:hover { color: var(--acc); }
#ps-top .ps-promo { font-weight: 700; }
#ps-top .ps-promo .fa { color: var(--acc); margin-right: 6px; }
#ps-top .ps-top-links { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
#ps-top .ps-top-links > li { position: relative; }
#ps-top form { display: inline-block; }
#ps-top .btn-link { padding: 0; border: 0; font-size: 13px; font-weight: 600; }
#ps-top .dropdown-menu { border-radius: 12px; border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
#ps-top .dropdown-menu a, #ps-top .dropdown-menu .btn-link { color: var(--ps-ink); padding: 6px 16px; display: block; }
#top { display: none; } /* varsayılan üst çubuk yerine #ps-top */

/* ---------- Ana başlık ---------- */
#ps-header { background: #fff; padding: 18px 0; border-bottom: 1px solid var(--ps-line); }
#ps-header .container { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; }
#logo { margin: 0; }
#logo img { max-height: 58px; width: auto; }
#logo h1 { margin: 0; font-size: 28px; }
#logo h1 a { color: var(--pr); }
#logo h1 a::before { content: "\f1b0"; font-family: FontAwesome; color: var(--cta); margin-right: 8px; }
#search { margin: 0; max-width: 620px; width: 100%; justify-self: center; }
#search .input-lg { height: 50px; border-radius: 999px 0 0 999px; border: 2px solid var(--ps-line); border-right: 0; padding-left: 22px; font-size: 15px; background: var(--ps-soft); }
#search .input-lg:focus { background: #fff; border-color: var(--pr); }
#search .btn-lg { height: 50px; border-radius: 0 999px 999px 0; background: var(--pr); border: 2px solid var(--pr); color: #fff; padding: 0 22px; font-size: 17px; text-shadow: none; }
#search .btn-lg:hover { background: var(--pr-dk); }
.ps-actions { display: flex; align-items: center; gap: 8px; }
.ps-icon-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 56px; min-height: 48px; padding: 4px 8px; border-radius: 14px; color: var(--ps-ink); font-size: 12px; font-weight: 700; line-height: 1.2; }
.ps-icon-btn .fa { font-size: 21px; margin-bottom: 3px; color: var(--pr); }
.ps-icon-btn:hover { background: var(--ps-soft); color: var(--ps-ink); }
#cart { margin: 0; width: auto; }
#cart > .btn { background: var(--cta); border: 0; color: #fff; height: 50px; padding: 0 20px; font-size: 14px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
#cart > .btn:hover, #cart.open > .btn { background: var(--cta-dk); color: #fff; }
#cart .dropdown-menu { border-radius: 16px; border: 0; box-shadow: 0 16px 40px rgba(0,0,0,.16); padding: 10px; min-width: 360px; }
#cart .dropdown-menu .btn { padding: 6px 14px; }

/* ---------- Kategori menüsü ---------- */
.ps-menu-wrap { background: #fff; border-bottom: 1px solid var(--ps-line); box-shadow: 0 6px 18px rgba(29,43,44,.05); }
.ps-menu-wrap > .container { padding: 0 16px; }
#menu { background: transparent; border: 0; border-radius: 0; min-height: 52px; margin: 0; padding: 0; }
#menu .nav > li > a { color: var(--ps-ink); text-shadow: none; font-family: var(--ps-head); font-weight: 500; font-size: 16px; padding: 15px 16px; background: transparent; }
#menu .nav > li > a:hover, #menu .nav > li.open > a { color: var(--pr); background: var(--ps-soft); }
#menu .nav > li > a::after { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--cta); transform: scaleX(0); transition: transform .2s; margin-top: 4px; }
#menu .nav > li > a:hover::after, #menu .nav > li.open > a::after { transform: scaleX(1); }
#menu .dropdown-menu { border-radius: 0 0 16px 16px; border: 0; box-shadow: 0 18px 36px rgba(0,0,0,.12); padding: 12px 8px; }
#menu .dropdown-inner a { color: var(--ps-ink); padding: 6px 14px; border-radius: 8px; font-size: 14px; min-width: 180px; }
#menu .dropdown-inner li a:hover { background: var(--ps-soft); color: var(--pr); }
#menu .see-all { color: var(--cta-dk); font-weight: 800; border-top: 1px solid var(--ps-line); border-radius: 0; }
#menu .see-all:hover { background: var(--ps-soft); color: var(--cta-dk); }
#menu #category { color: var(--ps-ink); font-family: var(--ps-head); font-weight: 600; text-shadow: none; padding: 14px 0; }
#menu .btn-navbar { background: var(--pr); border: 0; color: #fff; border-radius: 12px; margin: 8px 0; padding: 8px 14px; }

/* ---------- Kahraman alanı (ana sayfa) ---------- */
.ps-hero { background: var(--pr); color: #fff; overflow: hidden; position: relative; }
.ps-hero .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; min-height: 440px; padding-top: 40px; padding-bottom: 40px; }
.ps-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; margin: 0 0 16px; font-weight: 700; text-wrap: balance; }
.ps-hero p { font-size: 18px; color: #D6EAE9; max-width: 32em; margin: 0 0 26px; }
.ps-hero .ps-tag { display: inline-block; background: var(--acc); color: var(--ps-ink); font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-bottom: 18px; }
.ps-hero .ps-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ps-hero-art { width: 100%; max-width: 560px; justify-self: end; }
.ps-hero-art img, .ps-hero-art svg { width: 100%; height: auto; display: block; }

/* ---------- Kategori kutucukları ---------- */
.ps-section { padding: 48px 0 8px; }
.ps-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ps-section-head h2 { margin: 0; }
.ps-section-head a { font-weight: 800; }
.ps-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ps-cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px 18px; border-radius: var(--ps-radius); background: var(--ps-soft); color: var(--ps-ink); font-family: var(--ps-head); font-weight: 600; font-size: 17px; transition: transform .2s, box-shadow .2s; text-align: center; }
.ps-cat svg { width: 76px; height: 76px; }
.ps-cat small { font-family: var(--ps-body); font-weight: 600; font-size: 13px; color: var(--ps-muted); }
.ps-cat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,94,99,.14); color: var(--pr); }

/* ---------- Güven şeridi ---------- */
.ps-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 40px 0 8px; }
.ps-trust > div { display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px solid var(--ps-line); border-radius: var(--ps-radius); }
.ps-trust .fa { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--acc); color: var(--ps-ink); display: grid; place-items: center; font-size: 20px; }
.ps-trust strong { display: block; font-family: var(--ps-head); font-weight: 600; font-size: 16px; }
.ps-trust span { color: var(--ps-muted); font-size: 13px; }

/* ---------- Modül başlıkları ---------- */
#content > h3, #common-home #content h3 { font-size: 28px; margin: 44px 0 20px; display: flex; align-items: center; gap: 10px; }
#common-home #content > h3::before { content: "\f1b0"; font-family: FontAwesome; color: var(--cta); font-size: 22px; }

/* ---------- Ürün kartı (tüm modüller, kategori, arama) ---------- */
.product-thumb { border: 2px solid var(--ps-line); border-radius: var(--ps-radius); overflow: hidden; background: #fff; margin-bottom: 24px; transition: box-shadow .2s, transform .2s, border-color .2s; display: flex; flex-direction: column; }
.product-thumb:hover { border-color: transparent; box-shadow: 0 18px 40px rgba(29,43,44,.12); transform: translateY(-3px); }
.product-thumb .image { background: var(--ps-soft); padding: 18px; text-align: center; position: relative; }
.product-thumb .image img { margin: 0 auto; mix-blend-mode: multiply; transition: transform .3s; }
.product-thumb:hover .image img { transform: scale(1.04); }
.product-thumb .caption { padding: 14px 16px 4px; min-height: 0; flex: 1; }
.product-thumb h4 { font-family: var(--ps-body); font-weight: 700; font-size: 15px; line-height: 1.35; margin: 0 0 6px; }
.product-thumb h4 a { color: var(--ps-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-thumb h4 a:hover { color: var(--pr); }
.product-thumb .caption > p:not(.price) { font-size: 13px; color: var(--ps-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-thumb .price { font-family: var(--ps-head); font-size: 21px; font-weight: 600; color: var(--pr); margin: 6px 0 8px; white-space: nowrap; }
.product-thumb .price-new { color: var(--cta-dk); }
.product-thumb .price-old { font-size: 14px; color: var(--ps-muted); text-decoration: line-through; margin-left: 6px; font-family: var(--ps-body); }
.product-thumb .price-tax { display: none; }
.rating .fa-star { color: var(--acc); }
.rating .fa-star-o { color: var(--ps-line); }
.product-thumb .button-group { border: 0; background: transparent; display: flex; gap: 8px; padding: 0 16px 16px; overflow: visible; }
.product-thumb .button-group button { float: none; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--ps-soft); border: 0; color: var(--pr); font-weight: 800; text-transform: none; line-height: 44px; padding: 0; }
.product-thumb .button-group button + button { width: 44px; }
.product-thumb .button-group button:hover { background: var(--pr); color: #fff; }
.product-thumb .button-group button:first-child { flex: 1; width: auto; border-radius: 999px; background: var(--cta); color: #fff; font-size: 14px; }
.product-thumb .button-group button:first-child span { display: inline !important; }
.product-thumb .button-group button:first-child:hover { background: var(--cta-dk); }
.product-layout .product-thumb { height: calc(100% - 24px); }
.product-grid, .product-layout { display: flex; }
.row:has(> .product-layout) { display: flex; flex-wrap: wrap; }
.row:has(> .product-layout)::before, .row:has(> .product-layout)::after { display: none; }
.product-layout > .product-thumb { width: 100%; }
/* Liste görünümü */
.product-list .product-thumb { flex-direction: row; }
.product-list .product-thumb .image { flex: 0 0 240px; }
.product-list .product-thumb .button-group { border: 0; padding: 0 16px 16px; }

/* ---------- Kategori / ürün sayfaları ---------- */
.breadcrumb { background: transparent; border: 0; padding: 18px 0 8px; margin: 0 0 10px; font-size: 13px; }
.breadcrumb > li { text-shadow: none; padding: 0 18px 0 0; }
.breadcrumb > li::after { display: none; }
.breadcrumb > li + li::before { content: "\f105"; font-family: FontAwesome; color: var(--ps-muted); padding: 0 10px 0 0; }
.breadcrumb a { color: var(--ps-muted); }
.list-group a { border-color: var(--ps-line); color: var(--ps-ink); padding: 11px 16px; }
.list-group a.active, .list-group a.active:hover, .list-group a:hover { background: var(--ps-soft); border-color: var(--ps-line); color: var(--pr); font-weight: 700; text-shadow: none; }
.list-group-item:first-child { border-top-left-radius: 14px; border-top-right-radius: 14px; }
.list-group-item:last-child { border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; }
#column-left h3, #column-right h3 { font-size: 18px; }
#product-product h1, #product-category h2 { font-size: 30px; }
#product-product .thumbnails .thumbnail { border-radius: var(--ps-radius); border: 2px solid var(--ps-line); background: var(--ps-soft); }
#product-product .list-unstyled h2 { font-family: var(--ps-head); color: var(--pr); font-size: 34px; }
#product-product #button-cart { background: var(--cta); border-color: var(--cta); font-size: 17px; padding: 14px; }
#product-product #button-cart:hover { background: var(--cta-dk); }
.nav-tabs { border-bottom: 2px solid var(--ps-line); }
.nav-tabs > li > a { border: 0; border-radius: 12px 12px 0 0; color: var(--ps-muted); font-weight: 700; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { border: 0; background: var(--ps-soft); color: var(--pr); }
.pagination > li > a, .pagination > li > span { border: 0; margin: 0 3px; border-radius: 10px !important; color: var(--ps-ink); font-weight: 700; }
.pagination > .active > a, .pagination > .active > span, .pagination > .active > span:hover { background: var(--pr); }
.alert { border-radius: 14px; border: 0; }
.alert-success { background: #E3F4EE; color: #0D5B45; }
.table-bordered, .table-bordered td, .table-bordered th { border-color: var(--ps-line); }
.well { background: var(--ps-soft); border: 0; border-radius: var(--ps-radius); box-shadow: none; }
.panel { border-radius: var(--ps-radius); border-color: var(--ps-line); box-shadow: none; }
.panel-default > .panel-heading { background: var(--ps-soft); border-color: var(--ps-line); border-radius: var(--ps-radius) var(--ps-radius) 0 0; }

/* ---------- Bülten bandı + altbilgi ---------- */
.ps-newsletter { background: var(--acc); margin-top: 56px; }
.ps-newsletter .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 30px; padding-bottom: 30px; flex-wrap: wrap; }
.ps-newsletter h3 { margin: 0 0 4px; font-size: 24px; }
.ps-newsletter p { margin: 0; color: #4A3D16; }
.ps-newsletter .btn { background: var(--ps-ink); border-color: var(--ps-ink); color: #fff; }
.ps-newsletter .btn:hover { background: var(--pr); border-color: var(--pr); }
footer { background: var(--pr-dk); color: #CFE3E2; border: 0; margin-top: 0; padding: 48px 0 0; }
footer h5 { color: #fff; font-family: var(--ps-head); font-size: 17px; font-weight: 600; margin-bottom: 14px; }
footer a { color: #CFE3E2; }
footer a:hover { color: var(--acc); }
footer ul.list-unstyled li { padding: 3px 0; }
footer hr { border-color: rgba(255,255,255,.14); margin: 28px 0 0; }
.ps-foot-brand p { max-width: 26em; font-size: 14px; }
.ps-foot-brand .ps-foot-logo { font-family: var(--ps-head); font-size: 24px; color: #fff; font-weight: 600; margin-bottom: 10px; display: block; }
.ps-foot-brand .ps-foot-logo .fa { color: var(--acc); }
.ps-foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 0 22px; font-size: 13px; }
.ps-pay { display: flex; gap: 8px; font-size: 26px; color: #fff; }

/* ---------- Duyarlı ---------- */
@media (max-width: 991px) {
  #ps-header .container { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
  #search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .ps-actions { justify-self: end; }
  .ps-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-hero .container { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .ps-hero-art { max-width: 420px; justify-self: center; }
}
@media (max-width: 767px) {
  #ps-top .ps-promo { width: 100%; text-align: center; padding-top: 6px; }
  #ps-top .container { justify-content: center; }
  .ps-icon-btn span.ps-lbl { display: none; }
  .ps-icon-btn { min-width: 44px; }
  #cart > .btn { padding: 0 14px; }
  #cart > .btn #cart-total { font-size: 0; }
  #cart > .btn #cart-total .fa { font-size: 18px; }
  #cart .dropdown-menu { min-width: 300px; right: 0; left: auto; }
  .ps-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ps-cat svg { width: 60px; height: 60px; }
  .ps-trust { grid-template-columns: 1fr; }
  .ps-hero .container { padding-top: 28px; }
  .ps-hero p { font-size: 16px; }
  .row:has(> .product-layout) { margin-left: 0; margin-right: 0; }
  .product-layout { padding-left: 0; padding-right: 0; }
  .product-thumb .image img { max-height: 200px; width: auto; }
  .product-list .product-thumb { flex-direction: column; }
  .product-list .product-thumb .image { flex: none; }
  #menu .nav > li > a::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Logo + mağaza adı ---------- */
.ps-brand { display: flex; align-items: center; gap: 10px; color: var(--pr); }
.ps-brand:hover { color: var(--pr); }
.ps-brand img { width: 54px; height: 54px; object-fit: contain; }
.ps-brand-name { font-family: var(--ps-head); font-weight: 700; font-size: 24px; line-height: 1; white-space: nowrap; }
.ps-brand-name small { display: block; font-family: var(--ps-body); font-size: 12px; font-weight: 700; color: var(--ps-muted); margin-top: 4px; letter-spacing: 0; }

/* ---------- Kategori menüsü (mega menü) ---------- */
.ps-nav { background: #fff; border-bottom: 1px solid var(--ps-line); position: relative; z-index: 20; }
.ps-nav > .container { position: relative; }
.ps-nav-toggle { display: none; }
.ps-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.ps-nav-item { position: static; }
.ps-nav-link { display: flex; align-items: center; gap: 8px; padding: 15px 14px; color: var(--ps-ink); font-family: var(--ps-head); font-weight: 600; font-size: 16px; }
.ps-nav-link .fa-angle-down { font-size: 13px; color: var(--ps-muted); }
.ps-nav-item:hover > .ps-nav-link, .ps-nav-item:focus-within > .ps-nav-link { color: var(--pr); background: var(--ps-soft); }
.ps-nav-item.is-sale .ps-nav-link { color: var(--sale); }
.ps-mega { display: none; position: absolute; left: 16px; right: 16px; top: 100%; background: #fff; border-radius: 0 0 var(--ps-radius) var(--ps-radius); box-shadow: 0 24px 48px rgba(11,40,55,.16); padding: 22px 24px 16px; }
.ps-nav-item:hover > .ps-mega, .ps-nav-item:focus-within > .ps-mega { display: block; }
.ps-mega-cols { columns: 4 190px; column-gap: 24px; }
.ps-mega-cols a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ps-ink); font-size: 14px; font-weight: 600; break-inside: avoid; }
.ps-mega-cols a:hover { background: var(--ps-soft); color: var(--pr); }
.ps-mega-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 10px 0; border-top: 1px solid var(--ps-line); width: 100%; font-weight: 800; color: var(--cta-dk); }

/* ---------- Kategori kutucuk sayısı ---------- */
.ps-cats { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.ps-cat { font-size: 16px; padding: 18px 6px 16px; }
.ps-tag { display: inline-block; background: var(--acc); color: var(--ps-ink); font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; }
.ps-cat b { font-family: var(--ps-body); font-size: 12px; font-weight: 800; color: var(--pr); background: #fff; border-radius: 999px; padding: 2px 10px; }

/* ---------- Markalar ---------- */
.ps-brands { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-brands a { padding: 10px 18px; border: 2px solid var(--ps-line); border-radius: 999px; font-weight: 800; color: var(--ps-ink); background: #fff; }
.ps-brands a:hover { border-color: var(--pr); color: var(--pr); }

/* ---------- Mağaza bilgisi bandı ---------- */
.ps-store { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; border-radius: var(--ps-radius); overflow: hidden; margin-top: 48px; background: var(--ps-soft); }
.ps-store > div { padding: 32px; }
.ps-store h2 { margin: 0 0 10px; }
.ps-store p { color: var(--ps-muted); margin: 0 0 6px; }
.ps-store .ps-store-side { background: var(--pr); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.ps-store .ps-store-side a { color: #fff; font-family: var(--ps-head); font-size: 24px; font-weight: 600; }
.ps-store .ps-store-side span { color: rgba(255,255,255,.78); font-size: 14px; }

.product-thumb .price-new { color: var(--sale); }
@media (max-width: 991px) {
  .ps-nav-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; background: none; border: 0; font-family: var(--ps-head); font-weight: 600; font-size: 17px; color: var(--ps-ink); padding: 0; }
  .ps-nav-toggle .fa { color: var(--pr); }
  .ps-nav-list { display: none; flex-direction: column; padding-bottom: 10px; }
  .ps-nav-list.in { display: flex; }
  .ps-nav-link { padding: 12px 6px; border-top: 1px solid var(--ps-line); }
  .ps-nav-link .fa-angle-down, .ps-mega { display: none !important; }
  .ps-store { grid-template-columns: 1fr; }
  .ps-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ps-brand-name small { display: none; }
}
@media (max-width: 480px) {
  .ps-brand img { width: 44px; height: 44px; }
  .ps-brand-name { font-size: 19px; white-space: normal; }
  .ps-actions { gap: 2px; }
  #wishlist-total { display: none; }
}
@media (max-width: 600px) {
  .ps-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ps-cat { font-size: 15px; }
}

/* ================= Tema D: Modern ================= */
body.ps-theme-d { font-size: 15px; color: var(--ps-ink); -webkit-font-smoothing: antialiased; }
.ps-theme-d h1, .ps-theme-d h2, .ps-theme-d h3, .ps-theme-d h4 { font-weight: 800; letter-spacing: -.025em; }
.ps-theme-d .btn { border-radius: 999px; font-weight: 700; border-width: 1.5px; }
.ps-theme-d .btn-lg { padding: 14px 28px; font-size: 15.5px; }
.ps-theme-d .btn-primary { background: var(--ps-ink); border-color: var(--ps-ink); }
.ps-theme-d .btn-primary:hover, .ps-theme-d .btn-primary:focus { background: var(--pr); border-color: var(--pr); }
.ps-theme-d .btn-default { background: #fff; border-color: #CDD5D3; color: var(--ps-ink); }
.ps-theme-d .btn-default:hover { border-color: var(--ps-ink); background: #fff; color: var(--ps-ink); }
.ps-theme-d .form-control { border-radius: 12px; border-width: 1.5px; }
/* duyuru şeridi */
#ps-top.ps-top-d { background: var(--ps-ink); color: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 600; }
#ps-top.ps-top-d .container { justify-content: center; min-height: 36px; gap: 12px; }
#ps-top.ps-top-d a { color: #fff; }
#ps-top.ps-top-d a:hover { color: var(--acc); }
.ps-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--acc); display: inline-block; }
/* başlık */
.ps-theme-d #ps-header { padding: 18px 0 10px; border: 0; }
.ps-theme-d .ps-brand img { width: 46px; height: 46px; }
.ps-theme-d .ps-brand-name { font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.ps-theme-d .ps-brand-name small { font-weight: 600; }
.ps-theme-d #search .input-lg { background: var(--ps-soft); border: 1.5px solid transparent; border-right: 0; border-radius: 999px 0 0 999px; height: 50px; font-size: 14.5px; }
.ps-theme-d #search .input-lg:focus { background: #fff; border-color: var(--ps-ink); }
.ps-theme-d #search .btn-lg { background: var(--ps-soft); border: 1.5px solid transparent; color: var(--ps-ink); height: 50px; border-radius: 0 999px 999px 0; }
.ps-theme-d #search .btn-lg:hover { background: var(--ps-ink); color: #fff; }
.ps-theme-d .ps-icon-btn { border-radius: 14px; font-weight: 700; }
.ps-theme-d .ps-icon-btn .fa { color: var(--ps-ink); }
.ps-theme-d #cart > .btn { background: var(--ps-ink); height: 50px; font-weight: 700; }
.ps-theme-d #cart > .btn:hover { background: var(--pr); }
/* menü */
.ps-nav-d { border-bottom: 1px solid var(--ps-line); }
.ps-nav-d .ps-nav-link { font-family: var(--ps-body); font-weight: 700; font-size: 14.5px; padding: 14px 14px 16px; color: var(--ps-ink); position: relative; }
.ps-nav-d .ps-nav-item:hover > .ps-nav-link, .ps-nav-d .ps-nav-item:focus-within > .ps-nav-link { background: transparent; color: var(--ps-ink); }
.ps-nav-d .ps-nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--ps-ink); transform: scaleY(0); transform-origin: bottom; transition: transform .15s; }
.ps-nav-d .ps-nav-item:hover > .ps-nav-link::after { transform: scaleY(1); }
.ps-nav-d .ps-nav-item.is-sale .ps-nav-link span { background: var(--acc); color: var(--ps-ink); padding: 4px 12px; border-radius: 999px; }
.ps-nav-d .ps-nav-item.is-sale .ps-nav-link::after { display: none; }
.ps-nav-d .ps-mega { border-radius: 0 0 20px 20px; border: 1px solid var(--ps-line); border-top: 0; box-shadow: 0 24px 50px rgba(15,27,33,.12); padding: 26px 28px 18px; }
.ps-nav-d .ps-mega-cols a { font-weight: 600; border-radius: 10px; }
.ps-nav-d .ps-mega-all { color: var(--ps-ink); }
/* kahraman */
.ps-d-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; margin-top: 22px; padding: 44px 44px 44px 52px; background: #EEF4F5; border-radius: 28px; }
.ps-d-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 7px 14px 7px 10px; font-size: 13px; font-weight: 700; }
.ps-d-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-cyan); box-shadow: 0 0 0 4px rgba(0,172,193,.18); }
.ps-d-hero h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.02; margin: 20px 0 16px; text-wrap: balance; }
.ps-d-hero p { font-size: 17px; color: var(--ps-muted); max-width: 30em; margin: 0 0 28px; }
.ps-d-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-d-stats { list-style: none; display: flex; gap: 28px; padding: 0; margin: 34px 0 0; }
.ps-d-stats li { color: var(--ps-muted); font-size: 13px; font-weight: 600; }
.ps-d-stats b { display: block; color: var(--ps-ink); font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.ps-d-bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 470px; }
.ps-d-tile { position: relative; border-radius: 22px; overflow: hidden; display: grid; place-items: center; padding: 18px 18px 64px; transition: transform .25s; }
.ps-d-tile:hover { transform: translateY(-3px); }
.ps-d-tile img { max-width: 78%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.ps-d-tile:hover img { transform: scale(1.04); }
.ps-d-tile.t1 { grid-row: span 2; background: #fff; }
.ps-d-tile.t2 { background: #F1F5DF; }
.ps-d-tile.t3 { background: #E3EEF6; }
.ps-d-tile.t4 { display: none; }
.ps-d-chip { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-radius: 14px; padding: 10px 12px; color: var(--ps-ink); }
.ps-d-tile.t1 .ps-d-chip { background: var(--ps-soft); }
.ps-d-chip b { font-size: 12.5px; font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ps-d-chip i { font-style: normal; font-weight: 800; font-size: 14px; white-space: nowrap; }
/* kategoriler */
.ps-d-sec { margin-top: 56px; }
.ps-d-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.ps-d-head h2 { margin: 0; font-size: 30px; }
.ps-d-head a { font-weight: 700; color: var(--ps-ink); }
.ps-d-rail { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ps-d-cat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 8px; border-radius: 20px; color: var(--ps-ink); transition: background .2s; text-align: center; }
.ps-d-cat:hover { background: var(--ps-soft); color: var(--ps-ink); }
.ps-d-cat-ico { width: 84px; height: 84px; border-radius: 50%; background: var(--ps-soft); display: grid; place-items: center; margin-bottom: 8px; transition: transform .2s; }
.ps-d-cat:hover .ps-d-cat-ico { transform: scale(1.06); background: #fff; }
.ps-d-cat-ico svg { width: 64px; height: 64px; }
.ps-d-cat-ico svg circle:first-child { fill: transparent; }
.ps-d-cat b { font-size: 15px; }
.ps-d-cat small { font-size: 12px; color: var(--ps-muted); font-weight: 600; }
/* ürün kartı */
.ps-theme-d #common-home #content > h3 { font-size: 30px; margin: 56px 0 22px; }
.ps-theme-d #common-home #content > h3::before { display: none; }
.ps-theme-d .product-thumb { border: 0; border-radius: 0; background: transparent; position: relative; overflow: visible; }
.ps-theme-d .product-thumb:hover { box-shadow: none; transform: none; }
.ps-theme-d .product-thumb .image { background: var(--ps-soft); border-radius: 20px; padding: 26px; }
.ps-theme-d .product-thumb .image img { mix-blend-mode: multiply; }
.ps-theme-d .product-thumb .caption { padding: 14px 4px 4px; }
.ps-theme-d .product-thumb h4 { font-weight: 600; font-size: 14.5px; }
.ps-theme-d .product-thumb .price { font-family: var(--ps-body); font-weight: 800; font-size: 19px; color: var(--ps-ink); letter-spacing: -.02em; }
.ps-theme-d .product-thumb .button-group { padding: 0 4px 6px; }
.ps-theme-d .product-thumb .button-group button:first-child { background: var(--ps-ink); border-radius: 999px; height: 44px; font-weight: 700; }
.ps-theme-d .product-thumb .button-group button:first-child:hover { background: var(--pr); }
.ps-theme-d .product-thumb .button-group button:nth-child(2) { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; line-height: 40px; background: #fff; color: var(--ps-ink); box-shadow: 0 4px 14px rgba(15,27,33,.1); }
.ps-theme-d .product-thumb .button-group button:nth-child(2):hover { color: var(--sale); background: #fff; }
.ps-theme-d .product-thumb .button-group button:nth-child(3) { position: absolute; top: 60px; right: 12px; width: 40px; height: 40px; line-height: 40px; background: #fff; color: var(--ps-ink); box-shadow: 0 4px 14px rgba(15,27,33,.1); opacity: 0; transition: opacity .2s; }
.ps-theme-d .product-thumb:hover .button-group button:nth-child(3) { opacity: 1; }
/* promosyonlar */
.ps-d-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.ps-d-promo { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 24px; padding: 32px 30px 32px 36px; min-height: 220px; overflow: hidden; transition: transform .25s; }
.ps-d-promo:hover { transform: translateY(-3px); }
.ps-d-promo span { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ps-d-promo h3 { font-size: 28px; line-height: 1.1; margin: 8px 0 16px; max-width: 10em; }
.ps-d-promo em { font-style: normal; font-weight: 800; }
.ps-d-promo img { width: 170px; height: 170px; object-fit: contain; background: #fff; border-radius: 20px; padding: 12px; flex: none; transform: rotate(-4deg); }
.ps-d-promo-dark { background: var(--pr); color: #fff; }
.ps-d-promo-dark:hover, .ps-d-promo-dark h3 { color: #fff; }
.ps-d-promo-dark span { color: var(--brand-cyan); }
.ps-d-promo-lime { background: #E9F1C2; color: var(--ps-ink); }
.ps-d-promo-lime:hover { color: var(--ps-ink); }
.ps-d-promo-lime span { color: #5F6B00; }
/* markalar */
.ps-d-brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ps-d-brands a { text-align: center; padding: 14px 12px; border-radius: 999px; background: var(--ps-soft); font-weight: 800; font-size: 15px; color: var(--ps-ink); letter-spacing: -.01em; transition: background .2s, color .2s; }
.ps-d-brands a:hover { background: var(--ps-ink); color: #fff; }
/* yardım */
.ps-d-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding: 36px 40px; border-radius: 28px; border: 1.5px solid var(--ps-line); }
.ps-d-help h2 { font-size: 26px; margin: 0 0 6px; }
.ps-d-help p { color: var(--ps-muted); margin: 0; max-width: 46em; }
.ps-d-help-cta { display: flex; gap: 10px; flex-wrap: wrap; }
/* bülten + altbilgi */
.ps-theme-d .ps-newsletter { background: var(--acc); margin-top: 64px; }
.ps-theme-d .ps-newsletter h3 { font-size: 24px; }
.ps-theme-d .ps-newsletter p { color: #3D4500; }
.ps-theme-d .ps-newsletter .btn { background: var(--ps-ink); border-color: var(--ps-ink); }
.ps-theme-d footer { background: var(--ps-ink); }
.ps-theme-d footer h5 { font-family: var(--ps-body); font-weight: 800; font-size: 14px; }
.ps-theme-d .ps-foot-logo { display: flex !important; align-items: center; gap: 10px; font-family: var(--ps-body); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.ps-theme-d .ps-foot-logo img { background: #fff; border-radius: 12px; padding: 3px; }
.ps-theme-d .breadcrumb { font-weight: 600; }
.ps-theme-d .list-group a { border-radius: 0; }
@media (max-width: 1199px) {
  .ps-d-hero { grid-template-columns: 1fr 1fr; padding: 36px; }
  .ps-d-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .ps-d-hero { grid-template-columns: 1fr; }
  .ps-d-bento { height: 400px; }
  .ps-d-promos { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ps-d-hero { padding: 26px 20px; border-radius: 22px; }
  .ps-d-stats { gap: 18px; }
  .ps-d-bento { height: 340px; gap: 10px; }
  .ps-d-chip { padding: 8px 10px; left: 8px; right: 8px; bottom: 8px; }
  .ps-d-chip b { font-size: 11px; }
  .ps-d-chip i { font-size: 12.5px; }
  .ps-d-tile { padding: 12px 12px 58px; }
  .ps-d-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; margin: 0 -16px; padding: 0 16px 6px; }
  .ps-d-rail .ps-d-cat { flex: 0 0 104px; scroll-snap-align: start; }
  .ps-d-cat-ico { width: 72px; height: 72px; }
  .ps-d-head h2, .ps-theme-d #common-home #content > h3 { font-size: 24px; }
  .ps-d-promo { padding: 24px; min-height: 0; }
  .ps-d-promo img { width: 110px; height: 110px; }
  .ps-d-promo h3 { font-size: 22px; }
  .ps-d-help { padding: 26px 22px; }
  .ps-theme-d .product-layout { width: 50%; padding-left: 6px; padding-right: 6px; }
  .ps-theme-d .row:has(> .product-layout) { margin-left: -6px; margin-right: -6px; }
  .ps-theme-d .product-thumb .image { padding: 14px; border-radius: 16px; }
  .ps-theme-d .product-thumb .button-group button:first-child span { display: none !important; }
  .ps-theme-d .product-thumb .price { font-size: 16px; }
  .ps-theme-d .product-thumb .image img { max-height: 160px; }
}
@media (max-width: 767px) { .ps-d-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ps-d-chip b { display: none; } .ps-d-chip { justify-content: center; } }
