/* Category, article and related product grids */
.catalog-hero {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px,3.4vw,42px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 5%, rgba(185,46,104,.16), transparent 28%),
    linear-gradient(145deg,#faf8f9 0%,#eee8eb 100%);
  box-shadow: var(--shadow-sm);
}
.catalog-hero h1 { max-width: 880px; margin: 7px 0 0; font-size: clamp(32px,4vw,50px); line-height: 1; letter-spacing: -.045em; }
.catalog-hero p { max-width: 680px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.catalog-hero__count { flex: 0 0 auto; min-width: auto; min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 800; text-align: center; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0; }
.catalog-filter-toggle { display: none; }
.catalog-sort { display: flex; align-items: center; gap: 10px; margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; }
.catalog-sort select { min-width: 210px; min-height: 44px; padding: 0 42px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.catalog-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 28px; align-items: start; }
.catalog-sidebar { position: sticky; top: 86px; display: grid; gap: 14px; }
.catalog-sidebar__head { display: none; }
.filter-block { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.filter-block h2 { margin: 0 0 12px; font-size: 13px; }
.filter-options, .filter-block--categories ul { display: grid; gap: 6px; }
.filter-options a, .filter-block--categories li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 9px; border-radius: 9px; color: var(--muted); font-size: 12px; }
.filter-options a:hover,
.filter-options a.is-selected,
.filter-block--categories li a:hover { background: var(--surface); color: var(--accent); }
.filter-range { padding-top: 8px; }
.filter-range__values { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 11px; }
.catalog-products,
.article-products .products-grid {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 22px 18px !important;
  margin: 0 !important;
}
.related-products-grid { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:22px 18px !important; margin:0 !important; }
.products-grid > li.item { min-width: 0; }
.product-card-luxe {
  position: relative;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  border: 0 !important;
}
.product-card-luxe .item-cnt {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 6px 6px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(28,18,26,.055);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.product-card-luxe:hover .item-cnt { transform: translateY(-7px); border-color: rgba(185,46,104,.2); box-shadow: 0 28px 65px rgba(28,18,26,.12); }
.product-card-luxe .product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  display: block;
  overflow: hidden;
  border-radius: 19px;
  background: radial-gradient(circle at 50% 15%,#fff 0%,#f5f0f2 55%,#e9e1e5 100%);
}
.product-card-luxe .product-image img { width: 100%; height: 100%; padding: 4px; display: block; object-fit: contain; filter: drop-shadow(0 17px 18px rgba(28,18,26,.12)); transform: scale(1.07); transition: transform .5s ease, filter .5s ease; }
.product-card-luxe:hover .product-image img { transform: scale(1.12); filter: drop-shadow(0 23px 25px rgba(28,18,26,.18)); }
.product-image-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.product-card__view { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; background: rgba(22,18,24,.9); color: #fff; font-size: 11px; font-weight: 800; opacity: 0; transform: translateY(8px); backdrop-filter: blur(12px); transition: opacity .25s ease, transform .25s ease; }
.product-card-luxe:hover .product-card__view { opacity: 1; transform: none; }
.product-card-luxe .label_icon,
.product-card-luxe .discount-badge { position: absolute; z-index: 4; left: 16px; top: 16px; min-height: 30px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; box-shadow: 0 8px 20px rgba(185,46,104,.18); }
.product-card-luxe .label_icon.soldout { background: #4a454b; }
.product-card__content { display: flex; flex: 1; flex-direction: column; padding: 15px 6px 0; }
.product-card__eyebrow { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.product-card-luxe .product-name { min-height: 44px; margin: 7px 0 8px; font-size: 15px; line-height: 1.45; }
.product-card-luxe .product-name a { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.45; text-transform: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card-luxe:hover .product-name a { color: var(--accent); }
.product-card-luxe .price-box { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 9px; margin: auto 0 0; padding: 0; }
.product-card-luxe .old-price { width: auto; margin: 0; color: #9b949c; font-size: 12px; text-decoration: line-through; }
.product-card-luxe .price { color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.product-card-luxe .button { width: 100%; min-height: 43px; margin-top: 14px; padding: 0 16px; background: linear-gradient(135deg, #4a2033, #6f2948); color: #fff; box-shadow: none; }
.product-card-luxe .button:hover { background: var(--accent); }
.empty-state { padding: 70px 30px; border-radius: 24px; background: var(--surface); text-align: center; }
.empty-state > span { color: var(--accent); font-weight: 800; }
.empty-state h2 { margin: 10px 0; font-size: 34px; }
.empty-state p { color: var(--muted); }
.empty-state a { display: inline-flex; margin-top: 12px; font-weight: 800; }
.category-guide {
  margin-top: 44px;
}
.category-guide__panel {
  overflow: hidden;
  border: 1px solid rgba(50, 37, 44, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 34px rgba(42, 26, 35, .045);
}
.category-guide__summary {
  position: relative;
  min-height: 82px;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.category-guide__summary::-webkit-details-marker { display: none; }
.category-guide__summary::marker { content: ""; }
.category-guide__summary:hover { background: #fffafc; }
.category-guide__summary:focus-visible {
  outline: 2px solid rgba(181, 46, 100, .32);
  outline-offset: -2px;
}
.category-guide__identity { min-width: 0; }
.category-guide__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #a12e5c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.category-guide__identity h2 {
  margin: 0;
  color: #2e2329;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.category-guide__facts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}
.category-guide__facts span {
  min-height: 28px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(69, 49, 59, .08);
  border-radius: 999px;
  background: #f8f4f6;
  color: #75646c;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .01em;
}
.category-guide__toggle {
  min-width: 114px;
  min-height: 36px;
  padding: 0 10px 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(69, 49, 59, .12);
  border-radius: 999px;
  background: #fff;
  color: #4c3942;
  font-size: 10px;
  font-weight: 700;
}
.category-guide__toggle svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  transition: transform .22s ease;
}
.category-guide__toggle-close { display: none; }
.category-guide__panel[open] .category-guide__summary {
  border-bottom: 1px solid rgba(50, 37, 44, .08);
  background: #fffafc;
}
.category-guide__panel[open] .category-guide__toggle-open { display: none; }
.category-guide__panel[open] .category-guide__toggle-close { display: inline; }
.category-guide__panel[open] .category-guide__toggle svg { transform: rotate(180deg); }
.category-guide__content {
  padding: 18px 20px 22px;
}
.category-guide__intro {
  max-width: 760px;
  margin: 0 0 16px;
  color: #8a7780;
  font-size: 12px;
  line-height: 1.65;
}
.category-guide__body {
  min-width: 0;
  color: #5f5057;
  font-size: 13px;
  line-height: 1.72;
  overflow-wrap: anywhere;
  column-count: 2;
  column-gap: clamp(30px, 4vw, 52px);
  column-rule: 1px solid rgba(69, 49, 59, .07);
}
.category-guide__body > :first-child { margin-top: 0; }
.category-guide__body > :last-child { margin-bottom: 0; }
.category-guide__body p { margin: 0 0 1em; break-inside: avoid; }
.category-guide__body h2,
.category-guide__body h3,
.category-guide__body h4 {
  margin: 1.25em 0 .55em;
  break-after: avoid;
  color: #30242a;
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -.018em;
}
.category-guide__body h2 { font-size: 18px; }
.category-guide__body h3 { font-size: 15px; }
.category-guide__body h4 { font-size: 14px; }
.category-guide__body ul,
.category-guide__body ol {
  margin: 0 0 1em;
  padding-left: 1.15em;
  break-inside: avoid;
}
.category-guide__body ul { list-style: disc; }
.category-guide__body ol { list-style: decimal; }
.category-guide__body li + li { margin-top: .3em; }
.category-guide__body a {
  color: #a82f5f;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.related-products-section { margin-top: 78px; }
.related-products-section > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.related-products-section h2 { margin: 8px 0 0; font-size: clamp(32px,4vw,50px); line-height: 1; letter-spacing: -.05em; }

@media (max-width: 1050px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-filter-toggle { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; }
  .catalog-sidebar { position: fixed; z-index: 10000; left: 0; top: 0; bottom: 0; width: min(360px,88vw); padding: 18px; overflow-y: auto; background: #fff; box-shadow: 30px 0 70px rgba(20,15,20,.2); transform: translateX(-105%); transition: transform .3s ease; }
  .catalog-sidebar.is-open { transform: none; }
  .catalog-sidebar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; padding: 8px; }
  .catalog-sidebar__head button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
  .catalog-products,
  .article-products .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .related-products-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  .category-guide__summary { grid-template-columns: 1fr auto; gap: 12px; }
  .category-guide__facts { display: none; }
  .category-guide__body { column-count: 1; }
}

@media (max-width: 650px) {
  .catalog-hero { align-items: flex-start; flex-direction: column; min-height: 0; padding: 28px 22px; border-radius: 22px; }
  .catalog-hero h1 { font-size: 34px; }
  .catalog-hero__count { min-width: auto; min-height: 34px; }
  .catalog-toolbar { align-items: stretch; }
  .catalog-sort { flex: 1; }
  .catalog-sort select { min-width: 0; width: 100%; }
  .catalog-products,
  .related-products-grid,
  .article-products .products-grid { gap: 14px 10px !important; }
  .related-products-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .product-card-luxe .item-cnt { padding: 4px 4px 12px; border-radius: 18px; }
  .product-card-luxe .product-image { border-radius: 14px; }
  .product-card-luxe .product-image img { padding: 1px; transform: scale(1.08); }
  .product-card__content { padding: 11px 4px 0; }
  .product-card__eyebrow { display: none; }
  .product-card-luxe .product-name { min-height: 40px; margin-top: 0; }
  .product-card-luxe .product-name a { font-size: 12px; line-height: 1.4; }
  .product-card-luxe .price { font-size: 15px; }
  .product-card-luxe .old-price { font-size: 10px; }
  .product-card-luxe .button { min-height: 39px; margin-top: 10px; padding: 0 9px; font-size: 11px; }
  .product-card__view { display: none; }
  .product-card-luxe .label_icon,
  .product-card-luxe .discount-badge { left: 9px; top: 9px; min-height: 25px; padding: 0 8px; font-size: 8px; }
  .category-guide { margin-top: 30px; }
  .category-guide__panel { border-radius: 15px; }
  .category-guide__summary { min-height: 70px; padding: 12px 13px; gap: 9px; }
  .category-guide__identity h2 { font-size: 15px; line-height: 1.3; }
  .category-guide__eyebrow { margin-bottom: 3px; font-size: 8px; }
  .category-guide__toggle { min-width: 38px; width: 38px; height: 38px; padding: 0; }
  .category-guide__toggle-open,
  .category-guide__toggle-close { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .category-guide__content { padding: 15px 14px 18px; }
  .category-guide__intro { margin-bottom: 12px; font-size: 11px; }
  .category-guide__body { font-size: 12px; line-height: 1.68; }
}

/* Makale altındaki ürünler: eski float kurallarından tamamen ayrıştırılır. */
.article-products--premium .article-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px 18px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: both !important;
  list-style: none !important;
}
.article-products--premium .article-products-grid > li.item,
.article-products--premium .article-products-grid > .product-card-luxe {
  position: relative !important;
  display: block !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.article-products--premium .article-products-grid .item-cnt {
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 980px) {
  .article-products--premium .article-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 560px) {
  .article-products--premium .article-products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* NoktaShop product cards v2.5 cumulative refinements */
.product-card-luxe .product-image img{transition:opacity .35s ease,transform .5s ease,filter .5s ease}
.product-card-luxe .product-image__primary{position:relative;z-index:1;opacity:1}
.product-card-luxe .product-image__secondary{position:absolute;z-index:2;inset:0;opacity:0;transform:scale(1.04)}
.product-card-luxe:hover .product-image__primary{opacity:0}
.product-card-luxe:hover .product-image__secondary{opacity:1;transform:scale(1.08)}
.product-card__view{z-index:3;font-size:12px;font-weight:700}
.product-card-luxe .product-name a{font-weight:600}
.product-card-luxe .price{font-weight:700}
.product-card-luxe .button{font-size:13px;font-weight:700;letter-spacing:0;text-transform:none}
@media(hover:none){.product-card-luxe .product-image__secondary{display:none}.product-card-luxe .product-image__primary{opacity:1!important}}

/* NoktaShop v2.7.5 — 650x900 product image fit */
.product-card-luxe .product-image{
  aspect-ratio:650 / 900;
  background:#fff;
}
.product-card-luxe .product-image img{
  width:100%;
  height:100%;
  padding:0;
  object-fit:contain;
  object-position:center;
  transform:none;
  filter:none;
}
.product-card-luxe:hover .product-image img{
  transform:scale(1.018);
  filter:none;
}
.product-card-luxe .product-image__secondary{
  transform:none;
}
.product-card-luxe:hover .product-image__secondary{
  transform:scale(1.018);
}
@media(max-width:560px){
  .product-card-luxe .product-image img{
    padding:0;
    transform:none;
  }
}

/* NoktaShop v2.7.6 — mobile two-column product density */
@media (max-width: 650px) {
  .catalog-results {
    width: auto;
    margin-inline: -12px;
  }
  .catalog-products {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px 5px !important;
  }
  .catalog-products .product-card-luxe .item-cnt {
    padding: 2px 2px 10px;
    border-radius: 16px;
  }
  .catalog-products .product-card-luxe .product-image {
    width: 100%;
    aspect-ratio: 650 / 900;
    border-radius: 13px;
    background: #fff;
  }
  .catalog-products .product-card-luxe .product-image img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: contain;
    object-position: center;
    transform: none;
  }
  .catalog-products .product-card__content {
    padding: 9px 3px 0;
  }
  .catalog-products .product-card-luxe .product-name {
    min-height: 36px;
  }
  .catalog-products .product-card-luxe .product-name a {
    font-size: 11px;
    line-height: 1.35;
  }
  .catalog-products .product-card-luxe .price {
    font-size: 14px;
  }
}
