/* ==========================================================================
   Amigura — Desktop & large tablet (?769px)
   Loaded after mobile.css. Restores editorial scale, scroll rhythm, and
   centered max-width layout without affecting phone rules.
   ========================================================================== */

@media (min-width: 769px) {
  :root {
    --max-width: 76rem;
    --nav-height: 5.5rem;
    --space-page-x: clamp(1.75rem, 3.5vw, 3rem);
    --space-section-y: clamp(4.5rem, 7vw, 7rem);
    --text-display: 3.75rem;
  }

  .glass-nav__bar {
    padding-inline: max(var(--space-page-x), var(--safe-left))
      max(var(--space-page-x), var(--safe-right));
  }

  .glass-nav__inner,
  .products__inner,
  .atelier-strip__inner,
  .reviews__inner,
  .process-timeline__inner,
  .about__inner,
  .newsletter__inner,
  .contact__inner,
  .site-footer__inner,
  .trust-bar__viewport {
    max-width: var(--max-width);
    margin-inline: auto;
    width: 100%;
  }

  .site-brand {
    max-width: none;
    gap: 0.875rem;
  }

  .site-brand__wordmark {
    display: flex;
  }

  .site-brand__name {
    font-size: 1.35rem;
  }

  .glass-nav__drawer-utils {
    display: none !important;
  }

  /* Hero — full viewport beat, larger type */
  .hero {
    min-height: max(36rem, calc(100dvh - var(--nav-height)));
    padding: var(--space-section-y) var(--space-page-x) var(--space-2xl);
  }

  .hero__inner {
    max-width: var(--max-width);
  }

  .hero__content {
    max-width: 54rem;
  }

  .hero__title {
    font-size: clamp(3.25rem, 5.2vw, 4.75rem);
    letter-spacing: -0.05em;
  }

  .hero__subtitle {
    font-size: clamp(1.125rem, 1.65vw, 1.35rem);
    max-width: 40rem;
    margin-bottom: var(--space-2xl);
  }

  .hero__cta {
    padding: 1.1rem 2.75rem;
    font-size: 1rem;
    width: auto;
    max-width: none;
  }

  /* Trust bar — horizontal marquee (same rhythm as mobile) */
  .trust-bar {
    padding: var(--space-md) var(--space-page-x);
  }

  .trust-bar__viewport {
    overflow: hidden;
  }

  .trust-bar__list--clone {
    display: flex;
  }

  .trust-bar__track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: trustBarMarquee 38s linear infinite;
    will-change: transform;
  }

  .trust-bar__list {
    flex-wrap: nowrap;
    width: auto;
    justify-content: flex-start;
    gap: clamp(2rem, 3.5vw, 3.5rem);
    padding-right: clamp(2.5rem, 4vw, 4rem);
  }

  .trust-bar__item {
    font-size: var(--text-sm);
  }

  .trust-bar__item::after {
    content: "•";
    margin-left: clamp(2rem, 3.5vw, 3.5rem);
    color: var(--color-border);
    font-size: 0.5rem;
    vertical-align: middle;
  }

  .trust-bar__list .trust-bar__item:last-child::after {
    content: none;
    margin: 0;
  }

  /* Products — 3-column showcase on desktop */
  .products {
    padding: var(--space-section-y) var(--space-page-x);
  }

  .products__header {
    max-width: 40rem;
    margin-bottom: var(--space-2xl);
  }

  .products__title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
  }

  .products__lead {
    font-size: 1.125rem;
  }

  .products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.75rem;
    max-width: var(--max-width);
    margin-inline: auto;
  }

  /* 4 ürün: son satırdaki tek kartı ortala */
  .products__item:last-child:nth-child(3n + 1):not(:only-child) {
    grid-column: 2;
  }

  .product-card__title {
    font-size: 1.25rem;
  }

  .product-card__price {
    font-size: 1.125rem;
  }

  .product-card__badge {
    font-size: var(--text-xs);
    padding: 0.4rem 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  /* Atelier strip — larger tiles, clear horizontal scroll */
  .atelier-strip {
    padding: var(--space-section-y) var(--space-page-x) var(--space-2xl);
  }

  .atelier-strip__title {
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  }

  .atelier-strip__scroll {
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 2rem,
      #000 calc(100% - 2rem),
      transparent 100%
    );
  }

  .atelier-strip__item {
    width: 14rem;
  }

  .atelier-strip__cta {
    width: auto;
    max-width: none;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
  }

  /* Reviews */
  .reviews {
    padding: var(--space-section-y) var(--space-page-x);
  }

  .reviews__header {
    max-width: 36rem;
    margin-bottom: var(--space-2xl);
  }

  .reviews__title {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
  }

  .review-card__inner {
    min-height: 13rem;
    padding: var(--space-xl);
  }

  .review-card__quote {
    font-size: 1.125rem;
  }

  /* Process, about, newsletter, contact */
  .process-timeline,
  .about,
  .newsletter {
    padding: var(--space-section-y) var(--space-page-x);
  }

  .process-timeline__title,
  .about__title {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
  }

  .about__grid {
    gap: clamp(3rem, 5vw, 5rem);
  }

  .contact {
    padding: var(--space-xl) var(--space-page-x);
  }

  .contact__email {
    font-size: 1.35rem;
    max-width: none;
  }

  .newsletter__form {
    flex-direction: row;
    align-items: center;
    max-width: 36rem;
    margin-inline: auto;
  }

  .newsletter__input {
    flex: 1;
    min-width: 0;
  }

  .newsletter__submit {
    flex-shrink: 0;
    width: auto;
  }

  .site-footer {
    padding: var(--space-xl) var(--space-page-x) var(--space-lg);
  }

  .sound-toggle {
    width: auto;
    max-width: none;
  }

  .modal-root {
    align-items: center;
    padding: var(--space-lg);
  }

  .modal-panel {
    width: min(92vw, 32rem);
    max-height: min(85vh, 40rem);
    border-radius: var(--radius-lg);
  }

  .wizard-page,
  .thankyou-page {
    padding-inline: var(--space-page-x);
  }

  .glass-container {
    padding: clamp(2.5rem, 4vw, 4rem);
  }

  /* Mobile drawer/backdrop must never cover desktop (Özel Sipariş blank screen fix) */
  .glass-nav__backdrop,
  .glass-nav__panel {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }

  .glass-nav.is-nav-open .glass-nav__backdrop,
  .glass-nav.is-nav-open .glass-nav__panel {
    display: none !important;
    pointer-events: none !important;
  }

  body.is-nav-open {
    overflow: auto;
  }
}

/* Wide screens — still 2 product columns for a focused catalog */
@media (min-width: 769px) and (max-width: 1023px) {
  .products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 42rem;
  }

  .products__item:last-child:nth-child(3n + 1):not(:only-child) {
    grid-column: auto;
  }

  .products__item:last-child:nth-child(2n + 1):not(:only-child) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.875rem);
    justify-self: center;
  }
}

@media (min-width: 1200px) {
  .products__grid {
    gap: 2.5rem 2.25rem;
  }

  .atelier-strip__item {
    width: 15rem;
  }
}
