:root {
  --apple-black: #050505;
  --apple-gray-900: #111111;
  --apple-gray-300: #d6d6d6;
  --apple-orange-1: #ff7a18;
  --apple-orange-2: #ff9a2e;
  --apple-orange-3: #ffb347;
  --hero-max-width: 1440px;
}

body.home,
body.blog {
  background: var(--apple-black);
}

.appleogz-home,
.appleogz-home * {
  box-sizing: border-box;
}

.appleogz-home {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: clip;
  background: var(--apple-black);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Main element override */
#primary.appleogz-home,
main#primary.appleogz-home {
  margin: 0 !important;
  padding: 0 !important;
}

.hero-appleogz {
  position: relative;
  min-height: 100svh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  display: grid;
  align-items: start;
  justify-items: center;
  padding-top: 0;
  background: var(--apple-black);
  isolation: isolate;
}

.hero-appleogz::before {
  content: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.hero-glow {
  display: none;
}

.hero-glow-top {
  width: min(92vw, 1400px);
  height: 280px;
  top: 1vh;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 122, 24, 0.2), rgba(255, 176, 71, 0.06) 46%, rgba(255, 176, 71, 0) 82%);
}

.hero-glow-bottom {
  width: min(94vw, 1480px);
  height: 260px;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 122, 24, 0.16), rgba(255, 176, 71, 0.05) 44%, rgba(255, 176, 71, 0) 84%);
}

.hero-inner {
  width: min(100%, var(--hero-max-width));
  padding: 0 clamp(16px, 4vw, 48px) 0;
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 0 !important;
}

.hero-phone-wrap {
  width: min(100%, 1050px);
  perspective: 1200px;
}

.hero-video-shell {
  position: relative;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  border-radius: clamp(18px, 2.8vw, 30px);
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-video-shell::before {
  content: none;
}

.hero-video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(74vh, 760px);
  object-fit: contain;
  object-position: center;
}

.hero-content {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: #fff;
  text-wrap: balance;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 194, 129, 0.52);
  background: linear-gradient(115deg, var(--apple-orange-1), var(--apple-orange-2) 55%, var(--apple-orange-3));
  color: #1a0d04;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
  box-shadow: 0 8px 22px rgba(255, 132, 26, 0.42);
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.hero-cta:hover,
.hero-cta:focus-visible,
.hero-cta:active {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.03);
  box-shadow: 0 12px 28px rgba(255, 140, 36, 0.5);
  background: linear-gradient(115deg, var(--apple-orange-1), var(--apple-orange-2) 55%, var(--apple-orange-3));
  color: #1a0d04;
}

.hero-cta:focus-visible {
  outline: 2px solid #ffe2c0;
  outline-offset: 2px;
}

[data-animate] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 600ms ease;
}

[data-animate="phone"] {
  transform: translate3d(0, 26px, 0) rotateX(10deg);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg);
}

@media (max-width: 767px) {
  .hero-appleogz {
    min-height: auto !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    display: block !important;
  }

  .hero-inner {
    gap: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .hero-phone-wrap {
    margin-bottom: 0 !important;
    order: 1;
  }

  .hero-content {
    gap: 4px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    order: 2;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-content h1 {
    max-width: 18ch;
    margin-bottom: 0 !important;
  }
  
  .hero-cta {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

.products-section {
  width: 100%;
  background: var(--apple-black);
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Astra container padding override - AGGRESSIVE */
.appleogz-home .ast-container,
.appleogz-home #content .ast-container,
.appleogz-home #content,
.appleogz-home .site-content,
.appleogz-home #primary {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Hero ile Products arasındaki boşluğu tamamen kaldır */
.hero-appleogz + .products-section,
.hero-appleogz ~ .products-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Section arası boşlukları kaldır */
.appleogz-home section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.appleogz-home section + section {
  margin-top: 0 !important;
}

.product-block {
  max-width: var(--hero-max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(80px, 12vw, 160px);
}

/* İlk product block'un üst margin'ini kaldır */
.products-section > .product-block:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.product-block:last-child {
  margin-bottom: 0;
}

.product-content {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}

.product-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}

.product-tagline {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.8);
}

.product-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.product-features li {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 24px;
  position: relative;
}

.product-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--apple-orange-1);
  font-size: 1.2em;
  line-height: 1;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}

.product-link {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: 500;
  color: var(--apple-orange-1);
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-link:hover,
.product-link:focus-visible {
  color: var(--apple-orange-2);
  transform: translateX(2px);
}

.product-link:focus-visible {
  outline: 2px solid var(--apple-orange-1);
  outline-offset: 4px;
  border-radius: 2px;
}

.product-link span {
  transition: transform 200ms ease;
}

.product-link:hover span,
.product-link:focus-visible span {
  transform: translateX(4px);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: clamp(12px, 2vw, 20px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-ipad .product-image-wrapper {
  aspect-ratio: 16 / 11;
}

.product-watch .product-image-wrapper {
  aspect-ratio: 1 / 1;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .product-block {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 48px);
    text-align: center;
  }

  .product-content {
    order: 2;
  }

  .product-image-wrapper {
    order: 1;
  }

  .product-actions {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  /* MOBİL: Tüm boşlukları sıfırla */
  .products-section {
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .hero-appleogz {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-inner {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .hero-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-cta {
    margin-bottom: 0 !important;
  }

  /* Hero ile Products arası boşluk - Küçük bir boşluk bırak */
  .hero-appleogz + .products-section,
  .hero-appleogz ~ .products-section {
    margin-top: 16px !important;
    padding-top: 0 !important;
  }
  
  /* Hero content gap'i azalt */
  .hero-content {
    gap: 4px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Hero inner gap'i azalt - ZATEN YUKARIDA VAR AMA TEKRAR */
  .hero-inner {
    gap: 4px !important;
  }
  
  /* Hero phone wrap */
  .hero-phone-wrap {
    margin-bottom: 0 !important;
  }
  
  /* Hero video shell */
  .hero-video-shell {
    margin-bottom: 0 !important;
  }
  
  /* Hero CTA butonunun altındaki boşluğu kaldır */
  .hero-cta {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Hero content'in altındaki tüm boşlukları kaldır */
  .hero-content * {
    margin-bottom: 0 !important;
  }
  
  .hero-content h1 {
    margin-bottom: 0 !important;
  }

  /* Astra container mobil override */
  .appleogz-home .ast-container,
  .appleogz-home #content .ast-container,
  .appleogz-home #content,
  .appleogz-home .site-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* İlk product block */
  .products-section > .product-block:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .product-block {
    margin-bottom: clamp(60px, 10vw, 100px);
  }

  .product-features li {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-shell,
  .hero-cta,
  [data-animate] {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  [data-animate] {
    opacity: 1;
  }

  .product-link {
    transition: none;
  }

  .product-link:hover,
  .product-link:focus-visible {
    transform: none;
  }
}

/* ========================================
   CATEGORIES PAGE STYLES
   ======================================== */

/* Body ve HTML'e siyah arka plan - sayfa tamamen siyah */
body.page-template-categories,
body.page-template-categories .site,
body.page-template-categories #page,
body.page-template-categories #content,
body.page-template-categories .site-content {
  background: var(--apple-black) !important;
}

html body.page-template-categories {
  background: var(--apple-black) !important;
}

.appleogz-categories {
  background: var(--apple-black);
  min-height: 100vh;
  width: 100%;
}

.categories-hero {
  width: 100%;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px) clamp(30px, 5vw, 60px);
  text-align: center;
  background: var(--apple-black);
}

.categories-hero-content {
  max-width: var(--hero-max-width);
  margin: 0 auto;
}

.categories-title {
  margin: 0 0 clamp(12px, 2vw, 20px) 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 700ms ease;
}

.categories-title.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.categories-subtitle {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 700ms ease;
  transition-delay: 150ms;
}

.categories-subtitle.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.categories-grid-section {
  width: 100%;
  padding: 0 clamp(20px, 4vw, 48px) clamp(60px, 8vw, 120px);
  background: var(--apple-black);
}

.categories-grid {
  max-width: var(--hero-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 32px);
  border-radius: clamp(16px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  transition: all 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(255, 176, 71, 0.05));
  opacity: 0;
  transition: opacity 300ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 194, 129, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.category-card:hover::before,
.category-card:focus-visible::before {
  opacity: 1;
}

.category-card:focus-visible {
  outline: 2px solid var(--apple-orange-1);
  outline-offset: 2px;
}

.category-image-wrapper {
  width: 100%;
  height: clamp(120px, 20vw, 180px);
  margin-bottom: clamp(12px, 2vw, 20px);
  border-radius: clamp(8px, 1.5vw, 12px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 300ms ease;
  filter: brightness(0.85);
}

.category-card:hover .category-image,
.category-card:focus-visible .category-image {
  transform: scale(1.08);
  filter: brightness(1);
}

.category-name {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}

/* Mobil: Yan yana 2 tane */
@media (max-width: 767px) {
  .categories-hero {
    padding: clamp(32px, 5vw, 60px) clamp(16px, 3vw, 32px) clamp(24px, 4vw, 48px);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
  }

  .category-card {
    padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 24px);
  }

  .category-image-wrapper {
    height: clamp(100px, 18vw, 140px);
    margin-bottom: clamp(10px, 1.5vw, 16px);
  }

  .category-name {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
  }
}

/* Tablet: 2 sütun */
@media (min-width: 768px) and (max-width: 1023px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   GARANTI SELECTION PAGE STYLES
   ======================================== */

/* Body ve HTML'e siyah arka plan - sayfa tamamen siyah */
body.page-template-iphone-garanti,
body.page-template-iphone-garanti .site,
body.page-template-iphone-garanti #page,
body.page-template-iphone-garanti #content,
body.page-template-iphone-garanti .site-content {
  background: var(--apple-black) !important;
}

html body.page-template-iphone-garanti {
  background: var(--apple-black) !important;
}

.appleogz-garanti {
  background: var(--apple-black);
  min-height: 100vh;
  width: 100%;
}

.garanti-hero {
  width: 100%;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px) clamp(30px, 5vw, 60px);
  text-align: center;
  background: var(--apple-black);
}

.garanti-hero-content {
  max-width: var(--hero-max-width);
  margin: 0 auto;
}

.garanti-title {
  margin: 0 0 clamp(12px, 2vw, 20px) 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 700ms ease;
}

.garanti-title.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.garanti-subtitle {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 700ms ease;
  transition-delay: 150ms;
}

.garanti-subtitle.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.garanti-options-section {
  width: 100%;
  padding: 0 clamp(20px, 4vw, 48px) clamp(60px, 8vw, 120px);
  background: var(--apple-black);
}

.garanti-options-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.garanti-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 56px);
  border-radius: clamp(20px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  transition: all 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.garanti-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(255, 176, 71, 0.05));
  opacity: 0;
  transition: opacity 300ms ease;
}

.garanti-card:hover,
.garanti-card:focus-visible {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 194, 129, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.garanti-card:hover::before,
.garanti-card:focus-visible::before {
  opacity: 1;
}

.garanti-card:focus-visible {
  outline: 2px solid var(--apple-orange-1);
  outline-offset: 2px;
}

.garanti-card-content {
  text-align: center;
  width: 100%;
  z-index: 1;
  position: relative;
}

.garanti-emoji {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: clamp(16px, 2.5vw, 24px);
  display: block;
}

.garanti-card-title {
  margin: 0 0 clamp(16px, 2.5vw, 24px) 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.garanti-card-description {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.7);
}

/* Mobil: Yan yana 2 tane (zaten 2 tane var) */
@media (max-width: 767px) {
  .garanti-hero {
    padding: clamp(32px, 5vw, 60px) clamp(16px, 3vw, 32px) clamp(24px, 4vw, 48px);
  }

  .garanti-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 3vw, 24px);
  }

  .garanti-card {
    padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 28px);
    min-height: 200px;
  }

  .garanti-emoji {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: clamp(12px, 2vw, 16px);
  }

  .garanti-card-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: clamp(12px, 2vw, 16px);
  }

  .garanti-card-description {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }
}

/* ========================================
   IPHONE SELECTION PAGE STYLES
   ======================================== */

/* Body ve HTML'e siyah arka plan - sayfa tamamen siyah */
body.page-template-yurtdisi-garanti-iphone,
body.page-template-turkiye-garanti-iphone,
body.page-template-yurtdisi-garanti-iphone .site,
body.page-template-turkiye-garanti-iphone .site,
body.page-template-yurtdisi-garanti-iphone #page,
body.page-template-turkiye-garanti-iphone #page,
body.page-template-yurtdisi-garanti-iphone #content,
body.page-template-turkiye-garanti-iphone #content,
body.page-template-yurtdisi-garanti-iphone .site-content,
body.page-template-turkiye-garanti-iphone .site-content {
  background: var(--apple-black) !important;
}

html body.page-template-yurtdisi-garanti-iphone,
html body.page-template-turkiye-garanti-iphone {
  background: var(--apple-black) !important;
}

.appleogz-iphone-selection {
  background: var(--apple-black);
  min-height: 100vh;
  width: 100%;
}

.iphone-selection-hero {
  width: 100%;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px) clamp(30px, 5vw, 60px);
  text-align: center;
  background: var(--apple-black);
}

.iphone-selection-hero-content {
  max-width: var(--hero-max-width);
  margin: 0 auto;
}

.iphone-selection-title {
  margin: 0 0 clamp(12px, 2vw, 20px) 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 700ms ease;
}

.iphone-selection-title.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.iphone-selection-subtitle {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 700ms ease;
  transition-delay: 150ms;
}

.iphone-selection-subtitle.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.iphone-selection-options-section {
  width: 100%;
  padding: 0 clamp(20px, 4vw, 48px) clamp(60px, 8vw, 120px);
  background: var(--apple-black);
}

.iphone-selection-options-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.iphone-selection-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 56px);
  border-radius: clamp(20px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  transition: all 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.iphone-selection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(255, 176, 71, 0.05));
  opacity: 0;
  transition: opacity 300ms ease;
}

.iphone-selection-card:hover,
.iphone-selection-card:focus-visible {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 194, 129, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.iphone-selection-card:hover::before,
.iphone-selection-card:focus-visible::before {
  opacity: 1;
}

.iphone-selection-card:focus-visible {
  outline: 2px solid var(--apple-orange-1);
  outline-offset: 2px;
}

.iphone-selection-card-content {
  text-align: center;
  width: 100%;
  z-index: 1;
  position: relative;
}

.iphone-selection-icon {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: clamp(16px, 2.5vw, 24px);
  display: block;
}

.iphone-selection-card-title {
  margin: 0 0 clamp(16px, 2.5vw, 24px) 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.iphone-selection-card-description {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.7);
}

/* Mobil: Yan yana 2 tane */
@media (max-width: 767px) {
  .iphone-selection-hero {
    padding: clamp(32px, 5vw, 60px) clamp(16px, 3vw, 32px) clamp(24px, 4vw, 48px);
  }

  .iphone-selection-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 3vw, 24px);
  }

  .iphone-selection-card {
    padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 28px);
    min-height: 200px;
  }

  .iphone-selection-icon {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: clamp(12px, 2vw, 16px);
  }

  .iphone-selection-card-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: clamp(12px, 2vw, 16px);
  }

  .iphone-selection-card-description {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }
}

/* ========================================
   IPHONE PRODUCTS PAGE STYLES
   ======================================== */

/* Body ve HTML'e siyah arka plan - sayfa tamamen siyah */
body.page-template-sifir-yurtdisi-iphone,
body.page-template-sifir-turkiye-iphone,
body.page-template-sifir-yurtdisi-iphone .site,
body.page-template-sifir-turkiye-iphone .site,
body.page-template-sifir-yurtdisi-iphone #page,
body.page-template-sifir-turkiye-iphone #page,
body.page-template-sifir-yurtdisi-iphone #content,
body.page-template-sifir-turkiye-iphone #content,
body.page-template-sifir-yurtdisi-iphone .site-content,
body.page-template-sifir-turkiye-iphone .site-content {
  background: var(--apple-black) !important;
}

html body.page-template-sifir-yurtdisi-iphone,
html body.page-template-sifir-turkiye-iphone {
  background: var(--apple-black) !important;
}

.appleogz-iphone-products {
  background: var(--apple-black);
  min-height: 100vh;
  width: 100%;
}

.iphone-products-hero {
  width: 100%;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px) clamp(30px, 5vw, 60px);
  text-align: center;
  background: var(--apple-black);
}

.iphone-products-hero-content {
  max-width: var(--hero-max-width);
  margin: 0 auto;
}

.iphone-products-title {
  margin: 0 0 clamp(12px, 2vw, 20px) 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 700ms ease;
}

.iphone-products-title.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.iphone-products-notice {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(255, 194, 129, 0.9);
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 700ms ease;
  transition-delay: 150ms;
}

.iphone-products-notice.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.iphone-products-cta {
  margin: clamp(24px, 4vw, 40px) auto 0;
  padding: clamp(16px, 2.5vw, 24px) clamp(24px, 4vw, 40px);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.2), rgba(255, 176, 71, 0.15));
  border: 2px solid rgba(255, 194, 129, 0.3);
  border-radius: clamp(12px, 2vw, 20px);
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 700ms ease, transform 300ms ease, box-shadow 300ms ease;
  transition-delay: 200ms;
  box-shadow: 0 4px 20px rgba(255, 122, 24, 0.2);
  position: relative;
  overflow: hidden;
}

.iphone-products-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.3), rgba(255, 176, 71, 0.2));
  opacity: 0;
  transition: opacity 300ms ease;
}

.iphone-products-cta:hover::before {
  opacity: 1;
}

.iphone-products-cta.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.iphone-products-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 122, 24, 0.3);
  border-color: rgba(255, 194, 129, 0.5);
}

.iphone-products-grid-section {
  width: 100%;
  padding: 0 clamp(20px, 4vw, 48px) clamp(60px, 8vw, 120px);
  background: var(--apple-black);
}

.iphone-products-grid {
  max-width: var(--hero-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.iphone-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 32px);
  border-radius: clamp(16px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  transition: all 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.iphone-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(255, 176, 71, 0.05));
  opacity: 0;
  transition: opacity 300ms ease;
}

.iphone-product-card:hover,
.iphone-product-card:focus-visible {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 194, 129, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.iphone-product-card:hover::before,
.iphone-product-card:focus-visible::before {
  opacity: 1;
}

.iphone-product-card:focus-visible {
  outline: 2px solid var(--apple-orange-1);
  outline-offset: 2px;
}

.iphone-product-image-wrapper {
  width: 100%;
  height: clamp(120px, 20vw, 180px);
  margin-bottom: clamp(12px, 2vw, 20px);
  border-radius: clamp(8px, 1.5vw, 12px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.iphone-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 300ms ease;
  filter: brightness(0.85);
}

.iphone-product-card:hover .iphone-product-image,
.iphone-product-card:focus-visible .iphone-product-image {
  transform: scale(1.08);
  filter: brightness(1);
}

.iphone-product-name {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}

/* Responsive */
@media (max-width: 1023px) {
  .iphone-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .iphone-products-hero {
    padding: clamp(32px, 5vw, 60px) clamp(16px, 3vw, 32px) clamp(24px, 4vw, 48px);
  }

  .iphone-products-cta {
    margin-top: clamp(20px, 3vw, 32px);
    padding: clamp(14px, 2vw, 20px) clamp(20px, 3vw, 32px);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
  }

  .iphone-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
  }

  .iphone-product-card {
    padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 24px);
  }

  .iphone-product-image-wrapper {
    height: clamp(100px, 18vw, 140px);
    margin-bottom: clamp(10px, 1.5vw, 16px);
  }

  .iphone-product-name {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
  }
}
