/** Shopify CDN: Minification failed

Line 232:0 Unexpected "}"

**/
/* ================================================================
   Ahié Fabric Configurator — v6 CSS
   Dosya: assets/ahie-fabric-configurator.css
   Marka: Terrakotta #713008
   ================================================================ */

.ahie-cfg {
  --ahie-accent: #713008;
  --ahie-border: #e3e0da;
  margin: 0 0 1.5rem;
  position: relative;
}

/* --- Renk farkı uyarı notu (üstte, silik) --- */
.ahie-cfg__notice {
  font-size: 12px;
  line-height: 1.5;
  color: #713008;
  opacity: 0.55;
  margin: 0 0 0.9rem;
}

/* --- Sahne: kare ürün fotoğrafı + canvas --- */
.ahie-cfg__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7f4f0;
  border-radius: 10px;
  overflow: hidden;
}
.ahie-cfg__canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* --- Yükleniyor --- */
.ahie-cfg__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f4f0;
}
.ahie-cfg__spinner {
  width: 34px; height: 34px;
  border: 3px solid #d9d4cc;
  border-top-color: var(--ahie-accent);
  border-radius: 50%;
  animation: ahie-spin 0.7s linear infinite;
}
@keyframes ahie-spin { to { transform: rotate(360deg); } }

/* --- Seçili kumaş etiketi --- */
.ahie-cfg__selected {
  margin: 0.9rem 0 0.4rem;
  font-size: 1.15rem;
  color: #333;
}
.ahie-cfg__selected [data-ahie-selected-label] {
  font-weight: 600;
  color: var(--ahie-accent);
}

/* --- Kartela accordion --- */
.ahie-cfg__collection {
  border-top: 1px solid var(--ahie-border);
  padding: 14px 0;
}
.ahie-cfg__collection:last-child {
  border-bottom: 1px solid var(--ahie-border);
}
.ahie-cfg__collection-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}
.ahie-cfg__collection-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ahie-accent);
  line-height: 1.1;
}
.ahie-cfg__collection-meta {
  font-size: 12px;
  color: #8a8378;
}

/* --- Swatch ızgarası --- */
.ahie-cfg__swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 12px;
}
.ahie-cfg__swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 2px;
  cursor: pointer;
}
.ahie-cfg__swatch.is-hidden { display: none; }
.ahie-cfg__collection.is-expanded .ahie-cfg__swatch.is-hidden { display: flex; }
.ahie-cfg__dot {
  display: block;
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--ahie-border);
  transition: border-color 0.15s, transform 0.15s;
}
.ahie-cfg__swatch:hover .ahie-cfg__dot { transform: scale(1.06); }
.ahie-cfg__dot img {
  width: 100%;
  height: 115%;           /* bandı aşağı taşır */
  object-fit: cover;
  object-position: top;
  display: block;
}
[data-collection-group="Bertony"] .ahie-cfg__dot img {
  height: 170%;
}
.ahie-cfg__swatch.is-active .ahie-cfg__dot {
  border-color: var(--ahie-accent);
  box-shadow: 0 0 0 2px rgba(113, 48, 8, 0.18);
}
.ahie-cfg__code {
  font-size: 0.72rem;
  color: #777;
  line-height: 1;
}
.ahie-cfg__swatch.is-active .ahie-cfg__code {
  color: var(--ahie-accent);
  font-weight: 600;
}

/* --- "Mehr anzeigen" --- */
.ahie-cfg__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  background: transparent;
  border: 0;
  color: rgba(113, 48, 8, 0.4);
  font-size: 11px;
  cursor: pointer;
  padding: 2px 0;
}
.ahie-cfg__more:hover { text-decoration: underline; }
.ahie-cfg__more-icon { font-size: 11px; }

/* --- Hover büyük önizleme pop-up --- */
.ahie-cfg__preview {
  position: absolute;
  z-index: 20;
  transform: translate(-50%, calc(-100% - 10px));
  pointer-events: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  padding: 6px;
  width: 173px;
}
.ahie-cfg__preview {
  position: absolute;
  z-index: 20;
  transform: translate(-50%, calc(-100% - 10px));
  pointer-events: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  padding: 6px;
  width: 173px;
}
.ahie-cfg__preview-img-wrap {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 6px;
  display: block;
}
.ahie-cfg__preview img {
  width: 100%;
  height: 172px;          /* bandı taşır */
  object-fit: cover;
  object-position: top;
  display: block;
}
.ahie-cfg__preview-label {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--ahie-accent);
  margin-top: 5px;
  font-weight: 600;
}

@media (max-width: 749px) {
  .ahie-cfg__swatch-grid {
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 10px;
  }
  .ahie-cfg__dot { width: 42px; height: 42px; }
  /* mobilde hover önizleme kapalı (dokunmatik) */
  .ahie-cfg__preview { display: none !important; }
}
/* --- Konfigürator başlığı --- */
.ahie-cfg__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ahie-accent);
  margin: 0 0 0.5rem;
  line-height: 1.15;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ahie-accent);
}
}
/* --- Kumaş seçilmeden sepet uyarısı --- */
.ahie-cfg__warn {
  font-size: 13px;
  color: #b3261e;
  background: #fdecea;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 0 0 0.8rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.2s, max-height 0.2s;
}
.ahie-cfg__warn.is-visible {
  opacity: 1;
  max-height: 60px;
}
.ahie-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
}
/* === v7 EKLEMESİ: Büyüteç butonu === */
/* Bu bloğu mevcut ahie-fabric-configurator.css'in SONUNA ekle */

.ahie-cfg__mag-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 25;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ahie-accent, #713008);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ahie-cfg__mag-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--ahie-accent, #713008);
}
.ahie-cfg__mag-btn.is-active {
  background: var(--ahie-accent, #713008);
  color: #fff;
  border-color: var(--ahie-accent, #713008);
}
.ahie-cfg__mag-btn svg {
  width: 20px;
  height: 20px;
}

/* Mobilde büyüteç biraz küçük */
@media (max-width: 749px) {
  .ahie-cfg__mag-btn {
    width: 36px;
    height: 36px;
    bottom: 8px;
    right: 8px;
  }
}
/* Sticky stage — sofa sabit kalır */
.ahie-cfg__stage {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
}

.ahie-cfg__swatches {
  max-height: 45vh;
  overflow-y: auto;
  padding-bottom: 20px;
}
.ahie-cfg__swatches::-webkit-scrollbar {
  width: 4px;
}
.ahie-cfg__swatches::-webkit-scrollbar-thumb {
  background: rgba(113, 48, 8, 0.2);
  border-radius: 4px;
}
.ahie-cfg__swatches::-webkit-scrollbar-track {
  background: transparent;
}