:root {
  --color-primary: #1f6f43;
  --color-primary-light: #5ba870;
  --color-bg: #ffffff;
  --color-surface: #f5f8f6;
  --color-text: #151515;
  --color-muted: #5a5a5a;
  --color-border: #d9e3dc;
  --radius: 12px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.light {
  background: var(--color-surface);
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--color-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.top-alert-strip {
  background: #103a25;
  color: #fff;
  overflow: hidden;
}

.top-alert-track {
  display: flex;
  width: max-content;
  animation: top-alert-marquee 16s linear infinite;
  font-size: 0.88rem;
  font-weight: 500;
}

.top-alert-track span {
  padding: 0.5rem 1.4rem;
  white-space: nowrap;
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
}

.site-nav a {
  font-size: 0.92rem;
  color: #1f1f1f;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

body:not([data-page="home"]) .nav-actions {
  gap: 0.38rem;
}

.search-box input {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  min-width: 130px;
  font: inherit;
}

.cart-btn {
  border: none;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font: inherit;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.35rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  margin: 4px 0;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

.eyebrow {
  color: var(--color-primary);
  font-weight: 600;
}

.hero-content h1 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.2;
}

.hero-content p {
  margin: 0;
  color: var(--color-muted);
}

.hero-media img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  background: #f4f7f5;
}

.hero-cta {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 0.72rem 1.1rem;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

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

.btn-secondary {
  background: #ebf5ee;
  color: var(--color-primary);
}

.category-grid,
.product-grid,
.benefit-grid {
  display: grid;
  gap: 1rem;
}

.card,
.benefit {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
  font-weight: 500;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.product-body {
  padding: 1rem;
}

.product-body h3 {
  margin: 0 0 0.4rem;
}

.product-body p {
  margin: 0.3rem 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.product-body .price {
  color: #111;
  font-weight: 600;
}

.product-body .unit {
  color: var(--color-primary);
  font-weight: 500;
}

.product-actions {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.6rem;
}

.qty-input {
  width: 72px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.65rem;
  font: inherit;
}

.info-grid {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.cart-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
}

.cart-row {
  display: grid;
  gap: 0.4rem;
  border-bottom: 1px solid var(--color-border);
  padding: 0.8rem 0;
}

.cart-row:last-child {
  border-bottom: none;
}

.cart-controls {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.cart-controls button {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.cart-row-main {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.cart-row-main span {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-muted);
}

.cart-thumb {
  width: 70px;
  height: 70px;
  object-fit: contain;
  object-position: center;
  background: #f4f7f5;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.cart-summary {
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.checkout-form {
  display: grid;
  gap: 0.9rem;
}

.checkout-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.94rem;
}

.checkout-form input,
.checkout-form textarea {
  border: 1px solid var(--color-border);
  border-radius: 9px;
  padding: 0.68rem 0.78rem;
  font: inherit;
}

.checkout-message {
  color: var(--color-primary);
  font-weight: 500;
}

.site-footer {
  background: #111;
  color: #fff;
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  color: #d4d4d4;
}

.copyright {
  margin-top: 1.4rem;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  color: #bfbfbf;
  font-size: 0.9rem;
  padding: 1rem;
}

.legal-links {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  margin-left: 0.8rem;
  font-size: 0.83rem;
}

.legal-links a {
  color: #d9d9d9;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.legal-links a:hover {
  border-color: #d9d9d9;
}

.legal-page {
  max-width: 920px;
}

.legal-page h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.legal-page p,
.legal-page li {
  color: #2f2f2f;
}

.legal-page ul {
  margin: 0.5rem 0 0.8rem 1.15rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 700px) {
  .hero-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

  .full {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 1rem 4%;
  }

  .nav-actions {
    order: 2;
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .search-box {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* --- New multi-page styles --- */
.page-hero {
  padding: 3rem 0 2.6rem;
  background: linear-gradient(180deg, #f1f8f4 0%, #ffffff 85%);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-hero p {
  margin: 0;
  color: var(--color-muted);
  max-width: 720px;
}

.cart-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  position: relative;
}

.cart-icon-btn svg {
  width: 17px;
  fill: currentColor;
}

.cart-icon-btn span {
  position: absolute;
  right: -4px;
  top: -4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0.62rem;
  display: grid;
  place-items: center;
}

.profile-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  display: grid;
  place-items: center;
}

.profile-icon-btn svg {
  width: 17px;
  fill: currentColor;
}

.card-link {
  transition: border-color 0.2s ease;
}

.card-link:hover {
  border-color: var(--color-primary);
}

.card-link::after {
  content: "→";
  float: right;
  opacity: 0.55;
}

.slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.slider-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.featured-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  min-height: 100%;
}

.featured-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background: #f4f7f5;
  border-radius: 0;
}

.slider-btn {
  border: 1px solid var(--color-border);
  background: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}

.product-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.detail-info {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
}

.detail-meta {
  display: grid;
  gap: 0.4rem;
  margin: 0.8rem 0;
}

.category-list {
  display: grid;
  gap: 0.9rem;
}

.category-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
}

.category-visual-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-visual-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.category-visual-card img {
  width: 100%;
  height: 185px;
  object-fit: contain;
  object-position: center;
  background: #f4f7f5;
  border-radius: 0;
}

.category-visual-body {
  padding: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.category-visual-body h3 {
  margin: 0 0 0.45rem;
}

.category-visual-body p {
  margin: 0;
  color: var(--color-muted);
  min-height: 64px;
}

.category-filter-btn {
  justify-self: end;
  align-self: end;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.product-market-card {
  border: 1px solid #e8ece8;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.product-market-image-wrap {
  display: block;
  position: relative;
  background: #f7f8f7;
}

.product-market-image-wrap img {
  width: 100%;
  height: 255px;
  object-fit: contain;
  object-position: center;
  background: #f4f7f5;
  border-radius: 0;
}

.badge-campaign {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: #1f6f43;
  color: #fff;
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.fav-icon {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
}

.product-market-body {
  padding: 0.8rem;
}

.product-market-body h3 {
  margin: 0;
  font-size: 0.98rem;
}

.product-market-body h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-rating {
  color: #191919;
  font-size: 0.82rem;
  margin: 0.4rem 0 0.25rem;
}

.market-rating span {
  color: var(--color-muted);
}

.market-campaign {
  color: #1f6f43;
  font-size: 0.82rem;
  font-weight: 500;
}

.product-market-body .price {
  margin: 0.2rem 0 0.6rem;
  color: #111;
  font-weight: 700;
}

.product-market-body .price span {
  margin-left: 0.5rem;
  color: #8f8f8f;
  text-decoration: line-through;
  font-weight: 400;
  font-size: 0.85rem;
}

.market-detail-layout {
  display: grid;
  gap: 1.2rem;
}

.detail-gallery {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 0.6rem;
}

.detail-gallery img {
  border-radius: 10px;
  height: 500px;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background: #f4f7f5;
}

.gallery-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
}

.gallery-nav.left {
  left: 12px;
}

.gallery-nav.right {
  right: 12px;
}

.thumb-row {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.55rem;
}

.thumb {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 8px;
  padding: 0;
  width: 66px;
  height: 66px;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.active {
  border-color: var(--color-primary);
}

.market-detail-info {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem;
}

.market-fav {
  color: #111;
  font-weight: 500;
}

.detail-main-price {
  color: #1f6f43;
  font-size: 2rem;
  font-weight: 700;
  margin: 0.4rem 0;
}

.unit-selector {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.unit-chip {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
}

.unit-chip.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #edf7f0;
}

.detail-actions-line {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.6rem;
  align-items: end;
  flex-wrap: wrap;
}

.qty-wrap {
  display: grid;
  gap: 0.3rem;
  font-size: 0.86rem;
}

.delivery-box {
  margin-top: 0.9rem;
  background: #eff7f2;
  border: 1px solid #d6eadb;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.9rem;
}

.payment-layout {
  display: grid;
  gap: 1rem;
}

.payment-summary h2 {
  margin-top: 0;
}

.quick-trust {
  margin-top: -1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

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

.trust-marquee {
  overflow: hidden;
  width: 100%;
  background: transparent;
}

.trust-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 24s linear infinite;
}

.quick-trust-item {
  border: none;
  border-radius: 10px;
  background: #eef5f0;
  padding: 0.8rem;
  font-size: 0.9rem;
  text-align: center;
  min-width: 240px;
  margin: 0.6rem;
}

.feature-points {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-points article {
  border: 1px solid #d9e7dd;
  border-radius: 10px;
  background: #f3f9f5;
  padding: 0.7rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-category-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
  position: relative;
  min-height: 210px;
}

.home-category-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  object-position: center;
  background: #f4f7f5;
  border-radius: 0;
}

.home-category-card span {
  display: block;
  padding: 0.8rem;
  font-weight: 600;
}

.home-category-family-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.75rem 0 0.65rem;
  color: var(--color-heading, #1a2e22);
}

.section.light .home-category-family-title:first-of-type {
  margin-top: 0.35rem;
}

.home-category-grid--main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
}

.home-category-card--main {
  min-height: 300px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-category-card--main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.home-category-card--main img {
  height: 220px;
}

.home-category-card--main span {
  font-size: 1.15rem;
  text-align: center;
  padding: 1rem;
}

@media (max-width: 700px) {
  .home-category-grid--main {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .home-category-card--main {
    min-height: auto;
  }

  .home-category-card--main img {
    height: 200px;
  }
}

.category-split {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-family-block {
  margin-bottom: 0.5rem;
}

.section-head--compact h2 {
  font-size: 1.35rem;
}

.section-head--compact p {
  margin-bottom: 0.45rem;
}

.category-visual-grid--kirtasiye {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  max-width: 400px;
}

@media (min-width: 900px) {
  .category-visual-grid--kirtasiye {
    max-width: 360px;
  }
}

.footer-subhead {
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.product-page-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-family-block {
  scroll-margin-top: 6.5rem;
}

.product-family-block .section-head h2 {
  font-size: 1.35rem;
}

.product-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-family-label {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-muted, #4a5c4d);
}

.promo-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.promo-banner {
  border: 1px solid #d8e8de;
  border-radius: 14px;
  padding: 1.2rem;
  background: linear-gradient(120deg, #eff8f2 0%, #ffffff 65%);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.promo-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: banner-shine 4.5s linear infinite;
}

.promo-banner:hover {
  transform: translateY(-3px);
}

.promo-banner h3 {
  margin: 0 0 0.45rem;
}

.promo-banner p {
  margin: 0;
  color: var(--color-muted);
}

.profile-layout {
  display: grid;
  gap: 1rem;
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.profile-tab {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.profile-tab.active {
  border-color: var(--color-primary);
  background: #edf7f0;
  color: var(--color-primary);
}

.profile-panel {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  display: none;
}

.profile-panel.active {
  display: block;
}

.profile-message {
  margin-top: 0.6rem;
  color: var(--color-primary);
  font-weight: 500;
}

@keyframes marquee-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes banner-shine {
  0% {
    left: -120%;
  }
  100% {
    left: 130%;
  }
}

@keyframes top-alert-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

.about-stats article {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.7rem;
  background: #fff;
  display: grid;
  gap: 0.2rem;
}

.about-stats strong {
  font-size: 1.2rem;
  color: var(--color-primary);
}

.about-stats span {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.about-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.94rem;
}

.form-grid input,
.form-grid textarea {
  border: 1px solid var(--color-border);
  border-radius: 9px;
  padding: 0.68rem 0.78rem;
  font: inherit;
  width: 100%;
}

@media (max-width: 1024px) {
  .product-page-grid,
  .product-subgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 760px) {
  .detail-layout {
    grid-template-columns: 1fr 1fr;
  }

  .market-detail-layout {
    grid-template-columns: 1fr 1.05fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .payment-layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

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

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

@media (max-width: 760px) {
  .container {
    width: min(1120px, 96%);
  }

  .section {
    padding: 2.6rem 0;
  }

  .product-page-grid,
  .product-subgrid {
    grid-template-columns: 1fr;
  }

  .slider {
    position: relative;
    grid-template-columns: 1fr;
  }

  .slider-btn {
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    z-index: 2;
    background: #fff;
  }

  #prevSlide {
    left: -2px;
  }

  #nextSlide {
    right: -2px;
  }

  .slider-track {
    display: flex;
    overflow-x: auto;
    gap: 0.8rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
  }

  .featured-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .category-visual-grid,
  .about-stats,
  .about-steps {
    grid-template-columns: 1fr;
  }

  .home-category-grid,
  .promo-banners {
    grid-template-columns: 1fr;
  }

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

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

  .detail-gallery img {
    height: 320px;
  }
}

/* Sepet bildirimi — ekran ortası */
.utom-toast-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  background: rgba(15, 30, 22, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.utom-toast-root--show {
  opacity: 1;
  pointer-events: auto;
}

.utom-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.85rem;
  width: min(420px, calc(100vw - 2rem));
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid #d4e6db;
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(20, 50, 35, 0.22);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.utom-toast--visible {
  transform: scale(1);
  opacity: 1;
}

.utom-toast-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f7f5;
  flex-shrink: 0;
}

.utom-toast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.utom-toast-body {
  min-width: 0;
}

.utom-toast-body strong {
  display: block;
  font-size: 0.95rem;
  color: #1a2e22;
}

.utom-toast-body p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--color-muted, #4a5c4d);
  line-height: 1.35;
}

.utom-toast-action {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary, #1f6f43);
  white-space: nowrap;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: #eef5f0;
}

.utom-toast-close {
  border: none;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: #6b7c6f;
  cursor: pointer;
  padding: 0.15rem 0.25rem;
}

@media (max-width: 960px) {
  .site-nav a {
    font-size: 0.88rem;
  }

  .site-header {
    position: relative;
  }
}

@media (max-width: 520px) {
  .utom-toast {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    width: calc(100vw - 1.5rem);
  }

  .utom-toast-action {
    grid-column: 2 / 3;
    grid-row: 2;
    justify-self: start;
    margin-top: 0.25rem;
  }

  .utom-toast-close {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: start;
  }
}
