* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  padding: 120px 0 0 0;
}
.header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.logo {
  font-size: 45px;
  font-weight: bold;
  color: #83C23A;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-actions a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.header-actions a:hover { color: #83C23A; }
.main-nav { padding: 15px 0; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 0;
  transition: color 0.3s;
  display: block;
}
.nav-menu > li > a:hover { color: #83C23A; }
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1001;
}
.nav-menu li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 15px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s;
}
.dropdown a:hover {
  background-color: #f8f8f8;
  color: #83C23A;
}
.dropdown a:last-child { border-bottom: none; }

.container {
  display: flex;
  align-items: flex-start;
  padding: 0;
  max-width: 70vw;
  height: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Sidebar */
.sidebar {
  width: 160px;
  background: none;
  padding: 0 0 0 0;
  border: none;
  height: auto;
}
.sidebar section {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.sidebar h2 {
  font-size: 17px;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}
.sidebar button {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: bold;
  color: #222;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0;
}
.sidebar label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  cursor: pointer;
}
.sidebar input[type="radio"],
.sidebar input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #83C23A;
}
.sidebar div[style*="margin-top: 10px"] {
  margin-bottom: 12px;
}

/* Products grid */
.products {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 16px;
  padding: 52px 52px;
  margin: 0;
  box-sizing: border-box;
}
.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(131,194,58,0.08);
  text-align: left;
  min-height: 0;
  padding: 0;
  border: 1px solid #eee;
  margin: 0;
  transition: box-shadow 0.2s, border 0.2s;
  max-width: 200px;
  overflow: hidden;
  justify-content: flex-start;
}
.product:hover {
  box-shadow: 0 8px 32px 0 rgba(131,194,58,0.18); 
  border: 1.5px solid #83C23A;                    
  background: #fafcf7;
}
.product img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 0;
  background: #f8f8f8;
  border: none;
  padding: 0;
  display: block;
  margin-left: 0;
  transition: transform 0.25s cubic-bezier(.4,2,.3,1); 
}
.product:hover img { transform: scale(1.08); }
.product-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px 12px 12px;
  gap: 6px;
  text-align: center;
}
.product-title {
  font-size: 15px;
  margin-bottom: 2px;
  min-height: 0;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  margin-left: 0;
  max-height: 2.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  width: 100%;
}
.product-price {
  color: #222;
  font-weight: bold;
  font-size: 15px;
  margin-top: 0;
  text-align: center;
  margin-left: 0;
}
.product-kdv {
  font-size: 10px; 
  color: #b0b0b0;  
  margin-top: 2px;
  margin-bottom: 0;
  margin-left: 0;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.2px;
}
.badge {
  background-color: #83C23A;
  color: white;
  padding: 1px 6px;
  font-size: 11px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 2px;
  margin-right: 0;
  font-family: Arial, Helvetica, sans-serif;
  margin-left: 0;
  font-weight: normal;
}

/* Sort select */
.sort-select-wrapper {
  position: absolute;
  top: 32px;
  right: 300px;
  z-index: 10;
  display: flex;
  align-items: stretch;
  width: 180px;
  min-width: 0;
  background: rgba(255,255,255,0.98);
  padding: 0;
  border-radius: 0;
  box-shadow: 0 6px 24px 0 rgba(131,194,58,0.13), 0 1.5px 6px 0 rgba(0,0,0,0.04);
  font-size: 15px;
  color: #222;
  transition: box-shadow 0.2s, border 0.2s;
}
.sort-select-wrapper select {
  font-size: 15px;
  width: 100%;
  height: 100%;
  padding: 0 32px 0 12px;
  border-radius: 0;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8fafb url('data:image/svg+xml;utf8,<svg fill="%2383C23A" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center/18px 18px;
  color: #222;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 1.5px 6px 0 rgba(131,194,58,0.04);
  transition: box-shadow 0.18s;
  cursor: pointer;
  outline: none;
  min-height: 38px;
  box-sizing: border-box;
}
.sort-select-wrapper select:focus {
  box-shadow: 0 0 0 2px #eaf7d7;
}
.sort-select-wrapper option {
  color: #222;
  background: #fff;
  font-size: 15px;
}
@media (max-width: 1200px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 20px;
    padding: 24px 12px;
  }
  .sort-select-wrapper { right: 20px; }
}
@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
    padding: 16px 4px;
  }
  .sidebar {
    width: 140px;
  }
  .sort-select-wrapper {
    position: static;
    margin: 0 0 12px 0;
    width: 100%;
    justify-content: flex-end;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0;
  }
}
@media (max-width: 600px) {
  .container {
    flex-direction: column;
    align-items: stretch;
    max-width: 100vw;
    height: auto;
  }
  .sidebar {
    width: 100%;
    padding: 0 0 12px 0;
  }
  .products {
    grid-template-columns: 1fr;
    gap: 18px 0;
    padding: 8px 0;
  }
  .product {
    max-width: 100%;
    min-width: 0;
  }
  .product img {
    width: 100%;
    height: auto;
    min-height: 120px;
    max-height: 220px;
  }
  .product-info {
    padding: 10px 6px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px; right: 30px;
  background-color: #25D366;
  color: white;
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: pulse 2s infinite;
}
.whatsapp-button:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 768px) {
  .whatsapp-button {
    width: 60px; height: 60px; bottom: 20px; right: 20px;
  }
  .whatsapp-button svg {
    width: 28px; height: 28px;
  }
}

/* Footer */
.site-footer {
  width: 100%;
  background: #E8F5E9;
  border-top: 1px solid #C8E6C9;
  padding: 30px 0 20px 0;
  margin-top: 100px;
  font-size: 16px;
  color: #388E3C;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 30px;
}
.footer-left, .footer-center, .footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-center {
  flex: 1;
  justify-content: center;
  font-size: 16px;
}
.site-footer a {
  color: #1B5E20;
  text-decoration: none;
  transition: color 0.3s ease;
}
.site-footer a:hover {
  color: #4CAF50;
}
.footer-right a svg {
  vertical-align: middle;
  transition: transform 0.2s, fill 0.3s ease;
  fill: #388E3C;
}
.footer-right a:hover svg {
  transform: scale(1.2);
  fill: #4CAF50;
}
@media (max-width: 768px) {
  .site-footer {
    padding: 20px 0 15px 0;
    margin-top: 40px;
    font-size: 14px;
  }
  .footer-content {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .footer-center { font-size: 14px; }
  .footer-left, .footer-center, .footer-right {
    text-align: center;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .site-footer {
    padding: 15px 0 10px 0;
    margin-top: 30px;
    font-size: 13px;
  }
  .footer-content {
    gap: 8px;
    padding: 0 10px;
  }
  .footer-center {
    font-size: 13px;
    flex-direction: column;
    gap: 5px;
  }
}

/* Filter styles */
.filter-header {
  font-size: 13px;
  font-weight: bold;
  color: #222;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0;
  outline: none;
  user-select: none;
  margin-top: 12px;
  text-transform: none;
  border-bottom: none;
  padding-bottom: 0;
  letter-spacing: 0.1px;
  background: none;
}
.filter-header:focus { color: #222; }
.filter-options {
  margin-top: 2px;
  margin-bottom: 4px;
  border: none;
  padding-left: 0;
  background: none;
}
.filter-option {
  display: block;
  margin-bottom: 1px;
  font-size: 13px;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  cursor: pointer;
  padding: 2px 0 2px 0;
  border-radius: 0;
  transition: color 0.15s;
  background: none;
  border-left: 3px solid transparent;
  padding-left: 8px;
}
.filter-option.selected {
  color: #222;
  font-weight: bold;
  text-decoration: none;
  background: none;
  border-left: 3px solid #83C23A;
}
.filter-option:hover {
  color: #83C23A;
  background: none;
}
.arrow {
  font-size: 13px;
  color: #222;
  margin-left: 8px;
  transition: transform 0.2s;
  font-weight: 400;
}
.filter-group {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  background: none;
}
.filter-group:last-child {
  border-bottom: none;
}
@media (max-width: 1200px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 12px;
    padding: 20px 8px;
  }
  .container {
    max-width: 98vw;
    height: auto;
    padding: 0 4px;
  }
}

/* Tablet (900px altı) için grid, sidebar, sort-select, container */
@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
    padding: 10px 2px;
  }
  .sidebar {
    width: 100%;
    margin-bottom: 10px;
    padding: 0 0 8px 0;
  }
  .container {
    flex-direction: column;
    align-items: stretch;
    max-width: 100vw;
    height: auto;
    padding: 0 2px;
  }
  .sort-select-wrapper {
    position: static;
    width: 100%;
    margin: 0 0 12px 0;
    box-shadow: none;
    background: none;
    right: auto;
    top: auto;
  }
}

/* Telefon (600px altı) için grid, sidebar, header, footer, sort-select */
@media (max-width: 600px) {
  body {
    padding: 74px 0 0 0;
  }
  .header-container {
    padding: 0 6px;
  }
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }
  .logo {
    font-size: 28px;
    margin-bottom: 8px;
    text-align: left;
    width: 100%;
  }
  .header-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
  }
  .container {
    flex-direction: column;
    align-items: stretch;
    max-width: 100vw;
    height: auto;
    padding: 0 2px;
  }
  .sidebar {
    width: 100%;
    padding: 0 0 8px 0;
    margin-bottom: 8px;
  }
  .products {
    grid-template-columns: 1fr;
    gap: 14px 0;
    padding: 8px 0;
  }
  .product {
    max-width: 100%;
    min-width: 0;
  }
  .product img {
    width: 100%;
    height: auto;
    min-height: 110px;
    max-height: 220px;
  }
  .product-info {
    padding: 10px 6px;
  }
  .sort-select-wrapper {
    width: 100%;
    position: static;
    margin: 0 0 10px 0;
    right: auto;
    top: auto;
  }
  .site-footer {
    padding: 12px 0 8px 0;
    margin-top: 24px;
    font-size: 13px;
  }
  .footer-content {
    gap: 7px;
    padding: 0 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .footer-left, .footer-center, .footer-right {
    text-align: center;
    width: 100%;
    justify-content: center;
  }
  .footer-center {
    font-size: 13px;
    flex-direction: column;
    gap: 5px;
  }
  .whatsapp-button {
    width: 50px;
    height: 50px;
    bottom: 10px;
    right: 10px;
  }
  .whatsapp-button svg {
    width: 22px;
    height: 22px;
  }
}

/* Küçük telefonlarda grid ve footer font azalır */
@media (max-width: 400px) {
  .products {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 1px;
  }
  .site-footer {
    font-size: 12px;
    padding: 8px 0 6px 0;
  }
  .footer-content {
    padding: 0 2px;
  }
}
@media (max-width: 900px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo {
    font-size: 28px;
    margin-bottom: 8px;
  }
  .header-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    display: none; /* Başlangıçta gizli */
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.09);
    position: absolute;
    left: 0;
    top: 62px;
    z-index: 1001;
    padding: 16px 16px 12px 16px;
    border-radius: 0 0 10px 10px;
  }
  .header-actions.menu-open {
    display: flex;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 10px;
    z-index: 1200;
  }
  .hamburger-menu span {
    display: block;
    width: 30px;
    height: 4px;
    margin: 5px 0;
    background: #83C23A;
    border-radius: 2px;
    transition: 0.2s;
  }
}
@media (min-width: 901px) {
  .hamburger-menu {
    display: none;
  }
  .header-actions {
    display: flex !important;
    position: static;
    box-shadow: none;
    padding: 0;
    background: none;
  }
}



/* Popup stilleri - dosyanın sonuna ekle */
.product-popup-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.48);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.product-popup-overlay.active { display: flex; }

.product-popup-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(131,194,58,0.19);
  max-width: 700px;
  width: 96vw;
  display: flex;
  position: relative;
  gap: 32px;
  padding: 28px 22px;
  animation: popupShow .31s cubic-bezier(.2,.8,.2,1);
}
@keyframes popupShow {
  from { transform: scale(.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.product-popup-close {
  position: absolute;
  right: 18px; top: 10px;
  font-size: 32px;
  color: #83C23A;
  cursor: pointer;
  font-weight: bold;
  z-index: 1;
}
.product-popup-gallery {
  display: flex; flex-direction: column; align-items: center;
  min-width: 220px; max-width: 260px;
}
.product-popup-mainimg {
  width: 200px; height: 200px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f8f8;
  border: 1px solid #eee;
  margin-bottom: 10px;
  cursor: pointer;
}
.product-popup-thumbs {
  display: flex; gap: 8px; justify-content: center;
}
.product-popup-thumb {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 4px;
  border: 2px solid transparent;
  background: #f8f8f8;
  cursor: pointer;
  transition: border 0.2s, transform 0.2s;
}
.product-popup-thumb.selected {
  border: 2px solid #83C23A;
  transform: scale(1.08);
}
.product-popup-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 180px;
  justify-content: flex-start;
}
.product-popup-title {
  font-size: 24px; color: #83C23A; margin-bottom: 6px;
}
.product-popup-desc {
  font-size: 16px; color: #222; line-height: 1.4;
}
@media (max-width: 700px) {
  .product-popup-box { flex-direction: column; gap: 16px; }
  .product-popup-gallery { min-width: 0; max-width: 100vw; }
  .product-popup-mainimg { width: 100vw; max-width: 320px; height: 45vw; max-height: 180px;}
}
.product-popup-overlay {
  position: fixed;
  inset: 0; /* top:0; left:0; right:0; bottom:0; */
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.product-popup-overlay.active {
  display: flex;
}

.product-popup-box {
  background: #fff;
  max-width: 480px;
  width: 90%;
  height: 300px;
  max-height: 90%;
  overflow-y: auto;
  border-radius: 10px;
  padding: 20px;
  position: relative;
}

.product-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* === ZOOM POPUP === */
.product-zoom-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.product-zoom-popup.active {
  display: flex;
}

.product-zoom-box {
  position: relative;
  max-width: 95%;
  max-height: 95%;
}

.product-zoom-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.product-zoom-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}
