/* ============================================================
   nazmirahome.com — atölye eklentileri (Novex Pro teması üstüne)
   Kişiselleştirme formu, el yapımı notu, rozetler, seçenek özetleri,
   hediye seçenekleri, fotoğraflı yorumlar, video, Instagram şeridi.
   Renk değişkenleri temadan: --main, --primary, --text, --line, --bg-2
   ============================================================ */

/* ---------- Kişiselleştirme (ürün sayfası) ---------- */
.atl-secenekler { border: 1px solid var(--line, #ebebeb); border-radius: 12px; padding: 18px 18px 6px; margin: 0 0 22px; background: var(--bg-2, #f6f6f6); }
.atl-secenekler[hidden] { display: none !important; }
.atl-secenekler__baslik { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--main, #000); }
.atl-alan { margin-bottom: 14px; }
.atl-alan__etiket { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--main, #000); }
.atl-alan__zorunlu { color: var(--primary, #db1215); font-style: normal; }
.atl-alan__ek { font-size: 12px; font-weight: 500; color: var(--text, #545454); }
.atl-alan__girdi { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line, #ebebeb); border-radius: 8px; background: var(--white, #fff); font-size: 14px; color: var(--main, #000); transition: border-color .2s, box-shadow .2s; }
textarea.atl-alan__girdi { height: auto; min-height: 88px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
select.atl-alan__girdi { appearance: auto; }
.atl-alan__girdi:focus { outline: none; border-color: var(--main, #000); box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
.atl-alan__yardim { display: block; margin-top: 5px; font-size: 12px; line-height: 1.5; color: var(--text, #545454); }
.atl-alan__sayac { display: block; margin-top: 3px; text-align: right; font-size: 11px; color: var(--text, #545454); }
.atl-alan--hata .atl-alan__girdi, .atl-alan--hata .atl-dosya__kutu { border-color: var(--primary, #db1215); box-shadow: 0 0 0 3px rgba(219, 18, 21, .08); }

.atl-dosya { position: relative; display: block; margin: 0; cursor: pointer; }
.atl-dosya input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.atl-dosya__kutu { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 98px; padding: 14px; border: 1.5px dashed #cfcfcf; border-radius: 10px; background: var(--white, #fff); text-align: center; transition: border-color .2s; }
.atl-dosya:hover .atl-dosya__kutu, .atl-dosya input:focus + .atl-dosya__kutu { border-color: var(--main, #000); }
.atl-dosya__kutu i { font-size: 22px; color: var(--main, #000); }
.atl-dosya__metin { font-size: 13.5px; font-weight: 600; color: var(--main, #000); }
.atl-dosya__kutu small { font-size: 11.5px; color: var(--text, #545454); }
.atl-dosya__onizleme { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12.5px; color: var(--main, #000); }
.atl-dosya__onizleme[hidden] { display: none; }
.atl-dosya__onizleme img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line, #ebebeb); }
.atl-dosya__onizleme img[hidden] { display: none; }

/* ---------- El yapımı notu ---------- */
.atl-el-yapimi { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; padding: 14px 16px; border-left: 3px solid var(--main, #000); border-radius: 0 10px 10px 0; background: var(--bg-2, #f6f6f6); font-size: 13px; line-height: 1.6; color: var(--text, #545454); }
.atl-el-yapimi svg { flex: none; width: 22px; height: 22px; color: var(--main, #000); }
.atl-el-yapimi[hidden] { display: none; }

/* ---------- Rozetler (kart + ürün sayfası) ---------- */
.on-sale-item.atl-rozet-tek, .badges.atl-rozet-tek { background: #1f1f1f; color: #fff; }
.novex-kart-azstok.atl-kart-tek { color: #1f1f1f; }
.novex-kart-azstok.atl-kart-uretim { color: #6b5b3e; }
.product-status-content.atl-uretim-notu { background: #f5f0e8; color: #5a4a2f; }
.product-status-content.atl-uretim-notu i { color: #5a4a2f; }
.atl-pin .icon i { font-size: 16px; }

/* ---------- Seçenek özetleri (sepet, ödeme, sipariş sayfaları) ---------- */
.atl-secenekler-ozet, .atl-secenek { font-size: 12.5px; line-height: 1.55; color: var(--text, #545454); }
.atl-secenek { display: block; }
.atl-secenek b { font-weight: 600; color: var(--main, #000); }
.atl-secenek__dosya { display: inline-flex; align-items: center; gap: 6px; color: var(--main, #000); text-decoration: underline; text-underline-offset: 2px; }
.atl-secenek__dosya img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line, #ebebeb); }
.novex-sepet-oge__secenek, .co-mini-opts { margin-top: 4px; }
.novex-sepet-oge__teslim, .co-mini-teslim { margin-top: 4px; font-size: 12px; color: var(--text, #545454); }
.novex-sepet-oge__teslim i { margin-right: 4px; }
.ct-item__sku .atl-secenekler-ozet { margin-top: 2px; }

/* ---------- Hediye seçenekleri (ödeme) ---------- */
.atl-hediye-bolum .co-sec-num { font-size: 18px; }
.atl-hediye-form .co-billing-diff { margin-top: 6px; }
.atl-hediye-form .co-billing-diff + .co-billing-diff { margin-top: 12px; }
.atl-odeme-not { margin: 14px 0 4px; padding: 12px 14px; border-radius: 10px; background: var(--bg-2, #f6f6f6); font-size: 12.5px; line-height: 1.55; color: var(--text, #545454); }
.atl-odeme-not__satir { display: flex; align-items: flex-start; gap: 8px; }
.atl-odeme-not__satir + .atl-odeme-not__satir { margin-top: 8px; }
.atl-odeme-not__satir i { flex: none; margin-top: 2px; color: var(--main, #000); }
.atl-odeme-not b { color: var(--main, #000); }

/* ---------- Hediye özeti (sipariş sayfaları) ---------- */
.atl-hediye { margin-top: 10px; padding: 10px 12px; border: 1px solid #f1e3c8; border-radius: 8px; background: #fdf6ec; font-size: 13px; line-height: 1.5; color: #5a4a2f; }
.atl-hediye__satir { font-weight: 600; }
.atl-hediye__not { margin-top: 4px; }
.atl-tahmini { margin-top: 8px; }

/* ---------- Yorumlar: başlık, fotoğraflar, form ---------- */
.atl-yorum-baslik { display: block; margin: 6px 0 2px; font-size: 14.5px; color: var(--main, #000); }
.atl-yorum-gorseller { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.atl-yorum-gorsel img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line, #ebebeb); transition: transform .2s; }
.atl-yorum-gorsel:hover img { transform: scale(1.04); }
.atl-yorum-form { margin-top: 36px; }
.atl-yildiz { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.atl-yildiz input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.atl-yildiz label { margin: 0; cursor: pointer; font-size: 22px; line-height: 1; color: #d9d9d9; transition: color .15s; }
.atl-yildiz input:checked ~ label, .atl-yildiz label:hover, .atl-yildiz label:hover ~ label { color: #f5b301; }
.atl-yorum-form__secili { display: block; margin-top: 6px; font-size: 12px; color: var(--text, #545454); }
.atl-yorum-form input[type=file] { width: 100%; padding: 10px 0; font-size: 13px; }
.atl-yorum-form__mesaj { padding: 12px 14px; border-radius: 8px; font-size: 13.5px; line-height: 1.5; }
.atl-yorum-form__mesaj.ok { background: #eaf7ee; color: #1b6b3a; }
.atl-yorum-form__mesaj.err { background: #fdecec; color: #a12626; }
.atl-yorum-form__mesaj[hidden] { display: none; }

/* ---------- Atölyeden video ---------- */
.atl-video[hidden] { display: none; }
.atl-video__cerceve { position: relative; padding-top: 56.25%; overflow: hidden; border-radius: 14px; background: #000; }
.atl-video__cerceve iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.atl-video__mp4 { display: block; width: 100%; border-radius: 14px; background: #000; }

/* ---------- Bakım sekmesi ---------- */
.atl-bakim p { white-space: normal; }

/* ---------- Instagram şeridi (ana sayfa) ---------- */
.atl-ig-bolum[hidden] { display: none; }
.atl-ig-bolum .flat-title .sub-title a { color: var(--main, #000); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.atl-ig { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.atl-ig a { position: relative; display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 1 / 1; background: var(--bg-2, #f6f6f6); }
.atl-ig img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.atl-ig a:hover img { transform: scale(1.06); }
.atl-ig a::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background .3s; }
.atl-ig a:hover::after { background: rgba(0, 0, 0, .18); }
@media (max-width: 991px) { .atl-ig { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .atl-ig { gap: 6px; } .atl-yorum-gorsel img { width: 64px; height: 64px; } .atl-secenekler { padding: 14px 14px 4px; } }

/* ---------- Set içeriği ("birlikte al") ---------- */
.atl-set-sar[hidden] { display: none; }
.atl-set { margin: 0 0 22px; padding: 16px 16px 12px; border: 1px solid var(--line, #ebebeb); border-radius: 12px; }
.atl-set__baslik { font-size: 13px; font-weight: 600; color: var(--main, #000); margin-bottom: 10px; }
.atl-set__liste { display: grid; gap: 8px; }
.atl-set__oge { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 10px; text-decoration: none; color: var(--main, #000); font-size: 13px; }
.atl-set__oge img, .atl-set__bos { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--bg-2, #f6f6f6); display: block; }
.atl-set__ad { font-weight: 500; }
.atl-set__adet { font-size: 12px; color: var(--text, #545454); }
.atl-set__fiyat { font-size: 12.5px; color: var(--text, #545454); }
.atl-set__tasarruf { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line, #ebebeb); font-size: 12.5px; color: var(--text, #545454); }
.atl-set__tasarruf b { color: var(--main, #000); } .atl-set__tasarruf em { font-style: normal; color: #1b6b3a; font-weight: 600; }

/* ---------- Hediye kartı tutarı ---------- */
.atl-tutarlar { display: flex; flex-wrap: wrap; gap: 8px; }
.atl-tutar { position: relative; margin: 0; cursor: pointer; }
.atl-tutar input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.atl-tutar span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line, #ebebeb); border-radius: 999px; background: var(--white, #fff); font-size: 13.5px; font-weight: 600; color: var(--main, #000); transition: border-color .15s, background .15s; }
.atl-tutar input:checked + span { border-color: var(--main, #000); background: var(--main, #000); color: #fff; }
.atl-tutar input:focus-visible + span { outline: 2px solid var(--main, #000); outline-offset: 2px; }
.atl-tutar-ozel { margin-top: 10px; } .atl-tutar-ozel[hidden] { display: none; }

/* ---------- Değerlendirme formu: tema bağımsız temel düzen (Novex kendi stiliyle üstüne yazar) ---------- */
.atl-yorum-form .comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.atl-yorum-form .comment-form > p { margin: 0; }
.atl-yorum-form .novex-alan--tam, .atl-yorum-form .form-submit { grid-column: 1 / -1; }
.atl-yorum-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.atl-yorum-form input[type=text], .atl-yorum-form input[type=email], .atl-yorum-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line, #ddd); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.atl-yorum-form textarea { min-height: 120px; resize: vertical; }
.atl-yorum-form .novex-yorum-formu__gonder { padding: 12px 26px; border: 0; border-radius: 8px; background: var(--main, #000); color: #fff; font-weight: 600; cursor: pointer; }
@media (max-width: 575px) { .atl-yorum-form .comment-form { grid-template-columns: 1fr; } .atl-set__oge { grid-template-columns: 44px 1fr; } .atl-set__adet, .atl-set__fiyat { grid-column: 2; } }
