/* Bootstrap, styles.css'ten önce yüklenir; link renkleri burada sabitlenir */
.mega-menu .mega-grid a,
.mega-menu .mega-grid a:visited,
.mega-menu .mega-grid a:hover,
.mega-menu .mega-grid a:active,
.quick-nav a,
.quick-nav a:visited,
.quick-nav a:hover,
.category-strip a,
.category-strip a:visited,
.category-strip a:hover,
.site-footer a:not(.primary-button):not(.secondary-button),
.site-footer a:not(.primary-button):not(.secondary-button):visited {
  color: var(--ink, #11100f);
  text-decoration: none;
}

.site-footer .footer-grid a,
.site-footer .footer-grid a:visited {
  color: var(--muted, #746d66);
}

.site-footer .footer-grid a:hover {
  color: var(--ink, #11100f);
}

.mega-menu .eyebrow,
.cart-drawer .eyebrow,
.auth-modal .eyebrow {
  color: var(--red, #e52c20);
}

/* Mobil menü — ana kategori başlıkları ve girintili alt kategoriler */
.mega-menu .menu-block__title {
  font-size: 12px;
  margin-bottom: 10px;
}

.mega-menu .menu-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line, #e8e4df);
}

.mega-menu .menu-category-link {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 0;
  color: var(--red, #e52c20);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-decoration: none;
}

.mega-menu .menu-category-link:hover,
.mega-menu .menu-category-link:focus-visible {
  color: var(--red, #e52c20);
  text-decoration: none;
}

.mega-menu .menu-category-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted, #746d66);
  cursor: pointer;
}

.mega-menu .menu-category-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.mega-menu .menu-block--branch.is-open .menu-category-toggle svg {
  transform: rotate(180deg);
}

.mega-menu .menu-sub-list {
  display: grid;
  gap: 0;
  margin-bottom: 4px;
}

.mega-menu .menu-block--branch:not(.is-open) .menu-sub-list {
  display: none;
}

.mega-menu .menu-sub-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 0.35rem;
  font-size: 15px;
  font-weight: 480;
}

.mega-menu .menu-sub-bullet {
  flex: 0 0 auto;
  color: var(--muted, #746d66);
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1;
}

/* Venz widget / Bootstrap içerik alanı — Donella gövdesi ile birlikte */
.venz-storefront-main {
  min-height: 40vh;
}

/* Banner altı kategori şeridi — widget sarmalayıcı boşluk eklemez */
.venz-storefront-main .widget:has(.category-strip),
.venz-storefront-main .widget:has(.category-product-shelf) {
  margin: 0;
  padding: 0;
  max-width: none;
}

.category-product-shelf,
.venz-storefront-main .widget:not(.widget-heroslider) {
  scroll-margin-top: var(--header, 74px);
}

.venz-storefront-main .widget-categorygrid .container,
.venz-storefront-main .widget-categorygrid .row {
  display: contents;
  margin: 0;
  padding: 0;
  max-width: none;
}

.venz-storefront-main .container {
  max-width: 1280px;
}

.venz-storefront-main .carousel,
.venz-storefront-main .alert {
  font-family: var(--font, inherit);
}

/* Katalog form elemanları — Bootstrap mavi odak/hyperlink yerine Donella */
.donella-select,
.donella-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line, #e3ded8);
  background: #fff;
  color: var(--ink, #11100f);
  padding: 0 12px;
  font-size: 13px;
}

.donella-select:focus,
.donella-input:focus {
  outline: 2px solid var(--red, #e52c20);
  outline-offset: 2px;
  border-color: var(--ink, #11100f);
}

.filters-panel label,
.filters-panel a,
.catalog-pagination a,
.product-card .product-name,
.product-card .product-visual {
  color: var(--ink, #11100f);
}

.filters-panel a:visited,
.catalog-pagination a:visited {
  color: var(--ink, #11100f);
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 32px 28px 48px;
}

.catalog-page-link {
  display: grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  border: 1px solid var(--line, #e3ded8);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.catalog-page-link.is-active {
  border-color: var(--ink, #11100f);
  background: var(--ink, #11100f);
  color: #fff;
}

.quick-add .secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line, #e3ded8);
  background: #fff;
  color: var(--ink, #11100f);
  font-size: 12px;
  font-weight: 620;
  text-decoration: none;
  text-transform: uppercase;
}

.quick-add .secondary-button:hover {
  border-color: var(--ink, #11100f);
}

/* Hesabım — profil menü ve formlar */
.profile-menu a.profile-menu-link,
.profile-menu-logout button {
  display: flex;
  min-height: 42px;
  align-items: center;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line, #e3ded8);
  background: transparent;
  color: var(--muted, #746d66);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.profile-menu a.profile-menu-link:last-of-type,
.profile-menu-logout {
  border-bottom: 0;
}

.profile-menu a.profile-menu-link.is-active,
.profile-menu-logout button:hover {
  color: var(--ink, #11100f);
}

.profile-menu a.profile-menu-link.is-active {
  box-shadow: inset 3px 0 0 var(--ink, #11100f);
}

.profile-menu-logout {
  margin: 0;
  padding: 0;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.profile-actions .secondary-button,
.profile-actions .primary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.profile-heading-row h2 {
  margin: 0;
}

.profile-card-line-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.profile-card-line-link:hover strong {
  color: var(--red, #e52c20);
}

.account-meta {
  margin: -8px 0 20px;
  color: var(--muted, #746d66);
  font-size: 14px;
}

.account-address-block {
  display: block;
  margin-top: 6px;
  line-height: 1.55;
}

.order-line {
  display: grid !important;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}

.order-line-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line, #e3ded8);
}

.address-card-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.address-card .text-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted, #746d66);
  font-size: 12px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.account-flash {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 28px;
  font-size: 14px;
}

.account-flash-success {
  background: #e8f5e9;
  color: #1b5e20;
}

.account-flash-error {
  background: #fff5f4;
  color: var(--red-dark, #bc2118);
}

.account-form {
  margin-top: 8px;
}

.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-field {
  display: grid;
  gap: 6px;
}

.account-field-full {
  grid-column: 1 / -1;
}

.account-field > span {
  color: var(--muted, #746d66);
  font-size: 12px;
  font-weight: 850;
}

.account-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.account-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--red, #e52c20);
}

@media (max-width: 720px) {
  .account-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Ürün görselleri — Bootstrap img kurallarına karşı liste ve detay */
.product-visual img.product-photo,
.gallery-tile img,
.zoom-thumbs button.has-photo img {
  max-width: none;
  max-height: none;
}

.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: #f7f7f4;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-tile.has-photo {
  background: #fff;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-tile span {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: rgba(17, 16, 15, 0.46);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pdp-gallery .gallery-tile:only-child {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 820px) {
  .pdp-gallery {
    gap: 6px;
  }
}

/* Filtre paneli */
.filters-panel .filter-group label.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}

.filters-panel .filter-group .chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip-color::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1px solid rgba(17, 16, 15, 0.18);
  border-radius: 50%;
  background: var(--swatch, #eee8e0);
  flex-shrink: 0;
}

.filter-chip.is-active.filter-chip-color::before {
  border-color: rgba(255, 255, 255, 0.72);
}

.filters-panel .filter-group > p {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
  color: var(--muted, #746d66);
}

.filters-panel .donella-select {
  margin-top: 4px;
}

.home-discover-cta {
  display: flex;
  justify-content: center;
  padding: 10px 28px 0;
}

.home-discover-cta .secondary-button {
  min-width: min(100%, 320px);
  padding-inline: 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Koleksiyon vitrini — banner + ürün satırı (tasarım prototipi ile aynı) */
.venz-storefront-main .widget-collectionspotlight {
  margin: 0;
  padding: 34px 0 0;
  max-width: none;
}

.venz-storefront-main .widget-collectionspotlight:first-of-type {
  padding-top: 64px;
}

.venz-storefront-main .widget-collectionspotlight:last-of-type {
  padding-bottom: 0;
}

/* Koleksiyon vitrininden sonraki seçki blokları (Öne çıkanlar vb.) */
.venz-storefront-main .widget-collectionspotlight + .widget {
  margin-top: 56px;
}

.venz-storefront-main .widget-featuredproducts .section-heading-compact,
.venz-storefront-main .widget-newarrivals .section-heading-compact,
.venz-storefront-main .widget-bestsellers .section-heading-compact {
  padding-top: 12px;
}

.collection-spotlight .story-products {
  padding-bottom: 4px;
}

.collection-spotlight {
  display: grid;
  gap: 34px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

.collection-spotlight .story-panel.is-donella {
  background: #fff7f4;
}

.collection-spotlight .story-panel.is-dnl {
  background: #eef8fb;
}

@media (max-width: 960px) {
  .collection-spotlight .story-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .venz-storefront-main .widget-collectionspotlight:first-of-type {
    padding-top: 44px;
  }

  .collection-spotlight {
    padding-inline: 18px;
    gap: 22px;
  }
}

/* Giriş / üyelik modalı — Donella kırmızı paleti */
.venz-auth-modal .modal-content {
  border: 0;
  border-radius: 0;
  box-shadow: var(--shadow, 0 24px 70px rgba(17, 16, 15, 0.16));
}

.venz-auth-modal .modal-title {
  font-family: var(--serif, Georgia, serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink, #11100f);
}

.venz-auth-modal .modal-body > .d-flex p {
  color: var(--muted, #746d66);
}

.venz-auth-modal .venz-auth-tabs {
  gap: 10px;
}

.venz-auth-modal .venz-auth-tabs .nav-item {
  flex: 1 1 0;
}

.venz-auth-modal .venz-auth-tab {
  min-height: 48px;
  border: 1px solid var(--line, #e3ded8);
  border-radius: 0;
  background: transparent;
  color: var(--ink, #11100f);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.venz-auth-modal .venz-auth-tab:hover {
  border-color: var(--red, #e52c20);
  color: var(--red, #e52c20);
}

.venz-auth-modal .venz-auth-tab.active {
  background: var(--red, #e52c20);
  border-color: var(--red, #e52c20);
  color: #fff;
}

.venz-auth-modal .form-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink, #11100f);
}

.venz-auth-modal .form-control {
  min-height: 48px;
  border: 1px solid var(--line, #e3ded8);
  border-radius: 0;
  background: var(--paper, #fffefd);
  color: var(--ink, #11100f);
}

.venz-auth-modal .form-control:focus {
  border-color: var(--red, #e52c20);
  box-shadow: 0 0 0 2px rgba(229, 44, 32, 0.12);
}

.venz-auth-modal .form-check-input:checked {
  background-color: var(--red, #e52c20);
  border-color: var(--red, #e52c20);
}

.venz-auth-modal .form-check-input:focus {
  border-color: var(--red, #e52c20);
  box-shadow: 0 0 0 2px rgba(229, 44, 32, 0.12);
}

.venz-auth-modal .venz-auth-submit {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--red, #e52c20);
  color: #fff;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.venz-auth-modal .venz-auth-submit:hover,
.venz-auth-modal .venz-auth-submit:focus {
  background: var(--red-dark, #bc2118);
  border-color: var(--red-dark, #bc2118);
  color: #fff;
}

.venz-auth-modal .venz-auth-submit:disabled {
  background: #f3a9a3;
  border-color: #f3a9a3;
}

.venz-auth-modal .alert-danger {
  border-radius: 0;
  border-color: #f3c4c0;
  background: #fff5f4;
  color: var(--red-dark, #bc2118);
}

.venz-auth-modal .btn-close:focus {
  box-shadow: 0 0 0 2px rgba(229, 44, 32, 0.2);
}
