:root {
  --bej: #f5f1e7;
  --siyah: #2a2a2a;
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  max-width: 1000px; /* Maksimum genişlik */
  font-family: 'Playfair Display', serif;
  background-color: #f5f1e7; /* Sitenin arka plan rengi */
  color: #333; /* Genel metin rengi */
}

/* ------Üst menü-------- */

.navbar {
  background-color: #7c5f2d;
  overflow: hidden;
  display: flex;
  justify-content: space-between; /* Logoyu sola, menüyü sağa iter */
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.logo img {
  height: 50px; /* Logo boyutunu ayarla */
}

.navbar a {
  color: #fff;
  padding: 14px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.3s;
}

.navbar a:hover {
  background-color: #D2B48C;
}

/* Responsive için */

@media (max-width: 768px) {


  body {
    padding-top: 60px; /* Filtrelerin yüksekliğine göre üst boşluk ekle */
}


  .navbar {
    flex-direction: column;
    position: fixed;
    left: 0; /* Sol tarafa yapıştır */
    top: 0;
    bottom: 0;
    height: 100vh;
    width: 80px;
    background-color: #333;
    z-index: 1000;
    overflow-y: auto;
    font-family: 'Roboto Condensed', sans-serif;
    background-color: rgba(0, 0, 0, 0.1); /* yarı şeffaf siyah */
  }

  .navbar a {
    display: block;
    color: #333;
    text-decoration: none;
    margin-bottom: auto;
    font-size: 10px;
    line-height: 20px;
    position: relative;
    text-align: center;
  }

  .navbar a:hover {
    background-color: #555;
  }

  @media (max-width: 768px) {
    .navbar .logo img {
      content: url('togo.png'); /* Mobil için farklı logo */
      height: 70px; /* Mobilde daha küçük logo boyutu */
      margin-bottom: 20px;
    }
  }

  .container {
    flex-direction: column; /* Yan yana olan öğeleri üst üste getir */
    gap: 10px; /* Öğeler arasındaki boşluğu azalt */
    display: block;
    padding: unset; /* Padding'i sıfırlar */
    margin: unset; /* Margin'i sıfırlar */
  }

  .container .text {
    padding-left: 70px; /* Sol boşluğu kaldır */
    font-size: 15px; /* Yazı boyutunu küçült */
  }

  .image {
    float: right; /* Resmi sağa yasla */
    margin-right: 0; /* Sağ kenar boşluğunu sıfırla */
    margin-left: 90px; /* Sol kenar boşluğunu artır */
    max-width: 100%; /* Resmin genişliğini sınırlı tut */
  }

  .image img {
    max-width: 90%; /* Mobilde resmin genişliğini küçült */
    height: auto; /* Oranını koru */
  }

  .text {
    padding-left: 200px; /* Sadece masaüstünde sol boşluk */
  }

  /* Galeri Container */
  .gallery {
    
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Daha küçük sütunlar */
    row-gap: 100px; /* Satırlar arasındaki boşluğu artır */
    column-gap: 10px; /* Sütunlar arasındaki boşluğu artır */
    height: auto; /* Yüksekliği otomatik yap */
    margin-left: 99px;
    margin-top: 150px;
    
  }

  .item img {
    border-radius: 5px;
    width: 100%; /* Resmi kapsayıcıya sığdır */
    height: auto; /* Oranını koru */
  }

  .itemm h3 {
    display: none; /* Başlıkları gizle */

  }

  /* Filtreler */
  .filters {
    top: 0; /* Sabit konumdan çıkar */
    right: 0; /* Sağ tarafa yapıştır */
    padding-left: 200px; /* Sol boşluğu artır */
    position: sticky;   /* Sabit konumdan çıkar */
    /*margin-bottom: 20px; /* Alt boşluğu azalt */
    text-align: right; /* Filtreleri ortala */
    z-index: 1000; /* Üstte görünmesi için */
   
    
  
  }

  .filters button {
    padding: 1px 3px; /* Daha küçük butonlar */
    font-size: 0.5rem; /* Yazı boyutunu küçült */
    border: none;
    
  }

  /* Fiyatlar */
  .pricing-grid {
    grid-template-columns: 1fr; /* Tek sütun düzeni */
    gap: 15px; /* Kartlar arasındaki boşluğu artır */
    margin-left: 70px; /* Sol kenar boşluğunu artır */
    margin-right: 20px; /* Üstten boşluk */
  }

  .product-card {
    
    padding: 15px; /* Daha küçük iç boşluk */
    font-size: 0.6rem; /* Yazı boyutunu küçült */
  }

  .product-card h2 {
    font-size: 1.2rem; /* Başlık boyutunu küçült */
  }

  table {
    
    font-size: 0.6rem; /* Tablo yazı boyutunu küçült */
  }

  th, td {
    padding: 3px; /* Hücre iç boşluklarını küçült */
  }

  /* Akordeon Menü */
  .accordion {
    max-width: 100%; /* Akordeon genişliğini tam yap */
    margin-left: 70px;
    top: 0;
    flex: 2; /* Akordeon genişliği */
  }



  .accordion-container {
    display: flex;
    flex-direction: column; /* Yan yana yerleştir */
    gap: 20px; /* Akordeon ve içerik arasında boşluk */
}




  .accordion-header {
    padding: 10px; /* Daha küçük iç boşluk */
    font-size: 1rem; /* Yazı boyutunu küçült */
  }

  
  .accordion-content {
    
    flex-direction: column; /* Öğeleri alt alta yerleştir */
    padding: 10px; /* Daha küçük iç boşluk */
    font-size: 0.9rem; /* Yazı boyutunu küçült */
    background-color: #D2B48C; /* Tan rengi */
    color: #333; /* Yazı rengini koyu yap */
    margin-left: 70px;
  }


  #dynamicContent {
    max-width: 100%; /* İçerik genişliğini tam yap */
    margin-left: 70px;
}


  .accordion-item.active .accordion-content {
    display: block; /* Aktif olan içeriği göster */
}





  .accordion-subheader {
    padding: 8px; /* Daha küçük iç boşluk */
    font-size: 0.9rem; /* Yazı boyutunu küçült */
  }

  /* Slider */
  .manual-slider {
    flex-direction: column; /* Kartları dikey hizala */
    gap: 10px; /* Kartlar arasındaki boşluğu artır */
    overflow-x: hidden; /* Yatay kaydırmayı kaldır */
  }

  .card {
    width: 100%; /* Kartları tam genişlik yap */
    padding: 10px; /* Daha küçük iç boşluk */
    font-size: 0.9rem; /* Yazı boyutunu küçült */
  }

  .card img {
    height: 120px; /* Resim yüksekliğini küçült */
  }

  /* Content Alanları */
  .content {
    padding: 10px; /* Daha küçük iç boşluk */
    font-size: 0.9rem; /* Yazı boyutunu küçült */
  }
}

/* Responsive için */

/* -------------acordion menü------------  */

.accordion {
  max-width: 100px; /* Küçültmek için genişliği düşürebilirsin */
  
 
  
  
}

.accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}

.accordion-header {
  background: #D2B48C; /* Tan rengi */
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: left;
  color: #333; /* Yazı rengini koyu yap */
}

.accordion-header h3 {
  margin: 0;
  color: #333;
}

.arrow {
  font-size: 8px;
  transition: transform 0.3s;
}

.accordion-content {
  max-height: 0; /* Başlangıçta görünmez */
  overflow: hidden;
  padding: 0 15px;
  background: #D2B48C; /* Tan rengi */
  transition: max-height 0.3s ease-out;
  color: #333; /* Yazı rengini koyu yap */
}

.accordion-item.active .accordion-content {
  max-height: 700px; /* İçerik yüksekliğine göre ayarlayın */
  overflow: auto; /* Dikey kaydırma */
}

.accordion-item.active .arrow {
  transform: rotate(90deg);
}

#dynamicContent {   /*akordeon ana başlık için----------/*/
  max-height: 500px; /* Maksimum yükseklik */
  overflow-y: auto; /* Dikey kaydırma */
  flex: 2; /* İçerik alanı genişliği */
  padding: 15px;
  background-color: #D2B48C; /* Tan rengi */
  border: 1px solid #A0522D; /* Daha koyu bir kenar rengi */
  border-radius: 5px;
  font-size: 1rem;
  color: #333; /* Yazı rengini koyu yap */
}

#dynamicContent {  /*akordeon alt başlık için-------------/*/
  max-height: 500px; /* Maksimum yükseklik */
  overflow-y: auto; /* Dikey kaydırma */
  flex: 2; /* İçerik alanı genişliği */
  padding: 15px;
  background-color: #D2B48C; /* Tan rengi */
  border: 1px solid #A0522D; /* Daha koyu bir kenar rengi */
  border-radius: 5px;
  font-size: 1rem;
  color: #333; /* Yazı rengini koyu yap */
}

/** Akordeon alt başlıkları için ayarlar */
.accordion-subheader {
    background-color: #7C5F2D; /* Alt menü için kahverengi */
    color: white; /* Yazı rengini beyaz yap */
    border: 1px solid #5A4520; /* Daha koyu bir kenar rengi */
    padding: 10px;
    cursor: pointer;
    margin: 5px 0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.accordion-subheader:hover {
    background-color: #5A4520; /* Hover durumunda daha koyu kahverengi */
    color: white; /* Yazı rengini beyaz yap */
}

/*akordeon alt başlıkları için ayarlar */

/* -------------accordeon container------------  */
.accordion-container {
  display: flex;
  gap: 20px; /* Akordeon ve içerik alanı arasındaki boşluk */
}

.accordion {
  flex: 1; /* Akordeon genişliği */
  max-width: 300px; /* Akordeon için maksimum genişlik */
}

/* -------------accordeon container------------  */

/* -------------accordeon------------  */
/* -------------accordeon ------------  */

/* -------------container zon------------  */

.container {
  display: flex;
  align-items: center; /* Dikeyde ortalar */
  gap: 5px;           /* Öğeler arasında boşluk */
  padding: 30px; /* Üstten boşluk */
}

.text {
  flex: 1;             /* Yazı alanı esneyerek yer kaplar */
  padding-left: 200px; /* Yazı içeriğini sağa kaydırır */
  margin-left: 0px; /* Kutunun tamamını sağa kaydırır */
  font-size: 11px; /* 16px varsayılan, bu daha küçük */
  line-height: 1.8;
}

.text h3 {
  font-size: 1rem;       /* ≈ 16px */
  font-weight: 700;      /* Daha zarif görünür */
  margin-top: 0;
  margin-bottom: 10px;
}

.image {
  flex: 1;             /* Resim alanı da eşit yer kaplar */
}

.image img {
  max-width: 100%;     /* Resmin container'ı aşmaması için */
  height: auto;
}

/* -------------container zone------------  */

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* -------------galeri filtresi-----------  */

.filters {
  margin-bottom: 660px;
  position: absolute;
  
}

.filters button {
  margin: 5px;
  padding: 10px 20px;
  border: none;
  background: #D2B48C;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.filters button.active,
.filters button:hover {
  background: #7C5F2D;
  color: white;
}

.gallery {
  display: grid; /* Flexbox yerine grid kullan */
  margin-top: 20px; /* Üstten boşluk */
  padding: 0px; /* İçerik alanını sıfırla */
  height: 600px; /* Yükseklik ayarı */
  width: 100%; /* Genişlik ayarı */
  grid-auto-rows: 5px; /* Satır yüksekliği */
  column-gap: 12px; /* Sütunlar arasındaki boşluk */
  row-gap: 5px; /* Satırlar arasındaki boşluk */
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Dinamik sütunlar */
}

.item {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1; /* Varsayılan görünürlük */
  transform: scale(1); /* Varsayılan boyut */
  grid-row-end: span 1; /* 2 satır kaplar */
}

.item.hide {   /* filtrelemede görünümü ayarlar */
  display: none;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.item img {
  transform: scale(1); /* Varsayılan boyut */
  border-radius: 5px;
  width: 100%; /* Sabit genişlik */
  height: auto; /* Sabit yükseklik */
  object-fit: cover; /* Resmi kırpmadan alanı doldur */
  transition: transform 0.3s ease;  /* Geçiş animasyonu */
}

.item img:hover {
  transform: scale(1.1); /* Resmi mausu getirince %10 büyüt */
}

.item h3 {
  text-align: center; /* Ortalamayı korur */
  font-size: 1rem;
  font-weight: 700;
}

/* -------------galeri filtresi sonu-----------  */

/* -------------galeri modal açılır kapanır yapı-----------  */
/* -------------galeri modal açılır kapanır yapı-----------  */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* -------------galeri modal açılır kapanır yapı-----------  */
/* -------------galeri modal açılır kapanır yapı-----------  */

document.addEventListener('DOMContentLoaded', function () {
    const accordionHeaders = document.querySelectorAll('.accordion-header');
    const accordionSubheaders = document.querySelectorAll('.accordion-subheader');
    const dynamicContent = document.getElementById('dynamicContent');

    // Her akordeon başlığı için içerikler
    const contents = {
        "Salvador Dali": "<h2>Salvador Dali</h2><p>Bu, Salvador Dali'nin eserleri hakkında detaylı içeriktir.</p>",
        "Leonardo Da Vinci": "<h2>Leonardo Da Vinci</h2><p>Bu, Leonardo Da Vinci'nin eserleri hakkında detaylı içeriktir.</p>",
        "Vincent Van Gogh": "<h2>Vincent Van Gogh</h2><p>Bu, Vincent Van Gogh'un eserleri hakkında detaylı içeriktir.</p>"
    };

    // Her alt başlık için içerikler
    const subContents = {
        "Eriyen Zaman": "<h3>Eriyen Zaman</h3><p>Bu, Salvador Dali'nin 'Eriyen Zaman' eseri hakkında detaylı içeriktir.</p>",
        "Büyük Mastürbatör": "<h3>Büyük Mastürbatör</h3><p>Bu, Salvador Dali'nin 'Büyük Mastürbatör' eseri hakkında detaylı içeriktir.</p>",
        "Fasülye": "<h3>Fasülye</h3><p>Bu, Salvador Dali'nin 'Fasülye' eseri hakkında detaylı içeriktir.</p>",
        "Mona Lisa": "<h3>Mona Lisa</h3><p>Bu, Leonardo Da Vinci'nin 'Mona Lisa' eseri hakkında detaylı içeriktir.</p>",
        "Son Akşam Yemeği": "<h3>Son Akşam Yemeği</h3><p>Bu, Leonardo Da Vinci'nin 'Son Akşam Yemeği' eseri hakkında detaylı içeriktir.</p>",
        "Vitrivius": "<h3>Vitrivius</h3><p>Bu, Leonardo Da Vinci'nin 'Vitrivius' eseri hakkında detaylı içeriktir.</p>",
        "Yıldızlı Gece": "<h3>Yıldızlı Gece</h3><p>Bu, Vincent Van Gogh'un 'Yıldızlı Gece' eseri hakkında detaylı içeriktir.</p>",
        "Ayçiçekleri": "<h3>Ayçiçekleri</h3><p>Bu, Vincent Van Gogh'un 'Ayçiçekleri' eseri hakkında detaylı içeriktir.</p>",
        "Sarı Tarla": "<h3>Sarı Tarla</h3><p>Bu, Vincent Van Gogh'un 'Sarı Tarla' eseri hakkında detaylı içeriktir.</p>"
    };

    // Akordeon başlıklarına tıklama
    accordionHeaders.forEach(header => {
        header.addEventListener('click', function () {
            const headerText = this.querySelector('h3').textContent.trim();
            dynamicContent.innerHTML = contents[headerText] || "<p>Varsayılan içerik.</p>";
        });
    });

    // Alt başlıklara tıklama
    accordionSubheaders.forEach(subheader => {
        subheader.addEventListener('click', function () {
            const subheaderText = this.textContent.trim();
            dynamicContent.innerHTML = subContents[subheaderText] || "<p>Varsayılan alt başlık içeriği.</p>";
        });
    });
});

/*--------fiyatlandırma--------*/
/*--------fiyatlandırma--------*/

body {
  font-family: Arial, sans-serif;
  background-color: #f5f1e7; /* Sitenin arka plan rengi */
  margin: 0;
  padding: 20px;
}

.pricing-section {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.pricing-section h1 {
  font-size: 2em;
  margin-bottom: 30px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: #D2B48C; /* Tan rengi */
  color: #333; /* Yazı rengini koyu yap */
  border: 1px solid #A0522D; /* Daha koyu bir kenar rengi */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #333; /* Başlık rengini koyu yap */
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}

th {
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #C19A6B; /* Daha koyu bir tan rengi */
  font-weight: bold;
  color: #333; /* Yazı rengini koyu yap */
}

td {
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #D2B48C; /* Tan rengi */
  color: #333; /* Yazı rengini koyu yap */
}

@media (max-width: 600px) {
  .pricing-section h1 {
    font-size: 1.5em;
  }

  .product-card h2 {
    font-size: 1.2em;
  }
}
/*--------fiyatlandırma--------*/
/*--------fiyatlandırma--------*/

/*--------slider--------*/
/*--------slider--------*/

.manual-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px;
  scroll-padding: 10px;
}

.card {
  flex: 0 0 auto;
  width: 240px;
  background-color: #f5f1e7; /* Sitenin arka plan rengi */
  border-radius: 10px;
  padding: 16px;
  scroll-snap-align: start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, background 0.3s;
  color: #333; /* Yazı rengini koyu yap */
}

.card {
    background: #D2B48C; /* Tan rengi */
    color: #333; /* Yazı rengini koyu yap */
}

/* Site-wide responsive layout */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: #302a22;
  background: #f8f5ef;
  line-height: 1.6;
}

.site-header { background: #7c5f2d; }
.navbar {
  min-height: 76px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  overflow: visible;
  background: #7c5f2d;
}
.navbar .logo { display: flex; flex: 0 0 auto; align-items: center; padding: 0; }
.navbar .logo img { display: block; width: auto; height: 54px; object-fit: contain; content: normal; margin: 0; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; }
.navbar .nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.navbar .nav-links a:hover,
.navbar .nav-links a:focus-visible { color: #fff; background: #62491f; border-radius: 4px; }
.announcement-bar {
  padding: 8px 16px;
  color: #fff;
  background: #5c4524;
  text-align: center;
  font-size: 13px;
  letter-spacing: .02em;
}

.page-main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 72px; }
.page-heading { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.page-heading h1, .home-hero h1 { margin: 0 0 14px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.15; }
.page-heading h2 { margin: 0 0 12px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-heading p { color: #6d6458; }
.eyebrow { margin: 0 0 10px; color: #8b6731; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site-footer { padding: 24px; color: #f8f5ef; background: #302a22; text-align: center; font-size: .9rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid #7c5f2d;
  border-radius: 5px;
  color: #fff;
  background: #7c5f2d;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.button:hover { background: #62491f; transform: translateY(-1px); }
.button-outline { color: #62491f; background: transparent; }
.button-outline:hover { color: #fff; }
.whatsapp-button { position: fixed; z-index: 900; right: 20px; bottom: 20px; padding: 12px 18px; border-radius: 30px; color: #fff; background: #168a50; font-size: 14px; box-shadow: 0 3px 12px #0003; }

.home-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; max-width: 1120px; margin: 0 auto; padding: 64px 40px; }
.hero-copy { max-width: 590px; }
.hero-copy > p:not(.eyebrow) { max-width: 520px; color: #6d6458; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: 8px; box-shadow: 16px 16px 0 #e5d9c5; }
.intro-section { max-width: 1120px; margin: 0 auto; padding: 30px 40px 75px; text-align: center; }
.intro-section h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.intro-section > p:not(.eyebrow) { max-width: 720px; margin: 0 auto; color: #6d6458; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; text-align: left; }
.feature-card, .product-card, .artist-card, .community-card, .contact-card { border: 1px solid #e5dccd; border-radius: 8px; background: #fffdf9; box-shadow: 0 8px 28px #302a220d; }
.feature-card { padding: 24px; }
.feature-card > span, .process-step > div > span { color: #9a783f; font-weight: 700; letter-spacing: .12em; }
.feature-card h3 { margin: 8px 0; }
.feature-card p { margin-bottom: 0; color: #6d6458; }

.filters { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px auto; }
.filters button {
  margin: 0;
  padding: 9px 16px;
  border: 1px solid #d5c8b2;
  border-radius: 30px;
  color: #62491f;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.filters button.active, .filters button:hover { color: #fff; background: #7c5f2d; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
.gallery .item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #e9e0d2;
  cursor: zoom-in;
  transition: transform .25s ease, opacity .25s ease;
}
.gallery .item.hide { display: none; }
.gallery .item img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .35s ease; }
.gallery .item:hover { z-index: 1; }
.gallery .item:hover img { transform: scale(1.1); }
.modal {
  display: none;
  position: fixed;
  z-index: 1200;
  inset: 0;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 60px 24px 44px;
  background: #14120feF;
  touch-action: pan-y;
}
.modal.is-open { display: flex; }
.modal-content { display: block; width: auto; max-width: min(78vw, 1000px); max-height: 82vh; margin: auto; object-fit: contain; border-radius: 4px; }
.modal .close, .modal-prev, .modal-next { position: absolute; border: 0; color: #fff; background: transparent; cursor: pointer; }
.modal .close { top: 12px; right: 28px; font-size: 42px; }
.modal-prev, .modal-next { top: 50%; font-size: 52px; transform: translateY(-50%); }
.modal-prev { left: 22px; }.modal-next { right: 22px; }
.modal-counter { position: absolute; bottom: 8px; color: #fff; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0 64px; }
.product-card { min-width: 0; padding: 20px; }
.product-card h2 { margin: 0 0 16px; font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; }
.table-wrap { overflow-x: auto; }
.product-card table { width: 100%; min-width: 430px; border-collapse: collapse; font-size: .87rem; }
.product-card th, .product-card td { padding: 9px 8px; border: 1px solid #e5dccd; color: #302a22; text-align: center; white-space: nowrap; }
.product-card th { background: #efe6d8; }
.product-card td { background: #fffdf9; }
.compact-prices { min-height: 160px; }
.compact-prices p { color: #6d6458; }
.compact-prices strong { color: #7c5f2d; font-size: 1.4rem; }
.calculator-section { max-width: 850px; margin: 0 auto; padding: 38px; border: 1px solid #e5dccd; border-radius: 10px; background: #fffdf9; }
.calculator-section .page-heading { margin-bottom: 26px; }
.choice-group { margin: 0 0 26px; padding: 0; border: 0; }
.choice-group legend { margin-bottom: 12px; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-grid-small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 2px solid #e5dccd; border-radius: 6px; background: #fff; cursor: pointer; transition: border-color .2s, transform .2s; }
.choice-card:has(input:checked) { border-color: #7c5f2d; box-shadow: 0 0 0 2px #7c5f2d22; }
.choice-card:hover { transform: translateY(-2px); }
.choice-card input { position: absolute; top: 10px; left: 10px; z-index: 1; width: 18px; height: 18px; accent-color: #7c5f2d; }
.choice-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.choice-card span { padding: 9px 6px; text-align: center; font-size: .92rem; font-weight: 700; }
.count-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; align-items: center; margin: 20px 0; }
.count-fields label { font-weight: 500; }
.count-fields select, #orderPhoto { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #d5c8b2; border-radius: 5px; background: #fff; color: #302a22; font: inherit; }
.upload-label { display: block; margin: 18px 0 8px; font-weight: 700; }
.upload-label span { color: #776f64; font-size: .85rem; font-weight: 400; }
.estimate-box { margin: 22px 0; padding: 18px; border-radius: 6px; background: #f2ebdf; text-align: center; }
.estimate-box p { margin: 0; color: #6d6458; }
.estimate-box output { display: block; margin: 4px 0; color: #654a20; font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; font-weight: 700; }
.estimate-note, .order-status { font-size: .88rem; }
.order-button { width: 100%; }
.order-status { min-height: 1.4em; color: #62491f; }

.process-list { display: grid; gap: 22px; max-width: 920px; margin: 0 auto; }
.process-step { display: grid; grid-template-columns: minmax(180px, .75fr) 1.25fr; gap: 28px; align-items: center; padding: 18px; border: 1px solid #e5dccd; border-radius: 8px; background: #fffdf9; }
.process-step:nth-child(even) img { order: 2; }
.process-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.process-step h2 { margin: 4px 0 8px; font-family: 'Playfair Display', Georgia, serif; }
.process-step p { margin: 0; color: #6d6458; }
.center-action { margin-top: 28px; text-align: center; }

.artist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.artist-card { padding: 20px; }
.artist-card h2 { margin: 0 0 10px; font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; }
.artist-card h2 small { display: block; margin-top: 3px; color: #8b6731; font: 500 .78rem 'Roboto', Arial, sans-serif; }
.artist-card > p { color: #6d6458; }
.source-link, .community-card a { color: #755622; font-weight: 700; }
.artist-card details { margin-top: 16px; border-top: 1px solid #e5dccd; }
.artist-card summary { padding: 12px 0; color: #62491f; font-weight: 700; cursor: pointer; }
.artist-card ol { padding-left: 22px; }
.artist-card li { padding: 4px 0; color: #51483c; }
.source-note { margin: 24px auto 0; color: #736b61; font-size: .9rem; }
.community-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.community-card { padding: 24px; }
.community-card > span { color: #8b6731; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.community-card h2 { margin: 7px 0; font-family: 'Playfair Display', Georgia, serif; }
.community-card p { min-height: 3.2em; color: #6d6458; }
.contact-card { max-width: 620px; margin: 0 auto; padding: 32px; text-align: center; }
.contact-card h2 { font-family: 'Playfair Display', Georgia, serif; }

@media (max-width: 850px) {
  .navbar { flex-direction: column; justify-content: center; gap: 6px; padding: 8px 12px; }
  .navbar .logo img { height: 42px; }
  .nav-links { justify-content: center; gap: 0; }
  .navbar .nav-links a { padding: 8px 9px; font-size: 11px; }
  .home-hero { gap: 28px; padding: 48px 24px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { padding-top: 0; }
  .site-header { position: relative; }
  .navbar { position: static; width: 100%; height: auto; min-height: 0; flex-direction: column; align-items: center; overflow: visible; background: #7c5f2d; }
  .navbar .logo img { content: normal; height: 42px; margin: 0; }
  .nav-links { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
  .navbar .nav-links a { min-height: 38px; padding: 5px 2px; color: #fff; font-size: 10px; line-height: 1.2; }
  .navbar .nav-links a:hover, .navbar .nav-links a:focus-visible { background: #44351f; }
  .announcement-bar { background: #3d3932; font-size: 12px; }
  .page-main { width: calc(100% - 28px); padding: 30px 0 52px; }
  .home-hero { grid-template-columns: 1fr; padding: 34px 20px; }
  .hero-image { max-height: 380px; box-shadow: 8px 8px 0 #e5d9c5; }
  .intro-section { padding: 22px 18px 50px; }
  .feature-grid, .pricing-grid, .artist-grid, .community-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculator-section { padding: 22px 16px; }
  .choice-grid-small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .count-fields { grid-template-columns: 1fr; gap: 5px; }
  .count-fields select { margin-bottom: 9px; }
  .process-step { grid-template-columns: 1fr; gap: 14px; }
  .process-step:nth-child(even) img { order: 0; }
  .modal { gap: 6px; padding: 56px 10px 42px; }
  .modal-content { max-width: 90vw; max-height: 78vh; }
  .modal-prev { left: 4px; }.modal-next { right: 4px; }
  .modal-prev, .modal-next { z-index: 1; padding: 8px; font-size: 42px; }
  .whatsapp-button { right: 12px; bottom: 12px; padding: 10px 14px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.card:hover {
    background: #C19A6B; /* Daha koyu bir tan rengi */
}

.card a {
    color: #333; /* Bağlantı rengini koyu yap */
}

.card h3 {
    color: #333; /* Başlık rengini koyu yap */
}

.card:hover {
  background-color: #eae0d5; /* Daha koyu bir ton */
  transform: scale(1.02);
}

.card a {
  text-decoration: none;
  color: #333;
  display: block;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

/*--------end slider--------*/
/*--------slider--------*/

.content {
  display: none; /* Varsayılan olarak tüm içerikleri gizle */
  margin-top: 20px;
  padding: 15px;
  background-color: #D2B48C; /* Tan rengi */
  color: #333; /* Yazı rengini koyu yap */
  border: 1px solid #A0522D; /* Daha koyu bir kenar rengi */
  border-radius: 5px;
  font-size: 1rem;
}

:target {
  display: block; /* Hedeflenen içeriği göster */
}

.accordion-header:hover,
.accordion-subheader:hover,
.card:hover {
    background-color: #C19A6B; /* Daha koyu bir tan rengi */
}

/* Keep the original site's layout and colors while styling the added controls. */
body {
  width: auto;
  max-width: 1000px;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  font-family: 'Playfair Display', serif;
  color: #333;
  background: #f5f1e7;
  line-height: normal;
}

.navbar {
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 10px 0;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  background: #7c5f2d;
}
.navbar .logo { display: block; }
.navbar .logo img { width: auto; height: 50px; content: normal; margin: 0; }
.nav-links { display: contents; }
.navbar .nav-links a { display: inline-block; padding: 14px 12px; font-size: 12px; }
.navbar .nav-links a:hover,
.navbar .nav-links a:focus-visible { background: #D2B48C; border-radius: 0; }
.announcement-bar {
  padding: 5px 10px;
  color: #333;
  background: #D2B48C;
  text-align: center;
  font-size: 12px;
}

.page-main { width: auto; margin: 0; padding: 20px 12px; }
.page-heading { margin: 20px 0; text-align: center; }
.page-heading h1, .page-heading h2 { font-family: 'Playfair Display', serif; }
.page-heading h1 { font-size: 2em; }
.page-heading h2 { font-size: 1.5em; }
.page-heading p, .hero-copy > p:not(.eyebrow), .intro-section > p:not(.eyebrow) { color: #333; }
.site-footer { padding: 12px; color: #333; background: #D2B48C; }
.site-header { background: transparent; }

.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: auto; height: auto; margin: 20px 0; }
.gallery .item { display: block; aspect-ratio: 1; border: 0; border-radius: 0; }
.gallery .item.hide { display: none; }
.gallery .item img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.filters { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 16px 0; }
.filters button { margin: 3px; padding: 8px 12px; border: 0; border-radius: 5px; color: #333; background: #D2B48C; font: inherit; }
.filters button.active, .filters button:hover { color: #fff; background: #7C5F2D; }
.modal { background: rgba(0, 0, 0, .85); }
.modal.is-open { display: flex; }
.modal-content { max-width: 90%; max-height: 90%; border-radius: 0; }

.pricing-grid { grid-template-columns: 1fr; gap: 15px; margin: 20px 0; }
.product-card { padding: 15px; border: 1px solid #A0522D; border-radius: 8px; background: #D2B48C; box-shadow: none; }
.product-card h2 { font-family: 'Playfair Display', serif; }
.product-card th, .product-card td { border-color: #ddd; color: #333; }
.product-card th { background: #C19A6B; }
.product-card td { background: #D2B48C; }
.calculator-section { margin: 24px auto; padding: 20px; border: 1px solid #A0522D; border-radius: 8px; background: #D2B48C; }
.calculator-section .page-heading { margin: 0 0 20px; }
.choice-card { border-color: #A0522D; border-radius: 5px; background: #f5f1e7; }
.choice-card:has(input:checked) { border-color: #7c5f2d; box-shadow: 0 0 0 2px #7c5f2d33; }
.estimate-box { background: #f5f1e7; }
.estimate-box output, .compact-prices strong { color: #654a20; }
.button { border-color: #7c5f2d; border-radius: 5px; background: #7c5f2d; }
.button:hover { background: #5A4520; }

.process-list { display: block; max-width: none; }
.process-step { grid-template-columns: minmax(180px, 1fr) 1.4fr; gap: 20px; margin: 20px 0; padding: 20px; border: 0; border-radius: 0; background: #D2B48C; }
.process-step:nth-child(even) img { order: initial; }
.process-step h2 { font-family: 'Playfair Display', serif; }
.process-step p { color: #333; }

.artist-grid { display: block; }
.artist-accordion { margin: 10px 0; border: 1px solid #A0522D; border-radius: 6px; background: #D2B48C; }
.artist-accordion > .accordion-header { margin: 0; padding: 14px 16px; color: #333; background: #D2B48C; font-size: 1rem; font-weight: 700; }
.artist-accordion > .accordion-header:hover { background: #C19A6B; }
.artist-accordion[open] > .accordion-header { border-bottom: 1px solid #A0522D; }
.artist-accordion-content { padding: 14px 18px; color: #333; }
.artist-accordion-content > p { margin: 0 0 12px; }
.artist-accordion-content .source-link { color: #5A4520; }
.artist-accordion-content details { margin-top: 12px; }
.artist-accordion-content details summary { padding: 9px; color: #333; background: #C19A6B; cursor: pointer; }
.artist-accordion-content ol { padding-left: 28px; }
.artist-accordion-content li { padding: 4px 0; color: #333; }

.manual-slider { padding: 10px; }
.forum-title, .forum-intro, .forum-note { margin: 16px; text-align: center; }
.forum-title { font-family: 'Playfair Display', serif; }
.forum-topics { padding: 0 16px; }
.forum-topics .content { margin: 10px 0; background: #D2B48C; }
.forum-topics .content:target { display: block; }
.forum-topics .content a { color: #5A4520; font-weight: 700; }
.community-card { border-color: #A0522D; border-radius: 5px; background: #D2B48C; box-shadow: none; }

@media (max-width: 768px) {
  body {
    width: calc(100% - 80px);
    max-width: none;
    margin: 0 0 0 80px;
    padding: 0;
    overflow-x: hidden;
  }
  .navbar {
    position: fixed;
    z-index: 1000;
    top: 0;
    bottom: auto;
    left: 0;
    width: 80px;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    padding: 10px 4px;
    background: #403126;
  }
  .navbar .logo img { content: url('togo.png'); height: 58px; margin-bottom: 12px; }
  .navbar .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 3px;
  }
  .navbar .nav-links a {
    display: block;
    margin: 0;
    padding: 9px 2px;
    border-radius: 4px;
    color: #fffaf0;
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .navbar .nav-links a:hover,
  .navbar .nav-links a:focus-visible { color: #fff; background: #7c5f2d; }
  .navbar .logo { max-width: 100%; }
  .announcement-bar { margin-left: 0; color: #302a22; background: #c19a6b; }
  .page-main { padding: 20px 8px; }
  .container { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 14px 10px; }
  .container .text, .text { padding-left: 0; margin: 0; font-size: 15px; }
  .image { float: none; max-width: 100%; margin: 0; }
  .image img { max-width: 100%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0; }
  .filters { margin: 16px 0; }
  .pricing-grid, .calculator-section { margin: 20px 0; }
  .process-step { grid-template-columns: 1fr; }
  .artist-grid { margin: 0; }
  .forum-main { width: 100%; }
  .forum-title, .forum-intro, .forum-note { margin: 14px 8px; }
  .forum-topics { padding: 0 8px; }
}

.artist-accordion > .accordion-header { list-style: none; }
.artist-accordion > .accordion-header::-webkit-details-marker { display: none; }
.artist-accordion > .accordion-header > span:first-child { font-size: 1.08rem; }
.artist-accordion > .accordion-header > small { margin-left: auto; margin-right: 14px; color: #62491f; font-size: .78rem; font-weight: 400; }
.artist-accordion > .accordion-header > span:last-child { font-size: 1.25rem; }
.artist-accordion[open] > .accordion-header > span:last-child { transform: rotate(45deg); }
.artist-media { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(220px, 1.3fr); gap: 16px; align-items: start; margin-bottom: 18px; }
.artist-media figure { min-width: 0; margin: 0; }
.artist-media img { display: block; width: 100%; height: 260px; object-fit: contain; background: #f5f1e7; }
.artist-media figcaption { padding-top: 5px; color: #5f5547; font-size: .78rem; }
.artist-media figcaption a { color: inherit; }
.artist-expanded-bio { max-width: 900px; line-height: 1.7 !important; }
.artist-period-heading { margin: 12px 0 5px; padding: 5px 9px; color: #fffaf0; background: #7c5f2d; font-family: 'Playfair Display', serif; font-size: .95rem; }
.artist-portrait-wrap { min-width: 0; }
.artist-portrait-status { margin: 4px 0 0; color: #695a44; font-size: .68rem; line-height: 1.3; }
.process-step img { display: block; min-height: 180px; object-fit: cover; background: #f5f1e7; }
.process-step p { line-height: 1.75; }
.process-step p + p { margin-top: 10px; }
.forum-main { width: 100%; }
.forum-topic-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 16px; }
.forum-topic-card { overflow: hidden; padding: 0; border: 1px solid #a9824d; border-radius: 6px; color: #302a22; background: #D2B48C; font: inherit; text-align: left; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.forum-topic-card:hover, .forum-topic-card.active { transform: translateY(-2px); box-shadow: 0 5px 14px #302a2233; }
.forum-topic-card.active { outline: 2px solid #7c5f2d; }
.forum-topic-card img { display: block; width: 100%; height: 145px; object-fit: cover; }
.forum-topic-card span { display: block; padding: 9px 12px; font-weight: 700; }
.forum-topics { display: grid; gap: 16px; padding: 0 16px; }
.forum-topic[hidden] { display: none !important; }
.forum-topic {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) 1.25fr;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 18px;
  border: 1px solid #A0522D;
  border-radius: 7px;
  background: #D2B48C;
  scroll-margin-top: 12px;
}
.forum-topic:target { outline: 3px solid #7c5f2d; }
.forum-topic > img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 4px; background: #f5f1e7; object-fit: cover; }
.forum-topic h2 { margin: 0 0 8px; font-size: 1.35rem; }
.forum-topic p { line-height: 1.7; }
.forum-topic a { color: #5A4520; font-weight: 700; }
.forum-topic .eyebrow { margin-bottom: 5px; }
.forum-back { grid-column: 1 / -1; justify-self: start; padding: 7px 10px; border: 1px solid #7c5f2d; border-radius: 4px; color: #5A4520; background: #f5f1e7; font: inherit; cursor: pointer; }
.forum-back:hover { color: #fffaf0; background: #7c5f2d; }
.forum-note { padding-bottom: 10px; }
.technique-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.style-group[hidden], .size-group[hidden] { display: none !important; }
.style-group .choice-grid-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.style-group .choice-card img { aspect-ratio: 4 / 3; }

@media (max-width: 600px) {
  .navbar { width: 80px; }
  .navbar .nav-links a { padding: 8px 1px; font-size: 9px; }
  .page-heading { margin: 16px 0; }
  .page-heading h1 { font-size: 1.8rem; }
  .page-heading h2 { font-size: 1.35rem; }
  .technique-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .style-group .choice-grid-small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artist-media { grid-template-columns: 1fr 1.2fr; gap: 8px; }
  .artist-media img { height: 180px; }
  .artist-accordion > .accordion-header { flex-wrap: wrap; }
  .artist-accordion > .accordion-header > small { margin-left: 0; margin-right: auto; }
  .forum-topic { grid-template-columns: 1fr; gap: 12px; padding: 13px; }
  .forum-topic > img { max-height: 220px; object-fit: contain; }
  .forum-main .manual-slider { flex-direction: row; overflow-x: auto; overflow-y: hidden; margin: 16px 0; }
  .forum-main .manual-slider .card { width: 210px; }
}

/* Compact price choices and a side-by-side artist/work browser. */
.calculator-section { padding: 18px; }
.calculator-section .page-heading { margin-bottom: 16px; }
.choice-group { margin-bottom: 16px; }
.choice-group legend { margin-bottom: 7px; }
.technique-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.choice-grid-small { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.choice-card { border-width: 1px; border-radius: 4px; }
.choice-card img { height: 68px; aspect-ratio: auto; object-fit: cover; }
.choice-card span { padding: 5px 3px; font-size: .78rem; }
.choice-card input { top: 5px; left: 5px; width: 15px; height: 15px; }
.style-group .choice-grid-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.style-group .choice-card img { height: 72px; aspect-ratio: auto; }
.count-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.count-choice-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.count-choice-group legend { margin-bottom: 6px; font-weight: 700; }
.count-choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.count-choice {
  display: flex;
  min-width: 0;
  aspect-ratio: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border: 1px solid #a9824d;
  border-radius: 4px;
  color: #403126;
  background: #f5f1e7;
  font: inherit;
  cursor: pointer;
}
.count-choice strong { font-size: 1.05rem; line-height: 1.1; }
.count-choice span { font-size: .64rem; }
.count-choice.active { color: #fffaf0; background: #7c5f2d; box-shadow: inset 0 0 0 1px #5a4520; }

.artist-browser { display: grid; grid-template-columns: minmax(190px, 235px) minmax(0, 1fr); gap: 18px; align-items: start; }
.artist-sidebar { position: sticky; top: 14px; max-height: calc(100vh - 30px); overflow-y: auto; }
.artist-list { display: grid; gap: 5px; }
.artist-select {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #b79a71;
  border-radius: 4px;
  color: #3b3023;
  background: #e7d5b9;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.artist-select span { font-weight: 700; }
.artist-select small { margin-top: 2px; color: #67543c; font-size: .72rem; }
.artist-select:hover, .artist-select.active { color: #fffaf0; background: #7c5f2d; }
.artist-select:hover small, .artist-select.active small { color: #f3e5cf; }
.artist-detail { min-width: 0; padding: 16px; border: 1px solid #b79a71; border-radius: 6px; background: #fffaf0; }
.artist-detail-intro { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 15px; align-items: start; }
.artist-detail-portrait { width: 110px; height: 145px; object-fit: contain; background: #f5f1e7; }
.artist-detail h2 { margin: 0; font-family: 'Playfair Display', serif; font-size: 1.55rem; }
.artist-dates { margin: 2px 0 8px; color: #6e5736; font-size: .82rem; }
.artist-bio { margin: 0 0 8px; line-height: 1.65; }
.artist-detail-intro a, .artist-work-source a { color: #654a20; }
.artist-works-title { margin: 16px 0 7px; font-family: 'Playfair Display', serif; }
.artist-works { display: flex; flex-wrap: wrap; gap: 6px; }
.artist-work-option { padding: 6px 9px; border: 1px solid #b79a71; border-radius: 4px; color: #403126; background: #f5f1e7; text-align: left; font: inherit; font-size: .82rem; cursor: pointer; }
.artist-work-option:hover, .artist-work-option.active { color: #fffaf0; background: #7c5f2d; }
.artist-work-showcase { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(180px, .75fr); gap: 5px 16px; align-items: start; margin-top: 16px; padding-top: 14px; border-top: 1px solid #d5c3a8; }
.artist-work-image { grid-row: span 4; display: block; width: 100%; height: min(55vh, 460px); object-fit: contain; background: #eee7dc; }
.artist-work-title { margin: 0; font-family: 'Playfair Display', serif; font-size: 1.15rem; }
.artist-work-description { margin: 0; line-height: 1.6; }
.artist-work-source { font-size: .78rem; }
.artist-image-status { margin: 4px 0 0; color: #695a44; font-size: .75rem; }

.forum-main .forum-topics { display: grid; gap: 12px; }
.forum-topic { background: #e4d0b1; }
.forum-topic > img { aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 768px) {
  .artist-browser { grid-template-columns: 1fr; gap: 10px; }
  .artist-sidebar { position: static; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .artist-list { display: flex; width: max-content; gap: 5px; }
  .artist-select { width: 145px; min-height: 56px; }
}

@media (max-width: 600px) {
  .calculator-section { padding: 12px; }
  .technique-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choice-grid-small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .count-fields { grid-template-columns: 1fr; gap: 10px; }
  .count-choice-grid { max-width: 250px; }
  .artist-detail { padding: 11px; }
  .artist-detail-intro { grid-template-columns: 76px minmax(0, 1fr); gap: 9px; }
  .artist-detail-portrait { width: 76px; height: 108px; }
  .artist-detail h2 { font-size: 1.2rem; }
  .artist-work-showcase { grid-template-columns: 1fr; }
  .artist-work-image { grid-row: auto; height: min(48vh, 340px); }
  .forum-topic { grid-template-columns: minmax(105px, .8fr) 1.2fr; gap: 10px; padding: 10px; }
  .forum-topic > img { max-height: none; aspect-ratio: 1 / 1; object-fit: cover; }
  .forum-topic h2 { font-size: 1.05rem; }
  .forum-topic p { margin: 6px 0; font-size: .83rem; }
  .forum-topic-menu { grid-template-columns: 1fr; gap: 7px; margin: 12px 8px; }
  .forum-topic-card { display: grid; grid-template-columns: 88px 1fr; align-items: center; }
  .forum-topic-card img { width: 88px; height: 68px; }
  .forum-topic-card span { padding: 10px; }
}

/* Shared warm-gray and brown palette for desktop and mobile. */
:root {
  --palette-canvas: #f5f1e7;
  --palette-ink: #383531;
  --palette-taupe: #a59b90;
  --palette-brown: #755944;
  --palette-gold: #a59b90;
}

body { color: var(--palette-ink); background: var(--palette-canvas); }
a, .source-link, .community-card a, .forum-topic a { color: var(--palette-brown); }
.navbar, .button, .button:hover, .filters button.active, .filters button:hover,
.forum-back:hover, .artist-period-heading, .artist-select:hover, .artist-select.active,
.artist-work-option:hover, .artist-work-option.active, .count-choice.active,
.choice-card input:checked + img + span {
  color: var(--palette-canvas);
  background-color: var(--palette-brown);
}
.navbar a { color: var(--palette-canvas); }
.navbar { background: var(--palette-brown); }
.navbar a:hover, .navbar .nav-links a:hover, .navbar .nav-links a:focus-visible {
  color: var(--palette-ink);
  background: var(--palette-taupe);
}
.announcement-bar, .forum-topic-card, .artist-select, .choice-card,
.artist-work-option, .count-choice, .forum-back {
  color: var(--palette-ink);
  background: var(--palette-taupe);
}
.feature-card, .product-card, .artist-card, .community-card, .contact-card,
.process-step, .artist-detail, .calculator-section {
  color: var(--palette-ink);
  background: var(--palette-canvas);
  border-color: rgb(117 89 68 / 30%);
}
.product-card th { color: var(--palette-ink); background: var(--palette-taupe); }
.announcement-bar { color: var(--palette-ink); background: var(--palette-gold); }
.product-card td, .choice-card, .count-choice-group, .count-choice-group legend,
.artist-work-option, .artist-detail, .artist-detail-intro, .artist-work-showcase,
.estimate-box, .count-fields select, #orderPhoto {
  color: var(--palette-ink);
  border-color: rgb(117 89 68 / 30%);
}
.product-card td, .choice-card, .count-fields select, #orderPhoto { background: var(--palette-canvas); }
.artist-work-showcase { border-top-color: rgb(117 89 68 / 30%); }
.filters button { color: var(--palette-ink); border-color: var(--palette-gold); background: var(--palette-gold); }
.filters button.active, .filters button:hover { color: var(--palette-ink); background: var(--palette-gold); }
.choice-card:has(input:checked) { border-color: var(--palette-brown); box-shadow: 0 0 0 2px rgb(117 89 68 / 18%); }
.choice-card input { accent-color: var(--palette-brown); }
.modal { background: rgb(56 53 49 / 94%); }
.modal .close, .modal-prev, .modal-next, .modal-counter { color: var(--palette-canvas); }
.upload-label span, .estimate-box p, .estimate-note, .order-status,
.artist-portrait-status, .artist-image-status, .source-note {
  color: rgb(56 53 49 / 78%);
}
.compact-prices strong, .estimate-box output { color: var(--palette-brown); }
.site-footer {
  box-sizing: border-box;
  color: var(--palette-ink);
  background: var(--palette-gold);
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 10px; }
.site-footer nav a { color: var(--palette-ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--palette-ink); }
.whatsapp-button { color: var(--palette-canvas); background: var(--palette-brown); }
.page-heading p, .process-step p, .community-card p, .feature-card p,
.artist-card > p, .artist-bio, .artist-work-description, .forum-topic p {
  color: rgb(56 53 49 / 78%);
}
.eyebrow, .feature-card > span, .process-step > div > span,
.artist-dates, .artist-select small, .artist-select:hover small,
.artist-select.active small {
  color: var(--palette-brown);
}
.gallery .item, .gallery .item:hover { background: var(--palette-taupe); }
.artist-portrait-wrap, .artist-work-image, .process-step img, .forum-topic > img,
.forum-topic-card img { background: var(--palette-taupe); }
.button, .forum-topic-card, .artist-select, .artist-work-option,
.count-choice, .choice-card, .forum-back { border-color: var(--palette-brown); }
.artist-select:hover small, .artist-select.active small { color: var(--palette-canvas); }
.artist-select.active, .artist-work-option.active, .count-choice.active {
  color: var(--palette-canvas);
  background: var(--palette-brown);
}
.forum-topic { background: var(--palette-canvas); }
.forum-topic-card.active { outline-color: var(--palette-brown); }
.estimate-box { color: var(--palette-ink); background: var(--palette-taupe); }
.estimate-box output { color: var(--palette-brown); }
.card:hover { color: var(--palette-ink); background: var(--palette-taupe); }
::selection { color: var(--palette-canvas); background: var(--palette-brown); }

@media (min-width: 769px) {
  .site-footer { color: var(--palette-ink); background: var(--palette-gold); }
  body .filters button,
  body .filters button.active,
  body .filters button:hover {
    color: var(--palette-ink);
    border-color: var(--palette-gold);
    background: var(--palette-gold);
  }
}

@media (max-width: 768px) {
  .navbar, .navbar .nav-links a { color: var(--palette-ink); background: var(--palette-taupe); }
  .navbar .nav-links a:hover, .navbar .nav-links a:focus-visible {
    color: var(--palette-canvas);
    background: #755944;
  }
  .announcement-bar, .site-footer { color: var(--palette-canvas); background: var(--palette-brown); }
  .site-footer nav a { color: var(--palette-canvas); }
  body .filters button { color: var(--palette-brown); border-color: var(--palette-taupe); background: transparent; }
  body .filters button.active, body .filters button:hover {
    color: var(--palette-canvas);
    border-color: var(--palette-brown);
    background: var(--palette-brown);
  }
}