/* Marketplace mağaza — Trendyol / Hepsiburada tarzı kabuk */

.shop-mp-root {
  --shop-primary: var(--tenant-primary, #f27a1a);
  --shop-primary-dark: color-mix(in srgb, var(--shop-primary) 82%, #000);
  --shop-accent: #ff6000;
  min-height: 100vh;
}

.shop-mp {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.shop-mp-container {
  width: 100%;
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: clamp(0.65rem, 1.5vw, 1.1rem);
}

@media (min-width: 640px) {
  .shop-mp-container {
    padding-inline: clamp(0.75rem, 2vw, 1.25rem);
  }
}

@media (min-width: 1024px) {
  .shop-mp-container {
    padding-inline: clamp(0.85rem, 2.5vw, 1.5rem);
  }
}

@media (min-width: 1280px) {
  .shop-mp-container {
    max-width: 88rem;
    padding-inline: clamp(1rem, 3vw, 1.75rem);
  }
}

/* Ürün kataloğu */
.shop-mp-container--catalog {
  max-width: min(100%, 88rem);
  padding-inline: clamp(0.65rem, 1.5vw, 1.1rem);
}

.shop-mp-loading {
  padding: 4rem;
  text-align: center;
  color: rgb(100 116 139);
}

/* Top bar */
.shop-mp-topbar {
  background: var(--shop-primary);
  color: #fff;
  font-size: 0.72rem;
}

.shop-mp-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-block: 0.45rem;
}

.shop-mp-topbar__inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.95;
}

/* Header */
.shop-mp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid rgb(226 232 240);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.04);
}

:where([data-theme="dark"]) .shop-mp-header {
  background: rgb(15 23 42 / 0.92);
  border-bottom-color: rgb(30 41 59);
}

.shop-mp-header__main {
  display: grid;
  gap: 0.85rem;
  align-items: center;
  padding-block: 0.85rem;
}

@media (min-width: 900px) {
  .shop-mp-header__main {
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
  }
}

.shop-mp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.shop-mp-logo img {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
}

.shop-mp-logo__fallback {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: var(--shop-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.shop-mp-logo__text {
  font-weight: 800;
  font-size: 1.05rem;
  color: rgb(15 23 42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where([data-theme="dark"]) .shop-mp-logo__text {
  color: #fff;
}

.shop-mp-search {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--shop-primary);
  border-radius: 0.65rem;
  overflow: hidden;
  background: #fff;
  min-width: 0;
}

:where([data-theme="dark"]) .shop-mp-search {
  background: rgb(15 23 42);
}

.shop-mp-search__icon {
  display: none;
}

@media (min-width: 640px) {
  .shop-mp-search__icon {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    margin: auto 0.65rem;
    color: rgb(148 163 184);
    flex-shrink: 0;
  }
}

.shop-mp-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  background: transparent;
  color: rgb(15 23 42);
  outline: none;
}

:where([data-theme="dark"]) .shop-mp-search input {
  color: #fff;
}

.shop-mp-search button {
  border: 0;
  background: var(--shop-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 1.1rem;
  cursor: pointer;
  white-space: nowrap;
}

.shop-mp-search button:hover {
  background: var(--shop-primary-dark);
}

.shop-mp-search--compact input {
  padding-block: 0.55rem;
  font-size: 0.82rem;
}

.shop-mp-header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.shop-mp-action {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: rgb(51 65 85);
  border: 1px solid transparent;
}

.shop-mp-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--shop-primary) 0%,
    color-mix(in srgb, var(--shop-primary) 72%, #06b6d4) 100%
  );
  box-shadow: 0 4px 14px color-mix(in srgb, var(--shop-primary) 35%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.shop-mp-login-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--shop-primary) 42%, transparent);
}

.shop-mp-login-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.22);
}

.shop-mp-login-btn__label {
  letter-spacing: 0.01em;
}

@media (max-width: 479px) {
  .shop-mp-login-btn {
    padding: 0.5rem 0.65rem;
    font-size: 0.82rem;
  }

  .shop-mp-login-btn__label {
    display: none;
  }

  .shop-mp-login-btn__icon {
    width: 1.85rem;
    height: 1.85rem;
  }
}

:where([data-theme="dark"]) .shop-mp-login-btn {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .shop-mp-action {
    display: inline-flex;
  }
}

:where([data-theme="dark"]) .shop-mp-action {
  color: rgb(226 232 240);
}

.shop-mp-action--ghost:hover {
  background: rgb(241 245 249);
}

:where([data-theme="dark"]) .shop-mp-action--ghost:hover {
  background: rgb(30 41 59);
}

.shop-mp-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.65rem;
  background: var(--shop-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  position: relative;
}

.shop-mp-cart-btn em {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--shop-primary);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--shop-primary);
}

.shop-mp-main {
  flex: 1;
  padding-bottom: 2rem;
}

/* Hero */
.shop-mp-hero {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--shop-primary) 12%, #fff),
    rgb(255 251 245)
  );
  border-bottom: 1px solid rgb(254 243 199);
  margin-bottom: 1.5rem;
}

:where([data-theme="dark"]) .shop-mp-hero {
  background: linear-gradient(135deg, rgb(30 41 59), rgb(15 23 42));
  border-bottom-color: rgb(30 41 59);
}

.shop-mp-hero__stack .shop-mp-hero__inner {
  padding-top: 0.25rem;
  padding-bottom: 1.35rem;
}

.shop-mp-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-block: 2rem 1.35rem;
}

.shop-mp-hero__top {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .shop-mp-hero__top {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.shop-mp-hero__showcase-block {
  margin-top: 0.15rem;
}

.shop-mp-hero__badges-divider {
  height: 1px;
  margin: 0.65rem 0 0.45rem;
  border: none;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--shop-primary) 35%, transparent) 12%,
    color-mix(in srgb, var(--shop-primary) 65%, transparent) 50%,
    color-mix(in srgb, var(--shop-primary) 35%, transparent) 88%,
    transparent 100%
  );
  opacity: 0.9;
}

:where([data-theme="dark"]) .shop-mp-hero__badges-divider {
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--shop-primary) 45%, transparent) 12%,
    color-mix(in srgb, var(--shop-primary) 75%, transparent) 50%,
    color-mix(in srgb, var(--shop-primary) 45%, transparent) 88%,
    transparent 100%
  );
}

.shop-mp-hero__showcase-block:not(:has(.shop-mp-hero__showcase:not([hidden]))) .shop-mp-hero__badges-divider {
  display: none;
}

.shop-mp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--shop-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-mp-hero h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  color: rgb(15 23 42);
}

:where([data-theme="dark"]) .shop-mp-hero h1 {
  color: #fff;
}

.shop-mp-hero__copy > p,
.shop-mp-hero__inner > .shop-mp-hero__copy > p {
  margin-top: 0.65rem;
  color: rgb(71 85 105);
  font-size: 0.92rem;
  max-width: 36rem;
}

:where([data-theme="dark"]) .shop-mp-hero__copy > p,
:where([data-theme="dark"]) .shop-mp-hero__inner > .shop-mp-hero__copy > p {
  color: rgb(148 163 184);
}

.shop-mp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.shop-mp-hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgb(254 215 170);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(154 52 18);
}

:where([data-theme="dark"]) .shop-mp-hero__badges span {
  background: rgb(30 41 59);
  border-color: rgb(51 65 85);
  color: rgb(253 186 116);
}

.shop-mp-hero__promo {
  display: flex;
  gap: 0.75rem;
}

.shop-mp-hero__promo-card {
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgb(254 215 170);
  box-shadow: 0 8px 24px rgb(249 115 22 / 0.12);
  min-width: 7.5rem;
}

.shop-mp-hero__promo-card small {
  display: block;
  font-size: 0.68rem;
  color: rgb(100 116 139);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-mp-hero__promo-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.05rem;
  color: var(--shop-primary);
}

.shop-mp-hero__promo-card--alt {
  background: linear-gradient(145deg, var(--shop-primary), var(--shop-primary-dark));
  border-color: transparent;
  color: #fff;
}

.shop-mp-hero__promo-card--alt small,
.shop-mp-hero__promo-card--alt strong {
  color: #fff;
}

a.shop-mp-hero__promo-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.shop-mp-hero__promo-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(249 115 22 / 0.22);
}

a.shop-mp-hero__promo-card--link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Categories & results */
.shop-mp-results-meta {
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: rgb(71 85 105);
}

/* Vitrin araç çubuğu — meta + sıralama + görünüm */
.shop-catalog-toolbar[hidden] {
  display: none !important;
}

.shop-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.shop-catalog-toolbar__meta {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgb(71 85 105);
  flex: 1;
  min-width: 0;
}

.shop-catalog-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.shop-catalog-toolbar__sort-wrap {
  position: relative;
}

.shop-catalog-toolbar__view {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem;
  border-radius: 10px;
  border: 1px solid rgb(226 232 240);
  background: #fff;
}

.shop-catalog-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgb(71 85 105);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.shop-catalog-tool-btn:hover {
  background: rgb(241 245 249);
  color: rgb(15 118 110);
}

.shop-catalog-tool-btn.is-active,
.shop-catalog-toolbar__view .shop-catalog-tool-btn.is-active {
  background: rgb(240 253 250);
  color: rgb(15 118 110);
  border-color: rgb(153 246 228);
}

.shop-catalog-tool-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.shop-catalog-sort-menu[hidden] {
  display: none !important;
}

.shop-catalog-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.45rem;
  min-width: 15.5rem;
  background: #fff;
  border: 1px solid rgb(226 232 240);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.shop-catalog-sort-opt {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.65rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: rgb(30 41 59);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.shop-catalog-sort-opt:hover {
  background: rgb(248 250 252);
  border-color: rgb(241 245 249);
}

.shop-catalog-sort-opt.is-active {
  background: rgb(240 253 250);
  border-color: rgb(153 246 228);
}

.shop-catalog-sort-opt__icon {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
}

.shop-catalog-sort-opt__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.shop-catalog-sort-opt__label {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgb(30 41 59);
}

.shop-catalog-sort-opt.is-active .shop-catalog-sort-opt__label {
  color: rgb(15 118 110);
}

.shop-catalog-sort-opt__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgb(203 213 225);
  border-radius: 4px;
  background: #fff;
  color: #fff;
  transition: background 0.15s, border-color 0.15s;
}

.shop-catalog-sort-opt__check-icon {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s, transform 0.15s;
}

.shop-catalog-sort-opt.is-active .shop-catalog-sort-opt__check {
  background: rgb(15 118 110);
  border-color: rgb(15 118 110);
}

.shop-catalog-sort-opt.is-active .shop-catalog-sort-opt__check-icon {
  opacity: 1;
  transform: scale(1);
}

:where([data-theme="dark"]) .shop-catalog-toolbar__meta {
  color: rgb(148 163 184);
}

:where([data-theme="dark"]) .shop-catalog-toolbar__view {
  background: rgb(15 23 42);
  border-color: rgb(51 65 85);
}

:where([data-theme="dark"]) .shop-catalog-tool-btn {
  color: rgb(203 213 225);
}

:where([data-theme="dark"]) .shop-catalog-tool-btn:hover,
:where([data-theme="dark"]) .shop-catalog-tool-btn.is-active {
  background: rgb(30 41 59);
  color: rgb(45 212 191);
}

:where([data-theme="dark"]) .shop-catalog-sort-menu {
  background: rgb(15 23 42);
  border-color: rgb(51 65 85);
}

:where([data-theme="dark"]) .shop-catalog-sort-opt {
  color: rgb(226 232 240);
}

:where([data-theme="dark"]) .shop-catalog-sort-opt:hover {
  background: rgb(30 41 59);
  border-color: rgb(51 65 85);
}

:where([data-theme="dark"]) .shop-catalog-sort-opt.is-active {
  background: rgb(19 78 74 / 0.35);
  border-color: rgb(45 212 191 / 0.45);
}

:where([data-theme="dark"]) .shop-catalog-sort-opt__label {
  color: rgb(226 232 240);
}

:where([data-theme="dark"]) .shop-catalog-sort-opt.is-active .shop-catalog-sort-opt__label {
  color: rgb(45 212 191);
}

:where([data-theme="dark"]) .shop-catalog-sort-opt__check {
  background: rgb(15 23 42);
  border-color: rgb(71 85 105);
}

:where([data-theme="dark"]) .shop-catalog-sort-opt.is-active .shop-catalog-sort-opt__check {
  background: rgb(20 184 166);
  border-color: rgb(20 184 166);
}

/* Liste / tablo vitrin */
.shop-product-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgb(226 232 240);
  border-radius: 12px;
  background: #fff;
}

.shop-product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.shop-product-table th,
.shop-product-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgb(241 245 249);
  vertical-align: middle;
}

.shop-product-table th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(100 116 139);
  background: rgb(248 250 252);
}

.shop-product-table tr:last-child td {
  border-bottom: none;
}

.shop-product-table tr:hover td {
  background: rgb(240 253 250 / 0.45);
}

.shop-product-table__thumb {
  width: 52px;
}

.shop-product-table__thumb img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: rgb(248 250 252);
}

.shop-product-table__thumb-fallback {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgb(241 245 249);
  font-weight: 700;
  color: rgb(15 118 110);
  font-size: 0.9rem;
}

.shop-product-table__name {
  font-weight: 600;
  color: rgb(15 23 42);
  max-width: 280px;
}

.shop-product-table__name a {
  color: inherit;
  text-decoration: none;
}

.shop-product-table__name a:hover {
  color: rgb(15 118 110);
}

.shop-product-table__brand {
  font-size: 0.78rem;
  color: rgb(100 116 139);
  margin-top: 0.15rem;
}

.shop-product-table__price {
  font-weight: 700;
  color: rgb(15 118 110);
  white-space: nowrap;
}

.shop-product-table__price-old {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgb(148 163 184);
  text-decoration: line-through;
}

.shop-product-table__stock--out {
  color: rgb(220 38 38);
  font-weight: 600;
}

.shop-product-table__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgb(15 118 110);
  border-radius: 8px;
  background: rgb(15 118 110);
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.shop-product-table__add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-product-table__add svg {
  width: 1rem;
  height: 1rem;
}

.shop-mp-categories {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1.25rem;
  scrollbar-width: thin;
}

.shop-mp-categories button {
  flex-shrink: 0;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(51 65 85);
  cursor: pointer;
  transition: all 0.15s ease;
}

:where([data-theme="dark"]) .shop-mp-categories button {
  background: rgb(15 23 42);
  border-color: rgb(51 65 85);
  color: rgb(226 232 240);
}

.shop-mp-categories button.is-active,
.shop-mp-categories button:hover {
  border-color: var(--shop-primary);
  background: color-mix(in srgb, var(--shop-primary) 10%, #fff);
  color: var(--shop-primary);
}

.shop-mp-empty-results {
  text-align: center;
  padding: 3rem 1rem;
  color: rgb(100 116 139);
}

/* Buttons */
.shop-mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0.65rem;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.shop-mp-btn--block {
  width: 100%;
  margin-top: 0.5rem;
}

.shop-mp-btn--primary {
  background: var(--shop-primary);
  color: #fff;
}

.shop-mp-btn--primary:hover:not(:disabled) {
  background: var(--shop-primary-dark);
}

.shop-mp-btn--accent {
  background: rgb(15 23 42);
  color: #fff;
}

:where([data-theme="dark"]) .shop-mp-btn--accent {
  background: #fff;
  color: rgb(15 23 42);
}

.shop-mp-btn--ghost {
  background: transparent;
  border-color: rgb(226 232 240);
  color: rgb(51 65 85);
}

:where([data-theme="dark"]) .shop-mp-btn--ghost {
  border-color: rgb(51 65 85);
  color: rgb(226 232 240);
}

.shop-mp-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* PDP */
.shop-mp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: rgb(100 116 139);
  padding-block: 1rem 0.5rem;
}

.shop-mp-breadcrumb a {
  color: var(--shop-primary);
  text-decoration: none;
}

.shop-mp-pdp__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .shop-mp-pdp__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.shop-mp-pdp__main-image {
  display: block;
  width: 100%;
  border: 1px solid rgb(226 232 240);
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff, rgb(248 250 252));
  padding: 1.25rem;
  cursor: zoom-in;
}

:where([data-theme="dark"]) .shop-mp-pdp__main-image {
  border-color: rgb(51 65 85);
  background: rgb(15 23 42);
}

.shop-pdp-photo.znf-product-photo {
  width: 100%;
  min-height: 18rem;
  max-height: 22rem;
  border: 0;
  background: transparent;
}

.shop-mp-pdp__gallery-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgb(100 116 139);
  text-align: center;
}

.shop-mp-pdp__buybox h1 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: rgb(15 23 42);
}

:where([data-theme="dark"]) .shop-mp-pdp__buybox h1 {
  color: #fff;
}

.shop-mp-pdp__brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgb(100 116 139);
}

.shop-pdp-brand-logo.manufacturer-logo-cell {
  min-height: 2rem;
}

.shop-mp-pdp__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: rgb(100 116 139);
}

.shop-mp-stars {
  display: inline-flex;
  gap: 0.1rem;
}

.shop-mp-stars svg {
  color: rgb(203 213 225);
  fill: transparent;
}

.shop-mp-stars svg.is-on {
  color: rgb(245 158 11);
  fill: rgb(245 158 11);
}

.shop-mp-pdp__codes {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: rgb(100 116 139);
}

.shop-mp-pdp__price-block {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.85rem;
  background: rgb(255 247 237);
  border: 1px solid rgb(254 215 170);
}

:where([data-theme="dark"]) .shop-mp-pdp__price-block {
  background: rgb(30 41 59);
  border-color: rgb(51 65 85);
}

.shop-mp-pdp__list-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgb(148 163 184);
  text-decoration: line-through;
}

.shop-mp-pdp__discount {
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: rgb(239 68 68);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.shop-mp-pdp__price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--shop-primary);
}

.shop-mp-pdp__vat {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgb(100 116 139);
}

.shop-mp-pdp__stock {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.82rem;
}

.shop-mp-pdp__stock .in {
  color: rgb(5 150 105);
  font-weight: 600;
}

.shop-mp-pdp__stock .out {
  color: rgb(239 68 68);
  font-weight: 600;
}

.shop-mp-pdp__qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.shop-mp-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.55rem;
  overflow: hidden;
  background: #fff;
}

:where([data-theme="dark"]) .shop-mp-qty-control {
  background: rgb(15 23 42);
  border-color: rgb(51 65 85);
}

.shop-mp-qty-control button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgb(51 65 85);
}

.shop-mp-qty-control input,
.shop-mp-qty-control span {
  width: 2.5rem;
  text-align: center;
  font-weight: 700;
  border: 0;
  background: transparent;
  font-size: 0.9rem;
  color: inherit;
}

.shop-mp-pdp__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}

.shop-mp-pdp__added {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: rgb(5 150 105);
  font-weight: 600;
}

.shop-mp-pdp__perks {
  margin-top: 1rem;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: rgb(71 85 105);
  line-height: 1.7;
}

/* Tabs */
.shop-mp-tabs {
  margin-top: 2rem;
  border: 1px solid rgb(226 232 240);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

:where([data-theme="dark"]) .shop-mp-tabs {
  background: rgb(15 23 42);
  border-color: rgb(30 41 59);
}

.shop-mp-tabs__head {
  display: flex;
  border-bottom: 1px solid rgb(241 245 249);
  overflow-x: auto;
}

:where([data-theme="dark"]) .shop-mp-tabs__head {
  border-bottom-color: rgb(30 41 59);
}

.shop-mp-tabs__head button {
  flex: 1;
  min-width: max-content;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgb(100 116 139);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.shop-mp-tabs__head button.is-active {
  color: var(--shop-primary);
  border-bottom-color: var(--shop-primary);
  background: color-mix(in srgb, var(--shop-primary) 6%, transparent);
}

.shop-mp-tabs__body {
  padding: 1.25rem;
}

.shop-mp-specs__desc {
  margin-bottom: 1rem;
  color: rgb(71 85 105);
  line-height: 1.6;
}

.shop-mp-specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.shop-mp-specs th,
.shop-mp-specs td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgb(241 245 249);
  text-align: left;
}

.shop-mp-specs th {
  width: 38%;
  color: rgb(100 116 139);
  font-weight: 600;
}

.shop-mp-reviews {
  display: grid;
  gap: 1rem;
}

.shop-mp-review {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(241 245 249);
}

.shop-mp-review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.shop-mp-review .verified {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgb(5 150 105);
  background: rgb(209 250 229);
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
}

.shop-mp-review p {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.shop-mp-review time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgb(148 163 184);
}

.shop-mp-shipping-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.shop-mp-shipping-info ul {
  margin-bottom: 1rem;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  line-height: 1.7;
}

.shop-mp-shipping-info p {
  font-size: 0.85rem;
  color: rgb(71 85 105);
  line-height: 1.6;
}

/* Cart */
.shop-mp-page-title {
  font-size: 1.35rem;
  font-weight: 800;
  padding-block: 1.25rem 0.75rem;
  color: rgb(15 23 42);
}

:where([data-theme="dark"]) .shop-mp-page-title {
  color: #fff;
}

.shop-mp-cart__layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .shop-mp-cart__layout {
    grid-template-columns: 1fr 20rem;
    align-items: start;
  }
}

.shop-mp-cart__lines {
  display: grid;
  gap: 0.75rem;
}

.shop-mp-cart-line {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.85rem;
  background: #fff;
}

@media (min-width: 640px) {
  .shop-mp-cart-line {
    grid-template-columns: 5rem 1fr auto auto auto;
  }
}

:where([data-theme="dark"]) .shop-mp-cart-line {
  background: rgb(15 23 42);
  border-color: rgb(30 41 59);
}

.shop-cart-photo.znf-product-photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.55rem;
}

.shop-mp-cart-line__name {
  font-weight: 600;
  font-size: 0.88rem;
  color: rgb(15 23 42);
  text-decoration: none;
  line-height: 1.35;
}

:where([data-theme="dark"]) .shop-mp-cart-line__name {
  color: #fff;
}

.shop-mp-cart-line__brand,
.shop-mp-cart-line__sku {
  font-size: 0.72rem;
  color: rgb(100 116 139);
}

.shop-mp-cart-line__price {
  text-align: right;
  font-size: 0.9rem;
}

.shop-mp-cart-line__saved {
  display: block;
  font-size: 0.68rem;
  color: rgb(5 150 105);
  font-weight: 600;
}

.shop-mp-cart-line__remove {
  border: 0;
  background: transparent;
  color: rgb(148 163 184);
  cursor: pointer;
  padding: 0.35rem;
}

.shop-mp-cart-line__remove:hover {
  color: rgb(239 68 68);
}

.shop-mp-cart__summary {
  padding: 1.1rem;
  border: 1px solid rgb(226 232 240);
  border-radius: 1rem;
  background: rgb(248 250 252);
  position: sticky;
  top: 5.5rem;
}

:where([data-theme="dark"]) .shop-mp-cart__summary {
  background: rgb(15 23 42);
  border-color: rgb(30 41 59);
}

.shop-mp-cart__summary h2 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.shop-mp-cart__summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.4rem;
  font-size: 0.85rem;
}

.shop-mp-cart__total {
  margin-top: 0.35rem;
  padding-top: 0.65rem !important;
  border-top: 1px solid rgb(226 232 240);
  font-size: 1rem !important;
  font-weight: 800;
}

.shop-mp-free {
  color: rgb(5 150 105);
  font-weight: 700;
}

.shop-mp-cart__free-hint {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: rgb(234 88 12);
  line-height: 1.45;
}

.shop-mp-cart__free-hint--ok {
  color: rgb(5 150 105);
}

.shop-mp-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: rgb(100 116 139);
}

.shop-mp-empty h1 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

:where([data-theme="dark"]) .shop-mp-empty h1 {
  color: #fff;
}

.shop-mp-empty p {
  margin: 0.5rem 0 1.25rem;
}

/* Checkout */
.shop-mp-checkout-steps {
  display: flex;
  gap: 0.5rem;
  padding-block: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.shop-mp-checkout-steps span {
  flex: 1;
  text-align: center;
  padding: 0.5rem;
  border-radius: 0.55rem;
  background: rgb(241 245 249);
  color: rgb(100 116 139);
}

.shop-mp-checkout-steps .is-active {
  background: var(--shop-primary);
  color: #fff;
}

.shop-mp-checkout-steps .is-done {
  background: color-mix(in srgb, var(--shop-primary) 15%, #fff);
  color: var(--shop-primary);
}

.shop-mp-checkout__layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .shop-mp-checkout__layout {
    grid-template-columns: 1fr 20rem;
    align-items: start;
  }
}

.shop-mp-checkout__auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.shop-mp-checkout__auth-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.65rem;
  background: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}

.shop-mp-checkout__auth-tabs button.is-active {
  border-color: var(--shop-primary);
  background: color-mix(in srgb, var(--shop-primary) 8%, #fff);
  color: var(--shop-primary);
}

.shop-mp-checkout__login-prompt {
  padding: 1.25rem;
  border: 1px dashed rgb(203 213 225);
  border-radius: 0.85rem;
  text-align: center;
}

.shop-mp-checkout-form h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.shop-mp-form-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .shop-mp-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.shop-mp-form-full {
  grid-column: 1 / -1;
}

.shop-mp-checkout-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgb(71 85 105);
}

.shop-mp-checkout-form input,
.shop-mp-checkout-form textarea {
  border: 1px solid rgb(203 213 225);
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.88rem;
  background: #fff;
  color: rgb(15 23 42);
}

:where([data-theme="dark"]) .shop-mp-checkout-form input,
:where([data-theme="dark"]) .shop-mp-checkout-form textarea {
  background: rgb(15 23 42);
  border-color: rgb(51 65 85);
  color: #fff;
}

.shop-mp-payment-options {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.shop-mp-payment-options label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.65rem;
  cursor: pointer;
  font-weight: 600;
}

.shop-mp-payment-options label.is-active {
  border-color: var(--shop-primary);
  background: color-mix(in srgb, var(--shop-primary) 6%, #fff);
}

.shop-mp-card-form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.shop-mp-secure-note {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: rgb(100 116 139);
}

.shop-mp-checkout-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.shop-mp-checkout-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
}

.shop-mp-checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 0.3rem;
  border-bottom: 1px dashed rgb(226 232 240);
}

.shop-mp-checkout-done {
  text-align: center;
  padding: 3rem 1rem;
}

.shop-mp-checkout-done h1 {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.shop-mp-checkout-done__hint {
  margin-top: 0.5rem;
  color: rgb(100 116 139);
}

.shop-mp-checkout-done__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Footer — professional */
.shop-mp-footer {
  margin-top: auto;
  border-top: 1px solid rgb(226 232 240);
  background: linear-gradient(180deg, rgb(248 250 252) 0%, rgb(241 245 249) 100%);
  padding-top: 0;
}

:where([data-theme="dark"]) .shop-mp-footer {
  background: linear-gradient(180deg, rgb(15 23 42) 0%, rgb(10 15 28) 100%);
  border-top-color: rgb(30 41 59);
}

.shop-footer-pro__grid {
  display: grid;
  gap: 2rem 1.5rem;
  padding: 2.5rem 0 2rem;
}

@media (min-width: 640px) {
  .shop-footer-pro__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.shop-footer-pro__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 22rem;
}

.shop-footer-pro__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: fit-content;
}

.shop-footer-pro__logo {
  display: block;
  max-height: 52px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.shop-footer-pro__logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--shop-primary, #2563eb), var(--shop-primary-dark, #1e40af));
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px rgb(37 99 235 / 0.25);
}

.shop-footer-pro__store-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgb(15 23 42);
  line-height: 1.3;
}

:where([data-theme="dark"]) .shop-footer-pro__store-name {
  color: #f8fafc;
}

.shop-footer-pro__tagline {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

:where([data-theme="dark"]) .shop-footer-pro__tagline {
  color: rgb(148 163 184);
}

.shop-footer-pro__contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.shop-footer-pro__contact-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgb(71 85 105);
  text-decoration: none;
  margin: 0;
}

.shop-footer-pro__contact-item:hover {
  color: var(--shop-primary, #2563eb);
}

.shop-footer-pro__contact-item--static {
  cursor: default;
}

:where([data-theme="dark"]) .shop-footer-pro__contact-item {
  color: rgb(148 163 184);
}

.shop-footer-pro__contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  margin-top: 0.1rem;
  color: var(--shop-primary, #2563eb);
  opacity: 0.85;
}

.shop-footer-pro__contact-icon svg {
  width: 14px;
  height: 14px;
}

.shop-footer-pro__auth {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.shop-footer-pro__auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  background: var(--shop-primary, #2563eb);
  color: #fff;
  border: 1px solid transparent;
}

.shop-footer-pro__auth-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.shop-footer-pro__auth-btn--outline {
  background: transparent;
  color: var(--shop-primary, #2563eb);
  border-color: rgb(203 213 225);
}

.shop-footer-pro__auth-btn--outline:hover {
  background: rgb(255 255 255 / 0.6);
  border-color: var(--shop-primary, #2563eb);
}

:where([data-theme="dark"]) .shop-footer-pro__auth-btn--outline {
  color: rgb(191 219 254);
  border-color: rgb(51 65 85);
  background: rgb(30 41 59 / 0.5);
}

.shop-footer-pro__heading {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(51 65 85);
}

:where([data-theme="dark"]) .shop-footer-pro__heading {
  color: rgb(203 213 225);
}

.shop-footer-pro__nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.shop-footer-pro__nav a {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: rgb(100 116 139);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  width: fit-content;
}

.shop-footer-pro__nav a:hover {
  color: var(--shop-primary, #2563eb);
  transform: translateX(2px);
}

:where([data-theme="dark"]) .shop-footer-pro__nav a {
  color: rgb(148 163 184);
}

.shop-footer-trust {
  border-top: 1px solid rgb(226 232 240);
  background: rgb(255 255 255 / 0.55);
  padding: 1.1rem 0;
}

:where([data-theme="dark"]) .shop-footer-trust {
  border-top-color: rgb(30 41 59);
  background: rgb(15 23 42 / 0.65);
}

.shop-footer-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1rem;
}

@media (min-width: 768px) {
  .shop-footer-trust__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.shop-footer-trust__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.shop-footer-trust__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgb(241 245 249);
  color: var(--shop-primary, #2563eb);
  border: 1px solid rgb(226 232 240);
}

.shop-footer-trust__icon svg {
  width: 18px;
  height: 18px;
}

:where([data-theme="dark"]) .shop-footer-trust__icon {
  background: rgb(30 41 59);
  border-color: rgb(51 65 85);
  color: rgb(147 197 253);
}

.shop-footer-trust__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.shop-footer-trust__text strong {
  font-size: 0.74rem;
  font-weight: 700;
  color: rgb(30 41 59);
  line-height: 1.2;
}

.shop-footer-trust__text small {
  font-size: 0.68rem;
  color: rgb(100 116 139);
  line-height: 1.3;
}

:where([data-theme="dark"]) .shop-footer-trust__text strong {
  color: rgb(226 232 240);
}

:where([data-theme="dark"]) .shop-footer-trust__text small {
  color: rgb(148 163 184);
}

/* Legacy footer grid (fallback) */
.shop-mp-footer__grid {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .shop-mp-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.shop-mp-footer strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: rgb(15 23 42);
}

:where([data-theme="dark"]) .shop-mp-footer strong {
  color: #fff;
}

.shop-mp-footer a,
.shop-mp-footer span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: rgb(100 116 139);
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.shop-mp-footer a:hover {
  color: var(--shop-primary);
}

.shop-mp-footer p {
  font-size: 0.8rem;
  color: rgb(100 116 139);
  line-height: 1.5;
}

.shop-mp-footer__copy {
  display: none !important;
}

.shop-mp-footer .shop-znf-credit {
  border-top: 1px solid rgb(226 232 240);
  margin-top: 0;
  background: rgb(255 255 255 / 0.35);
}

:where([data-theme="dark"]) .shop-mp-footer .shop-znf-credit {
  border-top-color: rgb(30 41 59);
}

.shop-znf-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.65rem 1rem 0.85rem;
}

.shop-znf-credit--standalone {
  margin-top: auto;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
}

.shop-znf-credit__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  opacity: 0.42;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.shop-znf-credit__link:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.shop-znf-credit__logo {
  display: block;
  height: 20px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  border-radius: 4px;
}

:where([data-theme="dark"]) .shop-znf-credit--standalone {
  border-top-color: rgb(30 41 59);
  background: rgb(15 23 42);
}

:where([data-theme="dark"]) .shop-znf-credit__link {
  opacity: 0.5;
}

:where([data-theme="dark"]) .shop-znf-credit__link:hover {
  opacity: 0.8;
}

/* Akıllı arama kutusu */
.shop-smart-search {
  position: relative;
  min-width: 0;
  width: 100%;
}

.shop-smart-search__form {
  width: 100%;
}

.shop-smart-search__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 50;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 18px 40px rgb(15 23 42 / 0.14);
  overflow: hidden;
}

:where([data-theme="dark"]) .shop-smart-search__panel {
  background: rgb(15 23 42);
  border-color: rgb(51 65 85);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.45);
}

.shop-smart-search__panel-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--shop-primary);
  background: color-mix(in srgb, var(--shop-primary) 8%, #fff);
  border-bottom: 1px solid rgb(241 245 249);
}

:where([data-theme="dark"]) .shop-smart-search__panel-head {
  background: rgb(30 41 59);
  border-bottom-color: rgb(51 65 85);
}

.shop-smart-search__panel ul {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  max-height: 18rem;
  overflow-y: auto;
}

.shop-smart-search__item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
}

.shop-smart-search__item:hover,
.shop-smart-search__item.is-active {
  background: rgb(248 250 252);
}

:where([data-theme="dark"]) .shop-smart-search__item:hover,
:where([data-theme="dark"]) .shop-smart-search__item.is-active {
  background: rgb(30 41 59);
}

.shop-smart-search__item-icon {
  margin-top: 0.1rem;
  color: rgb(148 163 184);
}

.shop-smart-search__item-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.shop-smart-search__item-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgb(15 23 42);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:where([data-theme="dark"]) .shop-smart-search__item-text strong {
  color: #fff;
}

.shop-smart-search__item-text small {
  font-size: 0.72rem;
  color: rgb(100 116 139);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-smart-search__all {
  width: 100%;
  border: 0;
  border-top: 1px solid rgb(241 245 249);
  background: rgb(248 250 252);
  padding: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--shop-primary);
  cursor: pointer;
}

.shop-smart-search__all:hover {
  background: color-mix(in srgb, var(--shop-primary) 10%, #fff);
}

.shop-mp-results-meta__smart {
  color: rgb(148 163 184);
  font-weight: 500;
  margin-left: 0.25rem;
}
