@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --paper: #f7f7f5;
  --ink: #151515;
  --muted: #6f6f6b;
  --sage: #b8bab2;
  --sage-dark: #202020;
  --clay: #8f8f88;
  --steel: #e3e3df;
  --cream: #ffffff;
  --line: rgba(21, 21, 21, 0.10);
  --shadow: 0 20px 58px rgba(0, 0, 0, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  overscroll-behavior-x: none;
}
body {
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(0, 0, 0, 0.045), transparent 26rem),
    linear-gradient(180deg, #fbfbf9 0%, #f2f2ee 100%);
  color: var(--ink);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-header,
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1.5rem, calc((100vw - 1180px) / 2 + 1rem));
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.admin-locked #adminProtectedContent {
  display: none;
}

.admin-login-card {
  max-width: 34rem;
  margin: 2rem auto;
}

.admin-login-card form {
  display: grid;
  gap: 0.85rem;
}

.admin-login-card.is-hidden {
  display: none;
}

.order-status-select {
  min-width: 13rem;
  min-height: 2.8rem;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 0.65rem;
  background: #fff;
  padding: 0 0.75rem;
  color: var(--ink);
  font-weight: 850;
  box-shadow: 0 0.55rem 1.2rem rgba(0, 0, 0, 0.04);
}

.admin-order-list {
  display: grid;
  gap: 1rem;
}

.admin-order-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}

.admin-order-search {
  display: grid;
  flex: 1;
  gap: 0.4rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-order-search input {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  padding: 0 0.85rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.admin-order-tabs {
  display: inline-flex;
  gap: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #f2f2ef;
  padding: 0.2rem;
}

.admin-order-tab {
  min-height: 2.35rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  padding: 0 0.8rem;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.admin-order-tab span {
  display: inline-grid;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.25rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.72rem;
}

.admin-order-tab.active {
  background: #151515;
  color: #fff;
}

.admin-order-card {
  border: 1px solid rgba(21, 21, 21, 0.10);
  border-radius: 0.85rem;
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0.9rem 2.2rem rgba(0, 0, 0, 0.045);
}

.admin-order-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.2rem;
  padding: 0.9rem 1rem;
}

.admin-order-customer-toggle {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.admin-order-customer-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 0.75rem;
  background: linear-gradient(145deg, #202020, #4c4c47);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 950;
}

.admin-order-summary-main {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.admin-order-customer-toggle strong {
  min-width: 0;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.admin-order-customer-toggle small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-order-customer-toggle::after {
  content: "›";
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.admin-order-card.is-expanded .admin-order-customer-toggle::after {
  transform: rotate(-90deg);
}

.admin-order-quick-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  min-width: max-content;
}

.admin-order-status {
  max-width: 12rem;
  border-radius: 999px;
  background: #efefe9;
  padding: 0.38rem 0.68rem;
  color: #454540;
  font-size: 0.76rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-order-total {
  min-width: 5rem;
  text-align: right;
  font-size: 1rem;
}

.admin-order-archive-button {
  min-height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  padding: 0 0.8rem;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.admin-order-archive-button:hover {
  border-color: #151515;
  background: #f7f7f5;
  transform: translateY(-1px);
}

.admin-order-detail {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 247, 245, 0.9), #fff 45%),
    #fff;
  padding: 1rem;
}

.admin-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.admin-order-head strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.admin-order-label,
.admin-order-section-title span,
.admin-order-field span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.admin-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0.8rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.payment-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9d9d6;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 0.34rem 0.68rem;
  font-size: 0.82rem;
  font-weight: 900;
}

.payment-pill.soft {
  background: #f6f6f4;
  color: var(--ink);
}

.admin-order-detail-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
  align-items: start;
}

.admin-order-products-panel {
  min-width: 0;
  border: 1px solid rgba(21, 21, 21, 0.10);
  border-radius: 0.85rem;
  background: #fff;
  padding: 0.8rem;
  box-shadow: 0 0.7rem 1.8rem rgba(0, 0, 0, 0.035);
}

.admin-order-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0 0.7rem;
  border-bottom: 1px solid var(--line);
}

.admin-order-section-title strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.admin-order-products-list {
  display: grid;
  gap: 0.62rem;
  padding-top: 0.75rem;
}

.admin-order-product-item {
  display: grid;
  grid-template-columns: 4.35rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 0.75rem;
  background: #fbfbfa;
  padding: 0.5rem;
}

.admin-order-product-media {
  position: relative;
  display: grid;
  width: 4.35rem;
  height: 4.35rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 0.65rem;
  background: #ededeb;
}

.admin-order-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-order-product-media span {
  display: none;
  color: var(--ink);
  font-weight: 950;
}

.admin-order-product-media.is-missing img {
  display: none;
}

.admin-order-product-media.is-missing span {
  display: inline-grid;
}

.admin-order-product-copy {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.admin-order-product-copy strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-order-product-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-order-products-empty {
  margin: 0.75rem 0 0;
  border: 1px dashed rgba(21, 21, 21, 0.16);
  border-radius: 0.75rem;
  background: #fbfbfa;
  padding: 1rem;
  color: var(--muted);
  font-weight: 800;
}

.admin-order-info-grid,
.admin-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-order-field {
  min-width: 0;
  border: 1px solid rgba(21, 21, 21, 0.10);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.76rem;
}

.admin-order-field.wide {
  grid-column: span 3;
}

.admin-order-field strong,
.admin-order-field p {
  display: block;
  margin: 0.22rem 0 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (max-width: 700px) {
  .admin-order-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-order-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-order-summary-row {
    grid-template-columns: 1fr;
  }

  .admin-order-quick-meta {
    min-width: 0;
    justify-content: space-between;
  }

  .admin-order-status {
    max-width: 8.5rem;
  }

  .admin-order-head {
    flex-direction: column;
  }

  .order-status-select {
    width: 100%;
  }

  .admin-order-detail-layout,
  .admin-order-info-grid,
  .admin-order-grid {
    grid-template-columns: 1fr;
  }

  .seo-health-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-field.wide {
    grid-column: auto;
  }

  .admin-order-product-item {
    grid-template-columns: 3.75rem minmax(0, 1fr);
  }

  .admin-order-product-media {
    width: 3.75rem;
    height: 3.75rem;
  }

}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 50%;
  background: #151515;
  color: white;
  font-weight: 900;
  letter-spacing: 0;
}
.brand strong, .brand small { display: block; }
.brand strong { line-height: 1.1; }
.brand small { margin-top: 0.2rem; color: var(--muted); font-size: 0.78rem; }

.commerce-brand strong {
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
}

.top-nav,
.header-actions,
.admin-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.top-nav { color: var(--muted); font-size: 0.94rem; }
.top-nav a,
.icon-link,
.cart-link {
  min-height: 2.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-icon {
  display: inline-grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.07);
  color: var(--sage-dark);
  font-weight: 900;
  position: relative;
  flex: 0 0 auto;
}
.user-icon::before,
.cart-icon::before {
  content: "";
  width: 1.08rem;
  height: 1.08rem;
  background: currentColor;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
}
.user-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3C/svg%3E");
}
.cart-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h8.78a2 2 0 0 0 1.95-1.57l1.35-6.43H5.12'/%3E%3C/svg%3E");
}
.top-nav a:hover,
.top-nav a[aria-current="page"],
.icon-link:hover,
.cart-link:hover,
.cart-link[aria-current="page"] {
  background: rgba(21, 21, 21, 0.07);
  color: var(--sage-dark);
}
.cart-link > span:not(.nav-icon) {
  display: inline-grid;
  min-width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(19rem, 1.08fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: calc(100vh - 5rem);
  padding: clamp(2rem, 5vw, 4.5rem) 0 3rem;
}
.hero-copy { animation: riseIn 700ms ease both; }
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.primary-button { background: var(--ink); color: white; box-shadow: 0 12px 28px rgba(32, 35, 31, 0.18); }
.ghost-button { background: rgba(255, 255, 255, 0.58); border-color: var(--line); color: var(--sage-dark); }
.text-link { min-height: auto; padding: 0.35rem 0; color: var(--sage-dark); border-radius: 0; }
.primary-button:hover, .ghost-button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hero-visual { position: relative; isolation: isolate; animation: floatIn 850ms 120ms ease both; }
.hero-visual::before {
  position: absolute;
  inset: 8% -2% -7% 10%;
  z-index: -1;
  content: "";
  border-radius: 1.4rem;
  background: linear-gradient(145deg, rgba(21, 21, 21, 0.28), rgba(255, 255, 255, 0.68));
  transform: rotate(-3deg);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}
.hero-photo-frame {
  display: block;
  height: clamp(26rem, 46vw, 40rem);
  border-radius: 1.4rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 30%, rgba(255, 255, 255, 0.96), transparent 18rem),
    linear-gradient(145deg, #ffffff 0%, #efefeb 46%, #d9d9d3 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}
.hero-photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 650ms ease, transform 2200ms ease;
}
.hero-photo-frame img.active {
  opacity: 1;
  transform: scale(1);
}
.banner-dots {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}
.banner-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(21, 21, 21, 0.12);
  transition: width 180ms ease, background 180ms ease;
}
.banner-dots span.active {
  width: 1.4rem;
  background: #151515;
}

.shop-signal-bar,
.home-showcase,
.store-stats {
  margin-top: clamp(1.2rem, 4vw, 3rem);
}

.shop-signal-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.06);
}

.shop-signal-bar article {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.shop-signal-bar article:last-child { border-right: 0; }
.shop-signal-bar strong { font-size: 0.95rem; }
.shop-signal-bar span { color: var(--muted); line-height: 1.45; font-size: 0.9rem; }

.home-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 1rem;
}

.showcase-main,
.mini-deal {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
}

.showcase-main {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.92), rgba(54, 54, 51, 0.86)),
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.16), transparent 16rem);
  color: white;
}

.showcase-main .eyebrow,
.showcase-main p {
  color: rgba(255, 255, 255, 0.76);
}

.showcase-main h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 0.98;
}

.showcase-main p:not(.eyebrow) {
  max-width: 38rem;
  margin: 1rem 0 1.4rem;
  line-height: 1.65;
}

.showcase-side {
  display: grid;
  gap: 1rem;
}

.mini-deal {
  display: grid;
  align-content: end;
  min-height: 12rem;
  padding: 1.2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(231, 231, 225, 0.82)),
    radial-gradient(circle at 78% 18%, rgba(185, 31, 20, 0.16), transparent 12rem);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mini-deal:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.1);
}

.mini-deal span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-deal strong {
  max-width: 13rem;
  margin-top: 0.45rem;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1;
}

.mini-deal.light {
  background:
    linear-gradient(145deg, #ffffff, #ecece7),
    radial-gradient(circle at 22% 18%, rgba(21, 21, 21, 0.1), transparent 10rem);
}

.store-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.store-stats article {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
}

.store-stats strong,
.store-stats span {
  display: block;
}

.store-stats strong {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

.store-stats span {
  margin-top: 0.45rem;
  color: var(--muted);
}

.feature-strip,
.trust-grid,
.category-grid,
.product-grid,
.story-band,
.section-head,
.promo-band { margin-top: clamp(2.5rem, 7vw, 5rem); }
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.feature-strip article { padding: 1.25rem; border-right: 1px solid var(--line); }
.feature-strip article:last-child { border-right: 0; }
.feature-icon { display: inline-flex; margin-bottom: 1rem; color: var(--clay); font-weight: 900; }
.feature-strip p, .muted-text { margin: 0.45rem 0 0; color: var(--muted); line-height: 1.55; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-grid article {
  min-height: 12rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 34px rgba(32, 35, 31, 0.06);
}

.trust-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: white;
  font-weight: 900;
}

.trust-grid p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.section-head h2,
.story-band h2,
.promo-band h2,
.admin-intro h1,
.page-hero h1,
.auth-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}
.category-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1rem;
}
.category-tile {
  position: relative;
  min-height: 13.5rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 1.25rem;
  border-radius: 0.5rem;
  overflow: hidden;
  color: white;
  background: #526957;
  transition: transform 220ms ease;
}
.category-tile::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: var(--image);
  background-size: cover;
  background-position: center;
  transition: transform 420ms ease;
}
.category-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 15%, rgba(24, 27, 24, 0.76));
}
.category-tile span, .category-tile strong { position: relative; z-index: 1; }
.category-tile span { margin-bottom: 0.3rem; opacity: 0.86; }
.category-tile:hover { transform: translateY(-4px); }
.category-tile:hover::before { transform: scale(1.05); }

.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-pills button {
  min-height: 2.4rem;
  padding: 0.48rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
}
.filter-pills .active { background: var(--sage-dark); color: white; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.64);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(32, 35, 31, 0.07);
  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: cardIn 420ms ease both;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 21, 21, 0.18);
  box-shadow: 0 22px 58px rgba(32, 35, 31, 0.13);
}
.product-media { position: relative; overflow: hidden; background: #f7f7f5; }
.product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; transition: transform 460ms ease, filter 460ms ease; }
.product-card:hover img { transform: scale(1.055); filter: saturate(1.03) contrast(1.02); }
.product-media-link {
  display: block;
  color: inherit;
}
.badge-row { position: absolute; left: 0.7rem; top: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.badge {
  padding: 0.32rem 0.48rem;
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.9);
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 900;
}
.product-info { display: flex; min-height: 14.5rem; flex: 1; flex-direction: column; padding: 1rem; }
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.product-card h3 { margin: 0.75rem 0 0; font-size: 1rem; line-height: 1.28; font-weight: 650; }
.product-rating {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: start;
  column-gap: 0.35rem;
  width: 100%;
  min-height: 2rem;
  margin-top: 0.55rem;
  padding: 0.38rem 0.52rem;
  border: 1px solid rgba(242, 122, 26, 0.24);
  border-radius: 0.55rem;
  background: #fff8f2;
  color: #3d2b20;
  line-height: 1;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
}
.rating-stars {
  display: inline-grid;
  grid-template-columns: repeat(5, 0.74rem);
  align-items: center;
  gap: 0.04rem;
}
.rating-star {
  display: block;
  width: 0.74rem;
  color: #ffd5b3;
  font-size: 0.78rem;
  line-height: 1;
  text-align: center;
}
.rating-star.filled {
  color: #f27a1a;
}
.rating-value {
  min-width: 1.7rem;
  color: #f27a1a;
  font-size: 0.79rem;
  font-weight: 900;
  text-align: right;
}
.rating-count {
  color: #8a6d5a;
  font-size: 0.72rem;
  font-weight: 700;
}
.product-rating.no-reviews {
  border-color: rgba(242, 122, 26, 0.14);
  background: #fffaf7;
}
.product-rating.no-reviews .rating-value,
.product-rating.no-reviews .rating-count {
  color: #ad907d;
}
@media (max-width: 720px) {
  .product-rating {
    column-gap: 0.25rem;
    padding-inline: 0.42rem;
  }
  .rating-stars {
    grid-template-columns: repeat(5, 0.68rem);
  }
  .rating-star {
    width: 0.68rem;
    font-size: 0.72rem;
  }
  .rating-value { font-size: 0.75rem; }
  .rating-count { font-size: 0.68rem; }
}
.product-card p {
  display: -webkit-box;
  min-height: calc(1.55em * 3);
  margin: 0.6rem 0 1rem;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: auto; }
.price-stack { display: grid; gap: 0.15rem; }
.price { font-weight: 900; }
.old-price { color: var(--muted); text-decoration: line-through; font-size: 0.86rem; }
.cart-button {
  min-width: 2.55rem;
  min-height: 2.55rem;
  border: 0;
  border-radius: 999px;
  background: var(--sage-dark);
  color: white;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.add-to-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}
.cart-mini-icon {
  position: relative;
  width: 1.08rem;
  height: 1.08rem;
  display: inline-block;
  flex: 0 0 auto;
}
.cart-mini-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h8.78a2 2 0 0 0 1.95-1.57l1.35-6.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h8.78a2 2 0 0 0 1.95-1.57l1.35-6.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cart-mini-icon::after {
  content: "+";
  position: absolute;
  right: -0.34rem;
  top: -0.34rem;
  display: grid;
  width: 0.78rem;
  height: 0.78rem;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #151515;
  font-size: 0.7rem;
  line-height: 1;
  font-weight: 900;
}
.cart-button:hover {
  transform: translateY(-2px) scale(1.03);
  background: #000;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}
.cart-button:active { transform: translateY(0) scale(0.98); }
.cart-button:disabled,
.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}
.promo-band,
.story-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: 0.5rem;
  background: var(--sage-dark);
  color: white;
}
.story-band { grid-template-columns: 0.9fr 1.1fr; margin-bottom: 4rem; }
.promo-band .eyebrow, .story-band .eyebrow, .story-band p { color: rgba(255, 255, 255, 0.78); }
.story-band > p { margin: 0; line-height: 1.75; }

.page-hero.compact { padding: clamp(2rem, 6vw, 4rem) 0 1.5rem; }
.page-hero.compact h1 { max-width: 18ch; font-size: clamp(2.4rem, 6vw, 5.3rem); }
.marketplace-shell {
  width: min(1320px, calc(100% - 2rem));
}
.marketplace-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.08), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(32, 35, 31, 0.06);
}
.marketplace-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}
.marketplace-hero p:not(.eyebrow) {
  max-width: 44rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.marketplace-badges {
  display: grid;
  gap: 0.55rem;
  min-width: 18rem;
}
.marketplace-badges span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--sage-dark);
  font-weight: 850;
}
.marketplace-badges span::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--clay);
}
.market-category-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(8rem, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}
.top-category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.7rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255,255,255,0.75);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 26px rgba(32,35,31,0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.top-category-card:hover,
.top-category-card.active {
  transform: translateY(-2px);
  border-color: rgba(21, 21, 21, 0.18);
  box-shadow: 0 14px 34px rgba(32,35,31,0.09);
}
.top-category-card strong,
.top-category-card small {
  display: block;
}
.top-category-card small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 750;
}
.top-category-icon {
  display: none;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.07);
  color: var(--sage-dark);
  font-weight: 900;
}
.market-layout {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.market-sidebar {
  position: sticky;
  top: 5.6rem;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 12px 32px rgba(32,35,31,0.06);
}
.sidebar-block {
  display: grid;
  gap: 0.65rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.sidebar-title {
  font-weight: 900;
}
.sidebar-list {
  display: grid;
  gap: 0.35rem;
}
.sidebar-category-button {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.35rem;
  border: 0;
  border-radius: 0.42rem;
  background: transparent;
  color: var(--muted);
  padding: 0.45rem 0.55rem;
  text-align: left;
  font-weight: 800;
}
.sidebar-category-button:hover,
.sidebar-category-button.active {
  background: rgba(21, 21, 21, 0.06);
  color: var(--sage-dark);
}
.price-filter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.price-filter input {
  min-width: 0;
  padding: 0.7rem;
}
.check-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-weight: 800;
}
.check-filter input {
  width: auto;
  margin: 0;
}
.sidebar-clear {
  width: 100%;
}
.sidebar-info {
  padding: 0.85rem;
  border-radius: 0.5rem;
  background: rgba(21, 21, 21, 0.06);
}
.sidebar-info p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}
.market-content {
  min-width: 0;
}
.market-breadcrumb {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}
.market-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(26rem, 0.82fr);
  gap: 1rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 12px 30px rgba(32,35,31,0.05);
}
.market-toolbar h2,
.market-toolbar p {
  margin: 0;
}
.market-toolbar h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}
.market-toolbar p {
  margin-top: 0.3rem;
  color: var(--muted);
}
.market-actions {
  display: grid;
  grid-template-columns: 1fr 12rem;
  gap: 0.75rem;
  align-items: end;
}
.sort-field,
.search-field {
  min-width: 0;
}
.active-filter-row {
  margin-top: 0.75rem;
}
.marketplace-product-grid {
  margin-top: 1rem;
}
.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 16rem;
  gap: 1rem;
  margin: 1.2rem 0;
  align-items: end;
}
label { color: var(--muted); font-weight: 750; }
input, textarea, select {
  width: 100%;
  margin-top: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: white;
  color: var(--ink);
  padding: 0.82rem 0.9rem;
  outline: 0;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(21, 21, 21, 0.10);
}

.cart-layout { display: grid; grid-template-columns: 1fr 24rem; gap: 1rem; align-items: start; margin-bottom: 4rem; }
.cart-list { display: grid; gap: 0.8rem; }
.cart-row {
  display: grid;
  grid-template-columns: 5.2rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.7);
}
.cart-row img { width: 5.2rem; height: 5.2rem; object-fit: cover; border-radius: 0.45rem; }
.qty-controls { display: flex; align-items: center; gap: 0.45rem; }
.qty-controls button, .icon-button {
  min-width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
}
.summary-card, .auth-card, .admin-card, .metric-card {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 34px rgba(32, 35, 31, 0.06);
}
.summary-card { position: sticky; top: 6rem; padding: 1.2rem; }
.summary-card h2, .admin-card h2 { margin: 0 0 1rem; }
.summary-card dl { display: grid; gap: 0.75rem; margin: 0 0 1rem; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 1rem; }
.summary-card .cart-discount-row { color: #14844a; font-weight: 900; }
.summary-card .total { padding-top: 0.75rem; border-top: 1px solid var(--line); font-weight: 900; }
.checkout-form { display: grid; gap: 0.8rem; }
.shipping-note {
  margin: 0 0 1rem;
  padding: 0.75rem;
  border-radius: 0.45rem;
  background: rgba(21, 21, 21, 0.06);
  color: var(--sage-dark);
  line-height: 1.45;
  font-weight: 800;
}
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #1f7a4d;
  color: white;
  font-weight: 900;
}
.floating-whatsapp-button {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 1200;
  display: grid;
  width: 3.65rem;
  height: 3.65rem;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(16, 92, 52, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.floating-whatsapp-button:hover {
  transform: translateY(-3px) scale(1.04);
  background: #20bd5a;
  box-shadow: 0 18px 38px rgba(16, 92, 52, 0.38);
}
.floating-whatsapp-button:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.3);
  outline-offset: 3px;
}
.floating-whatsapp-button svg {
  width: 1.95rem;
  height: 1.95rem;
  fill: currentColor;
}
@media (max-width: 700px) {
  .floating-whatsapp-button {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    width: 3.35rem;
    height: 3.35rem;
  }
}
.iyzico-button {
  width: 100%;
  min-height: 2.9rem;
  margin-bottom: 0.7rem;
  border: 0;
  border-radius: 999px;
  background: #7149c6;
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(113, 73, 198, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}
.iyzico-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(113, 73, 198, 0.24);
}
.iyzico-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}
.bank-transfer-result {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #deded9;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #ffffff, #f8f8f6);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.06);
}
.bank-transfer-result[hidden] { display: none; }
.bank-transfer-head { display: grid; gap: 0.18rem; }
.bank-transfer-head span,
.bank-reference-box span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.bank-transfer-head strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.15;
}
.bank-reference-box {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  border-radius: 0.75rem;
  background: #111;
  color: #fff;
}
.bank-reference-box strong {
  color: #fff;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}
.bank-reference-box button {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: #fff;
  color: #111;
  padding: 0.55rem 0.8rem;
  font-weight: 900;
  cursor: pointer;
}
.bank-transfer-details {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}
.bank-transfer-details div {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
}
.bank-transfer-details dt {
  color: var(--muted);
  font-weight: 900;
}
.bank-transfer-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}
.empty-state { grid-column: 1 / -1; padding: 1.4rem; border: 1px dashed var(--line); border-radius: 0.5rem; color: var(--muted); background: rgba(255,255,255,0.55); }

.auth-shell { min-height: calc(100vh - 5rem); display: grid; place-items: center; padding: 2rem 0; }
.auth-card { width: min(32rem, 100%); padding: clamp(1.2rem, 4vw, 2rem); }
.auth-card h1 { max-width: none; margin-bottom: 1rem; }
.auth-card form { display: grid; gap: 0.9rem; }
.auth-note { color: var(--muted); }
.auth-note a { color: var(--sage-dark); font-weight: 900; }
.password-field {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.45rem;
}
.password-field input { margin-top: 0.4rem; }
.password-toggle {
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--sage-dark);
  font-weight: 900;
}
.auth-options,
.remember-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}
.auth-options label,
.remember-line {
  font-weight: 750;
}
.auth-options input,
.remember-line input {
  width: auto;
  margin: 0 0.4rem 0 0;
}
.auth-options a { color: var(--sage-dark); font-weight: 900; }
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 0.1rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}
.auth-divider span { line-height: 1; }
.google-auth-slot {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.85rem;
}
.google-auth-slot > div:not(.google-auth-loading) {
  max-width: 100%;
  margin-inline: auto;
}
.google-auth-slot iframe {
  max-width: 100% !important;
}
.google-auth-button {
  width: 100%;
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid #dadce0;
  border-radius: 0.35rem;
  background: #fff;
  color: #1f1f1f;
  font-weight: 850;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}
.google-auth-button:hover {
  border-color: #c9ccd1;
  box-shadow: 0 3px 10px rgba(60, 64, 67, 0.12);
}
.google-auth-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}
.google-auth-help,
.google-auth-loading {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-align: center;
}

.account-shell {
  width: calc(100% - 2rem);
  max-width: 1220px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
.account-shell *,
.account-shell *::before,
.account-shell *::after {
  box-sizing: border-box;
}
.account-auth-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  min-height: 20rem;
  padding: 2rem;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.06);
}
.account-auth-empty h1 {
  margin: 0.2rem 0 0.6rem;
  font-size: 2.6rem;
  line-height: 1.05;
}
.account-auth-empty p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.account-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.45fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1rem;
  padding: 1.4rem;
  border-radius: 0.9rem;
  background: #151515;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 1.1rem 3rem rgba(0, 0, 0, 0.14);
}
.account-dashboard-hero,
.account-profile-summary,
.account-stats article,
.account-panel,
.account-side-panel {
  min-width: 0;
  max-width: 100%;
}
.account-hero-copy {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 17rem;
  padding: 1.1rem;
}
.account-dashboard-hero .eyebrow {
  color: rgba(255, 255, 255, 0.64);
}
.account-dashboard-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: 3.1rem;
  line-height: 0.98;
}
.account-dashboard-hero p {
  max-width: 45rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}
.account-hero-actions,
.account-empty-actions,
.account-form-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}
.account-hero-actions {
  margin-top: 0.35rem;
}
.account-dashboard-hero .primary-button {
  background: #fff;
  color: #151515;
}
.account-dashboard-hero .ghost-button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.account-profile-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #24c76a;
  color: #111;
  font-weight: 950;
}
.account-profile-main {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  align-content: center;
}
.account-profile-main strong {
  overflow: hidden;
  color: #fff;
  font-size: 1.05rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-profile-main span,
.account-profile-summary dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}
.account-profile-summary dl {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.58rem;
  margin: 0.35rem 0 0;
}
.account-profile-summary div {
  min-width: 0;
}
.account-profile-summary dt,
.account-profile-summary dd {
  margin: 0;
}
.account-profile-summary dd {
  overflow: hidden;
  color: #fff;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-logout-button {
  grid-column: 1 / -1;
  justify-content: center;
  width: 100%;
  margin-top: 0.25rem;
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.account-stats article,
.account-panel,
.account-side-panel {
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 0.78rem;
  background: #fff;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.045);
}
.account-stats article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 7.2rem;
  padding: 1rem;
}
.account-stat-icon {
  display: grid !important;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.72rem;
  background: #eef8f1;
  color: #178a43 !important;
  font-weight: 950;
}
.account-stats article:nth-child(2) .account-stat-icon {
  background: #fff4ea;
  color: #c25a13 !important;
}
.account-stats article:nth-child(3) .account-stat-icon {
  background: #eef3ff;
  color: #3158b7 !important;
}
.account-stats article:nth-child(4) .account-stat-icon {
  background: #f3f0ff;
  color: #6a46b8 !important;
}
.account-stats span:not(.account-stat-icon),
.account-stats small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}
.account-stats strong {
  display: block;
  margin: 0.12rem 0;
  font-size: 2rem;
  line-height: 1;
}
.account-stats small {
  overflow: hidden;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-workspace {
  display: grid;
  grid-template-columns: minmax(15rem, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.account-side-panel {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem;
}
.account-mini-nav {
  display: grid;
  gap: 0.35rem;
}
.account-mini-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.8rem;
  padding: 0 0.8rem;
  border-radius: 0.58rem;
  color: #252525;
  font-weight: 900;
}
.account-mini-nav a:hover {
  background: #f5f5f3;
}
.account-address-card,
.account-progress-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem;
  border-radius: 0.65rem;
  background: #f7f7f5;
}
.account-address-card span,
.account-address-card small,
.account-progress-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}
.account-address-card strong {
  color: #151515;
  line-height: 1.45;
}
.account-progress-card div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.account-progress-card i {
  display: block;
  height: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #24c76a var(--account-progress), rgba(21, 21, 21, 0.12) var(--account-progress));
}
.account-main-panels {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.account-panel {
  padding: 1.15rem;
}
.account-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.account-panel-head h2 {
  margin: 0.1rem 0 0;
  font-size: 1.65rem;
}
.account-panel-head > span,
.account-panel-head a {
  color: var(--muted);
  font-weight: 850;
}
.account-panel-head a {
  color: #151515;
}
.account-panel form {
  display: grid;
  gap: 0.9rem;
}
.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.account-form-grid .wide {
  grid-column: 1 / -1;
}
.account-settings-panel input,
.account-settings-panel textarea {
  min-height: 3rem;
  border-radius: 0.58rem;
  background: #fbfbfa;
}
.account-settings-panel textarea {
  min-height: 7rem;
}
.account-form-actions .primary-button {
  flex: 1 1 13rem;
}
.account-favorite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.account-favorite-grid .product-card {
  min-width: 0;
}
.account-favorite-grid .empty-state {
  min-height: 8rem;
  border-radius: 0.7rem;
}
.account-order-list {
  display: grid;
  gap: 0.72rem;
}
.account-order-card {
  display: grid;
  grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.3fr) minmax(7rem, 0.45fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 0.65rem;
  background: #fbfbfa;
}
.account-order-card span,
.account-order-card small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}
.account-order-card strong {
  display: block;
  overflow: hidden;
  margin-top: 0.12rem;
  color: #151515;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-order-status {
  justify-self: end;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: #eef8f1;
  color: #178a43 !important;
  white-space: nowrap;
}
.account-empty-state {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
  padding: 1rem;
  border: 1px dashed rgba(21, 21, 21, 0.16);
  border-radius: 0.65rem;
  background: #fbfbfa;
  color: var(--muted);
}
.account-empty-state strong {
  color: #151515;
}
.compact-head {
  margin-bottom: 0.8rem;
}
.favorite-toggle {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #151515;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0.6rem 1.4rem rgba(0, 0, 0, 0.12);
}
.favorite-toggle.active {
  background: #151515;
  color: #fff;
}
.detail-heart-button {
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #151515;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0.65rem 1.5rem rgba(0, 0, 0, 0.1);
}
.detail-heart-button.active {
  background: #151515;
  color: #fff;
}

.product-detail-shell {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.product-detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f7f7f5;
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.product-gallery-thumbs button {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #f7f7f5;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-gallery-thumbs button:hover,
.product-gallery-thumbs button.active {
  border-color: #151515;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.product-gallery-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: none;
}

.product-detail-info {
  display: grid;
  gap: 1rem;
}

.product-detail-info h1 {
  max-width: 25ch;
  font-size: clamp(1.9rem, 2.7vw, 2.6rem);
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: 0;
}

.detail-price-panel {
  position: relative;
  display: grid;
  gap: 0.45rem;
  width: min(100%, 29rem);
  margin: 0.35rem 0 0.15rem;
  padding: 1rem 1.1rem;
  overflow: hidden;
  border: 1px solid #dedede;
  border-left: 4px solid #171717;
  border-radius: 6px;
  background: #fafafa;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

.detail-price-panel.has-discount {
  border-color: #f0c9c5;
  border-left-color: #d92d20;
  background: #fff8f7;
}

.detail-price-heading,
.detail-price-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.detail-price-heading > span {
  color: #5f5f5f;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-discount-badge,
.detail-stock-badge {
  flex: 0 0 auto;
  padding: 0.34rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  line-height: 1;
}

.detail-discount-badge {
  background: #d92d20;
  color: #ffffff;
}

.detail-stock-badge {
  background: #171717;
  color: #ffffff;
}

.detail-price-values {
  justify-content: flex-start;
  align-items: baseline;
}

.detail-price-panel .price {
  color: #111111;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 1;
}

.detail-price-panel.has-discount .price {
  color: #c9271a;
}

.detail-price-panel .old-price {
  order: 2;
  color: #777777;
  font-size: 0.95rem;
  font-weight: 700;
}

.detail-saving,
.detail-price-note {
  margin: 0;
  color: #666666;
  font-size: 0.78rem;
}

.detail-saving strong {
  color: #14844a;
}

@media (max-width: 760px) {
  .detail-price-panel {
    width: 100%;
    padding: 0.85rem 0.9rem;
  }

  .detail-price-panel .price {
    font-size: 1.9rem;
  }
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.detail-qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.detail-qty input {
  width: 5rem;
  margin: 0;
  text-align: center;
}

.detail-list {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.66);
}

.variant-select {
  display: grid;
  gap: 0.4rem;
  max-width: 22rem;
  margin-top: 1rem;
  font-weight: 850;
}

.variant-select select {
  min-height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: white;
  padding: 0 0.8rem;
}

.detail-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
}

.detail-trust-grid article {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
}

.detail-trust-grid strong,
.detail-trust-grid span {
  display: block;
}

.detail-trust-grid span {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
}

.detail-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rating-summary {
  margin: 0.4rem 0 0.8rem;
  color: #151515;
  font-weight: 900;
}

.review-panel {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.review-form,
.review-list {
  display: grid;
  gap: 0.85rem;
}

.review-form {
  max-width: 48rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.76);
}

.review-list {
  margin-top: 1rem;
}

.review-item {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.72);
}

.review-item div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.review-item span {
  color: #151515;
  font-weight: 900;
}

.review-item p {
  margin: 0.65rem 0;
  color: var(--muted);
  line-height: 1.6;
}

.review-item small {
  color: var(--muted);
}

.admin-review-list {
  display: grid;
  gap: 0.75rem;
}

.review-import-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.55fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.review-import-status {
  display: grid;
  place-items: center;
  min-height: 3.5rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.review-import-result { margin-bottom: 1rem; }
.review-summary-grid strong { font-size: 1.2rem; }

.review-import-unmatched {
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
}

.review-import-unmatched summary {
  cursor: pointer;
  padding: 0.85rem;
  font-weight: 900;
}

.review-import-unmatched > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0 0.85rem 0.85rem;
}

.review-import-unmatched span {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.review-import-unmatched strong,
.review-import-unmatched small { overflow-wrap: anywhere; }
.review-import-unmatched small { color: var(--muted); }

.review-import-success {
  padding: 0.8rem;
  border: 1px solid #a7d8b9;
  border-radius: 0.65rem;
  background: #f2fbf5;
  color: #176536;
  font-weight: 800;
}

@media (max-width: 760px) {
  .review-import-panel,
  .review-import-unmatched > div { grid-template-columns: 1fr; }
}

.admin-review-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.74);
}

.admin-review-item.pending {
  border-color: rgba(21, 21, 21, 0.28);
}

.admin-review-item strong,
.admin-review-item span,
.admin-review-item small {
  display: block;
}

.admin-review-item span,
.admin-review-item small,
.admin-review-item p {
  color: var(--muted);
}

.admin-review-item p {
  margin: 0.45rem 0;
  line-height: 1.55;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) max-content minmax(15rem, max-content);
  gap: 1.5rem;
  align-items: center;
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0.75rem 0 0;
  line-height: 1.55;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--sage-dark);
  font-weight: 800;
  min-width: max-content;
}

.footer-note {
  text-align: right;
  white-space: nowrap;
  min-width: 15rem;
}

.payment-footer {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.85rem;
  width: 100%;
  margin: 0.75rem 0 -2rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(21, 21, 21, 0.04);
}

.payment-footer strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.payment-footer > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.7rem;
  text-align: center;
}

.payment-footer > div:first-child span {
  color: var(--muted);
}

.payment-logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.35rem;
}

.payment-footer .payment-logo {
  display: inline-flex;
  visibility: visible;
  opacity: 1;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 0.45rem;
  background: #ffffff;
  box-shadow: 0 0.45rem 1.2rem rgba(21, 21, 21, 0.045);
  color: #151515;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.payment-footer .payment-logo.visa { color: #172b85; }
.payment-footer .payment-logo.mastercard { color: #d44328; }
.payment-footer .payment-logo.troy { color: #0a6ebd; }
.payment-footer .payment-logo.iyzico { color: #2d70d6; }
.payment-footer .payment-logo.world { color: #6b34a3; }
.payment-footer .payment-logo.axess { color: #1f1f1f; }
.payment-footer .payment-logo.bonus { color: #4a9d3e; }
.payment-footer .payment-logo.maximum { color: #d9278d; }
.payment-footer .payment-logo.paraf { color: #1da5c9; }
.payment-footer .payment-logo.bankkart { color: #d71920; }
.payment-footer .payment-logo.qnb { color: #213f8f; }
.payment-footer .payment-logo.paycell { color: #111111; }
.payment-footer .payment-logo.param { color: #6b3fb2; }
.payment-footer .payment-logo.garanti { color: #23854f; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.rich-footer {
  width: 100%;
  max-width: none;
  display: block;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  padding: 0;
  border-top: 0;
  background: #fff;
  color: var(--muted);
}

.footer-subscribe-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: clamp(1.5rem, 6vw, 8rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.2rem) max(1rem, calc((100vw - 1180px) / 2 + 1rem));
  background: #f6f6f5;
}

.footer-newsletter,
.footer-social {
  display: grid;
  gap: 0.7rem;
}

.footer-newsletter h2,
.footer-social h2,
.footer-link-column h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-newsletter p,
.footer-social p,
.footer-brand-block p,
.footer-bottom-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer-newsletter-form {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) 3.05rem;
  align-items: center;
  width: min(100%, 31rem);
  min-height: 3.1rem;
  margin-top: 0.55rem;
  border: 1px solid rgba(21, 21, 21, 0.10);
  background: #fff;
}

.footer-mail-icon {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #c9c9c5;
}

.footer-mail-icon::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid currentColor;
  border-radius: 0.15rem;
  background:
    linear-gradient(45deg, transparent 46%, currentColor 48%, currentColor 52%, transparent 54%) 0 0 / 50% 100% no-repeat,
    linear-gradient(-45deg, transparent 46%, currentColor 48%, currentColor 52%, transparent 54%) 100% 0 / 50% 100% no-repeat;
}

.footer-newsletter-form input {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-weight: 800;
}

.footer-newsletter-form input::placeholder {
  color: #b8b8b3;
}

.footer-newsletter-form button {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 3.1rem;
  place-items: center;
  border: 0;
  background: #050505;
  color: #fff;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  transition: background 160ms ease;
}

.footer-newsletter-form button:hover {
  background: #2c2c29;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.55rem;
}

.footer-social-link {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.08);
  background: #fff;
  color: #151515;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.footer-social-icon {
  width: 1.22rem;
  height: 1.22rem;
  display: block;
}

.footer-social-link-instagram {
  color: #d62976;
}

.footer-social-link-whatsapp {
  color: #25d366;
}

.footer-social-link-blog,
.footer-social-link-support {
  color: #151515;
}

.footer-social-link:hover {
  background: #050505;
  color: #fff;
  transform: translateY(-2px);
}

.footer-menu-row {
  width: min(1180px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 2.28fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.footer-brand-block {
  display: grid;
  gap: 1rem;
  max-width: 18rem;
}

.footer-brand-block .brand {
  align-items: flex-start;
}

.rich-footer .footer-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 3rem);
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
}

.footer-link-column {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.footer-link-column ul {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link-column a {
  color: #8b8b86;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-link-column a:hover {
  color: #050505;
  transform: translateX(2px);
}

.footer-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem max(1rem, calc((100vw - 1180px) / 2 + 1rem));
  background: #f7f7f6;
  border-top: 1px solid rgba(21, 21, 21, 0.06);
}

.rich-footer .payment-logo-strip {
  justify-content: flex-end;
  gap: 0.45rem;
  min-height: 0;
}

.rich-footer .payment-logo {
  display: inline-flex;
  visibility: visible;
  min-height: 1.9rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
  font-size: 0.82rem;
  font-weight: 950;
  opacity: 1;
  white-space: nowrap;
}

.rich-footer .payment-logo.visa { color: #172b85; }
.rich-footer .payment-logo.mastercard { color: #d44328; }
.rich-footer .payment-logo.troy { color: #0a6ebd; }
.rich-footer .payment-logo.iyzico { color: #2d70d6; }
.rich-footer .payment-logo.secure { color: #8e9a91; }

@media (max-width: 980px) {
  .footer-subscribe-row,
  .footer-menu-row,
  .footer-bottom-row {
    grid-template-columns: 1fr;
  }

  .rich-footer .footer-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block {
    max-width: none;
  }

  .rich-footer .payment-logo-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .footer-subscribe-row {
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .footer-menu-row {
    width: calc(100% - 2rem);
    padding: 2.5rem 0;
  }

  .rich-footer .footer-menu-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-newsletter-form {
    grid-template-columns: 2.4rem minmax(0, 1fr) 2.8rem;
  }

  .footer-social-link {
    width: 2.55rem;
    height: 2.55rem;
  }

  .footer-bottom-row {
    padding: 1rem;
  }

  .rich-footer .payment-logo-strip {
    gap: 0.35rem 0.6rem;
  }
}

.legal-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 0 1rem;
}

.legal-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.42fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.legal-page-header .eyebrow {
  margin-bottom: 0.65rem;
}

.legal-page-header h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
}

.legal-page-header > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-top: clamp(1.75rem, 4vw, 3rem);
}

.legal-toc {
  position: sticky;
  top: 8.5rem;
  display: grid;
  gap: 0.2rem;
  padding-right: 1.25rem;
  border-right: 1px solid var(--line);
}

.legal-toc strong {
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.legal-toc a {
  padding: 0.55rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 160ms ease, transform 160ms ease;
}

.legal-toc a:hover {
  color: var(--ink);
  transform: translateX(0.2rem);
}

.legal-content {
  min-width: 0;
}

.legal-section {
  scroll-margin-top: 9rem;
  padding: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.legal-section + .legal-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.legal-section h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-section p {
  margin: 0.7rem 0;
}

.legal-section ul,
.legal-section ol {
  margin: 0.65rem 0 0;
  padding-left: 1.2rem;
}

.legal-company,
.trust-contact-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fafafa;
}

.legal-company div,
.trust-contact-band div {
  display: grid;
  gap: 0.2rem;
}

.legal-company span,
.trust-contact-band span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.legal-company strong,
.trust-contact-band strong,
.trust-contact-band a {
  color: var(--ink);
  line-height: 1.45;
}

.trust-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 0;
}

.trust-principle {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
}

.trust-principle strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.trust-principle p {
  margin: 0;
  font-size: 0.9rem;
}

.legal-update-note {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.35rem;
  background: #f3f3f3;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .legal-page {
    width: min(100% - 1rem, 44rem);
    padding-top: 1.5rem;
  }

  .legal-page-header,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-page-header {
    gap: 1rem;
  }

  .legal-page-header h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .legal-layout {
    gap: 1.5rem;
  }

  .legal-toc {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding: 0 0 0.65rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }

  .legal-toc::-webkit-scrollbar {
    display: none;
  }

  .legal-toc strong {
    display: none;
  }

  .legal-toc a {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.4rem;
    background: #fff;
    white-space: nowrap;
  }

  .legal-company,
  .trust-contact-band,
  .trust-principles {
    grid-template-columns: 1fr;
  }
}

.commerce-home {
  background: #ffffff;
  color: #151515;
}

.commerce-page {
  min-height: 100vh;
}

html.preload-lock body.commerce-home main {
  position: relative;
  min-height: 62vh;
}

html.preload-lock body.commerce-home main > * {
  opacity: 0;
  pointer-events: none;
}

html.preload-lock body.commerce-home main::before {
  content: "denizcan home hazırlanıyor";
  position: absolute;
  left: 50%;
  top: clamp(5rem, 18vh, 10rem);
  z-index: 4;
  width: min(24rem, calc(100vw - 2rem));
  min-height: 7.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 0.85rem;
  background: linear-gradient(110deg, #ffffff 0%, #f6f6f4 45%, #ffffff 90%);
  box-shadow: 0 1.4rem 4rem rgba(21, 21, 21, 0.08);
  color: #151515;
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  transform: translateX(-50%);
}

html.preload-lock body.commerce-home main::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(clamp(5rem, 18vh, 10rem) + 5.2rem);
  z-index: 5;
  width: 9rem;
  height: 0.18rem;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, #151515, rgba(21, 21, 21, 0.08), #151515);
  background-size: 200% 100%;
  transform: translateX(-50%);
  animation: loadingLine 1000ms linear infinite;
}

@keyframes loadingLine {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.commerce-page .product-detail-shell,
.commerce-page .cart-shell,
.commerce-page .auth-shell,
.commerce-page .marketplace-shell {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.commerce-page .marketplace-shell {
  padding-top: 1.25rem;
}

.commerce-page .product-detail-shell {
  padding-top: clamp(2rem, 4vw, 3.25rem);
}

.commerce-page .auth-shell {
  min-height: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem;
}

.utility-bar {
  background: #151515;
  color: #ffffff;
  font-size: 0.83rem;
}

.utility-inner {
  width: min(100% - 2rem, 1180px);
  min-height: 2.55rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.utility-inner strong {
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.utility-inner nav,
.social-mini {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.utility-inner nav {
  justify-content: flex-end;
}

.utility-inner a,
.social-mini a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.instagram-link {
  display: inline-grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.instagram-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.instagram-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.commerce-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  backdrop-filter: blur(18px);
}

.commerce-header-inner {
  width: min(100% - 2rem, 1180px);
  min-height: 5.45rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 15.5rem minmax(16rem, 1fr) auto;
  align-items: center;
  gap: 1.35rem;
}

.commerce-brand .brand-mark {
  width: 3.75rem;
  height: 3.75rem;
  flex: 0 0 3.75rem;
  background: #151515;
  background-size: 145% auto !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  filter: contrast(1.18);
}
.commerce-brand .brand-mark.has-custom-logo {
  border-radius: 0;
  background-color: transparent;
}

.commerce-brand small {
  font-size: 0.72rem;
}

.commerce-search {
  position: relative;
}

.commerce-search span {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateY(-50%);
  color: #6f6f6b;
}

.commerce-search span::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.commerce-search span::after {
  content: "";
  position: absolute;
  right: -0.18rem;
  bottom: 0;
  width: 0.48rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(45deg);
  transform-origin: right center;
}

.commerce-search input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0 1.2rem 0 2.9rem;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  background: #fafafa;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.commerce-search input:focus {
  background: #ffffff;
  border-color: rgba(21, 21, 21, 0.35);
  box-shadow: 0 0 0 4px rgba(21, 21, 21, 0.06);
}

.commerce-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  white-space: nowrap;
  color: #333331;
  font-weight: 700;
}

.commerce-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 180ms ease, transform 180ms ease;
}

.commerce-actions a:hover {
  color: #000000;
  transform: translateY(-1px);
}

.commerce-actions .nav-icon {
  width: 1.45rem;
  height: 1.45rem;
  background: transparent;
}

.commerce-actions .nav-icon::before {
  width: 1.22rem;
  height: 1.22rem;
}

.heart-icon {
  position: relative;
  width: 1.25rem;
  height: 1.15rem;
  display: inline-block;
}

.heart-icon::before,
.heart-icon::after {
  content: "";
  position: absolute;
  width: 0.72rem;
  height: 1.05rem;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 0.72rem 0.72rem 0 0;
  transform-origin: 50% 100%;
}

.heart-icon::before {
  left: 0.25rem;
  transform: rotate(-45deg);
}

.heart-icon::after {
  right: 0.25rem;
  transform: rotate(45deg);
}

.commerce-cart #cartCount {
  display: inline-grid;
  min-width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 999px;
  background: #151515;
  color: #ffffff;
  font-size: 0.72rem;
  padding: 0 0.35rem;
}

.commerce-nav {
  width: min(100% - 2rem, 1180px);
  min-height: 3rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  overflow: visible;
  color: #333331;
  font-weight: 700;
  scrollbar-width: none;
}

.commerce-nav::-webkit-scrollbar {
  display: none;
}

.commerce-nav a {
  flex: 0 0 auto;
  padding: 0.9rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.commerce-nav a:hover {
  color: #000000;
  border-color: #151515;
}

.commerce-nav a[aria-current="page"],
.commerce-actions a[aria-current="page"] {
  color: #000000;
  border-color: #151515;
}

.commerce-category-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.commerce-category-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.commerce-category-trigger span {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.commerce-category-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.55rem);
  z-index: 20;
  min-width: 15rem;
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem;
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -0.45rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.commerce-category-menu a {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-bottom: 0;
  border-radius: 0.4rem;
  color: #333331;
  font-size: 0.92rem;
  font-weight: 750;
  white-space: nowrap;
}

.commerce-category-menu a:hover {
  border-color: transparent;
  background: rgba(21, 21, 21, 0.055);
}

.commerce-category-dropdown:hover .commerce-category-menu,
.commerce-category-dropdown:focus-within .commerce-category-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.commerce-category-dropdown:hover .commerce-category-trigger span,
.commerce-category-dropdown:focus-within .commerce-category-trigger span {
  transform: translateY(1px) rotate(225deg);
}

.commerce-main {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: 0.35rem 0 3rem;
}

.contact-page {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.contact-hero {
  max-width: 58rem;
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.contact-hero h1 {
  max-width: 13ch;
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.96;
}

.contact-hero p:last-child {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.contact-story,
.contact-support-card {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.045);
}

.contact-story {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.contact-story h2,
.contact-support-card h2 {
  margin: 0 0 1rem;
}

.contact-story p,
.contact-support-card p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-support-card {
  position: sticky;
  top: 6rem;
  padding: 1.35rem;
}

.contact-whatsapp {
  margin: 1.1rem 0 0;
}

.content-page {
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
}

.content-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(1.25rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.content-hero h1 {
  max-width: 13ch;
  margin: 0.4rem 0 0;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
}

.content-hero > p,
.content-hero-copy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.blog-card {
  display: grid;
  align-content: start;
  min-height: 22rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
}

.blog-card:first-child {
  grid-column: span 2;
  background: #151515;
  color: #fff;
}

.blog-card span { color: #8a8a8a; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.blog-card h2 { margin: auto 0 0.8rem; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.05; }
.blog-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.blog-card:first-child p { color: rgba(255,255,255,.7); }

.service-panel {
  width: min(46rem, 100%);
  margin: 2rem auto 0;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0,0,0,.05);
}

.service-panel h2 { margin: 0 0 0.5rem; }
.service-panel > p { color: var(--muted); line-height: 1.65; }
.service-form { display: grid; gap: 0.85rem; margin-top: 1.4rem; }
.service-form .form-row { align-items: end; }
.service-result { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 0.45rem; background: #fafafa; }
.service-result:empty { display: none; }
.service-result strong { display: block; margin-bottom: 0.35rem; }
.service-result p { margin: 0 0 0.8rem; color: var(--muted); line-height: 1.6; }

.tracking-result-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.tracking-result-head span { display: block; color: var(--muted); font-size: 0.8rem; }
.tracking-status { padding: 0.55rem 0.8rem; border-radius: 999px; background: #151515; color: #fff !important; font-weight: 800; }
.tracking-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; margin: 1.4rem 0; }
.tracking-steps div { display: grid; gap: 0.4rem; color: #aaa; font-size: 0.75rem; }
.tracking-steps div span { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border: 1px solid #ccc; border-radius: 50%; }
.tracking-steps div.is-complete { color: #151515; }
.tracking-steps div.is-complete span { background: #151515; border-color: #151515; color: #fff; }
.tracking-summary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; margin: 0; }
.tracking-summary div { padding: 0.75rem 0; border-top: 1px solid var(--line); }
.tracking-summary dt { color: var(--muted); font-size: 0.78rem; }
.tracking-summary dd { margin: 0.25rem 0 0; font-weight: 700; }

.admin-coupon-list { display: grid; gap: 0.7rem; }
.admin-coupon-item { display: grid; grid-template-columns: 1fr 1.25fr 1fr auto; gap: 0.8rem; align-items: center; padding: 0.8rem; border: 1px solid var(--line); border-radius: 0.45rem; background: #fff; }
.admin-coupon-item strong, .admin-coupon-item span, .admin-coupon-item small { display: block; }
.admin-coupon-item small { margin-top: 0.2rem; color: var(--muted); }

.cart-coupon-form { display: grid; gap: 0.4rem; margin: 0.85rem 0; }
.cart-coupon-form > div { display: grid; grid-template-columns: 1fr auto; }
.cart-coupon-form input { border-radius: 0.4rem 0 0 0.4rem; }
.cart-coupon-form button { padding: 0 1rem; border: 0; border-radius: 0 0.4rem 0.4rem 0; background: #151515; color: #fff; font-weight: 800; }

.commerce-hero {
  position: relative;
  margin-top: 0.3rem;
  border: 1px solid rgba(21, 21, 21, 0.08);
  background: transparent;
  overflow: hidden;
  aspect-ratio: 16 / 5.9;
}

.commerce-hero-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: #151515;
}

.commerce-hero .banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: none;
  mix-blend-mode: normal;
  transform: none;
  transition: opacity 600ms ease, transform 850ms ease;
}

.commerce-hero .banner-slide.active {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  transform: none;
}

.hero-campaign-copy {
  position: absolute;
  left: clamp(1.5rem, 5vw, 4.5rem);
  top: 50%;
  z-index: 2;
  width: min(28rem, 44%);
  transform: translateY(-50%);
}

.hero-campaign-copy p {
  display: inline-flex;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #151515;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-campaign-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-campaign-copy span {
  display: block;
  margin-top: 0.8rem;
  max-width: 24rem;
  color: #4f4f4a;
  font-weight: 700;
  line-height: 1.45;
}

.hero-campaign-copy b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.2rem;
  min-height: 2.7rem;
  margin-top: 1.25rem;
  border: 1px solid #151515;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.45);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-tabs {
  position: absolute;
  top: 1rem;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.hero-tabs span {
  min-width: 7.2rem;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  color: #6f6f6b;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.hero-tabs span:first-child {
  background: #ffffff;
  color: #151515;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #151515;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-arrow.left {
  left: 0.6rem;
}

.hero-arrow.right {
  right: 0.6rem;
}

.banner-dots {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 4;
  display: inline-flex;
  gap: 0.32rem;
  padding: 0.42rem 0.55rem;
  border-radius: 999px;
  background: transparent;
}

.banner-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.banner-dots span.active {
  width: 1rem;
  border-radius: 999px;
  background: #ffffff;
}

.category-strip-carousel {
  position: relative;
  margin: 1.25rem 0 2.35rem;
}

.commerce-category-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.1rem 0.25rem 0.7rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.commerce-category-strip::-webkit-scrollbar {
  display: none;
}

.commerce-category-strip .category-tile {
  flex: 0 0 auto;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: #303030;
  font-weight: 600;
  text-align: center;
  scroll-snap-align: start;
  transition: color 180ms ease, transform 180ms ease;
}

.commerce-category-strip .category-tile:hover {
  color: #000000;
  box-shadow: none;
  transform: translateY(-1px);
}

.commerce-category-strip .category-tile span {
  display: none;
}

.commerce-category-strip .category-tile strong {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.category-strip-arrow {
  position: absolute;
  top: calc(50% - 0.3rem);
  z-index: 3;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  color: #242424;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-strip-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.category-strip-prev {
  left: -1.15rem;
}

.category-strip-next {
  right: -1.15rem;
}

.promo-category-carousel {
  position: relative;
  margin: 1.35rem 0 2.2rem;
}

.promo-category-list {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.05rem 0.25rem 0.65rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.promo-category-list::-webkit-scrollbar {
  display: none;
}

.promo-category-list a {
  flex: 0 0 clamp(10.8rem, 18vw, 14.8rem);
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: 0.42rem;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.04);
  color: #393939;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  scroll-snap-align: start;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.promo-category-list a:hover {
  border-color: rgba(24, 24, 24, 0.22);
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.promo-category-arrow {
  position: absolute;
  top: calc(50% - 0.32rem);
  z-index: 3;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  color: #242424;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.promo-category-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.promo-category-prev {
  left: -1.15rem;
}

.promo-category-next {
  right: -1.15rem;
}

.commerce-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.7rem 0 0.85rem;
}

.commerce-section-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: 0;
}

.commerce-section-head a {
  color: #555552;
  font-weight: 800;
}

.weekly-deals {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, 1fr);
  min-width: 0;
  margin: 2rem 0 1.7rem;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 0.35rem;
  background: #f4f4f2;
}

.weekly-deals[hidden] {
  display: none !important;
}

.weekly-deals-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 28rem;
  padding: 2rem 1.25rem;
  background: #d90818;
  color: #ffffff;
  text-align: center;
}

.weekly-deals-promo span {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.weekly-deals-promo strong {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.weekly-deals-promo a {
  padding: 0.72rem 1rem;
  border-radius: 0.25rem;
  background: #ffffff;
  color: #151515;
  font-size: 0.78rem;
  font-weight: 900;
}

.weekly-deals-content {
  min-width: 0;
  padding: 1.1rem 1rem 0.45rem;
}

.weekly-deals-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.weekly-deals-head small {
  display: block;
  margin-bottom: 0.25rem;
  color: #d90818;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.weekly-deals-head h2 {
  margin: 0;
  font-size: 1.42rem;
  letter-spacing: 0;
}

.weekly-deals-head a {
  color: #4d4d49;
  font-size: 0.8rem;
  font-weight: 900;
}

.weekly-deals-carousel .commerce-product-grid .product-card {
  flex-basis: calc((100% - 2.1rem) / 4);
  background: #ffffff;
}

.weekly-deals .weekly-deal-badge {
  border: 0;
  background: #b30713;
  color: #ffffff;
}

.weekly-deals .product-carousel-prev {
  left: -0.75rem;
}

.weekly-deals .product-carousel-next {
  right: -0.75rem;
}

.admin-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  margin: 0;
  font-weight: 800;
}

.admin-switch input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: #151515;
}

.commerce-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.commerce-carousel {
  position: relative;
  isolation: isolate;
}

.commerce-carousel .commerce-product-grid {
  display: flex;
  justify-content: flex-start;
  gap: 0.7rem;
  margin-top: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.2rem 0 0.9rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.commerce-carousel .commerce-product-grid::-webkit-scrollbar {
  display: none;
}

.commerce-carousel .commerce-product-grid .product-card {
  flex: 0 0 calc((100% - 2.8rem) / 5);
  scroll-snap-align: start;
}

.product-carousel-arrow {
  position: absolute;
  top: 43%;
  z-index: 5;
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #151515;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.product-carousel-arrow:hover {
  background: #151515;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.product-carousel-prev {
  left: -1.2rem;
}

.product-carousel-next {
  right: -1.2rem;
}

.commerce-product-grid .product-card {
  border-radius: 0.25rem;
  box-shadow: none;
  border-color: rgba(21, 21, 21, 0.10);
}

.commerce-product-grid .product-card:hover {
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.10);
}

.commerce-product-grid .product-info {
  padding: 0.78rem;
}

.commerce-product-grid .product-card h3 {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  min-height: 2.25rem;
}

.commerce-product-grid .product-card p {
  display: -webkit-box;
  min-height: 2.55rem;
  margin: 0.45rem 0 0.8rem;
  overflow: hidden;
  color: #686863;
  font-size: 0.78rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.commerce-product-grid .product-meta {
  font-size: 0.67rem;
}

.commerce-product-grid .card-bottom {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0.55rem;
}

.commerce-product-grid .add-to-cart-button {
  width: 100%;
  min-width: 0;
  min-height: 2.45rem;
  border-radius: 999px;
}

.all-products-head {
  margin-top: 2.35rem;
  padding-top: 0.35rem;
}

.all-products-grid {
  margin-top: 0;
  padding-bottom: 1rem;
}

.commerce-showcase-band {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 0.45rem;
  background: #151515;
  color: #ffffff;
}

.commerce-showcase-band p {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 900;
  text-transform: uppercase;
}

.commerce-showcase-band h2 {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.commerce-showcase-band .primary-button {
  flex: 0 0 auto;
  background: #ffffff;
  color: #151515;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

.cart-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 15, 15, 0.48);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.cart-success-overlay[hidden] { display: none; }
.cart-success-overlay.show { opacity: 1; visibility: visible; }

.cart-success-dialog {
  width: min(25rem, 100%);
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 0.5rem;
  background: #fff;
  color: #151515;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease;
}

.cart-success-overlay.show .cart-success-dialog { transform: translateY(0) scale(1); }
.cart-success-content { padding: 1.6rem 1.25rem 1.25rem; }

.cart-success-icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  border: 1px solid #c8e7d1;
  border-radius: 50%;
  background: #e8f5ec;
}

.cart-success-icon::after {
  width: 1.55rem;
  height: 0.8rem;
  border-bottom: 3px solid #207447;
  border-left: 3px solid #207447;
  content: "";
  transform: translateY(-0.15rem) rotate(-45deg);
}

.cart-success-content h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
}

.cart-success-content p {
  max-width: 21rem;
  margin: 0.55rem auto 0;
  color: #6d6d68;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cart-success-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid #e8e8e4;
  background: #f5f5f3;
}

.cart-success-actions button,
.cart-success-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.45rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.cart-success-continue { border: 1px solid #d3d3ce; background: #fff; color: #151515; }
.cart-success-cart { border: 1px solid #151515; background: #151515; color: #fff; }
.cart-success-continue:hover { border-color: #151515; }
.cart-success-cart:hover { border-color: #333; background: #333; }

@media (max-width: 520px) {
  .cart-success-overlay { padding: 0.75rem; }
  .cart-success-dialog { width: min(100%, 22rem); }
  .cart-success-content { padding: 1.4rem 1rem 1.1rem; }
  .cart-success-icon { width: 4rem; height: 4rem; }
  .cart-success-actions { gap: 0.5rem; padding: 0.75rem; }
  .cart-success-actions button,
  .cart-success-actions a { min-width: 0; padding: 0.6rem 0.5rem; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cart-success-overlay,
  .cart-success-dialog,
  .cart-success-actions button,
  .cart-success-actions a { transition: none; }
}

.gift-wheel-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.gift-wheel-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gift-wheel-card {
  position: relative;
  width: min(62rem, 100%);
  display: grid;
  grid-template-columns: minmax(18rem, .95fr) minmax(20rem, 26rem);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
  padding: clamp(1.15rem, 3vw, 2.15rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 1.65rem;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 209, 102, .34), transparent 29%),
    radial-gradient(circle at 92% 92%, rgba(255, 77, 109, .22), transparent 30%),
    linear-gradient(135deg, #fffdf8 0%, #ffffff 48%, #fff5f7 100%);
  box-shadow: 0 2.2rem 6rem rgba(41, 17, 42, 0.32);
  transform: translateY(1rem) scale(0.97);
  transition: transform 240ms ease;
}
.gift-wheel-card::before {
  content: "";
  position: absolute;
  width: 14rem;
  aspect-ratio: 1;
  left: -6rem;
  bottom: -7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #ff3d71);
  opacity: .12;
  filter: blur(2px);
}

.gift-wheel-overlay.is-open .gift-wheel-card {
  transform: translateY(0) scale(1);
}

.gift-wheel-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.gift-wheel-copy {
  padding-right: 1rem;
}

.gift-wheel-eyebrow {
  display: inline-flex;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a00, #ff3d71);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 .55rem 1.2rem rgba(255, 82, 52, .22);
}

.gift-wheel-copy h2 {
  margin: 0.85rem 0 0.75rem;
  max-width: 9ch;
  font-size: clamp(2.2rem, 5vw, 4.65rem);
  line-height: .92;
  letter-spacing: -.055em;
  color: #19121a;
}

.gift-wheel-copy p,
.gift-wheel-result {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

.gift-wheel-result {
  grid-column: 1 / -1;
  min-height: 1.5rem;
  margin: 0;
  padding: .95rem 1.1rem;
  border: 1px solid rgba(255, 122, 0, .16);
  border-radius: 1rem;
  background: linear-gradient(90deg, #fff7ed, #fff1f4);
  text-align: center;
  color: #2b1824;
  font-weight: 900;
}

.gift-wheel-stage {
  position: relative;
  width: min(26rem, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  filter: drop-shadow(0 1.35rem 1.5rem rgba(46, 21, 52, .20));
}

.gift-wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 17%, transparent 17.5%),
    var(--wheel-gradient);
  border: .78rem solid #171219;
  outline: .28rem solid rgba(255,255,255,.92);
  box-shadow:
    inset 0 0 0 .16rem rgba(255,255,255,.82),
    inset 0 0 1.8rem rgba(0,0,0,.12),
    0 1rem 2.8rem rgba(0,0,0,.18);
  transition: transform 4.3s cubic-bezier(0.08, 0.74, 0.12, 1);
}

.gift-wheel span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 43%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: .22rem;
  transform-origin: 0 0;
  transform: rotate(calc(var(--i) * 30deg - 75deg)) translate(6%, -50%);
  color: #fff;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0,0,0,.38), 0 0 1px rgba(0,0,0,.32);
}
.gift-wheel span strong {
  font-size: clamp(.82rem, 2.1vw, 1.06rem);
  font-weight: 1000;
  line-height: 1;
}
.gift-wheel span small {
  font-size: clamp(.52rem, 1.3vw, .66rem);
  font-weight: 1000;
  line-height: 1;
  opacity: .95;
}

.gift-wheel-pointer {
  position: absolute;
  top: -0.35rem;
  left: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 0.9rem solid transparent;
  border-right: 0.9rem solid transparent;
  border-top: 1.65rem solid #ff7a00;
  filter: drop-shadow(0 0.35rem 0.45rem rgba(255, 87, 34, .34));
}

.gift-wheel-spin {
  position: relative;
  z-index: 4;
  width: min(7.2rem, 30vw);
  aspect-ratio: 1;
  border: .38rem solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7a00, #ff3d71 68%, #8b5cf6);
  color: #fff;
  font-size: clamp(0.95rem, 3vw, 1.2rem);
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 .85rem 1.8rem rgba(255, 69, 72, .32), inset 0 0 0 .08rem rgba(255,255,255,.35);
  transition: transform .2s ease, filter .2s ease;
}
.gift-wheel-spin:hover { transform: scale(1.045); filter: saturate(1.12); }
}

.gift-wheel-spin:disabled {
  cursor: wait;
  opacity: 0.92;
}

.gift-confetti {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
  overflow: hidden;
}

.gift-confetti span {
  position: absolute;
  top: -1rem;
  width: 0.65rem;
  height: 1rem;
  border-radius: 0.15rem;
  animation: giftConfettiFall 1.65s ease-out forwards;
}

@keyframes giftConfettiFall {
  to {
    transform: translate(var(--confetti-x), 105vh) rotate(var(--confetti-rotate));
    opacity: 0;
  }
}

.admin-body { min-height: 100vh; background: #f4f3ef; }
.admin-layout {
  width: min(1400px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 1rem;
  padding: 1rem 0 4rem;
}
.admin-sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, 0.045);
}
.admin-sidebar a { padding: 0.72rem 0.8rem; border-radius: 0.6rem; color: var(--muted); font-weight: 850; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.admin-sidebar a:hover,
.admin-sidebar a.is-active,
.admin-sidebar a[aria-current="page"] { background: #111; color: #fff; transform: translateX(2px); }
.admin-page-hidden { display: none !important; }
.admin-content { min-width: 0; }
.admin-intro { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1rem 0 1.5rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1rem; }
.metric-card { padding: 1.1rem; }
.metric-card span { display: block; color: var(--muted); font-weight: 800; }
.metric-card strong { display: block; margin-top: 0.4rem; font-size: 2rem; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1rem; margin-bottom: 1rem; }
.admin-card { padding: 1.25rem; margin-bottom: 1rem; border-radius: 0.9rem; }
.admin-card form, .admin-card label { display: grid; gap: 0.45rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.toggle-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0.8rem 0; }
.toggle-row label { display: inline-flex; align-items: center; gap: 0.4rem; }
.toggle-row input { width: auto; margin: 0; }
.manager-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.manager-head span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}
.seo-admin-form {
  display: grid;
  gap: 0.85rem;
}
.gift-wheel-admin-toggle {
  display: flex !important;
  align-items: center;
  gap: 0.7rem !important;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  font-weight: 850;
}
.gift-wheel-admin-toggle input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
}
.gift-wheel-admin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .55fr);
  gap: 1rem;
  align-items: start;
  margin-top: .35rem;
}
.gift-wheel-prize-panel,
.gift-wheel-admin-preview-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .8rem 2.2rem rgba(0,0,0,.045);
}
.gift-wheel-prize-panel { padding: 1rem; }
.gift-wheel-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .85rem;
}
.gift-wheel-editor-head div { display: grid; gap: .2rem; }
.gift-wheel-editor-head strong { font-size: 1rem; }
.gift-wheel-editor-head small { color: var(--muted); font-weight: 700; }
.gift-wheel-probability-total {
  flex: 0 0 auto;
  padding: .48rem .7rem;
  border-radius: 999px;
  background: #f1f1f1;
  color: #555;
  font-size: .78rem;
  font-weight: 950;
}
.gift-wheel-probability-total.is-valid { background: #eaf9f0; color: #138a48; }
.gift-wheel-probability-total.is-invalid { background: #fff0f0; color: #d6293e; }
.gift-wheel-prize-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.gift-wheel-prize-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 1fr) 3.2rem;
  gap: .55rem;
  align-items: end;
  padding: .7rem;
  border: 1px solid #ece8e3;
  border-radius: .85rem;
  background: linear-gradient(180deg, #fff, #fffaf6);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gift-wheel-prize-row:focus-within {
  border-color: rgba(255,122,0,.5);
  transform: translateY(-1px);
  box-shadow: 0 .7rem 1.5rem rgba(255,122,0,.08);
}
.gift-wheel-prize-index {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  background: #151515;
  color: #fff;
  font-size: .76rem;
  font-weight: 950;
}
.gift-wheel-prize-row label { gap: .3rem !important; }
.gift-wheel-prize-row label > span { color: var(--muted); font-size: .72rem; font-weight: 850; }
.gift-wheel-input-suffix { position: relative; }
.gift-wheel-input-suffix input { padding-right: 2.2rem; }
.gift-wheel-input-suffix b {
  position: absolute;
  top: 50%;
  right: .65rem;
  transform: translateY(-50%);
  color: #ff6b00;
  font-size: .72rem;
}
.gift-wheel-color-field input[type="color"] {
  width: 100%;
  min-height: 2.45rem;
  padding: .2rem;
  border-radius: .55rem;
  cursor: pointer;
}
.gift-wheel-admin-preview-card {
  position: sticky;
  top: 6rem;
  display: grid;
  justify-items: center;
  gap: .8rem;
  padding: 1rem;
  text-align: center;
}
.gift-wheel-preview-label {
  justify-self: stretch;
  padding: .42rem .65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a00, #ff3d71);
  color: #fff;
  font-size: .75rem;
  font-weight: 950;
  text-transform: uppercase;
}
.gift-wheel-admin-preview {
  --preview-wheel: conic-gradient(#ff7a00 0 360deg);
  position: relative;
  width: min(15rem, 100%);
  aspect-ratio: 1;
  border: .5rem solid #181319;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 18%, transparent 18.5%), var(--preview-wheel);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.15), inset 0 0 0 .14rem rgba(255,255,255,.8);
}
.gift-wheel-admin-preview::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -.85rem;
  left: 50%;
  transform: translateX(-50%);
  border-left: .62rem solid transparent;
  border-right: .62rem solid transparent;
  border-top: 1rem solid #ff7a00;
}
.gift-wheel-admin-preview-center {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 4.1rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: .22rem solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7a00, #ff3d71);
  color: #fff;
  font-size: .68rem;
  font-weight: 1000;
}
.gift-wheel-admin-preview-value {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  transform-origin: 0 0;
  transform: rotate(calc(var(--i) * 30deg - 75deg)) translate(8%, -50%);
  color: #fff;
  font-size: .53rem;
  font-weight: 1000;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0,0,0,.48);
}
.gift-wheel-admin-preview-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.gift-wheel-save-button { min-height: 3rem; font-size: .95rem; }

.seo-preview-box {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #fff;
}
.seo-preview-box span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.seo-preview-box strong {
  color: #1a0dab;
  font-size: 1.08rem;
  line-height: 1.25;
}
.seo-preview-box small {
  color: #006621;
  font-weight: 800;
}
.seo-preview-box p {
  max-width: 46rem;
  margin: 0;
  color: #4d5156;
  line-height: 1.45;
}

.seo-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.seo-health-card {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  border: 1px solid rgba(21, 21, 21, 0.10);
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.85rem;
}

.seo-health-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.seo-health-card strong {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

.seo-health-card small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.seo-health-card.is-good {
  border-color: rgba(31, 138, 78, 0.24);
  background: #f4fbf7;
}

.seo-health-card.is-warn {
  border-color: rgba(190, 122, 18, 0.24);
  background: #fffaf0;
}

.seo-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.seo-admin-actions .primary-button,
.seo-admin-actions .ghost-button {
  min-height: 2.85rem;
}
.compact-label { display: grid; margin-bottom: 0.8rem; }
.bulk-import-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}
.bulk-file-drop {
  border: 1px dashed rgba(18, 18, 18, 0.24);
  border-radius: 0.75rem;
  background: #fafafa;
  padding: 1.1rem;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}
.bulk-file-drop:hover {
  border-color: var(--ink);
  background: #fff;
  transform: translateY(-1px);
}
.bulk-file-drop span {
  display: block;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.bulk-file-drop small,
.bulk-preview-table small {
  display: block;
  color: var(--muted);
  margin-top: 0.2rem;
}
.bulk-file-drop input { margin-top: 0.9rem; }
.bulk-import-actions { display: grid; gap: 0.8rem; }
.bulk-import-result { margin-top: 1rem; }
.bulk-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.bulk-summary-grid span {
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.8rem;
  background: #fff;
  color: var(--muted);
  font-size: 0.85rem;
}
.bulk-summary-grid strong {
  color: var(--ink);
  font-size: 0.95rem;
}
.bulk-preview-table td:first-child { font-weight: 800; }
.admin-product-list { display: grid; gap: 0.75rem; max-height: 44rem; overflow: auto; padding-right: 0.2rem; }
.bulk-category-tools {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 1rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.72);
}
.bulk-category-controls {
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) auto;
  gap: 0.7rem;
  align-items: end;
}
.bulk-category-controls label {
  margin: 0;
}
.bulk-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  font-weight: 800;
}
.bulk-select-all input,
.admin-product-select input {
  width: auto;
  margin: 0;
}
.bulk-category-tools small {
  color: var(--muted);
  font-weight: 800;
}
.admin-product-row {
  display: grid;
  grid-template-columns: auto 4.5rem 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(251, 250, 246, 0.78);
}
.admin-product-select {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
}
.admin-product-row img { width: 4.5rem; height: 4.5rem; border-radius: 0.45rem; object-fit: cover; }
.category-admin-list {
  display: grid;
  gap: 0.65rem;
}
.category-admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
}
.category-admin-item small {
  color: var(--muted);
  font-weight: 750;
}
.admin-banner-preview {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--steel);
}
.admin-banner-preview.mobile {
  aspect-ratio: 4 / 3;
}
  .admin-logo-preview {
    width: 5rem;
    height: 5rem;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
    background: var(--steel);
  }
  .admin-favicon-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: -0.25rem 0 0.75rem;
  }
  .admin-favicon-preview {
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
    object-fit: contain;
    padding: 0.4rem;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: #ffffff;
  }
.banner-slot {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.62);
}
.banner-slot h3 {
  margin: 0;
  font-size: 1rem;
}
.banner-manager {
  width: 100%;
}
.banner-manager-head {
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.banner-manager-head h2,
.banner-manager-head p {
  margin-bottom: 0.35rem;
}
.banner-manager-head .primary-button {
  flex: 0 0 auto;
}
.banner-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.banner-editor-card {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
}
.banner-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.banner-media-panel {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-width: 0;
}
.banner-empty-preview.mobile {
  min-height: 9rem;
}
.banner-editor-card-head,
.banner-editor-card-head > div,
.banner-product-heading,
.banner-manager-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.banner-editor-card-head > div {
  justify-content: flex-start;
}
.banner-editor-card h3,
.banner-editor-card h4 {
  margin: 0;
  font-size: 1rem;
}
.banner-number {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #151515;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}
.banner-upload-control small {
  color: var(--muted);
  font-weight: 500;
}
.banner-empty-preview {
  display: grid;
  min-height: 12rem;
  place-content: center;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px dashed #c9c9c9;
  border-radius: 0.5rem;
  background: #f7f7f7;
  color: var(--muted);
  text-align: center;
}
.banner-empty-preview strong {
  color: var(--ink);
}
.banner-product-heading span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.banner-product-list {
  grid-template-columns: 1fr;
  max-height: 16rem;
  padding-right: 0.35rem;
}
.banner-manager-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .banner-editor-grid { grid-template-columns: 1fr; }
  .banner-media-grid { grid-template-columns: 1fr; }
  .banner-manager-head { align-items: stretch; }
  .banner-manager-head,
  .banner-manager-actions { flex-direction: column; }
  .banner-manager-head .primary-button,
  .banner-manager-actions .primary-button { width: 100%; }
}
.admin-product-row h3 { margin: 0; font-size: 1rem; }
.admin-product-row p { margin: 0.25rem 0 0; color: var(--muted); }
.row-actions { display: flex; gap: 0.45rem; }
.icon-button.delete { color: #9d382d; }
.inline-form { display: flex; gap: 0.65rem; align-items: end; }
.inline-form input { margin: 0; }
.admin-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  max-height: 18rem;
  overflow: auto;
  padding: 0.2rem;
}
.admin-check-list label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.55rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.62);
}
.admin-check-list input { width: auto; margin: 0; }
.admin-check-list small {
  grid-column: 2;
  color: var(--muted);
}
.category-admin-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-weight: 800;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.85rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); font-size: 0.86rem; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(1.25rem) rotate(1deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .site-header, .admin-topbar { align-items: flex-start; flex-direction: column; }
  .top-nav, .header-actions, .admin-actions { width: 100%; overflow-x: auto; padding-bottom: 0.2rem; }
  .hero, .shop-signal-bar, .home-showcase, .feature-strip, .trust-grid, .category-grid, .promo-band, .story-band, .cart-layout, .admin-layout, .admin-grid, .metric-grid, .product-detail, .site-footer, .marketplace-hero, .market-layout, .market-toolbar { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual img { aspect-ratio: 16 / 11; }
  .section-head, .admin-intro { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-sidebar, .summary-card, .market-sidebar { position: static; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .market-category-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-actions { grid-template-columns: 1fr 12rem; }
  .market-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-dashboard-hero,
  .account-workspace { grid-template-columns: 1fr; }
  .account-side-panel {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .account-mini-nav { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-favorite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-order-card { grid-template-columns: minmax(9rem, 0.8fr) minmax(0, 1fr) auto; }
  .account-order-total { display: none; }
  .sidebar-clear,
  .sidebar-info { grid-column: 1 / -1; }
  .footer-note { text-align: left; }
  .content-hero { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-coupon-item { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-auth-empty,
  .account-dashboard-hero,
  .account-workspace,
  .account-form-grid,
  .account-order-card { grid-template-columns: 1fr; }
  .account-dashboard-hero { padding: 1rem; }
  .account-dashboard-hero h1 { font-size: 2.2rem; }
  .account-hero-copy { min-height: auto; padding: 0.35rem; }
  .account-hero-actions { display: grid; grid-template-columns: 1fr; }
  .account-hero-actions .primary-button,
  .account-hero-actions .ghost-button,
  .account-logout-button { width: 100%; min-width: 0; }
  .account-side-panel { position: static; grid-template-columns: 1fr; }
  .account-mini-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-stats,
  .account-favorite-grid { grid-template-columns: 1fr; }
  .account-panel-head { align-items: flex-start; flex-direction: column; }
  .account-order-total { display: block; }
  .account-order-status { justify-self: start; }
  .market-category-strip,
  .market-sidebar,
  .market-actions,
  .price-filter { grid-template-columns: 1fr; }
  .marketplace-badges { min-width: 0; }

  .site-footer {
    width: calc(100% - 1rem);
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    overflow: hidden;
  }

  .site-footer > *,
  .site-footer nav,
  .footer-note,
  .payment-footer,
  .payment-logo-strip {
    min-width: 0;
    max-width: 100%;
  }

  .site-footer nav {
    gap: 0.55rem 0.85rem;
    white-space: normal;
  }

  .site-footer nav a,
  .footer-note {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .payment-footer {
    gap: 0.75rem;
  }

  .payment-footer div:first-child {
    display: grid;
    gap: 0.25rem;
  }

  .payment-logo-strip {
    gap: 0.42rem;
  }

  .payment-logo {
    min-height: 1.85rem;
    padding: 0.32rem 0.55rem;
    font-size: 0.74rem;
  }

  .gift-wheel-overlay {
    align-items: end;
    padding: 0.8rem;
  }

  .gift-wheel-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-height: calc(100vh - 1.6rem);
    overflow: auto;
    border-radius: 1rem;
  }

  .gift-wheel-copy {
    padding-right: 2.2rem;
  }

  .gift-wheel-copy h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .gift-wheel-stage {
    width: min(20rem, 84vw);
  }

  .gift-wheel-result {
    font-size: 0.88rem;
  }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card:first-child { grid-column: auto; }
  .tracking-steps { grid-template-columns: 1fr; }
  .tracking-steps div { grid-template-columns: auto 1fr; align-items: center; }
  .tracking-summary { grid-template-columns: 1fr; }
  .admin-coupon-item { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  main, .admin-layout { width: min(100% - 1rem, 1180px); }
  .brand small { display: none; }
  h1 { font-size: clamp(2.6rem, 17vw, 4.5rem); }
  .product-detail-info h1 { font-size: clamp(1.45rem, 7vw, 1.75rem); }
  .product-grid { gap: 0.65rem; }
  .product-info { min-height: 14.25rem; padding: 0.72rem; }
  .product-card h3 { font-size: 0.96rem; }
  .product-card p { font-size: 0.88rem; }
  .card-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    align-items: stretch;
  }
  .price-stack {
    min-width: 0;
  }
  .add-to-cart-button {
    width: 100%;
    min-width: 0;
    min-height: 2.45rem;
    padding: 0.62rem 0.58rem;
    gap: 0.38rem;
    font-size: 0.76rem;
  }
  .cart-mini-icon {
    width: 1rem;
    height: 1rem;
  }
  .cart-row { grid-template-columns: 4rem 1fr; }
  .admin-product-row { grid-template-columns: auto 4rem 1fr; }
  .cart-row img, .admin-product-row img { width: 4rem; height: 4rem; }
  .category-admin-item { grid-template-columns: 1fr; align-items: stretch; }
  .qty-controls { grid-column: 1 / -1; }
  .row-actions { grid-column: 2 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .bulk-import-panel, .bulk-summary-grid, .bulk-category-controls { grid-template-columns: 1fr; }
  .shop-signal-bar article { border-right: 0; border-bottom: 1px solid var(--line); }
  .shop-signal-bar article:last-child { border-bottom: 0; }
}

/* Product listing refinement */
.marketplace-shell {
  width: min(1180px, calc(100% - 2rem));
  padding-top: 1rem;
}

.catalog-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(32, 35, 31, 0.06);
}

.catalog-topbar h1 {
  max-width: none;
  margin: 0.15rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.catalog-topbar p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.catalog-topbar .market-breadcrumb {
  margin: 0;
  font-size: 0.86rem;
}

.catalog-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.catalog-topbar-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.06);
  color: var(--sage-dark);
  font-size: 0.88rem;
  font-weight: 850;
}

.market-category-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1rem;
}

.market-category-carousel .market-category-strip {
  display: flex;
  gap: 0.55rem;
  margin: 0;
  overflow-x: auto;
  padding: 0.05rem 0.1rem 0.2rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.market-category-carousel .market-category-strip::-webkit-scrollbar {
  display: none;
}

.market-category-arrow {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(21, 21, 21, 0.08);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 850;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.market-category-arrow:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.top-category-card {
  min-width: 10.5rem;
  min-height: 3.4rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
}

.top-category-icon {
  width: 2rem;
  height: 2rem;
}

.market-layout {
  display: grid;
  grid-template-columns: 14.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.market-sidebar {
  position: sticky;
  top: 5.4rem;
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(32, 35, 31, 0.06);
}

.sidebar-block {
  gap: 0.5rem;
  padding-bottom: 0.75rem;
}

.sidebar-title {
  font-size: 0.94rem;
}

.sidebar-category-button,
.check-filter {
  min-height: 2rem;
  font-size: 0.9rem;
}

.price-filter {
  grid-template-columns: 1fr;
}

.price-filter input {
  margin-top: 0;
}

.sidebar-info {
  display: none;
}

.market-content {
  min-width: 0;
}

.market-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.9fr);
  gap: 1rem;
  align-items: end;
  padding: 0.9rem;
  border-radius: 0.5rem;
}

.market-toolbar h2 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.market-actions {
  grid-template-columns: minmax(0, 1fr) 11.5rem;
}

.active-filter-row {
  margin-top: 0.75rem;
}

.marketplace-product-grid {
  margin-top: 0.9rem;
}

.marketplace-product-grid .product-card {
  border-radius: 0.45rem;
  background: white;
}

.marketplace-product-grid .product-info {
  min-height: 12.5rem;
}

.marketplace-product-grid .product-card h3 {
  font-size: 1rem;
}

.marketplace-product-grid .product-card p {
  display: -webkit-box;
  min-height: 2.9rem;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 980px) {
  .catalog-topbar,
  .market-layout,
  .market-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-topbar {
    display: grid;
  }

  .catalog-topbar-actions {
    justify-content: flex-start;
  }

  .market-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-clear {
    grid-column: 1 / -1;
  }

  .market-actions {
    grid-template-columns: minmax(0, 1fr) 11.5rem;
  }
}

@media (max-width: 720px) {
  .market-sidebar,
  .market-actions {
    grid-template-columns: 1fr;
  }
}

/* Mobile marketplace cleanup */
.mobile-filter-toggle {
  display: none;
}

@media (max-width: 720px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
  }

  .site-header .brand {
    grid-column: 1;
    min-width: 0;
  }

  .site-header .header-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    justify-content: flex-end;
    gap: 0.45rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .site-header .top-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .site-header .icon-link,
  .site-header .cart-link {
    position: relative;
    width: 2.55rem;
    height: 2.55rem;
    min-height: 2.55rem;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0;
  }

  .site-header .nav-icon {
    width: 2.05rem;
    height: 2.05rem;
    background: transparent;
    font-size: initial;
  }

  .site-header .nav-icon::before {
    width: 1.35rem;
    height: 1.35rem;
  }

  .site-header .cart-link > span:not(.nav-icon) {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    min-width: 1.25rem;
    height: 1.25rem;
    font-size: 0.7rem;
  }

  .marketplace-shell {
    width: min(100% - 0.75rem, 1180px);
    padding-top: 0.55rem;
  }

  .catalog-topbar {
    margin-bottom: 0.65rem;
    padding: 0.85rem;
    border-radius: 0.55rem;
  }

  .catalog-topbar h1 {
    font-size: 1.45rem;
  }

  .catalog-topbar p:not(.market-breadcrumb) {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .catalog-topbar-actions {
    display: none;
  }

  .market-category-carousel {
    gap: 0.35rem;
    margin-bottom: 0.65rem;
  }

  .market-category-carousel .market-category-strip {
    gap: 0.45rem;
  }

  .market-category-arrow {
    width: 2rem;
    height: 2rem;
    font-size: 1.3rem;
    box-shadow: 0 8px 18px rgba(21, 21, 21, 0.08);
  }

  .top-category-card {
    min-width: 8.8rem;
    min-height: 3rem;
    padding: 0.55rem 0.65rem;
    box-shadow: none;
  }

  .top-category-card small {
    display: none;
  }

  .top-category-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.85rem;
  }

  .mobile-filter-toggle {
    display: flex;
    width: 100%;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    margin: 0 0 0.65rem;
    border: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: 0.55rem;
    background: var(--sage-dark);
    color: white;
    font-weight: 900;
  }

  .market-layout {
    gap: 0.75rem;
  }

  .market-sidebar {
    display: none;
    padding: 0.85rem;
    border-radius: 0.55rem;
    box-shadow: 0 10px 24px rgba(32, 35, 31, 0.08);
  }

  .marketplace-shell.filters-open .market-sidebar {
    display: grid;
  }

  .sidebar-block {
    padding-bottom: 0.65rem;
  }

  .sidebar-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-category-button {
    justify-content: center;
    min-height: 2.35rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
  }

  .sidebar-category-button small {
    display: none;
  }

  .check-filter {
    min-height: 2.25rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.72);
  }

  .market-toolbar {
    gap: 0.7rem;
    padding: 0.8rem;
  }

  .market-toolbar h2 {
    font-size: 1.2rem;
  }

  .market-toolbar p {
    font-size: 0.88rem;
  }

  .market-actions {
    gap: 0.55rem;
  }

  .active-filter-row {
    display: none;
  }

  .marketplace-product-grid {
    margin-top: 0.65rem;
    gap: 0.55rem;
  }

  .marketplace-product-grid .product-info {
    min-height: 13.6rem;
    padding: 0.68rem;
  }

  .product-meta {
    font-size: 0.68rem;
  }

  .marketplace-product-grid .product-card h3 {
    font-size: 0.9rem;
  }

  .marketplace-product-grid .product-card p {
    min-height: 2.35rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .marketplace-product-grid .card-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .marketplace-product-grid .cart-button {
    min-width: 100%;
    min-height: 2.35rem;
    padding: 0.62rem 0.72rem;
    font-size: 0.78rem;
  }

  .marketplace-product-grid .add-to-cart-button span:last-child {
    max-width: 7.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .badge {
    font-size: 0.65rem;
  }
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-support-card {
    position: static;
  }

  .contact-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .utility-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0.45rem 0;
    gap: 0.35rem;
  }

  .utility-inner nav {
    display: none;
  }

  .commerce-header-inner {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: 0.85rem 0 0.7rem;
    gap: 0.8rem;
  }

  .commerce-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .commerce-actions {
    gap: 0.45rem;
  }

  .commerce-actions a {
    width: 2.65rem;
    height: 2.65rem;
    justify-content: center;
    border: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: 50%;
    background: #ffffff;
    font-size: 0;
  }

  .commerce-actions .nav-icon,
  .commerce-actions .heart-icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .commerce-cart #cartCount {
    position: absolute;
    top: -0.28rem;
    right: 0.12rem;
    min-width: 1.15rem;
    height: 1.15rem;
    font-size: 0.68rem;
  }

  .commerce-nav {
    justify-content: flex-start;
    padding-bottom: 0.1rem;
  }

  .commerce-hero {
    aspect-ratio: 16 / 7.5;
  }

  .commerce-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .commerce-carousel .commerce-product-grid .product-card {
    flex-basis: calc((100% - 1.4rem) / 3);
  }
}

@media (max-width: 720px) {
  .utility-bar {
    display: none;
  }

  .commerce-header {
    position: relative;
  }

  .commerce-header-inner,
  .commerce-nav,
  .commerce-main {
    width: min(100% - 1rem, 1180px);
  }

  .commerce-brand {
    gap: 0.55rem;
  }

  .commerce-brand .brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    flex-basis: 2.75rem;
  }

  .commerce-brand small {
    display: none;
  }

  .commerce-brand strong {
    font-size: 1.18rem;
  }

  .commerce-nav {
    gap: 1rem;
    min-height: 2.7rem;
    font-size: 0.85rem;
  }

  .commerce-category-dropdown {
    position: static;
  }

  .commerce-category-menu {
    left: 50%;
    right: auto;
    min-width: min(16rem, calc(100vw - 2rem));
  }

  .detail-trust-grid {
    grid-template-columns: 1fr;
  }

  .commerce-search input {
    min-height: 2.6rem;
  }

  .commerce-hero {
    margin-top: 0.65rem;
    aspect-ratio: 4 / 3.45;
    border-radius: 0;
  }

  .commerce-hero .banner-slide {
    object-position: center;
  }

  .hero-campaign-copy {
    left: 1rem;
    right: 1rem;
    top: auto;
    bottom: 1rem;
    width: auto;
    padding: 0.85rem;
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.82);
    transform: none;
    backdrop-filter: blur(12px);
  }

  .hero-campaign-copy p {
    margin-bottom: 0.45rem;
    font-size: 0.68rem;
  }

  .hero-campaign-copy h1 {
    font-size: clamp(1.45rem, 10vw, 2.35rem);
    line-height: 1;
  }

  .hero-campaign-copy span {
    margin-top: 0.45rem;
    font-size: 0.82rem;
  }

  .hero-campaign-copy b {
    min-width: 7.2rem;
    min-height: 2.25rem;
    margin-top: 0.7rem;
    font-size: 0.78rem;
  }

  .hero-tabs {
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem;
    justify-content: flex-start;
    overflow-x: auto;
    transform: none;
    scrollbar-width: none;
  }

  .hero-tabs::-webkit-scrollbar {
    display: none;
  }

  .hero-tabs span {
    min-width: max-content;
    padding: 0.5rem 0.72rem;
    font-size: 0.74rem;
  }

  .hero-arrow {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.45rem;
  }

  .banner-dots {
    right: 0.75rem;
    top: auto;
    bottom: 0.75rem;
  }

  .promo-category-carousel {
    margin: 0.95rem 0 1.45rem;
  }

  .promo-category-list {
    gap: 0.55rem;
    padding: 0.05rem 0.3rem 0.55rem;
  }

  .promo-category-list a {
    flex-basis: 9.8rem;
    min-height: 2.75rem;
    padding: 0.68rem 0.8rem;
    box-shadow: none;
    font-size: 0.88rem;
  }

  .promo-category-arrow {
    width: 2rem;
    height: 2rem;
    font-size: 1.55rem;
  }

  .promo-category-prev {
    left: -0.45rem;
  }

  .promo-category-next {
    right: -0.45rem;
  }

  .category-strip-carousel {
    margin: 0.95rem 0 1.45rem;
  }

  .commerce-category-strip {
    gap: 0.55rem;
    padding: 0.05rem 0.3rem 0.55rem;
  }

  .commerce-category-strip .category-tile {
    flex-basis: auto;
    min-height: auto;
    padding: 0.28rem 0;
    box-shadow: none;
  }

  .commerce-category-strip .category-tile strong {
    font-size: 0.88rem;
  }

  .category-strip-arrow {
    width: 2rem;
    height: 2rem;
    font-size: 1.55rem;
  }

  .category-strip-prev {
    left: -0.45rem;
  }

  .category-strip-next {
    right: -0.45rem;
  }

  .commerce-section-head {
    margin-top: 1.2rem;
  }

  .commerce-section-head h2 {
    font-size: 1.2rem;
  }

  .commerce-section-head a {
    font-size: 0.82rem;
  }

  .commerce-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .commerce-carousel .commerce-product-grid {
    gap: 0.55rem;
    padding-inline: 0.15rem;
  }

  .commerce-carousel .commerce-product-grid .product-card {
    flex-basis: calc((100% - 0.55rem) / 2);
  }

  .product-carousel-arrow {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.45rem;
  }

  .product-carousel-prev {
    left: -0.35rem;
  }

  .product-carousel-next {
    right: -0.35rem;
  }

  .commerce-product-grid .product-info {
    padding: 0.65rem;
  }

  .commerce-product-grid .product-card h3 {
    font-size: 0.84rem;
    min-height: 2.15rem;
  }

  .commerce-product-grid .product-card p {
    min-height: 2.25rem;
    font-size: 0.74rem;
  }

  .commerce-product-grid .add-to-cart-button {
    min-height: 2.25rem;
    padding: 0.55rem 0.5rem;
    font-size: 0.72rem;
  }

  .commerce-showcase-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    border-radius: 0.35rem;
  }
}

/* Mobile commerce polish */
@media (max-width: 720px) {
  .commerce-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0.8rem 1.6rem rgba(21, 21, 21, 0.06);
  }

  .commerce-header-inner {
    width: min(100% - 0.9rem, 1180px);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.62rem;
    padding: 0.55rem 0 0.5rem;
  }

  .commerce-brand {
    min-width: 0;
  }

  .commerce-brand .brand-mark {
    width: 2.95rem;
    height: 2.95rem;
    flex: 0 0 2.95rem;
  }

  .commerce-brand strong {
    font-size: 1.3rem;
  }

  .commerce-actions {
    align-self: center;
    gap: 0.38rem;
  }

  .commerce-actions a {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.48rem;
    height: 2.48rem;
    min-width: 2.48rem;
    padding: 0;
    gap: 0;
    line-height: 1;
    border-color: rgba(21, 21, 21, 0.14);
    box-shadow: 0 0.35rem 0.9rem rgba(21, 21, 21, 0.06);
  }

  .commerce-actions .nav-icon,
  .commerce-actions .heart-icon {
    width: 1.28rem;
    height: 1.28rem;
    margin: 0;
    justify-self: center;
    align-self: center;
  }

  .commerce-actions .nav-icon {
    display: grid;
    place-items: center;
  }

  .commerce-actions .nav-icon::before {
    display: block;
    margin: 0;
  }

  .commerce-actions .heart-icon {
    display: block;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35 10.55 20.03C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35 10.55 20.03C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35Z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .commerce-actions .heart-icon::before,
  .commerce-actions .heart-icon::after {
    display: none;
  }

  .commerce-cart #cartCount {
    top: -0.22rem;
    right: -0.15rem;
  }

  .commerce-search {
    grid-column: 1 / -1;
    order: 3;
    position: relative;
    z-index: 2;
  }

  .commerce-search input {
    min-height: 2.75rem;
    border-color: rgba(21, 21, 21, 0.16);
    background: #ffffff;
    box-shadow: 0 0.45rem 1.1rem rgba(21, 21, 21, 0.055);
    font-size: 0.92rem;
  }

  .commerce-nav {
    width: min(100% - 0.9rem, 1180px);
    min-height: 2.45rem;
    justify-content: space-between;
    gap: 0.85rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .commerce-nav::-webkit-scrollbar {
    display: none;
  }

  .commerce-nav a {
    min-width: max-content;
  }

  .commerce-main {
    width: min(100% - 0.85rem, 1180px);
  }

  .commerce-hero {
    width: 100%;
    margin-top: 0.55rem;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(21, 21, 21, 0.08);
    border-radius: 0.65rem;
    background: #ffffff;
    overflow: hidden;
  }

  .commerce-hero .banner-slide {
    object-fit: cover;
    object-position: center;
  }

  .hero-arrow {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0.45rem 1rem rgba(21, 21, 21, 0.1);
  }

  .banner-dots {
    bottom: 0.45rem;
    right: 0.55rem;
    padding: 0.25rem 0.35rem;
  }
}

@media (max-width: 420px) {
  .commerce-header-inner,
  .commerce-nav,
  .commerce-main {
    width: min(100% - 0.7rem, 1180px);
  }

  .commerce-brand .brand-mark {
    width: 2.72rem;
    height: 2.72rem;
    flex-basis: 2.72rem;
  }

  .commerce-brand strong {
    font-size: 1.18rem;
  }

  .commerce-actions a {
    width: 2.32rem;
    height: 2.32rem;
    min-width: 2.32rem;
  }

  .commerce-search input {
    min-height: 2.62rem;
  }

  .commerce-hero {
    aspect-ratio: 4 / 3;
    border-radius: 0.55rem;
  }
}

@media (max-width: 980px) {
  .weekly-deals {
    grid-template-columns: 10.5rem minmax(0, 1fr);
  }

  .weekly-deals-promo {
    min-height: 25rem;
    padding-inline: 0.9rem;
  }

  .weekly-deals-carousel .commerce-product-grid .product-card {
    flex-basis: calc((100% - 1.4rem) / 3);
  }
}

@media (max-width: 720px) {
  .weekly-deals {
    display: block;
    margin: 1.45rem 0 1.25rem;
    border-color: #242424;
    border-radius: 0.35rem;
    background: #202020;
  }

  .weekly-deals-promo {
    display: none;
  }

  .weekly-deals-content {
    padding: 0.8rem 0.55rem 0.15rem;
  }

  .weekly-deals-head {
    align-items: center;
    margin-bottom: 0.6rem;
    padding: 0 0.15rem;
  }

  .weekly-deals-head small {
    margin-bottom: 0.12rem;
    color: #ff8d96;
    font-size: 0.58rem;
  }

  .weekly-deals-head h2 {
    color: #ffffff;
    font-size: 1rem;
  }

  .weekly-deals-head a {
    color: #ffffff;
    font-size: 0.72rem;
  }

  .weekly-deals-carousel .commerce-product-grid {
    gap: 0.5rem;
    padding: 0.1rem 0 0.65rem;
  }

  .weekly-deals-carousel .commerce-product-grid .product-card {
    flex-basis: calc((100% - 0.5rem) / 2);
  }

  .weekly-deals .product-carousel-arrow {
    width: 2rem;
    height: 2rem;
  }

  .weekly-deals .product-carousel-prev {
    left: -0.42rem;
  }

  .weekly-deals .product-carousel-next {
    right: -0.42rem;
  }
}

/* Refined storefront typography: Turkish-safe system fonts, calmer weights. */
html,
body,
button,
input,
textarea,
select {
  font-family: "Century Gothic", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

body {
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: 600;
  letter-spacing: 0;
}

.site-nav a,
.commerce-nav a,
.utility-inner,
.commerce-actions a,
.market-category-strip,
.market-sidebar,
.filter-pills button,
.primary-button,
.ghost-button,
.cart-button,
.add-to-cart-button,
.icon-button,
.sidebar-category-button,
.admin-sidebar a,
label {
  font-weight: 600;
  letter-spacing: 0;
}

.product-card h3,
.commerce-product-grid .product-card h3,
.marketplace-product-grid .product-card h3,
.product-detail-info h1,
.section-heading h2,
.weekly-deals-head h2,
.market-toolbar h2,
.admin-card h2,
.admin-card h3 {
  font-weight: 600;
  letter-spacing: 0;
}

.product-card p,
.product-detail-info p,
.market-toolbar p,
.section-heading p,
.admin-card p {
  font-weight: 400;
}

.price,
.product-price,
.product-detail-price,
.summary-card .total,
.cart-discount-row {
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow,
.product-category,
.product-stock,
.product-badge,
.badge,
.tracking-status {
  font-weight: 600;
  letter-spacing: 0;
}

/* Keep the handwritten brand treatment unchanged. */
.brand-name,
.commerce-brand strong,
.site-preloader-brand {
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
}

/* Keep catalog pages on the same calm typography as the home storefront. */
.commerce-page .marketplace-shell,
.commerce-page .marketplace-shell button,
.commerce-page .marketplace-shell input,
.commerce-page .marketplace-shell select {
  font-family: "Century Gothic", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.commerce-page .top-category-card strong,
.commerce-page .sidebar-title,
.commerce-page .marketplace-product-grid .product-card h3 {
  font-weight: 600;
}

.commerce-page .top-category-card small,
.commerce-page .sidebar-category-button,
.commerce-page .check-filter,
.commerce-page .market-breadcrumb,
.commerce-page .marketplace-product-grid .product-card p {
  font-weight: 400;
}

/* Karaca-inspired commerce header */
.utility-bar,
.commerce-header,
.commerce-search input,
.commerce-actions,
.commerce-nav {
  font-family: "Montserrat", "Century Gothic", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.utility-bar {
  background: #242424;
  font-size: 0.78rem;
}

.utility-inner {
  width: min(100% - 2rem, 1250px);
  min-height: 2.15rem;
}

.utility-inner strong {
  font-size: 0.78rem;
  font-weight: 700;
}

.utility-inner nav,
.social-mini {
  gap: 1rem;
}

.utility-inner a,
.social-mini a {
  font-size: 0.76rem;
  font-weight: 600;
}

.commerce-header {
  background: #fff;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  box-shadow: none;
  backdrop-filter: none;
}

.commerce-header-inner {
  width: min(100% - 2rem, 1250px);
  min-height: 4.5rem;
  grid-template-columns: 12.25rem minmax(19rem, 1fr) auto;
  gap: 2rem;
}

.commerce-brand .brand-mark {
  width: 2.9rem;
  height: 2.9rem;
  flex-basis: 2.9rem;
}

.commerce-brand small {
  font-size: 0.68rem;
}

.commerce-search input {
  min-height: 2.55rem;
  border-color: rgba(21, 21, 21, 0.12);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 400;
}

.commerce-actions {
  gap: 1.05rem;
}

.commerce-actions a {
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
}

.commerce-actions .nav-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.commerce-actions .nav-icon::before {
  width: 1.05rem;
  height: 1.05rem;
}

.commerce-nav {
  width: min(100% - 2rem, 1250px);
  min-height: 3rem;
  justify-content: flex-start;
  gap: 1.55rem;
  overflow-x: auto;
  overflow-y: visible;
  border-top: 1px solid rgba(21, 21, 21, 0.08);
  color: #333;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.commerce-nav a,
.commerce-category-trigger {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-bottom: 0;
  color: inherit;
  position: relative;
}

.commerce-nav a::after,
.commerce-category-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem;
  height: 2px;
  background: #151515;
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.commerce-nav a:hover,
.commerce-nav a[aria-current="page"] {
  border-color: transparent;
  color: #000;
}

.commerce-nav a:hover::after,
.commerce-nav a[aria-current="page"]::after,
.commerce-category-trigger:hover::after,
.commerce-category-trigger[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.commerce-category-dropdown {
  position: relative;
}

.commerce-category-trigger span {
  width: 0.36rem;
  height: 0.36rem;
  transform: translateY(-1px) rotate(45deg);
}

.commerce-category-menu {
  left: 0;
  top: calc(100% + 0.25rem);
  min-width: 17rem;
  border-radius: 0.25rem;
  transform: translateY(-0.35rem);
}

.commerce-category-menu a {
  min-height: auto;
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
}

.commerce-category-menu a::after {
  display: none;
}

.commerce-category-dropdown:hover .commerce-category-menu,
.commerce-category-dropdown:focus-within .commerce-category-menu {
  transform: translateY(0);
}

.commerce-category-dropdown:hover .commerce-category-trigger span,
.commerce-category-dropdown:focus-within .commerce-category-trigger span {
  transform: translateY(2px) rotate(225deg);
}

@media (max-width: 980px) {
  .utility-inner {
    width: min(100% - 1rem, 1250px);
  }

  .commerce-header-inner {
    width: min(100% - 1rem, 1250px);
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: auto;
    gap: 0.75rem;
    padding: 0.75rem 0 0.65rem;
  }

  .commerce-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .commerce-nav {
    width: 100%;
    min-height: 2.85rem;
    gap: 1.1rem;
    padding: 0 1rem;
    font-size: 0.82rem;
  }

  .commerce-nav a,
  .commerce-category-trigger {
    min-height: 2.85rem;
  }

  .commerce-category-menu {
    min-width: min(18rem, calc(100vw - 1.5rem));
  }
}

@media (max-width: 720px) {
  .commerce-header {
    position: sticky;
    top: 0;
  }

  .commerce-brand .brand-mark {
    width: 2.65rem;
    height: 2.65rem;
    flex-basis: 2.65rem;
  }

  .commerce-brand strong {
    font-size: 1.18rem;
  }

  .commerce-search input {
    min-height: 2.58rem;
    font-size: 0.88rem;
  }

  .commerce-nav {
    width: 100%;
    min-height: 2.65rem;
    gap: 0.95rem;
    padding: 0 0.75rem;
    font-size: 0.78rem;
    scroll-snap-type: x proximity;
  }

  .commerce-nav a,
  .commerce-category-trigger {
    min-height: 2.65rem;
    scroll-snap-align: start;
  }

  .commerce-category-dropdown {
    position: relative;
  }

  .commerce-category-menu {
    left: 0;
    min-width: min(17rem, calc(100vw - 1rem));
  }
}

@media (max-width: 420px) {
  .commerce-header-inner {
    width: min(100% - 0.7rem, 1250px);
  }

  .commerce-nav {
    padding: 0 0.55rem;
    gap: 0.82rem;
  }
}

.commerce-page .marketplace-product-grid .product-category,
.commerce-page .marketplace-product-grid .product-stock,
.commerce-page .marketplace-product-grid .price,
.commerce-page .marketplace-product-grid .cart-button {
  font-weight: 600;
}

/* Match portrait marketplace photography instead of shrinking it into square cards. */
.product-card .product-media,
.product-card .product-media-link {
  display: block;
  aspect-ratio: 3 / 4;
  background: #f7f7f5;
}

.product-card .product-media-link {
  overflow: hidden;
}

.product-card .product-media-link > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}


/* Yuvarlak hikaye bannerlari */
.circle-banner-section {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1440px;
  margin: 14px auto 20px;
  padding: 0 18px;
}
.circle-banner-section[hidden] { display: none !important; }
.circle-banner-track {
  display: flex;
  flex: 1;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding: 7px 2px 10px;
}
.circle-banner-track::-webkit-scrollbar { display: none; }
.circle-banner-item {
  flex: 0 0 92px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
}
.circle-banner-ring {
  width: 78px;
  height: 78px;
  display: block;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6bd60, #ef476f, #9b5de5);
  box-shadow: 0 5px 16px rgba(0,0,0,.10);
}
.circle-banner-ring img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #f4f4f4;
}
.circle-banner-title {
  max-width: 96px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 650;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.circle-banner-arrow {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.circle-banner-editor-list { display: grid; gap: 14px; margin-top: 18px; }
.circle-banner-editor-card {
  display: grid;
  grid-template-columns: 110px minmax(0,1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 16px;
  background: #fff;
}
.circle-banner-editor-preview { display: grid; place-items: center; min-height: 100px; }
.circle-banner-editor-preview .circle-banner-ring { width: 96px; height: 96px; }
.circle-banner-editor-fields { display: grid; gap: 12px; min-width: 0; }
.circle-banner-products .product-check-list {
  max-height: 180px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px 12px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
}
.circle-banner-products .product-check-list label { display: flex; gap: 7px; align-items: flex-start; font-size: 13px; }

@media (max-width: 720px) {
  .circle-banner-section { margin: 8px 0 14px; padding: 0 10px; }
  .circle-banner-track { gap: 13px; }
  .circle-banner-item { flex-basis: 76px; }
  .circle-banner-ring { width: 66px; height: 66px; }
  .circle-banner-title { max-width: 78px; font-size: 12px; }
  .circle-banner-arrow { display: none; }
  .circle-banner-editor-card { grid-template-columns: 82px minmax(0,1fr); }
  .circle-banner-editor-preview .circle-banner-ring { width: 72px; height: 72px; }
  .circle-banner-editor-card .circle-banner-remove { grid-column: 1 / -1; }
  .circle-banner-products .product-check-list { grid-template-columns: 1fr; }
}

/* Yuvarlak banner yonetimi - modern urun secimi */
.circle-banner-manager {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.07);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
  box-shadow: 0 24px 65px rgba(18, 18, 18, 0.08);
}

.circle-banner-manager .manager-head {
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.circle-banner-manager .manager-head h2 {
  margin-bottom: 6px;
  letter-spacing: -0.035em;
}

.circle-banner-manager .manager-head .muted-text {
  max-width: 680px;
  line-height: 1.65;
}

.circle-banner-manager #addCircleBanner {
  min-height: 46px;
  padding-inline: 20px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.15);
}

.circle-banner-editor-list {
  gap: 22px;
  margin-top: 22px;
}

.circle-banner-editor-card {
  position: relative;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.055);
}

.circle-banner-editor-card:hover {
  border-color: rgba(17, 17, 17, 0.14);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.075);
}

.circle-banner-editor-preview {
  align-content: start;
  min-height: 0;
  padding: 12px;
  border-radius: 18px;
  background: #f7f7f5;
}

.circle-banner-editor-preview .circle-banner-ring {
  width: 106px;
  height: 106px;
}

.circle-banner-editor-fields {
  gap: 16px;
  padding-right: 50px;
}

.circle-banner-editor-fields > label {
  display: grid;
  gap: 8px;
  color: #252525;
  font-size: 13px;
  font-weight: 700;
}

.circle-banner-editor-fields > label input[type="text"],
.circle-banner-editor-fields > label input[type="file"] {
  min-height: 46px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 12px;
  background: #fbfbfa;
}

.circle-banner-editor-fields > label input:focus {
  border-color: #171717;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.07);
  outline: none;
}

.circle-banner-editor-card .circle-banner-remove {
  position: absolute;
  top: 20px;
  right: 20px;
  min-width: 38px;
  min-height: 38px;
  padding: 0 11px;
  border-radius: 11px;
}

.circle-banner-products {
  min-width: 0;
  padding-top: 2px;
}

.circle-banner-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.circle-banner-products-head > div {
  display: grid;
  gap: 4px;
}

.circle-banner-products-head strong {
  font-size: 14px;
  color: #1d1d1d;
}

.circle-banner-products-head small {
  color: #777;
  font-size: 12px;
  font-weight: 400;
}

.circle-banner-products .product-check-list {
  max-height: 390px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
  padding: 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: #f8f8f6;
}

.circle-banner-products .product-check-list .circle-product-option {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 68px;
  padding: 9px 42px 9px 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.circle-banner-products .product-check-list .circle-product-option:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 17, 17, 0.13);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.055);
}

.circle-product-option > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.circle-product-check {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 21px;
  height: 21px;
  border: 1.5px solid #b9b9b5;
  border-radius: 7px;
  background: #ffffff;
  transform: translateY(-50%);
  transition: 160ms ease;
}

.circle-product-option > input:checked ~ .circle-product-check {
  border-color: #171717;
  background: #171717;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.circle-product-option > input:checked ~ .circle-product-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.circle-product-option:has(input:checked) {
  border-color: #171717 !important;
  box-shadow: 0 0 0 1px #171717, 0 9px 22px rgba(17, 17, 17, 0.07);
}

.circle-product-image {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 10px;
  background: #f1f1ef;
}

.circle-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-product-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.circle-product-info strong {
  overflow: hidden;
  color: #242424;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.circle-product-info small {
  overflow: hidden;
  color: #777;
  font-size: 10.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.circle-banner-manager .manager-actions {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.07);
}

.circle-banner-manager .manager-actions .primary-button {
  min-height: 44px;
  border-radius: 13px;
}

@media (max-width: 980px) {
  .circle-banner-products .product-check-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .circle-banner-manager .manager-head {
    gap: 16px;
  }

  .circle-banner-manager #addCircleBanner {
    width: 100%;
  }

  .circle-banner-editor-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .circle-banner-editor-preview {
    justify-content: start;
    padding: 10px;
  }

  .circle-banner-editor-fields {
    padding-right: 0;
  }

  .circle-banner-editor-card .circle-banner-remove {
    top: 18px;
    right: 18px;
  }

  .circle-banner-products .product-check-list {
    max-height: 440px;
    padding: 8px;
  }
}

/* Yuvarlak banner boyut ve gorsel yakinlastirma ayari */
.circle-banner-item {
  flex-basis: 112px;
  gap: 9px;
}

.circle-banner-ring {
  position: relative;
  width: 94px;
  height: 94px;
  padding: 4px;
  overflow: hidden;
}

.circle-banner-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.24);
  transform-origin: center;
}

.circle-banner-title {
  max-width: 112px;
  font-size: 13.5px;
}

@media (max-width: 720px) {
  .circle-banner-track {
    gap: 15px;
  }

  .circle-banner-item {
    flex-basis: 90px;
  }

  .circle-banner-ring {
    width: 80px;
    height: 80px;
    padding: 3px;
  }

  .circle-banner-ring img {
    transform: scale(1.24);
  }

  .circle-banner-title {
    max-width: 92px;
    font-size: 12.5px;
  }
}


/* Haftanin Firsatlari yonetimi - gorselli urun secimi */
#weeklyDealsProductSelector.weekly-deals-product-selector {
  max-height: 430px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: #f8f8f6;
}

#weeklyDealsProductSelector .weekly-product-option {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 9px 44px 9px 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

#weeklyDealsProductSelector .weekly-product-option:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 17, 17, 0.14);
  box-shadow: 0 9px 22px rgba(17, 17, 17, 0.06);
}

#weeklyDealsProductSelector .weekly-product-option > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#weeklyDealsProductSelector .weekly-product-check {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 22px;
  height: 22px;
  border: 1.5px solid #b9b9b5;
  border-radius: 7px;
  background: #fff;
  transform: translateY(-50%);
  transition: 160ms ease;
}

#weeklyDealsProductSelector .weekly-product-option > input:checked ~ .weekly-product-check {
  border-color: #171717;
  background: #171717;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

#weeklyDealsProductSelector .weekly-product-option > input:checked ~ .weekly-product-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#weeklyDealsProductSelector .weekly-product-option:has(input:checked) {
  border-color: #171717;
  box-shadow: 0 0 0 1px #171717, 0 10px 24px rgba(17, 17, 17, 0.07);
}

#weeklyDealsProductSelector .weekly-product-image {
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 11px;
  background: #f1f1ef;
}

#weeklyDealsProductSelector .weekly-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#weeklyDealsProductSelector .weekly-product-info {
  display: grid;
  min-width: 0;
  gap: 5px;
}

#weeklyDealsProductSelector .weekly-product-info strong {
  overflow: hidden;
  color: #242424;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#weeklyDealsProductSelector .weekly-product-info small {
  overflow: hidden;
  color: #777;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  #weeklyDealsProductSelector.weekly-deals-product-selector {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #weeklyDealsProductSelector.weekly-deals-product-selector {
    max-height: 480px;
    padding: 8px;
  }

  #weeklyDealsProductSelector .weekly-product-option {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 74px;
  }

  #weeklyDealsProductSelector .weekly-product-image {
    width: 56px;
    height: 56px;
  }
}

/* Modern product administration */
.product-admin-grid { grid-template-columns: minmax(24rem, .9fr) minmax(34rem, 1.35fr); align-items: start; }
.product-editor-card { position: sticky; top: 6rem; }
.product-editor-head { align-items: flex-start; }
.product-form-state { padding: .38rem .65rem; border-radius: 999px; background: #f1eee6; color: #6d6252 !important; font-size: .74rem !important; }
.product-price-insight { display: flex; justify-content: space-between; gap: .8rem; padding: .7rem .8rem; border: 1px dashed var(--line); border-radius: .65rem; color: var(--muted); font-size: .82rem; }
.product-price-insight.is-sale { border-style: solid; background: #f1fbf5; color: #176c3a; }
.product-price-insight strong { color: inherit; }
.product-image-upload { position: relative; padding: 1rem; border: 1px dashed rgba(17,17,17,.22); border-radius: .75rem; background: #fafafa; cursor: pointer; }
.product-image-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.product-image-upload span { font-weight: 900; }
.product-image-upload small { color: var(--muted); }
.product-image-preview-shell { position: relative; min-height: 13rem; border: 1px solid var(--line); border-radius: .8rem; background: linear-gradient(135deg,#f8f7f3,#eceae4); overflow: hidden; }
.product-image-preview-shell .admin-banner-preview { width: 100%; height: 100%; min-height: 13rem; aspect-ratio: 4/3; object-fit: contain; border: 0; background: transparent; }
.product-image-preview-shell > span { position: absolute; left: .75rem; bottom: .65rem; padding: .32rem .52rem; border-radius: 999px; background: rgba(17,17,17,.72); color: #fff; font-size: .7rem; font-weight: 850; }
.field-counter { justify-self: end; color: var(--muted); font-size: .72rem; }
.product-toggle-row label { padding: .55rem .7rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.product-form-actions { display: grid; grid-template-columns: 1fr auto; gap: .65rem; }
.product-list-card { min-width: 0; }
.product-admin-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .6rem; margin-bottom: .85rem; }
.product-admin-stats span { display: grid; gap: .15rem; padding: .75rem; border: 1px solid var(--line); border-radius: .7rem; background: #fff; }
.product-admin-stats small { color: var(--muted); font-weight: 800; }
.product-admin-stats strong { font-size: 1.15rem; }
.product-admin-filters { display: grid; grid-template-columns: minmax(13rem,1.5fr) repeat(3,minmax(9rem,1fr)); gap: .65rem; align-items: end; }
.product-admin-filters label { margin: 0; }
.product-bulk-tools { grid-template-columns: 1fr auto; align-items: end; }
.product-bulk-tools > small { grid-column: 1/-1; }
.product-bulk-status-actions { display: flex; gap: .5rem; }
.modern-admin-product-row { grid-template-columns: auto 5rem minmax(0,1fr) auto; border-radius: .8rem; background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.modern-admin-product-row:hover { transform: translateY(-1px); border-color: rgba(17,17,17,.18); box-shadow: 0 .65rem 1.6rem rgba(0,0,0,.055); }
.modern-admin-product-row.is-inactive { opacity: .68; background: #f6f5f2; }
.admin-product-thumb { position: relative; display: block; width: 5rem; height: 5rem; border-radius: .65rem; overflow: hidden; background: #f3f2ee; }
.admin-product-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.admin-product-thumb b { position: absolute; left: .35rem; bottom: .35rem; padding: .24rem .38rem; border-radius: 999px; background: #e90918; color: #fff; font-size: .62rem; }
.admin-product-info { min-width: 0; }
.admin-product-title-line { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; }
.admin-product-title-line h3 { margin: 0; font-size: .95rem; line-height: 1.25; }
.status-pill,.stock-pill { white-space: nowrap; padding: .27rem .48rem; border-radius: 999px; font-size: .67rem; font-weight: 900; }
.status-pill.is-active { background: #e8f8ee; color: #14753b; }
.status-pill.is-passive { background: #ecebea; color: #6e6963; }
.admin-product-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin: .38rem 0; color: var(--muted); font-size: .75rem; }
.admin-product-meta span { padding: .22rem .38rem; border-radius: .35rem; background: #f4f3ef; }
.admin-product-numbers { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.admin-product-numbers strong { font-size: .93rem; }
.admin-product-numbers del { color: var(--muted); font-size: .76rem; }
.stock-pill { background: #eef5ff; color: #245a9a; }
.stock-pill.is-low { background: #fff3d8; color: #946000; }
.stock-pill.is-out { background: #ffe8e8; color: #a22222; }
.modern-row-actions { display: grid; grid-template-columns: repeat(2,auto); gap: .35rem; }
.modern-row-actions .icon-button { min-width: 4.4rem; padding: .45rem .55rem; border-radius: .5rem; font-size: .72rem; }
.admin-empty-state { display: grid; place-items: center; gap: .3rem; min-height: 12rem; border: 1px dashed var(--line); border-radius: .8rem; color: var(--muted); }
.admin-empty-state strong { color: var(--ink); }

@media (max-width: 1100px) {
  .product-admin-grid { grid-template-columns: 1fr; }
  .product-editor-card { position: static; }
  .product-admin-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .product-admin-stats { grid-template-columns: 1fr 1fr; }
  .product-admin-filters,.product-form-actions,.product-bulk-tools { grid-template-columns: 1fr; }
  .product-bulk-status-actions { flex-wrap: wrap; }
  .modern-admin-product-row { grid-template-columns: auto 4.3rem minmax(0,1fr); }
  .admin-product-thumb { width: 4.3rem; height: 4.3rem; }
  .modern-row-actions { grid-column: 2/-1; display: flex; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .gift-wheel-admin-workspace { grid-template-columns: 1fr; }
  .gift-wheel-admin-preview-card { position: static; }
  .gift-wheel-prize-editor { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gift-wheel-prize-row { grid-template-columns: 2rem 1fr 1fr; }
  .gift-wheel-color-field { grid-column: 2 / -1; }
  .gift-wheel-card { border-radius: 1.15rem; }
}


/* Final product-card alignment: fixed title, rating, price and action rows across home, category and weekly-deal grids. */
.product-card .product-info,
.commerce-product-grid .product-card .product-info,
.marketplace-product-grid .product-card .product-info,
.weekly-deals-products .product-card .product-info,
.weekly-deals-module .product-card .product-info {
  display: grid !important;
  grid-template-rows: 2.15rem 5.12rem 2rem auto;
  align-content: stretch;
  min-height: 15.2rem;
}

.product-card .product-meta,
.commerce-product-grid .product-card .product-meta,
.marketplace-product-grid .product-card .product-meta,
.weekly-deals-products .product-card .product-meta,
.weekly-deals-module .product-card .product-meta {
  height: 2.15rem;
  min-height: 2.15rem;
  margin: 0;
  overflow: hidden;
  align-items: flex-start;
}

.product-card .product-meta > span,
.commerce-product-grid .product-card .product-meta > span,
.marketplace-product-grid .product-card .product-meta > span,
.weekly-deals-products .product-card .product-meta > span,
.weekly-deals-module .product-card .product-meta > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product-card h3,
.commerce-product-grid .product-card h3,
.marketplace-product-grid .product-card h3,
.weekly-deals-products .product-card h3,
.weekly-deals-module .product-card h3,
.commerce-page .marketplace-product-grid .product-card h3 {
  box-sizing: border-box;
  display: -webkit-box;
  height: 5.12rem !important;
  min-height: 5.12rem !important;
  max-height: 5.12rem !important;
  margin: .42rem 0 0 !important;
  overflow: hidden;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.product-card .product-rating,
.commerce-product-grid .product-card .product-rating,
.marketplace-product-grid .product-card .product-rating,
.weekly-deals-products .product-card .product-rating,
.weekly-deals-module .product-card .product-rating {
  display: grid !important;
  grid-template-columns: 4.2rem 2rem minmax(0, 1fr);
  align-items: center;
  column-gap: .28rem;
  box-sizing: border-box;
  width: 100%;
  height: 2rem;
  min-height: 2rem;
  margin: 0 !important;
  padding: .32rem .5rem;
  overflow: hidden;
  white-space: nowrap;
}

.product-card .rating-stars,
.commerce-product-grid .rating-stars,
.marketplace-product-grid .rating-stars,
.weekly-deals-products .rating-stars,
.weekly-deals-module .rating-stars {
  display: grid;
  grid-template-columns: repeat(5, .82rem);
  gap: 0;
  width: 4.1rem;
  justify-content: start;
}

.product-card .rating-star,
.commerce-product-grid .rating-star,
.marketplace-product-grid .rating-star,
.weekly-deals-products .rating-star,
.weekly-deals-module .rating-star {
  width: .82rem;
  text-align: center;
  font-size: .78rem;
}

.product-card .rating-value,
.product-card .rating-count,
.commerce-product-grid .rating-value,
.commerce-product-grid .rating-count,
.marketplace-product-grid .rating-value,
.marketplace-product-grid .rating-count,
.weekly-deals-products .rating-value,
.weekly-deals-products .rating-count,
.weekly-deals-module .rating-value,
.weekly-deals-module .rating-count {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-card .rating-value { text-align: center; }
.product-card .rating-count { text-align: left; }
.product-card .rating-divider { display: none !important; }

.product-card .card-bottom,
.commerce-product-grid .product-card .card-bottom,
.marketplace-product-grid .product-card .card-bottom,
.weekly-deals-products .product-card .card-bottom,
.weekly-deals-module .product-card .card-bottom {
  align-self: end;
  width: 100%;
  margin-top: .55rem !important;
}

@media (max-width: 720px) {
  .product-card .product-info,
  .commerce-product-grid .product-card .product-info,
  .marketplace-product-grid .product-card .product-info,
  .weekly-deals-products .product-card .product-info,
  .weekly-deals-module .product-card .product-info {
    grid-template-rows: 2.15rem 5.12rem 2rem auto;
  }
}

/* Product detail modern black & white redesign */
.product-detail-page {
  padding-bottom: 7.8rem;
}
.product-detail-page .product-detail {
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.product-detail-page .product-detail-media {
  position: relative;
}
.product-detail-page .product-detail-media > img {
  border: 1px solid #ececec;
  border-radius: 1rem;
  background: #fafafa;
  box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, 0.07);
}
.detail-media-favorite {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 4;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-size: 1.35rem;
  box-shadow: 0 0.7rem 1.7rem rgba(0, 0, 0, 0.14);
  cursor: pointer;
}
.detail-media-favorite.active {
  background: #111;
  color: #fff;
}
.product-detail-page .product-gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.product-detail-page .product-gallery-thumbs button {
  flex: 0 0 5.2rem;
  border-radius: 0.8rem;
  background: #fff;
}
.product-detail-page .product-detail-info {
  gap: 0.85rem;
}
.product-detail-page .product-detail-info h1 {
  max-width: 28ch;
  margin-top: 0.15rem;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 750;
  line-height: 1.14;
}
.detail-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: fit-content;
  color: #111;
}
.detail-rating-score {
  font-size: 0.95rem;
  font-weight: 900;
}
.detail-rating-stars {
  display: inline-flex;
  gap: 0.08rem;
  color: #d7d7d7;
}
.detail-rating-stars span {
  font-size: 1rem;
  line-height: 1;
}
.detail-rating-stars .filled {
  color: #111;
}
.detail-rating-count {
  padding-left: 0.45rem;
  border-left: 1px solid #d7d7d7;
  color: #666;
  font-size: 0.82rem;
  font-weight: 700;
}
.detail-advantage-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #111 0%, #2b2b2b 100%);
  color: #fff;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.12);
}
.detail-advantage-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  text-transform: lowercase;
}
.detail-advantage-icon {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #111;
}
.detail-advantage-panel p {
  grid-column: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  line-height: 1.45;
}
.detail-advantage-panel a {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.6rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.detail-description {
  line-height: 1.6;
}
.product-detail-page .detail-price-panel,
.product-detail-page .detail-price-panel.has-discount {
  width: 100%;
  border: 1px solid #e7e7e7;
  border-left: 1px solid #e7e7e7;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: none;
}
.product-detail-page .detail-price-panel.has-discount .price,
.product-detail-page .detail-saving strong {
  color: #111;
}
.product-detail-page .detail-discount-badge,
.product-detail-page .detail-stock-badge {
  background: #111;
  color: #fff;
}
.detail-favorite-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border: 1px solid #d9d9d9;
  border-radius: 0.65rem;
  background: #fff;
  color: #111;
  font-weight: 850;
  cursor: pointer;
}
.detail-favorite-action span {
  font-size: 1.15rem;
}
.detail-favorite-action.active {
  border-color: #111;
  background: #111;
  color: #fff;
}
.product-sticky-purchase {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1150;
  width: min(25rem, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}
.sticky-advantage-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.55rem 0.8rem;
  background: #111;
  color: #fff;
  font-size: 0.73rem;
}
.sticky-advantage-line span,
.sticky-advantage-line strong {
  white-space: nowrap;
}
.sticky-purchase-main {
  display: grid;
  grid-template-columns: 1fr minmax(9rem, 1.15fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
}
.sticky-price-stack {
  display: grid;
  gap: 0.1rem;
}
.sticky-price-stack span {
  color: #8a8a8a;
  font-size: 0.75rem;
  text-decoration: line-through;
}
.sticky-price-stack strong {
  color: #111;
  font-size: 1.18rem;
  line-height: 1;
}
.sticky-purchase-main button {
  min-height: 3rem;
  border: 0;
  border-radius: 0.7rem;
  background: #111;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.sticky-purchase-main button:disabled {
  background: #9c9c9c;
  cursor: not-allowed;
}
.product-detail-page .floating-whatsapp-button {
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 7.7rem);
}

@media (max-width: 760px) {
  .product-detail-page {
    padding-bottom: 8.7rem;
  }
  .product-detail-page .product-detail {
    gap: 1.2rem;
  }
  .product-detail-page .product-detail-media > img {
    border-radius: 0.8rem;
  }
  .detail-media-favorite {
    top: 0.75rem;
    right: 0.75rem;
    width: 2.65rem;
    height: 2.65rem;
  }
  .product-detail-page .product-detail-info h1 {
    font-size: clamp(1.55rem, 7.6vw, 2rem);
  }
  .detail-advantage-panel {
    grid-template-columns: 1fr;
  }
  .detail-advantage-panel a {
    grid-column: 1;
    grid-row: auto;
    width: fit-content;
  }
  .product-detail-page .detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .product-detail-page .detail-actions .primary-button {
    grid-column: 1 / -1;
  }
  .product-detail-page .detail-actions .ghost-button,
  .detail-favorite-action {
    width: 100%;
  }
  .product-sticky-purchase {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0.95rem 0.95rem 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sticky-advantage-line {
    padding: 0.5rem 0.8rem;
  }
  .sticky-purchase-main {
    grid-template-columns: minmax(6.5rem, 0.8fr) 1.4fr;
    padding: 0.7rem 0.8rem;
  }
  .sticky-purchase-main button {
    min-height: 3.25rem;
    font-size: 0.95rem;
  }
  .product-detail-page .floating-whatsapp-button {
    right: 0.85rem;
    bottom: calc(8.7rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 900px) {
  .site-footer.rich-footer {
    width: 100%;
    overflow: visible;
  }

  .rich-footer .footer-menu-grid {
    display: grid;
  }
}

/* Mobile hamburger menu and clean header icons */
.mobile-menu-toggle,
.mobile-menu-backdrop,
.mobile-menu-drawer {
  display: none;
}

.commerce-nav {
  overflow: visible;
}

.commerce-category-menu {
  z-index: 120;
}

@media (min-width: 721px) {
  .commerce-nav {
    width: min(100% - 2rem, 1250px);
    margin-inline: auto;
    justify-content: center;
    overflow: visible;
  }

  .commerce-category-dropdown:hover .commerce-category-menu,
  .commerce-category-dropdown:focus-within .commerce-category-menu {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 720px) {
  body.mobile-commerce-menu-open {
    overflow: hidden;
  }

  .commerce-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 0.5rem !important;
  }

  .mobile-menu-toggle {
    grid-column: 1;
    grid-row: 1;
    width: 2.45rem;
    height: 2.45rem;
    display: inline-grid;
    place-items: center;
    align-self: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #151515;
  }

  .mobile-menu-toggle span {
    width: 1.24rem;
    height: 2px;
    display: block;
    margin: 2px 0;
    border-radius: 999px;
    background: currentColor;
  }

  .commerce-brand {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    gap: 0.42rem;
  }

  .commerce-brand .brand-mark {
    width: 2.35rem !important;
    height: 2.35rem !important;
    flex: 0 0 2.35rem !important;
  }

  .commerce-brand strong {
    max-width: 9.5rem;
    overflow: hidden;
    font-size: 1.08rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .commerce-actions {
    grid-column: 3;
    grid-row: 1;
    gap: 0.25rem !important;
  }

  .commerce-actions a {
    width: 2.18rem !important;
    height: 2.18rem !important;
    min-width: 2.18rem !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    box-shadow: none !important;
    color: #151515;
    font-size: 0 !important;
    line-height: 0;
  }

  .commerce-actions .nav-icon,
  .commerce-actions .heart-icon {
    width: 1.12rem !important;
    height: 1.12rem !important;
  }

  .commerce-cart #cartCount {
    top: -0.34rem !important;
    right: -0.18rem !important;
    min-width: 1.05rem;
    height: 1.05rem;
    font-size: 0.62rem !important;
    line-height: 1;
  }

  .commerce-search {
    grid-column: 1 / -1 !important;
    grid-row: 2;
    order: 0 !important;
  }

  .commerce-nav {
    display: none !important;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: block;
    border: 0;
    background: rgba(0, 0, 0, 0.38);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .mobile-menu-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 160;
    width: min(21.5rem, 86vw);
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: start;
    gap: 0;
    padding: 1rem;
    background: #fff;
    box-shadow: 1.4rem 0 3rem rgba(0, 0, 0, 0.18);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .mobile-commerce-menu-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .mobile-commerce-menu-open .mobile-menu-drawer {
    transform: translateX(0);
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 0 0.9rem;
    border-bottom: 1px solid rgba(21, 21, 21, 0.1);
  }

  .mobile-menu-head strong {
    color: #151515;
    font-family: "Montserrat", "Century Gothic", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
  }

  .mobile-menu-close {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: 50%;
    background: #fff;
    color: #151515;
    font-size: 1.35rem;
    line-height: 1;
  }

  .mobile-menu-section {
    display: grid;
    gap: 0.55rem;
    padding: 1rem 0 0.8rem;
    border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  }

  .mobile-menu-section h2 {
    margin: 0;
    color: #777;
    font-family: "Montserrat", "Century Gothic", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .mobile-menu-section nav {
    display: grid;
  }

  .mobile-menu-section a {
    min-height: 2.55rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.45rem;
    color: #151515;
    font-family: "Montserrat", "Century Gothic", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-menu-section a::after {
    content: "›";
    color: #999;
    font-size: 1.2rem;
  }

  .mobile-menu-section a[aria-current="page"] {
    color: #000;
    font-weight: 700;
  }
}

@media (max-width: 420px) {
  .commerce-brand strong {
    max-width: 8.2rem;
    font-size: 1rem !important;
  }

  .commerce-actions a {
    width: 2rem !important;
    height: 2rem !important;
    min-width: 2rem !important;
  }
}

/* Responsive brand sizing refinement */
.commerce-header-inner {
  grid-template-columns: 15.25rem minmax(18rem, 1fr) auto;
}

.commerce-brand {
  gap: 0.82rem;
}

.commerce-brand .brand-mark {
  width: 3.65rem !important;
  height: 3.65rem !important;
  flex: 0 0 3.65rem !important;
}

.commerce-brand strong {
  font-size: 1.72rem;
  line-height: 0.96;
}

.commerce-brand small {
  display: block;
  font-size: 0.76rem;
  margin-top: 0.24rem;
}

@media (max-width: 980px) {
  .commerce-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .commerce-brand .brand-mark {
    width: 3.35rem !important;
    height: 3.35rem !important;
    flex-basis: 3.35rem !important;
  }

  .commerce-brand strong {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 720px) {
  .commerce-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 0.62rem !important;
    padding-top: 0.62rem;
    padding-bottom: 0.58rem;
  }

  .commerce-brand {
    gap: 0.55rem;
  }

  .commerce-brand .brand-mark {
    width: 3.05rem !important;
    height: 3.05rem !important;
    flex: 0 0 3.05rem !important;
  }

  .commerce-brand strong {
    max-width: min(13.5rem, 42vw);
    font-size: 1.34rem !important;
    line-height: 0.96;
  }
}

@media (max-width: 420px) {
  .commerce-header-inner {
    gap: 0.48rem !important;
  }

  .commerce-brand .brand-mark {
    width: 2.8rem !important;
    height: 2.8rem !important;
    flex: 0 0 2.8rem !important;
  }

  .commerce-brand strong {
    max-width: min(10.5rem, 40vw);
    font-size: 1.2rem !important;
  }
}

/* Denizcan Home detaylı admin özet modülü */
.admin-dashboard-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:1.35rem}.admin-dashboard-subtitle{margin:.45rem 0 0;color:#76716a;max-width:650px}.admin-dashboard-date{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;color:#777}.admin-dashboard-date span{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}.admin-dashboard-date strong{font-size:.9rem;color:#111}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.dashboard-kpi-card{display:flex;align-items:center;gap:1rem;padding:1.15rem 1.2rem;background:linear-gradient(145deg,#fff,#faf9f7);border:1px solid #e7e3dc;border-radius:18px;box-shadow:0 12px 34px rgba(31,25,18,.06)}.dashboard-kpi-icon{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:14px;background:#111;color:#fff;font-size:1rem;font-weight:900}.dashboard-kpi-card:nth-child(2) .dashboard-kpi-icon,.dashboard-kpi-card:nth-child(5) .dashboard-kpi-icon{background:#d7a758}.dashboard-kpi-card:nth-child(6) .dashboard-kpi-icon{background:#bd574a}.dashboard-kpi-card>div:last-child{display:grid;gap:.12rem;min-width:0}.dashboard-kpi-card span{font-size:.8rem;color:#777}.dashboard-kpi-card strong{font-size:1.62rem;line-height:1.1;color:#111}.dashboard-kpi-card small{font-size:.72rem;color:#918b83}.dashboard-main-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:1rem;margin-bottom:1rem}.dashboard-bottom-grid{grid-template-columns:1fr 1fr}.dashboard-panel{min-height:290px}.dashboard-text-link{font-size:.78rem;font-weight:800;color:#111;text-decoration:none;border-bottom:1px solid #bbb}.dashboard-order-status{display:grid;gap:.9rem;margin-top:1rem}.dashboard-status-row>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:.35rem}.dashboard-status-row span{font-size:.8rem;color:#514d48}.dashboard-status-row strong{font-size:.82rem}.dashboard-status-track{height:8px;background:#eeeae4;border-radius:999px;overflow:hidden}.dashboard-status-track i{display:block;height:100%;border-radius:inherit;background:#111}.dashboard-status-track i.waiting{background:#d7a758}.dashboard-status-track i.preparing{background:#6981a0}.dashboard-status-track i.shipping{background:#4b8f74}.dashboard-status-track i.completed{background:#2f694e}.dashboard-status-track i.cancelled{background:#bd574a}.dashboard-stock-summary{display:grid;grid-template-columns:145px 1fr;gap:1.2rem;align-items:center;margin-top:1rem}.dashboard-stock-total{aspect-ratio:1;border-radius:50%;border:12px solid #ede8df;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.dashboard-stock-total span,.dashboard-stock-total small{font-size:.7rem;color:#7c766f}.dashboard-stock-total strong{font-size:1.8rem}.dashboard-stock-bars{display:grid;gap:1rem}.dashboard-stock-bars>div>span{display:flex;justify-content:space-between;font-size:.78rem;margin-bottom:.35rem}.dashboard-stock-bars i{display:block;height:9px;border-radius:999px;background:#eeeae4;overflow:hidden}.dashboard-stock-bars em{display:block;height:100%;background:#4b8f74;border-radius:inherit}.dashboard-stock-bars em.warning{background:#d7a758}.dashboard-stock-bars em.danger{background:#bd574a}.dashboard-recent-orders,.dashboard-low-stock-list{display:grid;gap:.45rem;margin-top:.8rem}.dashboard-recent-order,.dashboard-low-stock-item{display:flex;align-items:center;gap:.75rem;padding:.72rem;border-radius:14px;text-decoration:none;color:inherit;border:1px solid transparent}.dashboard-recent-order:hover,.dashboard-low-stock-item:hover{background:#faf8f4;border-color:#ebe5dc}.dashboard-order-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-size:.72rem;font-weight:900;flex:0 0 38px}.dashboard-recent-order>span:nth-child(2),.dashboard-low-stock-item>span{display:grid;gap:.14rem;min-width:0;flex:1}.dashboard-recent-order strong,.dashboard-low-stock-item strong{font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-recent-order small,.dashboard-low-stock-item small{font-size:.7rem;color:#8b857e}.dashboard-order-side{display:grid!important;text-align:right;gap:.12rem!important}.dashboard-order-side b{font-size:.8rem}.dashboard-low-stock-item img{width:42px;height:42px;border-radius:10px;object-fit:cover;background:#f1eee8}.dashboard-low-stock-item>b{font-size:.72rem;padding:.35rem .55rem;border-radius:999px}.dashboard-low-stock-item>b.low{background:#fff1cf;color:#84641e}.dashboard-low-stock-item>b.out{background:#fde0dc;color:#923d32}.dashboard-empty-state{padding:2rem;text-align:center;color:#8b857e}.dashboard-quick-actions{margin-bottom:1rem}.dashboard-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.dashboard-action-grid a{display:grid;gap:.25rem;padding:1rem;border:1px solid #e6e1d9;border-radius:14px;color:#111;text-decoration:none;background:#fff}.dashboard-action-grid a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(25,20,15,.07)}.dashboard-action-grid strong{font-size:.86rem}.dashboard-action-grid span{font-size:.72rem;color:#8b857e}
@media(max-width:1050px){.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.dashboard-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.admin-dashboard-intro{align-items:flex-start;flex-direction:column}.admin-dashboard-date{align-items:flex-start}.dashboard-kpi-grid,.dashboard-action-grid{grid-template-columns:1fr}.dashboard-stock-summary{grid-template-columns:1fr}.dashboard-stock-total{width:145px;margin:auto}}


/* Modern home admin module */
.modern-home-admin {
  padding: 1.4rem;
  border-radius: 1.15rem;
}

.home-admin-head {
  align-items: stretch;
  margin-bottom: 1.15rem;
}

.home-admin-head h2,
.home-admin-panel-head h3 {
  margin: 0;
}

.home-admin-status-card {
  min-width: 16rem;
  display: grid;
  gap: .35rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(17,17,17,.08);
  background: linear-gradient(135deg, #fff 0%, #f6f4ef 100%);
  box-shadow: 0 10px 26px rgba(17,17,17,.05);
}

.home-admin-status-card span,
.home-admin-status-card small {
  color: var(--muted);
}

.home-admin-status-card strong {
  font-size: 1.05rem;
}

.enhanced-home-form {
  gap: 1rem;
}

.home-admin-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(19rem, .8fr);
  gap: 1rem;
  align-items: start;
}

.home-admin-sections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-admin-panel {
  display: grid;
  gap: .9rem;
  padding: 1rem;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  box-shadow: 0 8px 24px rgba(17,17,17,.04);
}

.home-admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
}

.home-admin-panel-head.compact {
  margin-bottom: -.1rem;
}

.home-admin-panel-head p {
  margin: 0;
}

.home-product-search {
  display: grid;
  gap: .42rem;
}

.home-product-search span {
  font-size: .84rem;
  color: var(--muted);
  font-weight: 700;
}

.home-product-search input {
  margin: 0;
  border-radius: .9rem;
  border: 1px solid rgba(17,17,17,.12);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

#homeFeaturedProductSelector.home-visual-product-selector {
  max-height: 540px;
  overflow: auto;
  padding: .4rem;
  border: 1px solid rgba(17,17,17,.07);
  border-radius: 1rem;
  background: #f6f6f3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

#homeFeaturedProductSelector .home-featured-option {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  min-height: 104px;
  padding: .7rem 3rem .7rem .7rem;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 1rem;
  background: #fff;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

#homeFeaturedProductSelector .home-featured-option:hover {
  transform: translateY(-2px);
  border-color: rgba(17,17,17,.16);
  box-shadow: 0 12px 28px rgba(17,17,17,.07);
}

#homeFeaturedProductSelector .home-featured-option > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#homeFeaturedProductSelector .home-featured-check {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1.5px solid #bbb8ae;
  background: #fff;
  transform: translateY(-50%);
  transition: 160ms ease;
}

#homeFeaturedProductSelector .home-featured-option > input:checked ~ .home-featured-check {
  border-color: #171717;
  background: #171717;
  box-shadow: 0 0 0 4px rgba(17,17,17,.08);
}

#homeFeaturedProductSelector .home-featured-option > input:checked ~ .home-featured-check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#homeFeaturedProductSelector .home-featured-option:has(input:checked) {
  border-color: #171717;
  box-shadow: 0 0 0 1px #171717, 0 14px 28px rgba(17,17,17,.08);
}

.home-featured-image {
  width: 82px;
  height: 82px;
  border-radius: .9rem;
  overflow: hidden;
  background: #efeee9;
}

.home-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-featured-info {
  display: grid;
  gap: .4rem;
  min-width: 0;
}

.home-featured-title {
  font-size: .92rem;
  font-weight: 750;
  color: #242424;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.home-featured-tag,
.home-featured-price {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: .2rem .5rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 750;
}

.home-featured-tag {
  background: #f1efe8;
  color: #6b6557;
}

.home-featured-price {
  background: #eef8f1;
  color: #1d7a40;
}

.home-featured-sku {
  color: #7d7a72;
  font-size: .74rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-selected-preview-panel {
  position: sticky;
  top: 6rem;
}

.home-selected-preview-list {
  display: grid;
  gap: .7rem;
  max-height: 540px;
  overflow: auto;
}

.home-selected-preview-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  padding: .6rem;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: .95rem;
  background: #fff;
}

.home-selected-preview-card img {
  width: 64px;
  height: 64px;
  border-radius: .8rem;
  object-fit: cover;
  display: block;
  background: #f0eee8;
}

.home-selected-preview-card strong {
  display: block;
  font-size: .87rem;
  line-height: 1.35;
}

.home-selected-preview-card small {
  display: block;
  margin-top: .22rem;
  color: var(--muted);
}

.home-selected-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  text-align: center;
  padding: 1rem;
  border: 1px dashed rgba(17,17,17,.12);
  border-radius: 1rem;
  background: rgba(255,255,255,.6);
  color: var(--muted);
}

.home-admin-submit-row {
  display: flex;
  justify-content: flex-end;
  padding-top: .25rem;
}

@media (max-width: 1180px) {
  .home-admin-top-grid,
  .home-admin-sections-grid {
    grid-template-columns: 1fr;
  }

  .home-selected-preview-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  #homeFeaturedProductSelector.home-visual-product-selector {
    grid-template-columns: 1fr;
  }

  #homeFeaturedProductSelector .home-featured-option {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 96px;
  }

  .home-featured-image {
    width: 72px;
    height: 72px;
  }

  .home-admin-head {
    flex-direction: column;
  }

  .home-admin-status-card {
    min-width: 100%;
  }
}


/* Birlikte Al campaign administration */
.bundle-admin-card{padding:1.35rem;border-radius:1.1rem}.bundle-admin-head{align-items:flex-start}.bundle-admin-form{display:grid;gap:1rem}.bundle-admin-settings{display:grid;grid-template-columns:1.4fr .6fr;gap:.8rem}.bundle-selector-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.bundle-selector-panel{display:grid;gap:.75rem;padding:1rem;border:1px solid rgba(17,17,17,.08);border-radius:1rem;background:#faf9f6}.bundle-selector-heading{display:flex;justify-content:space-between;gap:.7rem;align-items:flex-start}.bundle-selector-heading div{display:grid;gap:.2rem}.bundle-selector-heading small{color:var(--muted)}.bundle-selector-heading>span{padding:.3rem .55rem;border-radius:999px;background:#111;color:#fff;font-size:.72rem;font-weight:800;white-space:nowrap}.bundle-search{display:grid;gap:.35rem}.bundle-search span{font-size:.78rem;color:var(--muted);font-weight:750}.bundle-search input{margin:0}.bundle-product-selector{display:grid;gap:.6rem;max-height:470px;overflow:auto;padding:.25rem}.bundle-admin-product-option{position:relative;display:grid!important;grid-template-columns:70px minmax(0,1fr);gap:.75rem;align-items:center;min-height:88px;padding:.55rem 2.7rem .55rem .55rem;border:1px solid rgba(17,17,17,.09);border-radius:.9rem;background:#fff;cursor:pointer;transition:.16s ease}.bundle-admin-product-option:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(17,17,17,.06)}.bundle-admin-product-option>input{position:absolute;opacity:0}.bundle-admin-product-option img{width:70px;height:70px;object-fit:cover;border-radius:.75rem;background:#eee}.bundle-admin-check{position:absolute;right:13px;top:50%;width:22px;height:22px;transform:translateY(-50%);border:1.5px solid #aaa;border-radius:7px;background:#fff}.bundle-admin-product-option.gift .bundle-admin-check{border-radius:50%}.bundle-admin-product-option:has(input:checked){border-color:#111;box-shadow:0 0 0 1px #111}.bundle-admin-product-option input:checked~.bundle-admin-check{background:#111;border-color:#111}.bundle-admin-product-option input:checked~.bundle-admin-check:after{content:"";position:absolute;left:6px;top:3px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.bundle-admin-product-info{display:grid;gap:.2rem;min-width:0}.bundle-admin-product-info strong{font-size:.86rem;line-height:1.3}.bundle-admin-product-info small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bundle-admin-preview{padding:1rem;border:1px dashed rgba(17,17,17,.13);border-radius:1rem;background:#fff}.bundle-preview-empty{display:grid;gap:.25rem;text-align:center;color:var(--muted);padding:1.4rem}.bundle-preview-demo{display:grid;grid-template-columns:1fr auto auto;gap:1rem;align-items:center}.bundle-preview-demo>div:first-child{display:grid;gap:.25rem}.bundle-preview-demo span,.bundle-preview-demo small{color:var(--muted)}.bundle-preview-products{display:flex;align-items:center;gap:.5rem;position:relative}.bundle-preview-products img{width:74px;height:74px;border-radius:.8rem;object-fit:cover}.bundle-preview-products em{position:absolute;right:-5px;top:-7px;padding:.25rem .4rem;border-radius:999px;background:#111;color:#fff;font-size:.65rem;font-style:normal}.bundle-admin-actions{display:flex;justify-content:flex-end}

/* Birlikte Al product detail */
.bundle-offer-section{margin:1.3rem 0 2rem;padding:1.25rem;border:1px solid rgba(17,17,17,.1);border-radius:1.15rem;background:linear-gradient(135deg,#fffdf8,#f7f2e7);box-shadow:0 18px 45px rgba(84,65,32,.08)}.bundle-offer-heading{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:1rem}.bundle-offer-heading h2{margin:.15rem 0 .3rem;font-size:clamp(1.45rem,2.6vw,2.2rem)}.bundle-offer-heading p{margin:0;color:var(--muted)}.bundle-offer-badge{padding:.5rem .7rem;border-radius:999px;background:#111;color:#fff;font-weight:850;white-space:nowrap}.bundle-offer-body{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) minmax(190px,.6fr);gap:1rem;align-items:center}.bundle-offer-product{display:grid;grid-template-columns:110px minmax(0,1fr);gap:.8rem;align-items:center;padding:.75rem;border-radius:1rem;background:#fff;border:1px solid rgba(17,17,17,.08)}.bundle-offer-product img{width:110px;height:110px;object-fit:cover;border-radius:.85rem;background:#eee}.bundle-offer-product div{display:grid;gap:.28rem}.bundle-offer-product span{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800}.bundle-offer-product strong{line-height:1.3}.bundle-offer-product small{font-size:.95rem;font-weight:850}.bundle-offer-product del{color:#999;margin-right:.35rem;font-weight:500}.bundle-plus{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#111;color:#fff;font-size:1.4rem;font-weight:900}.bundle-offer-summary{display:grid;gap:.35rem;padding:1rem;border-radius:1rem;background:#111;color:#fff}.bundle-offer-summary span,.bundle-offer-summary small{color:rgba(255,255,255,.72)}.bundle-offer-summary>strong{font-size:1.5rem}.bundle-offer-summary .primary-button{margin-top:.4rem;background:#fff;color:#111;border-color:#fff;width:100%}.bundle-discount-row{color:#176c3a}
@media(max-width:1050px){.bundle-offer-body{grid-template-columns:1fr auto 1fr}.bundle-offer-summary{grid-column:1/-1}.bundle-selector-grid{grid-template-columns:1fr}.bundle-preview-demo{grid-template-columns:1fr}}
@media(max-width:720px){.bundle-admin-settings{grid-template-columns:1fr}.bundle-offer-heading{flex-direction:column}.bundle-offer-body{grid-template-columns:1fr}.bundle-plus{margin:auto}.bundle-offer-product{grid-template-columns:84px 1fr}.bundle-offer-product img{width:84px;height:84px}.bundle-preview-products img{width:58px;height:58px}}


/* Product detail mobile position and overflow fix */
.product-detail-page,
.product-detail-page .product-detail-shell,
.product-detail-page .product-detail,
.product-detail-page .product-detail-media,
.product-detail-page .product-detail-info {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 760px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .product-detail-page .product-detail-shell {
    width: min(100% - 0.85rem, 1180px);
    margin-inline: auto;
    padding-top: 0.85rem;
  }

  .product-detail-page .product-detail {
    width: 100%;
    margin: 0;
    overflow: visible;
  }

  .product-detail-page .product-detail-media,
  .product-detail-page .product-detail-info,
  .product-detail-page .detail-description,
  .product-detail-page .detail-actions,
  .product-detail-page .detail-trust-grid,
  .product-detail-page .detail-list {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .product-detail-page .detail-description,
  .product-detail-page .product-detail-info h1,
  .product-detail-page .detail-list span {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}
