/* Ana Konteyner */
.psf-flow-container { max-width: 850px; margin: 40px auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

/* Adım Göstergesi (Progress) */
.psf-progress-bar { display: flex; justify-content: space-between; margin-bottom: 40px; border-bottom: 2px solid #eee; padding-bottom: 20px; }
.psf-progress-step { flex: 1; text-align: center; color: #999; font-weight: 600; font-size: 14px; position: relative; }
.psf-progress-step.active { color: #3498db; }
.psf-progress-step.active::after { content: ""; position: absolute; bottom: -22px; left: 0; width: 100%; height: 4px; background: #3498db; }

/* Yükleme Alanı */
.psf-upload-box { border: 2px dashed #3498db; background: #f9fbfd; padding: 60px 20px; text-align: center; border-radius: 12px; cursor: pointer; transition: 0.3s; margin-bottom: 20px; }
.psf-upload-box:hover { background: #f0f7ff; border-color: #2980b9; }
.psf-upload-box .dashicons { font-size: 48px; width: 48px; height: 48px; color: #3498db; margin-bottom: 10px; }

/* Tarz Kartları */
.psf-style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin-top: 30px; }
.psf-style-card { border: 1px solid #ddd; border-radius: 10px; overflow: hidden; cursor: pointer; transition: 0.3s; background: #fff; text-align: center; }
.psf-style-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.psf-style-card.selected { border: 2px solid #3498db; box-shadow: 0 0 15px rgba(52,152,219,0.2); }
.psf-style-card img { width: 100%; height: 140px; object-fit: cover; }
.psf-style-card h4 { margin: 10px 0; font-size: 16px; color: #333; }

/* Ürün Grid */
.psf-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px; }
.psf-product-item { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 15px; text-align: center; transition: 0.3s; }
.psf-product-item img { border-radius: 8px; margin-bottom: 15px; }
.psf-product-item h3 { font-size: 18px; margin-bottom: 10px; }
.psf-product-item .price { display: block; margin-bottom: 15px; font-weight: bold; color: #2ecc71; }

/* Butonlar */
.psf-btn { background: #3498db; color: #fff; border: none; padding: 12px 30px; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.3s; display: inline-block; text-decoration: none; }
.psf-btn:disabled { background: #ccc; cursor: not-allowed; }
.psf-btn:hover:not(:disabled) { background: #2980b9; }

/* Sürükle bırak sırasında kutunun hali */
.psf-upload-box.psf-drag-over {
    background: #e1f5fe !important;
    border-color: #3498db !important;
    transform: scale(1.02);
}

/* Aktif buton hali */
.psf-btn.active {
    background-color: #3498db !important;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    cursor: pointer !important;
}

.psf-selected-filename {
    background: #e8f5e9;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-block;
}




/* --- POP-ART TEMA EK CSS --- */ .psf-popart-container { background-color: #0b1121 !important; color: #fff !important; font-family: 'Montserrat', sans-serif !important; } .psf-popart-container .psf-title-box { font-family: 'Bangers', cursive; display: inline-block; padding: 10px 15px; border: 3px solid #000; box-shadow: 5px 5px 0px #000; text-transform: uppercase; } .psf-popart-container .psf-upload-box { border: 4px dashed #ff9f00 !important; background: rgba(255, 159, 0, 0.05) !important; } .psf-popart-container .psf-btn { background: #ffcc00 !important; color: #000 !important; font-weight: 900 !important; border: 4px solid #000 !important; box-shadow: 0 6px 0 #000 !important; border-radius: 0 !important; } /* --- RÖNESANS TEMA EK CSS --- */ .psf-renaissance-container { background-color: #fcf9f2 !important; background-image: url('https://www.transparenttextures.com/patterns/p6.png') !important; color: #3d2b1f !important; font-family: 'Cormorant Garamond', serif !important; } .psf-renaissance-container h1, .psf-renaissance-container h2 { font-family: 'Playfair Display', serif !important; font-style: italic !important; color: #5d4037 !important; } .psf-renaissance-container .psf-upload-box { border: 1px solid #d4af37 !important; background: rgba(255, 255, 255, 0.4) !important; border-radius: 0 !important; } .psf-renaissance-container .psf-btn { background: linear-gradient(145deg, #d4af37, #b8860b) !important; color: #fff !important; font-family: 'Playfair Display', serif !important; border: none !important; border-radius: 2px !important; box-shadow: 0 8px 15px rgba(0,0,0,0.1) !important; letter-spacing: 1.5px !important; } ```




/* Alt Tarz Kartları */
.psf-substyle-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;}
.psf-substyle-card{border:1px solid #ddd;border-radius:10px;overflow:hidden;cursor:pointer;transition:.2s;background:#fff;text-align:center;padding:12px;}
.psf-substyle-card:hover{transform:translateY(-3px);box-shadow:0 10px 20px rgba(0,0,0,0.05);} 
.psf-substyle-card.selected{border:2px solid #3498db;box-shadow:0 0 15px rgba(52,152,219,0.2);} 
.psf-substyle-card img{
  width:100%;
  height:140px;
  object-fit:contain;
  background:#f6f6f6;
  padding:6px;
  border-radius:8px;
  display:block;
  box-sizing:border-box;
}

.psf-flow-container .psf-subdrawer .psf-substyle-card img{
  width:100% !important;
  max-width:100% !important;
  height:180px !important;
  object-fit:contain !important;
  background:#f6f6f6 !important;
  padding:6px !important;
  border-radius:8px !important;
  display:block !important;
  box-sizing:border-box !important;
}


/* --- Tarz filtre (3. görsel) --- */
.psf-style-toolbar{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin: 10px 0 8px;
}
.psf-style-filter-label{font-weight:600;color:#444;font-size:14px;}
.psf-style-filter{
  min-width: 220px;
  border:1px solid #e6e6e6;
  border-radius: 12px;
  padding: 10px 12px;
  background:#fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* --- Alt tarz drawer (2. görsel) --- */
.psf-subdrawer{
  margin-top: 18px;
  border: 1px solid #eee;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
}
.psf-subdrawer.active{
  max-height: 900px;
  opacity: 1;
  transform: translateY(0);
}
.psf-subdrawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f1f1;
  background: #fafafa;
}
.psf-subdrawer-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight: 800;
  color:#222;
}
.psf-subdrawer-icon{font-size:16px;}
.psf-subdrawer-sep{opacity:.6;}
.psf-subdrawer-close{
  border: 1px solid #e6e6e6;
  background:#fff;
  padding: 8px 12px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 700;
}
.psf-subdrawer-body{padding:16px; max-height:min(60vh,520px); overflow:auto; -webkit-overflow-scrolling:touch;}

@media (max-width: 700px){
  .psf-style-toolbar{justify-content:flex-start;}
  .psf-style-filter{width:100%; min-width: 0;}
}

@media (max-width: 900px){.psf-substyle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.psf-flow-container .psf-subdrawer .psf-substyle-card img{height:120px !important;}}
@media (max-width: 520px){.psf-substyle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.psf-subdrawer-body{max-height:65vh;}.psf-flow-container .psf-subdrawer .psf-substyle-card img{height:110px !important;}}

/* ==== ALT TARZ GRID FIX (DESKTOP 4 KOLON) ==== */
.psf-substyles-grid{
display:grid !important;
gap:16px !important;
grid-template-columns:1fr;
}

@media (min-width:768px){
.psf-substyles-grid{grid-template-columns:repeat(2,1fr) !important;}
}

@media (min-width:1024px){
.psf-substyles-grid{grid-template-columns:repeat(3,1fr) !important;}
}

@media (min-width:1280px){
.psf-substyles-grid{grid-template-columns:repeat(4,1fr) !important;}
}

.psf-substyles-grid img{
width:100% !important;
aspect-ratio:2/3 !important;
object-fit:cover !important;
border-radius:12px;
display:block;
}

.psf-subdrawer-body,
.psf-substyles-body{
max-height:65vh;
overflow:auto;
}

@media (min-width:1024px){
.psf-subdrawer-body,
.psf-substyles-body{
max-height:none;
overflow:visible;
}
}

/* === v8 FIX: alt tarz grid 4'lü masaüstü + 1200x1800 oran === */
.psf-flow-container .psf-subdrawer .psf-substyle-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:16px;
}
@media (min-width: 1024px){
  .psf-flow-container .psf-subdrawer .psf-substyle-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px){
  .psf-flow-container .psf-subdrawer .psf-substyle-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.psf-flow-container .psf-subdrawer .psf-substyle-card img{
  width:100% !important;
  aspect-ratio: 2 / 3 !important;
  height:auto !important;
  object-fit:cover !important;
  display:block !important;
}
/* mobilde drawer içinde scroll kalsın, desktop'ta taşma yok */
@media (min-width: 1024px){
  .psf-subdrawer-body{ max-height:none !important; overflow:visible !important; }
}


/* === v8 FIX: TARZLAR GENİŞLİK === */
.psf-flow-container { 
  max-width: 1200px; 
  margin: 40px auto; 
  padding: 0 16px;
}


