/* ==========================================================================
   TOKSINSIZ — PREMIUM ART DIRECTION LAYER (Phase 7.6)
   Direction A: Material Editorial.
   Loaded last; overrides the generic SaaS/ecommerce patterns in
   redesign.css/components.css with a calmer, image-led, editorial system.
   Intentionally additive-override, not a rewrite of the base stack.
   ========================================================================== */

/* -- Decorative floating shapes: removed from the visual language.
   They read as generic landing-page decoration rather than material/brand. -- */
.motion-shapes { display: none; }

/* -- Index numerals: the recurring editorial device used across the
   catalog, homepage product stories and comparison rows. -- */
.editorial-index {
  font-family: var(--font-typewriter);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------
   HERO — asymmetric, image-led, no decorative chrome
   -------------------------------------------------------------------- */
.hero.launch-hero {
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: var(--space-12);
  align-items: center;
}

.hero-copy {
  max-width: 460px;
}

.hero-visual.launch-visual {
  border-radius: var(--radius-sm);
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.hero-visual.launch-visual img {
  aspect-ratio: 5 / 4;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-copy {
    max-width: none;
  }
}

/* --------------------------------------------------------------------
   VARSAYILAN / ALTERNATİF — the brand's recurring comparison mechanic
   -------------------------------------------------------------------- */
.switch-flow-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.switch-flow {
  display: grid;
  gap: 0;
  margin-top: var(--space-8);
}

.switch-flow article {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

.switch-flow article:last-child {
  border-bottom: 1px solid var(--color-border);
}

.switch-flow span {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-typewriter);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  color: var(--color-text-muted);
  text-decoration: none;
  justify-self: start;
}

.switch-flow span::before {
  content: "Varsayılan";
  display: block;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-border-strong);
  font-weight: 800;
  margin-bottom: var(--space-1);
}

.switch-flow article::after {
  content: "→";
  justify-self: center;
  color: var(--color-primary);
  font-size: 1.4rem;
  grid-row: 1;
  grid-column: 2;
}

.switch-flow strong {
  grid-column: 3;
  grid-row: 1;
  font-family: var(--font-serif-display);
  font-stretch: condensed;
  font-weight: 500;
  color: var(--color-primary);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  justify-self: start;
}

.switch-flow strong::before {
  content: "Alternatif";
  display: block;
  font-family: var(--font-typewriter);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: var(--space-1);
}

@media (max-width: 640px) {
  .switch-flow article {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    justify-items: start;
  }

  .switch-flow span,
  .switch-flow strong {
    grid-column: 1;
  }

  .switch-flow article::after {
    content: "";
    display: none;
  }
}

/* --------------------------------------------------------------------
   PRODUCT STORIES — large visual moments, numbered, no card chrome
   -------------------------------------------------------------------- */
.product-story-media {
  border-radius: var(--radius-sm);
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.product-story-index {
  display: block;
  margin-bottom: var(--space-3);
}

/* --------------------------------------------------------------------
   CATALOG (/alternatifler) — editorial index list, not an ecommerce grid
   -------------------------------------------------------------------- */
.catalog-layout {
  grid-template-columns: 1fr;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border);
}

.catalog-filters a {
  font-family: var(--font-typewriter);
  font-weight: 800;
  font-size: .92rem;
  color: var(--color-text-muted);
  padding-bottom: var(--space-1);
  border-bottom: 2px solid transparent;
}

.catalog-filters a.is-active,
.catalog-filters a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.launch-catalog-grid {
  display: grid;
  gap: 0;
}

.product-card.curated-card {
  display: grid;
  grid-template-columns: minmax(0, .58fr) minmax(0, .42fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "image body" "image actions";
  column-gap: var(--space-10);
  row-gap: 0;
  align-items: start;
  min-height: 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  padding: var(--space-10) 0;
  box-shadow: none;
  transform: none !important;
}

.product-card.curated-card .product-card-image { grid-area: image; align-self: start; }
.product-card.curated-card .product-card-body { grid-area: body; }
.product-card.curated-card .product-card-actions { grid-area: actions; align-self: end; padding-top: var(--space-4); }

.product-card.curated-card:last-child {
  border-bottom: 1px solid var(--color-border);
}

.product-card.curated-card:hover {
  transform: none;
  border-color: var(--color-border);
  box-shadow: none;
}

.product-card.curated-card .product-card-image {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-sm);
}

.product-card.curated-card .badge {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--color-text-muted);
  font-weight: 800;
}

.product-card.curated-card .product-rethink {
  color: var(--color-text-muted);
  font-size: .95rem;
  margin-top: var(--space-2);
}

.product-card.curated-card h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-top: var(--space-2);
}

.product-card.curated-card .product-score {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
  margin-top: var(--space-4);
  font-size: .92rem;
  color: var(--color-text-muted);
}

@media (max-width: 780px) {
  .product-card.curated-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "image" "body" "actions";
    gap: var(--space-5);
    padding: var(--space-8) 0;
  }

  .product-card.curated-card .product-card-actions {
    padding-top: 0;
  }
}

/* --------------------------------------------------------------------
   RELATED PRODUCTS — same restrained treatment, smaller scale
   -------------------------------------------------------------------- */
.related-section .product-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transform: none !important;
}

.related-section .product-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.related-section .product-card-image {
  border-radius: var(--radius-sm);
}

.related-section .badge {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------
   PRODUCT DETAIL — editorial body copy, no repeated card boxes
   -------------------------------------------------------------------- */
.detail-sections {
  display: grid;
  gap: var(--space-10);
}

.detail-sections .content-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  box-shadow: none;
  padding: var(--space-8) 0 0;
}

.detail-sections .content-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.product-detail-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  margin: var(--space-8) 0 0;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.product-detail-compare > div {
  display: grid;
  gap: var(--space-1);
}

.product-detail-compare .compare-label {
  font-family: var(--font-typewriter);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--color-border-strong);
}

.product-detail-compare .compare-alt .compare-label {
  color: var(--color-primary);
}

.product-detail-compare strong {
  font-family: var(--font-serif-display);
  font-stretch: condensed;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.15;
}

.product-detail-compare .compare-alt strong {
  color: var(--color-primary);
}

.product-detail-compare .arrow {
  color: var(--color-primary);
  font-size: 1.4rem;
}

@media (max-width: 640px) {
  .product-detail-compare {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .product-detail-compare .arrow {
    display: none;
  }
}

/* -- Product detail hero: quieter, image-led -- */
.product-detail-hero-media {
  border-radius: var(--radius-sm);
  box-shadow: none;
  border: 1px solid var(--color-border);
}

/* -- Detail gallery: one featured image + a supporting row, not a
   uniform grid of equal boxes -- */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.detail-gallery-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.detail-gallery-card.is-featured {
  grid-column: 1 / -1;
}

.detail-gallery-card.is-featured img {
  aspect-ratio: 16 / 9;
}

.detail-gallery-card img {
  aspect-ratio: 1 / 1;
}

@media (max-width: 720px) {
  .detail-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------
   RIGHT-THINGS TILES removed from markup; guide-card kept but de-boxed
   -------------------------------------------------------------------- */
.guide-card {
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent !important;
  padding: var(--space-6) 0;
  min-height: 0;
}

.guide-card:hover {
  transform: none;
  box-shadow: none;
}

.guide-grid,
.guide-grid.magazine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.guide-grid .guide-card:last-child {
  border-bottom: 1px solid var(--color-border);
}

/* The /rehberler "feature" card used a background-image + span-2 treatment
   meant for real published content; since every guide is still "Yakında",
   that treatment produced white-on-transparent invisible text once cards
   were de-boxed. Neutralized to match the rest of the list until real
   guide content exists. */
.guide-grid.magazine-grid .guide-card.feature {
  grid-column: 1;
  min-height: 0;
  background: transparent !important;
  color: var(--color-text);
}

.guide-grid.magazine-grid .guide-card.feature h2,
.guide-grid.magazine-grid .guide-card.feature p {
  color: inherit;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.filter-chips a {
  font-family: var(--font-typewriter);
  font-weight: 800;
  font-size: .92rem;
  color: var(--color-text-muted);
  padding-bottom: var(--space-1);
  border-bottom: 2px solid transparent;
}

.filter-chips a.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* --------------------------------------------------------------------
   HEADER — bigger wordmark, simplified nav, cart affordance
   -------------------------------------------------------------------- */
.brand-wordmark {
  font-size: 1.7rem;
  letter-spacing: -.01em;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.cart-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #fffefa;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
}

.cart-count[data-cart-count-value="0"] {
  display: none;
}

/* --------------------------------------------------------------------
   TOKSINSIZ KUTUSU — box content picker
   -------------------------------------------------------------------- */
.box-picker {
  border: 0;
  padding: 0;
  margin: 0;
}

.box-picker legend {
  font-family: var(--font-typewriter);
  font-weight: 800;
  font-size: .92rem;
  color: var(--color-text);
  padding: 0 0 var(--space-3);
}

.box-picker legend small {
  font-weight: 500;
  color: var(--color-text-muted);
}

.box-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-3);
}

.box-picker-item {
  display: grid;
  gap: var(--space-2);
  cursor: pointer;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.box-picker-item:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}

.box-picker-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.box-picker-item span {
  font-size: .85rem;
  font-weight: 700;
}

.box-picker-item input {
  justify-self: start;
}

/* --------------------------------------------------------------------
   CART / CHECKOUT
   -------------------------------------------------------------------- */
.cart-list {
  display: grid;
  gap: 0;
  margin-bottom: var(--space-10);
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
}

.cart-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.cart-item img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.cart-item-body .meta {
  color: var(--color-text-muted);
  font-size: .82rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.cart-item-qty button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 640px) {
  .cart-item {
    grid-template-columns: 64px 1fr;
    grid-template-areas: "img body" "img qty" "remove remove";
  }

  .cart-item img { grid-area: img; width: 64px; height: 48px; }
  .cart-item-body { grid-area: body; }
  .cart-item-qty { grid-area: qty; }
  .cart-item [data-cart-remove] { grid-area: remove; justify-self: start; }
}

/* --------------------------------------------------------------------
   Reduced-motion respected globally already in animations.css/immersive.css
   -------------------------------------------------------------------- */
