/* ==========================================================================
   MYTHEME BASE STYLES (Shopify'dan birebir)
   ========================================================================== */

/* Body & Typography */
.mytheme-body {
  font-family: var(--mytheme-font-body);
  font-size: var(--mytheme-font-size-base);
  color: var(--mytheme-color-text);
  background-color: var(--mytheme-color-bg);
  line-height: 1.6;
  overflow-x: hidden; /* Yatay scroll'u önle */
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.mytheme-h1, .mytheme-h2, .mytheme-h3, .mytheme-h4, .mytheme-h5, .mytheme-h6 {
  font-family: var(--mytheme-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--mytheme-color-text);
  margin-bottom: var(--mytheme-space-md);
}

.mytheme-h1, h1 {
  font-size: var(--mytheme-font-size-h1);
  margin-bottom: var(--mytheme-space-lg);
}

.mytheme-h2, h2 {
  font-size: var(--mytheme-font-size-h2);
}

.mytheme-h3, h3 {
  font-size: var(--mytheme-font-size-h3);
}

.mytheme-h4, h4 {
  font-size: 22px;
}

.mytheme-h5, h5 {
  font-size: 18px;
}

.mytheme-h6, h6 {
  font-size: 16px;
}

/* Links */
a {
  color: var(--mytheme-color-primary);
  text-decoration: none;
  transition: var(--mytheme-transition-fast);
}

a:hover {
  color: var(--mytheme-color-accent);
}

/* Container */
.mytheme-container {
  width: 100%;
  max-width: var(--mytheme-container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--mytheme-space-lg);
  padding-right: var(--mytheme-space-lg);
}

/* Full-bleed breakout pattern - Container'dan çıkış */
.mytheme-full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Full-bleed içinde container */
.mytheme-full-bleed .mytheme-container {
  max-width: var(--mytheme-container-width);
  padding-left: var(--mytheme-space-lg);
  padding-right: var(--mytheme-space-lg);
}

/* Responsive: Mobile'da full-bleed'i kaldır */
@media (max-width: 768px) {
  .mytheme-full-bleed,
  .mytheme-section {
    width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Full-width sections için container override */
.mytheme-hero .mytheme-container,
.mytheme-featured-collection .mytheme-container,
.mytheme-category-grid .mytheme-container {
  padding-left: var(--mytheme-space-lg); /* Daha az padding - Shopify'dan */
  padding-right: var(--mytheme-space-lg);
}

@media (min-width: 1400px) {
  .mytheme-hero .mytheme-container,
  .mytheme-featured-collection .mytheme-container,
  .mytheme-category-grid .mytheme-container {
    padding-left: var(--mytheme-space-xl); /* Daha az padding */
    padding-right: var(--mytheme-space-xl);
  }
}

@media (max-width: 768px) {
  .mytheme-container {
    padding-left: var(--mytheme-space-md);
    padding-right: var(--mytheme-space-md);
  }
}

/* Section */
.mytheme-section {
  padding-top: var(--mytheme-section-padding);
  padding-bottom: var(--mytheme-section-padding);
  /* Full-bleed pattern - Tüm section'lar tam genişlik */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Header full-bleed DEĞİL - override */
.mytheme-header {
  width: 100% !important;
  left: auto !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mytheme-section--small {
  padding-top: calc(var(--mytheme-section-padding) / 2);
  padding-bottom: calc(var(--mytheme-section-padding) / 2);
}

.mytheme-section--large {
  padding-top: calc(var(--mytheme-section-padding) * 1.5);
  padding-bottom: calc(var(--mytheme-section-padding) * 1.5);
}

/* Skip Link */
.mytheme-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--mytheme-color-primary);
  color: white;
  padding: var(--mytheme-space-sm) var(--mytheme-space-md);
  z-index: 10000;
  text-decoration: none;
}

.mytheme-skip-link:focus {
  top: 0;
}

/* Main Content */
.mytheme-main {
  min-height: 60vh;
}

#mytheme-main-content {
  outline: none;
}

