/*
Theme Name: Emre E-ticaret Teması
Author: Senin Adın
Version: 1.0
*/

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Top Bar */
.topbar {
  background: #333;
  color: white;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  height: 30px;
  line-height: 30px;
  text-align: center;
}

.topbar .scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

/* =Header
----------------------------------------------- */

/* Mobil Görünüm (576px ve altı) */
@media (max-width: 576px) {
  /* Gizle masaüstü header */
  .desktop-header {
    display: none;
  }
  
  /* Mobil Header Stilleri */
  .mobile-header {
    display: block;
    padding: 10px 15px;
  }
  
  .header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  
  .header-left {
    flex: 0 0 40px;
  }
  
  .header-center {
    flex: 1;
    text-align: center;
  }
  
  .header-right {
    flex: 0 0 80px;
    text-align: right;
  }
  
  /* Menü İkonu */
  .mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 5px;
  }
  
  /* Logo */
  .site-logo img {
    max-height: 40px;
    width: auto;
  }
  
  /* Arama Çubuğu */
  .header-bottom {
    margin-top: 10px;
  }
  
  .search-container {
    position: relative;
  }
  
  .search-container input[type="search"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
  }
  
  .search-container button[type="submit"] {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b8b 0%, #ff8e53 100%);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
  }
  
  /* Sepet ve Hesap İkonları */
  .header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
  }
  
  .cart-icon, .account-icon {
    color: #333;
    font-size: 18px;
    position: relative;
  }
  
  .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b8b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Üst Bilgi Çubuğu */
  .topbar {
    background: #f5f5f5;
    padding: 8px 0;
    font-size: 12px;
    color: #333;
    border-bottom: 1px solid #eee;
    height: auto;
    line-height: 1.4;
  }

  .scrolling-text {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
  }
  
  /* Mobil Header */
  .site-header {
    padding: 10px 0;
  }
  
  .header-top {
    display: block;
  }
  
  .header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
  }
  
  .header-left,
  .header-center,
  .header-right {
    flex: 1;
  }
  
  .header-center {
    text-align: center;
  }
  
  .header-right {
    display: flex;
    justify-content: flex-end;
  }
  
  /* Logo */
  .site-logo {
    text-align: center;
    margin: 0 auto;
  }
  
  .site-logo img {
    height: 50px;
    width: auto;
    max-width: 100%;
  }
  
  /* Arama Çubuğu */
  .header-bottom {
    padding: 10px;
    display: block !important;
  }
  
  .search-container {
    width: 100%;
    margin: 10px 0;
  }
  
  .search-container form {
    position: relative;
  }
  
  .search-container input[type="search"] {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
  }
  
  .search-container button[type="submit"] {
    position: absolute;
    right: 3px;
    top: 3px;
    bottom: 3px;
    width: 80px;
    background: linear-gradient(135deg, #ff6b8b 0%, #ff8e53 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
  }

  /* Ana Header */
  .site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
  }

  .header-container {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  /* Üst Kısım */
  .header-top {
    padding: 10px 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
  }

  .header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    position: relative;
    width: 100%;
    margin: 0 auto;
  }

  /* Header Columns */
  .header-left,
  .header-center,
  .header-right {
    flex: 1;
    display: flex;
    align-items: center;
  }

  .header-left {
    justify-content: flex-start;
  }

  .header-center {
    justify-content: center;
    text-align: center;
  }

  .header-right {
    justify-content: flex-end;
  }

  /* Menü İkonu */
  .menu-toggle-container {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .mobile-menu-toggle {
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: #333;
    font-size: 18px;
    border-radius: 6px;
  }

  .mobile-menu-toggle i {
    transition: transform 0.3s ease;
  }

  .mobile-menu-toggle.active i {
    transform: rotate(90deg);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
  }

  .cart-icon,
  .account-icon {
    background: #f5f5f5;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #333;
    font-size: 16px;
    position: relative;
  }

  /* Logo */
  .site-logo {
    text-align: center;
    padding: 0;
    margin: 0 auto;
    max-width: 180px;
  }

  .site-logo img {
    height: auto;
    max-height: 50px;
    width: 100%;
    min-width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
    object-fit: contain;
  }

  /* Arama Çubuğu */
  .header-bottom {
    padding: 10px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    position: relative;
    z-index: 90;
  }

  .search-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
  }

  .search-container form {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 40px;
  }

  .search-container input[type="search"] {
    width: 100%;
    height: 40px;
    padding: 0 75px 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background: #f5f5f5;
    -webkit-appearance: none;
    appearance: none;
  }

  .search-container button[type="submit"] {
    position: absolute;
    right: 3px;
    top: 3px;
    bottom: 3px;
    width: 60px;
    background: linear-gradient(135deg, #ff6b8b 0%, #ff8e53 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: default;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    pointer-events: none;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
}

/* Masaüstü Görünümü (577px ve üstü) */
@media (min-width: 577px) {
  /* Gizle mobil header */
  .mobile-header {
    display: none;
  }
  
  /* Ana Header */
  .site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
    padding: 15px 0;
  }

  .header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
  align-items: center;
  }

  /* Masaüstü Header */
  .desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
  }
  
  /* Header bölümleri */
  .header-left {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
  }
  
  .header-center {
    flex: 1;
    max-width: 800px;
    padding: 0 15px;
  }
  
  .header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }
  
  /* Logo */
  .site-logo img {
    max-height: 100px;
    width: auto;
    margin-right: 250px;
  }
  
  /* Arama Çubuğu */
  .search-container {
    position: relative;
    width: 100%;
  }
  
  .search-container form {
    display: flex;
    position: relative;
    align-items: center;
  }
  
  .search-container input[type="search"] {
    width: 100%;
    padding: 12px 90px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    height: 46px;
    box-sizing: border-box;
  }
  
  .search-container input[type="search"]:focus {
    outline: none;
    border-color: #ff6b8b;
    box-shadow: 0 0 0 2px rgba(255,107,139,0.2);
  }
  
  .search-container button[type="submit"] {
    position: absolute;
    right: 3px;
    top: 3px;
    bottom: 3px;
    width: 80px;
    background: linear-gradient(135deg, #ff6b8b 0%, #ff8e53 100%);
    color: white;
    border: none;
    border-radius: 22px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 0 10px;
    transform: none !important;
    transition: none !important;
  }

  .search-container button[type="submit"] i {
    font-size: 16px;
  }

  /* Sepet ve Hesap İkonları */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .cart-icon, .account-icon {
    color: #333;
    font-size: 20px;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .cart-icon:hover, .account-icon:hover {
    color: #ff6b8b;
  }
  
  .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b8b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }
  
  /* Logo Stili */
  .header-left {
    flex: 0 0 auto;
  }
  
  .site-logo {
    display: flex;
    align-items: center;
  }
  
  .site-logo img {
    height: 50px;
    width: auto;
    max-width: 180px;
  }
  
  /* Arama Çubuğu */
  .header-center {
    flex: 1;
    max-width: 600px;
  }
  
  .search-container {
    position: relative;
    width: 100%;
  }
  
  .search-container form {
    display: flex;
    position: relative;
  }
  
  .search-container input[type="search"] {
    width: 100%;
    height: 40px;
    padding: 0 90px 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    background: #f5f5f5;
  }
  
  .search-container button[type="submit"] {
    position: absolute;
    right: 3px;
    top: 3px;
    bottom: 3px;
    width: 80px;
    background: linear-gradient(135deg, #ff6b8b 0%, #ff8e53 100%);
    color: white;
    border: none;
    border-radius: 17px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  /* Logo Stili */
  .site-logo {
    text-align: left;
    padding: 0;
    margin: 0;
  }

  .site-logo img {
    height: 80px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease;
  }

  /* Header Right */
  .header-right {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .search-container {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .search-container form {
    height: 46px;
    display: flex;
    align-items: center;
  }

  .search-container input[type="search"] {
    height: 46px;
    padding: 0 100px 0 20px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.3s ease;
  }

  .search-container input[type="search"]:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
  }

  .search-container button[type="submit"] {
    width: 90px;
    height: 40px;
    top: 3px;
    right: 3px;
    bottom: 3px;
    font-size: 13px;
  }

  /* Sağ Üst İkonlar */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
  }

  .account-icon,
  .cart-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f5f5f5;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
  }

  .account-icon:hover,
  .cart-icon:hover {
    background: #e9e9e9;
    color: #4a90e2;
  }

  .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }

  /* Alt Menü */
  .header-bottom {
    display: none;
  }

  .main-navigation {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .main-menu > li {
    position: relative;
  }

  .main-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .main-menu > li > a:hover {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.05);
  }
}

.search-container button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 139, 0.4);
}

.search-container button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(255, 107, 139, 0.3);
}

.search-container button[type="submit"] i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.search-container button[type="submit"]:hover i {
  transform: translateX(2px);
}

.search-container form {
  display: flex;
  position: relative;
}

.search-container input[type="search"] {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}

.search-container button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 5px 10px;
}

/* Mobil Menü Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 767px) {
  .header-top-inner {
    height: 60px;
  }
  
  .site-logo img {
    max-height: 100px;
  }
  
  .header-actions a {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .search-container {
    padding: 0 10px;
  }
}

.search-bar form {
  display: flex;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-bar input[type="search"] {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: 2px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.search-bar input[type="search"]:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.search-bar .search-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.search-bar .search-button:hover {
  background: #3a7bc8;
}

.cart-icon,
.account-icon {
  color: #333;
  font-size: 20px;
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff6b6b;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
}

/* Header Bottom - Arama Çubuğu */
.header-bottom {
  padding: 15px 0;
  background: #f8f8f8;
  border-top: 1px solid #eee;
}

.search-bar {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.search-bar form {
  display: flex;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-bar input[type="search"] {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: 2px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.search-bar input[type="search"]:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.search-bar .search-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.search-bar .search-button:hover {
  background: #3a7bc8;
}

/* Mobil Menü Toggle */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger-menu {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Logo */
.logo {
  text-align: center;
  flex-grow: 1;
}

.logo img {
  height: 180px;
  width: auto;
  max-width: 350px;
  min-width: 300px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
.header-top-inner {
height: 60px;
padding: 0 15px;
}

.logo img {
  height: 120px;
  max-width: 250px;
  min-width: 200px;
  object-fit: contain;
}

.header-actions {
gap: 12px;
right: 10px;
}

.cart-icon,
.account-icon {
font-size: 18px;
width: 28px;
height: 28px;
}

.cart-count {
width: 16px;
height: 16px;
font-size: 10px;
}

.search-bar {
padding: 0 10px;
}

.search-bar input[type="search"] {
padding: 10px 45px 10px 12px;
font-size: 13px;
}

.search-bar .search-button {
padding: 6px 12px;
font-size: 13px;
}

.hamburger-menu {
width: 24px;
}

.hamburger-menu span {
height: 2px;
}

.header-bottom {
padding: 10px 10px;
}
}

@media (max-width: 991px) {
.header-top-inner {
padding: 0 10px;
}

.site-logo img {
  height: 120px;
  max-width: 250px;
  min-width: 200px;
  object-fit: contain;
}

.header-actions {
gap: 8px;
}

.cart-icon,
.account-icon {
font-size: 18px;
width: 32px;
height: 32px;
}

.cart-count {
width: 16px;
height: 16px;
font-size: 9px;
}

.mobile-menu-toggle {
width: 36px;
height: 36px;
font-size: 18px;
}
}

@media (max-width: 576px) {
.site-logo img {
max-height: 80px;
}

.header-actions {
gap: 5px;
}

.cart-icon,
.account-icon {
font-size: 16px;
width: 30px;
height: 30px;
}

.cart-count {
width: 14px;
height: 14px;
font-size: 8px;
}

.mobile-menu-toggle {
width: 34px;
height: 34px;
font-size: 16px;
}
  .search-bar input[type="search"] {
    padding: 10px 45px 10px 12px;
    font-size: 13px;
  }
  
  .search-bar .search-button {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .hamburger-menu {
    width: 24px;
  }
  
  .hamburger-menu span {
    height: 2px;
  }
  
  .header-bottom {
    padding: 10px 10px;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
  order: 1;
  flex: 0 0 auto;
}

.hamburger-menu {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Logo */
.logo {
  position: relative;
  z-index: 10;
  width: 150px;
  flex: 0 0 auto;
  order: 2;
  text-align: center;
  margin: 0 auto;
  padding: 5px 0;
}

.logo .logo-img {
  height: 180px;
  max-width: 350px;
  min-width: 300px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

/* Search Bar */
.search-bar {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  grid-column: 2;
  justify-self: center;
}

.search-bar form {
  display: flex;
  position: relative;
  width: 100%;
}

.search-bar input[type="search"] {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
}

.search-bar .search-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 5px 10px;
}

/* Header Icons */
.header-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 10;
  justify-self: end;
  margin-right: 10px;
}

.header-icons a {
  color: #333;
  font-size: 20px;
  text-decoration: none;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e67e22;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Search Bar */
.search-bar {
  flex: 1;
  max-width: 600px;
  margin: 0 20px;
  position: relative;
}

.search-bar form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0;
}

.search-bar input[type="search"] {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #ffbd59;
  border-radius: 4px;
  font-size: 16px;
}

.search-button {
  padding: 12px 25px;
  background: #ffbd59;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 16px;
}

.search-button:hover {
  background: #ffd166;
}

.search-button i {
  color: #333;
  font-size: 18px;
  margin-right: 5px;
}

/* Main Menu */
.main-menu {
  max-width: 1320px;
  margin: 20px auto 0;
  background: #ffbd59;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.main-menu a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 10px 20px;
  border-radius: 4px;
}

.main-menu a:hover {
  color: #0073e6;
  background: rgba(0, 0, 0, 0.1);
}

/* Responsive Design 
@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }
*/
  .main-menu {
    display: none;
  }

  .search-bar {
    flex: 1;
    justify-content: center;
  }

  .search-bar form {
    max-width: 100%;
  }
}

/* Categories */
.categories {
  padding: 40px 0;
  background: #f5f5f5;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 20px;
  max-width: 1320px;
  margin: 0 auto;
}

/* Category Menu */
.category-menu {
  max-width: 1320px;
  margin: 20px auto 0;
  background: #ffbd59;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  gap: 60px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
}

.category-menu a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 10px 20px;
  border-radius: 4px;
}

.category-menu a:hover {
  color: #0073e6;
  background: rgba(0, 0, 0, 0.1);
}

/* Responsive Design 
@media (max-width: 768px) {
  .search-bar {
    margin: 15px auto 0;
  }*/

  .search-bar form {
    max-width: 100%;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .category-box {
    height: 200px;
  }
}

/* Kategori Kutuları */
.categories {
  padding: 25px 0;
  background-color: #f9f9f9;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.category-box {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.category-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.category-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.category-box span {
  display: block;
  padding: 12px 8px;
  text-align: center;
  background: #fff;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

/* Tablet Görünüm */
@media (max-width: 991px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 15px;
  }
}

/* Mobil Görünüm */
@media (max-width: 768px) {
  .category-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .category-box {
    height: 140px;
    width: 100%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 5px;
    background: none; /* Arka plan rengini kaldırdım */
    border-radius: 15px; /* Köşeleri yuvarlak yaptım */
    border: 1px solid #e0e0e0; /* İnce bir çerçeve ekledim */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Hafif gölge ekledim */
  }
  
  .category-box img {
    height: 90px; /* Resim yüksekliğini azalttım */
    object-fit: contain;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
  }
  
  .category-box span {
    height: 40px; /* Metin alanı yüksekliğini sabitledim */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    font-size: 12px; /* Yazı boyutunu küçülttüm */
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maksimum 2 satır göster */
    -webkit-box-orient: vertical;
  }
}

/* Küçük Ekranlar */
@media (max-width: 480px) {
  .category-grid {
    gap: 10px;
    padding: 0 6px;
  }
  
  .category-box {
    height: 180px;
    min-height: 180px;
  }
  
  .category-box img {
    height: 130px;
  }
  
  .category-box span {
    font-size: 12px;
  }
}

/* Çok Küçük Ekranlar */
@media (max-width: 360px) {
  .category-box {
    height: 160px;
    min-height: 160px;
  }
  
  .category-box img {
    height: 110px;
  }
  
  .category-box span {
    font-size: 11px;
  }
}

/* Main Slider */
.main-slider {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  height: 747px;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease;
}

.slide {
  width: 33.33%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Categories */
.categories {
  padding: 40px 0;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* Product Page Styles */
.product-details-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.product-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.product-details-grid {
 display: flex;
  gap: 20px;
  align-items: flex-start;  /* Yukarı hizalama */
}

/* Product Image Container */
.product-image-container {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 30px;
  text-align: center;
}

/* Main Product Image */
.product-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  margin-bottom: 20px;
  overflow: hidden;
}

.product-main-image {
  max-width: 100%;
  max-height: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  border-radius: 4px;
}

/* Thumbnails */
.product-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

.product-thumbnail {
  width: 60px;
  height: 60px;
  border: 2px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: #e44d26;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Main Menu */
.main-menu {
  background: #FF9966; /* Şeftali rengi */
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 100;
  display: block !important;
  width: 100%;
  margin: 0 auto;
  clear: both;
  min-height: 50px;
  box-sizing: border-box;
}

.main-menu .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  height: 100%;
  box-sizing: border-box;
}

.main-menu a {
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 15px;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: inline-block;
  line-height: 1;
}

.main-menu a:hover,
.main-menu a.active {
  background: rgba(255,255,255,0.2);
}

/* Masaüstü menü */
@media (min-width: 993px) {
  .main-menu .container {
    justify-content: center;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Mobil menü */
@media (max-width: 992px) {
  .main-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    z-index: 1000;
    padding-top: 60px;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  
  .main-menu.active {
    left: 0;
  }
  
  .main-menu .container {
    flex-direction: column;
    padding: 0;
    align-items: flex-start;
  }
  
  .main-menu a {
    width: 100%;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .main-menu a i {
    width: 24px;
    text-align: center;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid #eee;
  }
  
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    cursor: pointer;
  }
  
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 900;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .menu-overlay.active {
    display: block;
    opacity: 1;
  }
}

.main-menu .container {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 0 15px;
}

.main-menu a {
  color: #fff;
  text-decoration: none;
  padding: 18px 25px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.main-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background: #fff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-menu a:hover,
.main-menu a:focus,
.main-menu a.active {
  background: rgba(255,255,255,0.1);
}

.main-menu a:hover:after,
.main-menu a:focus:after,
.main-menu a.active:after {
  width: 80%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none; /* Masaüstünde gizli */
  cursor: pointer;
  padding: 15px;
  z-index: 1001;
  position: absolute;
  left: 15px;
  top: 15px;
}

/* Masaüstü menü */
@media (min-width: 993px) {
  .main-menu {
    display: block !important;
  }
  
  .main-menu .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
}

.hamburger-menu {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
  border-radius: 3px;
  transform-origin: left center;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    z-index: 1000;
    padding: 70px 0 0 0;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  
  .main-menu.active {
    left: 0;
  }
  
  .main-menu .container {
    flex-direction: column;
    padding: 0;
  }
  
  .main-menu a {
    display: block;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: left;
  }
  
  .main-menu a:after {
    display: none;
  }
  
  .hamburger-menu.active span:first-child {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }
  
  .hamburger-menu.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .menu-overlay.active {
    display: block;
    opacity: 1;
  }
}

/* Products Grid - Force Grid Layout */
.products-grid,
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products.columns-4,
.woocommerce-page ul.products.columns-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 15px !important;
  margin: 20px auto !important;
  width: 100% !important;
  max-width: 1320px !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
  list-style: none !important;
  padding-left: 0 !important;
  float: none !important;
  clear: both !important;
}

/* Force WooCommerce product items to be grid items */
.products-grid > *,
.woocommerce ul.products > li.product,
.woocommerce-page ul.products > li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  background: #fff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
  transition: all 0.3s ease !important;
  height: 100% !important;
}

/* Product image container */
.products-grid .product img,
.woocommerce ul.products li.product img {
  width: 100% !important;
  max-width: 200px !important;
  height: 150px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
  padding: 10px !important;
  background: #fff !important;
  object-position: center;
}

/* Product title - Smaller and more compact */
.products-grid .product h2,
.woocommerce ul.products li.product h2 {
  font-size: 12px !important;
  margin: 5px 8px 3px !important;
  padding: 0 8px !important;
  line-height: 1.3 !important;
  min-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500 !important;
  color: #444 !important;
}

/* Price styles - More prominent sale price */
.products-grid .price,
.woocommerce ul.products li.product .price {
  margin: 0 8px 8px !important;
  padding: 0 8px !important;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Regular price - smaller and less prominent */
.products-grid .price del,
.woocommerce ul.products li.product .price del {
  color: #999 !important;
  font-size: 11px !important;
  text-decoration: line-through !important;
  order: 1;
  margin: 0 !important;
  padding: 0 !important;
}

/* Sale price - larger and more prominent */
.products-grid .price ins,
.woocommerce ul.products li.product .price ins,
.products-grid .price .amount,
.woocommerce ul.products li.product .price .amount {
  color: #e67e22 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  order: 0;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block;
}

/* When there's a sale, make the sale price more prominent */
.products-grid .price ins,
.woocommerce ul.products li.product .price ins {
  color: #ff6b6b !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

/* Add to cart button */
.products-grid .add_to_cart_button,
.woocommerce ul.products li.product .button {
  background: #f5f5f5 !important;
  color: #555 !important;
  border: none !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  width: 100% !important;
  text-align: center !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  margin-top: auto !important;
  border-top: 1px solid #eee !important;
}

.products-grid .add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover {
  background: #e67e22 !important;
  color: #fff !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 10px !important;
  }
  
  .products-grid .product img,
  .woocommerce ul.products li.product img {
    height: 160px !important;
  }
}

@media (max-width: 480px) {
  /* Main Product Grid */
  .products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 0 5px !important;
  }
  
  /* Product Images */
  .products-grid .product img,
  .woocommerce ul.products li.product img {
    height: 140px !important;
    width: 100% !important;
    object-fit: contain;
    padding: 5px;
    box-sizing: border-box;
  }
  
  /* Product Titles */
  .products-grid .product h2,
  .woocommerce ul.products li.product h2 {
    font-size: 12px !important;
    min-height: 32px;
    margin: 3px 0 !important;
    padding: 0 3px !important;
    line-height: 1.3;
  }
  
  /* ===== SLIDER STYLES ===== */
  /* Reset all slider styles first */
  #page .woocommerce-product-gallery,
  #page .woocommerce-product-gallery *,
  .slider-container, .slider-container *,
  .home-slider, .home-slider *,
  .slider-wrapper, .slider-wrapper *,
  .slider, .slider *,
  .slick-slide, .slick-slide *,
  .slick-list, .slick-list *,
  .slick-track, .slick-track *,
  .flex-control-thumbs, .flex-control-thumbs *,
  .woocommerce-product-gallery__wrapper,
  .woocommerce-product-gallery__wrapper *,
  .woocommerce-product-gallery__image,
  .woocommerce-product-gallery__image * {
    all: unset !important;
    box-sizing: border-box !important;
  }

  /* Now apply our styles */
  #page .woocommerce-product-gallery,
  .slider-container {
    margin: 0 auto 10px !important;
    max-width: 100% !important;
    height: 180px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    background: #f8f8f8 !important;
  }
  
  /* Main slider container */
  .woocommerce-product-gallery__wrapper,
  .slider-wrapper,
  .home-slider,
  .slider {
    width: 100% !important;
    height: 180px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: relative !important;
  }
  
  /* Slide items */
  .slick-slide,
  .slick-list,
  .slick-track,
  .woocommerce-product-gallery__image {
    height: 180px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  
  /* Images */
  .slider img,
  .slick-slide img,
  .woocommerce-product-gallery__image img,
  .woocommerce-product-gallery__image a,
  .wp-post-image,
  .attachment-woocommerce_single,
  .woocommerce-product-gallery__image a img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
    display: block !important;
    background: #f8f8f8 !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }
  
  /* ===== SMALL IMAGES GRID ===== */
  /* Reset all thumbnails first */
  .woocommerce-product-gallery--columns-4,
  .woocommerce-product-gallery__thumbs,
  .flex-control-thumbs,
  .woocommerce-product-gallery--columns-4 .flex-control-thumbs,
  .woocommerce-product-gallery--columns-4 .woocommerce-product-gallery__thumbs,
  .small-images-container {
    all: unset !important;
    padding: 5px !important;
    margin: 10px auto 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    clear: both !important;
    float: none !important;
    list-style: none !important;
  }
  
  /* Thumbnails grid */
  .woocommerce-product-gallery--columns-4 .flex-control-thumbs,
  .woocommerce-product-gallery--columns-4 .woocommerce-product-gallery__thumbs,
  .flex-control-thumbs,
  .woocommerce-product-gallery__thumbs,
  .small-images-grid {
    all: unset !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 5px !important;
    margin: 0 !important;
    width: 100% !important;
    list-style: none !important;
  }
  
  /* Thumbnail items */
  .woocommerce-product-gallery--columns-4 .flex-control-thumbs li,
  .woocommerce-product-gallery--columns-4 .woocommerce-product-gallery__thumbs li,
  .flex-control-thumbs li,
  .woocommerce-product-gallery__thumbs li,
  .small-image-item {
    all: unset !important;
    width: 100% !important;
    height: 80px !important;
    padding: 5px !important;
    margin: 0 !important;
    float: none !important;
    border: 1px solid #eee !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Hover states */
  .flex-control-thumbs li:hover,
  .woocommerce-product-gallery__thumbs li:hover,
  .small-image-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    z-index: 2 !important;
  }
  
  /* Thumbnail images */
  .woocommerce-product-gallery--columns-4 .flex-control-thumbs img,
  .woocommerce-product-gallery--columns-4 .woocommerce-product-gallery__thumbs img,
  .flex-control-thumbs img,
  .woocommerce-product-gallery__thumbs img,
  .small-images-grid img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 4px !important;
    display: block !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    background: #f8f8f8 !important;
    margin: 0 auto !important;
  }
  
  /* Active thumbnail */
  .woocommerce-product-gallery--columns-4 .flex-control-thumbs li.flex-active,
  .woocommerce-product-gallery--columns-4 .woocommerce-product-gallery__thumbs li.flex-active,
  .flex-control-thumbs li.flex-active,
  .woocommerce-product-gallery__thumbs li.flex-active,
  .woocommerce-product-gallery__image.flex-active-slide {
    border-color: #ff6b35 !important;
    box-shadow: 0 0 0 2px rgba(255,107,53,0.3) !important;
    z-index: 3 !important;
  }
  
  /* Slider Navigation */
  .slick-prev,
  .slick-next {
    display: none !important;
  }
  
  /* Slider Dots */
  .slick-dots {
    bottom: 5px !important;
  }
  
  /* Price and Button */
  .price {
    font-size: 13px !important;
    margin: 3px 0 !important;
  }
  
  .add_to_cart_button,
  .button {
    font-size: 11px !important;
    padding: 5px 8px !important;
    margin: 3px 0 !important;
    width: 100%;
  }
  
  /* Product Card */
  .product {
    padding: 3px !important;
    margin: 0 !important;
  }
}

/* Product Grid Container */
.products-grid,
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  padding: 0 15px !important;
  margin: 0 auto 30px !important;
  max-width: 1400px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  list-style: none !important;
}

/* Product Card */
.products-grid .product,
.products-grid .product-card,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  height: 100% !important;
}

/* Product Link */
.products-grid .product a,
.products-grid .product-card a,
.woocommerce ul.products li.product a {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}

/* Product Image Container */
.products-grid .product .woocommerce-loop-product__link,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  position: relative;
  padding: 15px !important;
  background: #f9f9f9;
  margin: 0 !important;
  width: 100%;
  height: 280px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}

/* Product Images */
.products-grid .product img,
.woocommerce ul.products li.product img {
  width: 167px !important;
  height: 250px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
  transition: transform 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    padding: 0 10px !important;
  }
}

@media (max-width: 992px) {
  .products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  /* Modern 2-column grid for mobile */
  .products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 8px !important;
    margin: 10px 0 20px !important;
  }
  
  /* Modern card styling for products */
  .products-grid > *,
  .woocommerce ul.products > li.product,
  .woocommerce-page ul.products > li.product {
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    margin: 0 !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  
  /* Hover effect */
  .products-grid > *:hover,
  .woocommerce ul.products > li.product:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.12) !important;
  }
  
  /* Product image */
  .products-grid .product img,
  .woocommerce ul.products li.product img {
    width: 100% !important;
    height: 160px !important;
    object-fit: contain !important;
    margin: 0 auto 10px !important;
    padding: 10px !important;
    background: #f9f9f9 !important;
    border-radius: 8px !important;
  }
  
  /* Product title */
  .products-grid .product h2,
  .woocommerce ul.products li.product h2 {
    font-size: 13px !important;
    margin: 0 0 8px !important;
    padding: 0 5px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    color: #333 !important;
    min-height: 34px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* Price styling */
  .products-grid .price,
  .woocommerce ul.products li.product .price {
    margin: 0 0 10px !important;
    padding: 0 5px !important;
  }
  
  .products-grid .price .amount,
  .woocommerce ul.products li.product .price .amount {
    color: #e74c3c !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }
  
  .products-grid .price del,
  .woocommerce ul.products li.product .price del {
    color: #999 !important;
    font-size: 12px !important;
    margin-right: 5px !important;
  }
  
  /* Add to cart button */
  .products-grid .add_to_cart_button,
  .woocommerce ul.products li.product .button {
    background: #3498db !important;
    color: white !important;
    border: none !important;
    padding: 10px 5px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: auto !important;
  }
  
  .products-grid .add_to_cart_button:hover,
  .woocommerce ul.products li.product .button:hover {
    background: #2980b9 !important;
    transform: translateY(-1px) !important;
  }
  
  .products-grid .product .woocommerce-loop-product__link,
  .woocommerce ul.products li.product .woocommerce-loop-product__link {
    height: 220px;
  }
  
  .products-grid .product img,
  .woocommerce ul.products li.product img {
    width: 140px !important;
    height: 200px !important;
  }
}

@media (max-width: 480px) {
  .products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 5px !important;
  }
  
  .products-grid .product .woocommerce-loop-product__link,
  .woocommerce ul.products li.product .woocommerce-loop-product__link {
    height: 200px;
  }
  
  .products-grid .product img,
  .woocommerce ul.products li.product img {
    width: 120px !important;
    height: 180px !important;
  }
  
  .products-grid .product h2,
  .woocommerce ul.products li.product h2 {
    font-size: 13px !important;
    min-height: 36px;
  }
  
  .products-grid .price ins,
  .woocommerce ul.products li.product .price ins {
    font-size: 14px !important;
  }
  
  .products-grid .price del,
  .woocommerce ul.products li.product .price del {
    font-size: 11px !important;
  }
  
  .products-grid .add_to_cart_button,
  .woocommerce ul.products li.product .button {
    font-size: 11px !important;
    padding: 6px 8px !important;
  }
}

.product-card h3 {
  font-size: 14px;
  margin: 8px 10px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 36px;
}

.product-card .price {
  font-size: 15px;
  font-weight: 700;
  color: #e67e22;
  margin: 5px 10px 10px;
}

.product-card .price del {
  color: #999;
  font-size: 13px;
  margin-right: 5px;
}

.product-card .add-to-cart {
  background: #f5f5f5;
  border: none;
  padding: 8px 10px;
  color: #555;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  border-top: 1px solid #eee;
}

.product-card .add-to-cart:hover {
  background: #e67e22;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 10px;
  }
  
  .product-card img {
    height: 130px;
  }
  
  .product-card h3 {
    font-size: 13px;
  }
  
  .product-card .price {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-card img {
    height: 120px;
  }
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  padding: 15px 15px 5px;
  margin: 0;
  font-size: 16px;
  color: #333;
  flex-grow: 1;
}

.product-card .price {
  padding: 0 15px;
  color: #e67e22;
  font-weight: bold;
  font-size: 18px;
}

.product-card .add-to-cart {
  background: #e67e22;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  margin-top: 10px;
}

.product-card .add-to-cart:hover {
  background: #d35400;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
  }
}

@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }
}

@media (max-width: 400px) {
  .products {
    grid-template-columns: 1fr;
  }
}

.product-info {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f5f5f5;
}

.product-title {
  font-size: 14px;
  margin: 0 0 10px;
  color: #333;
  line-height: 1.4;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 40px;
  height: 40px;
}

.price-container {
  margin-top: auto;
  padding-top: 8px;
}

.price {
  font-weight: 600;
  color: #e67e22;
  font-size: 16px;
  margin: 0;
  line-height: 1.2;
}

.price del {
  color: #999;
  font-size: 13px;
  margin-right: 5px;
  text-decoration: line-through;
  display: inline-block;
  margin-bottom: 2px;
}

.price .amount {
  font-size: 16px;
  color: #e74c3c;
  font-weight: 700;
}

.onsale {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 1;
}

/* Slider Styles */
.main-slider {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 30px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.slider-buttons {
  display: none;
}

.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 2;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-nav button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-nav button:hover {
  background: #e67e22;
  color: white;
  transform: scale(1.1);
}

.slider-nav button:active {
  transform: scale(0.95);
}

.slider-nav button i {
  font-size: 20px;
  color: #333;
  transition: all 0.3s ease;
}

.slider-nav button:hover i {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-slider {
    height: 427px;
  }

  .categories {
    justify-content: center;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .category-box {
       width: 100%;
    aspect-ratio: 1 / 1; /* kare yapmak için */
    border-radius: 6px;
    overflow: hidden;
  }
}

  .small-containers .box,
  .category-box {
    width: 100%;          /* sütun genişliğini kaplasın */
    aspect-ratio: 1 / 1;  /* her zaman kare */
    border-radius: 6px;
    overflow: hidden;
  }


.category-box h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.category-link {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: 3px;
  margin-top: 10px;
  transition: background 0.3s;
}

.category-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Products */
.featured-products,
.sale-products {
  padding: 40px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card.sale {
  position: relative;
}

.sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffbd59;
  color: #333;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9em;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 1.1em;
  margin: 10px;
  color: #333;
}

.price {
  display: block;
  padding: 0 10px;
  color: #ffbd59;
  font-weight: bold;
}

.price del {
  color: #666;
  margin-right: 5px;
}

.add-to-cart {
  width: 100%;
  padding: 10px;
  background: #ffbd59;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s;
}

.add-to-cart:hover {
  background: #ffd166;
}

.add-to-cart i {
  margin-right: 5px;
}

/* Search Bar */
.search-bar {
  max-width: 1320px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}

.search-bar form {
  display: flex;
  gap: 10px;
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 600px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px;
  font-size: 16px;
}

.search-button {
  background: #ffbd59;
  border: none;
  color: #333;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.search-button:hover {
  background: #ffd166;
}

.search-button i {
  margin-left: 5px;
}

/* Mobile Responsive 
@media (max-width: 768px) {
  .main-menu {
    display: none;
  }*/
  
  .hamburger-menu {
    display: block;
  }
  
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Mobil Menü gizleme - gösterme */

.main-menu.active {
  display: flex !important;
  flex-direction: column;
  gap: 15px;
  max-height: 500px;
}

.main-menu {
  max-height: 0;
  overflow: hidden;
  flex-direction: column;
  display: none;
}

/* Mobil Arama */

.mobile-search-bar {
  display: none;
  max-width: 1320px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}

.mobile-search-bar form input {
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 25px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.mobile-search-bar form input:focus {
  outline: none;
  border-color: #0073e6;
  box-shadow: 0 0 5px rgba(0, 115, 230, 0.5);
}

/* Slider */
/* Main Slider */
.main-slider {
  position: relative;
  width: 100%;
  max-width: 1320px;
  height: 515px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #f9f9f9;
}

.main-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.main-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.main-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.main-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.main-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

.slider-buttons {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.slider-buttons button {
  background: rgba(255,255,255,0.7);
  border: none;
  padding: 8px 12px;
  margin: 0 5px;
  border-radius: 20px;
  cursor: pointer;
}

.small-containers,
.category-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px auto;
  max-width: 1320px;
  flex-wrap: wrap; /* birden fazla satır için */
}

.small-containers .box,
.category-box {
  width: 300px;
  height: 300px;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.small-containers .box:hover {
  transform: scale(1.05);
}

/* Responsive 

@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }*/

  .header-topbar {
    padding: 10px 15px;
  }

  .logo {
    flex-grow: 1;
    text-align: center;
  }

  .header-icons {
    gap: 15px;
  }

  .main-menu {
    max-height: 0;
    overflow: hidden;
    display: none;
    width: 100%;
    border-radius: 0;
    background: #ffbd59;
    padding: 10px 20px;
  }

  .main-menu.active {
    display: flex !important;
    flex-direction: column;
  }

  .main-menu a {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
  }

  .mobile-search-bar {
    display: block;
  }

  .slider {
    height: 250px;
    margin: 15px 0;
    border-radius: 0;
  }

  .small-containers {
    flex-direction: column;
    max-width: 100%;
    margin: 20px auto;
    gap: 15px;
  }

  .small-containers .box {
        width: 100%;          /* 1fr ile tam genişlik */
    aspect-ratio: 1 / 1;  /* kare yapmak için */
    border-radius: 6px;   /* köşeleri yuvarlat */
    overflow: hidden;     /* taşmaları önler */
  }

  .slider-buttons button {
    padding: 6px 10px;
    margin: 0 3px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .slider {
    height: 180px;
  }

  .small-containers .box {
    height: 150px;
  }
}

/* ======================
   Product Detail Page
   ====================== */
.product-detail-page {
  background: #fff;
  padding: 20px 0 50px;
}

.product-detail-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Clearfix */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* Genel Düzen */
.product-detail-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

/* Sol Taraf - Ürün Görselleri */
.product-gallery-wrapper {
  width: 45%;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Sağ Taraf - Ürün Bilgileri */
.product-info-wrapper {
  width: 55%;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Ana Ürün Görseli */
.main-product-image {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.main-product-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 400px;
  object-fit: contain;
}

/* Küçük Görseller */
.product-thumbnails {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}

.thumbnail {
  width: 60px;
  height: 60px;
  margin: 0 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px;
  box-sizing: border-box;
  cursor: pointer;
  background: #fff;
}

.thumbnail:hover {
  border-color: #ff6b00;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Ürün Bilgileri */
.product-title {
  font-size: 24px;
  color: #333;
  margin: 0 0 15px;
  font-weight: 600;
  line-height: 1.3;
}

.product-short-desc {
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px;
  font-size: 15px;
  padding: 0 0 20px;
  border-bottom: 1px solid #eee;
}

.price-wrapper {
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid #eee;
}

.price {
  font-size: 28px;
  color: #e74c3c;
  font-weight: 700;
  margin: 0 15px 0 0;
  display: inline-block;
  vertical-align: middle;
}

.price-save {
  display: inline-block;
  color: #27ae60;
  font-size: 14px;
  font-weight: 500;
  background: #e8f8f0;
  padding: 3px 10px;
  border-radius: 3px;
  vertical-align: middle;
}

.stock-status {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.in-stock {
  color: #27ae60;
  font-weight: 500;
  font-size: 15px;
}

.in-stock i {
  margin-right: 5px;
}

.product-actions {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.product-meta {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.product-meta div {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .product-gallery-wrapper,
  .product-info-wrapper {
    width: 100%;
    float: none;
    margin-right: 0;
    padding: 0;
  }
  
  .product-gallery-wrapper {
    margin-bottom: 30px;
  }
}

.product-title {
  font-size: 24px;
  color: #333;
  margin: 0 0 20px;
  font-weight: 600;
  line-height: 1.3;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  width: 100%;
}

.product-short-desc {
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px;
  font-size: 15px;
  padding: 0 0 20px;
  border-bottom: 1px solid #eee;
  width: 100%;
}

/* Price Section */
.price-wrapper {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 0 0 20px;
  border-bottom: 1px solid #eee;
  width: 100%;
}

.price {
  font-size: 28px;
  color: #e74c3c;
  font-weight: 700;
  margin: 0;
}

.price-save {
  color: #27ae60;
  font-size: 14px;
  font-weight: 500;
  background: #e8f8f0;
  padding: 5px 10px;
  border-radius: 3px;
}
  gap: 8px;
  width: 100%;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  order: 3;
  flex: 0 0 auto;
  padding-right: 10px;
}

.in-stock {
  color: #27ae60;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.in-stock i {
  font-size: 18px;
}

.out-of-stock {
  color: #e74c3c;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.out-of-stock i {
  font-size: 18px;
}

/* Product Actions */
.product-actions {
  margin: 20px 0;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.quantity {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity input[type="number"] {
  width: 70px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
  border: none;
  -moz-appearance: textfield;
}

.quantity input[type="number"]::-webkit-outer-spin-button,
.quantity input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity .qty-button {
  position: absolute;
  top: 0;
  width: 35px;
  height: 100%;
  background: #f5f5f5;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.quantity .qty-button:hover {
  background: #eee;
}

.quantity .qty-minus {
  left: 0;
  border-right: 1px solid #ddd;
}

.quantity .qty-plus {
  right: 0;
  border-left: 1px solid #ddd;
}

.single_add_to_cart_button {
  flex: 1;
  min-width: 200px;
  height: 45px;
  background: #ff6b00;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.single_add_to_cart_button:hover {
  background: #e65c00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Product Meta */
.product-meta-info {
  margin-top: 20px;
  padding: 15px 0 0;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
  width: 100%;
}

.product-sku {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}

.product-categories {
  color: #666;
  font-size: 14px;
  margin: 10px 0 0;
}

/* Product Tabs */
.product-tabs-wrapper {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.product-tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eee;
  background: #f9f9f9;
}

.product-tabs li {
  margin: 0;
}

.product-tabs li a {
  display: block;
  padding: 15px 25px;
  color: #666;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  font-size: 15px;
}

.product-tabs li.active a,
.product-tabs li a:hover {
  color: #ff6b00;
  border-bottom-color: #ff6b00;
  background: #fff;
}

.tab-content {
  padding: 25px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-content h3 {
  margin-top: 0;
  color: #333;
  font-size: 20px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* Responsive */
@media (max-width: 992px) {
  .product-detail-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .product-gallery-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .product-info-wrapper {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  
  .main-product-image {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .product-detail-wrapper {
    padding: 15px;
  }
  
  .product-title {
    font-size: 22px;
  }
  
  .price {
    font-size: 24px;
  }
  
  .main-product-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 20px;
  }
  
  .price {
    font-size: 22px;
  }
  
  .product-thumbnails .thumbnail {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }
  
  .single_add_to_cart_button {
    width: 100%;
    max-width: 100%;
  }
  
  .tab-content {
    padding: 15px;
  }
}

/* ======================
   Product Detail Page
   ====================== */
.product-details-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 15px 40px;
}

.product-breadcrumbs {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.product-breadcrumbs a {
  color: #ffbd59;
  text-decoration: none;
}

.product-breadcrumbs a:hover {
  text-decoration: underline;
}

.product-details-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-top: 20px;
}

.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 30px;
}

/* Product Gallery */
.product-gallery {
  position: relative;
}

.product-image-container {
  margin-bottom: 20px;
}

.product-image-wrapper {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  text-align: center;
}

.product-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

.product-thumbnail {
  width: 70px;
  height: 70px;
  border: 2px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: #ffbd59;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info-wrapper {
  padding: 15px 0;
}

.product-info {
  position: sticky;
  top: 20px;
}

.product-title {
  font-size: 28px;
  color: #333;
  margin: 0 0 15px;
  font-weight: 600;
  line-height: 1.3;
}

.product-price {
  font-size: 24px;
  color: #e74c3c;
  font-weight: 700;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.sale-badge {
  background: #e74c3c;
  color: white;
  font-size: 14px;
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 600;
}

.stock-box {
  margin-bottom: 20px;
  font-size: 15px;
}

.stock-label {
  color: #666;
  margin-right: 8px;
}

.in-stock {
  color: #27ae60;
  font-weight: 500;
}

.out-of-stock {
  color: #e74c3c;
  font-weight: 500;
}

.product-short-description {
  margin: 20px 0;
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

/* Product Meta */
.product-meta {
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
  width: 100%;
}

.meta-label {
  font-weight: 600;
  color: #444;
  margin-right: 5px;
}

.product-categories,
.product-tags,
.sku-wrapper {
  margin-bottom: 8px;
}

/* Product Description Tabs */
.product-description-wrapper {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.woocommerce-tabs {
  width: 100%;
}

.woocommerce-Tabs-panel {
  padding: 20px 0;
  line-height: 1.7;
  color: #444;
}

.woocommerce-Tabs-panel h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
}

.woocommerce-Tabs-panel p {
  margin-bottom: 15px;
}

/* Related Products */
.related.products {
  grid-column: 1 / -1;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.related.products > h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
}

/* Responsive */
@media (max-width: 992px) {
  .product-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-info {
    position: static;
  }
}

@media (max-width: 768px) {
  .product-content {
    padding: 20px 15px;
  }
  
  .product-title {
    font-size: 24px;
  }
  
  .product-price {
    font-size: 22px;
  }
  
  .product-thumbnail {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 22px;
  }
  
  .product-price {
    font-size: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ======================
   Enhanced Add to Cart Button
   ====================== */
.single_add_to_cart_button {
  background: #ffbd59 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 35px !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
  max-width: 300px !important;
  margin: 25px 0 !important;
  cursor: pointer;
  text-decoration: none !important;
  text-align: center;
}

.single_add_to_cart_button:hover {
  background: #e6a63f !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.single_add_to_cart_button:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 3px rgba(0,0,0,0.1) !important;
}

.single_add_to_cart_button .fa-shopping-cart {
  font-size: 18px !important;
  margin-right: 5px !important;
}

/* Quantity input styles */
.quantity {
  margin: 15px 0 !important;
  display: flex !important;
  align-items: center !important;
}

.quantity input.qty {
  padding: 10px !important;
  text-align: center !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  width: 60px !important;
  height: 45px !important;
  font-size: 16px !important;
  margin-right: 10px !important;
}

/* Variations dropdown styles */
.variations {
  margin: 15px 0 !important;
  width: 100% !important;
}

.variations select {
  padding: 12px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  width: 100% !important;
  max-width: 300px !important;
  font-size: 15px !important;
  background-color: #fff !important;
}

.variations label {
  font-weight: 600 !important;
  margin-bottom: 5px !important;
  display: block !important;
  color: #333 !important;
}

/* Reset variations link */
.reset_variations {
  margin-top: 10px !important;
  display: inline-block !important;
  color: #ff4d4d !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: color 0.2s ease !important;
}

.reset_variations:hover {
  text-decoration: underline !important;
  color: #e60000 !important;
}

/* Product actions container */
.product-actions {
  margin: 25px 0 !important;
  padding: 20px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 15px !important;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
/* === Mamamax Product Detail Page === */
.mamamax-product-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.product-container {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

/* Product Gallery */
.product-gallery-col {
    flex: 0 0 48%;
    max-width: 48%;
}

.main-image-wrapper {
    position: relative;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.main-product-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff3b30;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    margin: 0 -5px;
}

.gallery-thumbnails .thumbnail {
    width: 70px;
    height: 70px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: #fff;
    padding: 3px;
}

.gallery-thumbnails .thumbnail:hover,
.gallery-thumbnails .thumbnail.active {
    border-color: #ff6b00;
}

.gallery-thumbnails .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Product Info */
.product-info-col {
    flex: 1;
    padding: 0 15px;
}

.product-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.product-title {
    font-size: 24px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 600;
    line-height: 1.3;
}

.product-sku {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.product-sku span {
    font-weight: 500;
    color: #333;
}

.product-categories {
    font-size: 14px;
    color: #666;
}

.product-categories .category {
    color: #ff6b00;
    text-decoration: none;
    transition: color 0.2s;
}

.product-categories .category:hover {
    text-decoration: underline;
}

/* Price Section */
.price-section {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    border: 1px solid #eee;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #ff6b00;
    margin: 0;
    line-height: 1.2;
}

.sale-price {
    font-size: 28px;
    font-weight: 700;
    color: #ff3b30;
    margin: 0;
    line-height: 1.2;
}

.regular-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin: 5px 0 0;
}

.tax-info {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* Stock Status */
.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
}

.stock-status.instock {
    background: #e8f5e9;
    color: #2e7d32;
}

.stock-status.outofstock {
    background: #ffebee;
    color: #c62828;
}

.status-icon {
    font-size: 16px;
}

/* Product Actions */
.product-actions {
    margin: 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.quantity {
    margin: 0;
    position: relative;
    width: 120px;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity input[type="number"] {
    width: 100%;
    height: 100%;
    padding: 0 35px;
    text-align: center;
    font-size: 16px;
    border: none;
    -moz-appearance: textfield;
}

.quantity input[type="number"]::-webkit-outer-spin-button,
.quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity .qty-button {
    position: absolute;
    top: 0;
    width: 35px;
    height: 100%;
    background: #f5f5f5;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity .qty-button:hover {
    background: #eee;
}

.quantity .qty-minus {
    left: 0;
    border-right: 1px solid #ddd;
}

.quantity .qty-plus {
    right: 0;
    border-left: 1px solid #ddd;
}

.single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    height: 45px;
    background: #ff6b00;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.single_add_to_cart_button:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Product Short Description */
.product-short-description {
    margin: 25px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #ff6b00;
}

.product-short-description h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.product-short-description p {
    margin: 0 0 10px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Product Meta */
.product-meta {
    margin: 25px 0;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.meta-item {
    display: flex;
    margin-bottom: 12px;
    font-size: 14px;
}

.meta-label {
    min-width: 100px;
    color: #666;
}

.meta-value {
    color: #333;
    font-weight: 500;
}

.meta-value a {
    color: #ff6b00;
    text-decoration: none;
    transition: color 0.2s;
}

.meta-value a:hover {
    text-decoration: underline;
}

/* Product Tabs */
.product-tabs-wrapper {
    margin: 40px 0 0;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    position: relative;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 25px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: #ff6b00;
    background: #fff;
    border-bottom-color: #ff6b00;
}

.woocommerce-Tabs-panel {
    padding: 25px;
    background: #fff;
}

.woocommerce-Tabs-panel h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

/* Related Products */
.related-products {
    margin: 60px 0 0;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-products h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.related-products h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff6b00;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.related-product {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.related-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-product a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 15px;
    text-align: center;
}

.related-product img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.related-product h3 {
    font-size: 15px;
    margin: 0 0 10px;
    font-weight: 500;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product .price {
    font-size: 18px;
    color: #ff6b00;
    font-weight: 700;
    margin: 0;
}

.related-product .price del {
    font-size: 14px;
    color: #999;
    margin-right: 5px;
    text-decoration: line-through;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-gallery-col,
    .product-info-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .woocommerce-tabs ul.tabs {
        flex-wrap: wrap;
    }
    
    .woocommerce-tabs ul.tabs li {
        flex: 1 0 auto;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .quantity {
        width: 100%;
    }
    
    .single_add_to_cart_button {
        width: 100%;
    }
    
    .meta-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .meta-label {
        min-width: auto;
    }
}

/* Animation for Add to Cart Button */
@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.single_add_to_cart_button.added {
    background: #4caf50;
    animation: buttonPulse 0.5s ease;
}

/* Loading State */
.single_add_to_cart_button.loading:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltip for Product Actions */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    margin-left: 5px;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
    font-size: 18px;
}

/* Add to Cart Button */
.product-actions {
    margin: 25px 0;
}

.single_add_to_cart_button {
    background: #ff6b00 !important;
    color: white !important;
    border: none !important;
    padding: 14px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.single_add_to_cart_button:hover {
    background: #e65c00 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Quantity Input */
.quantity {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
}

.quantity .qty {
  width: 60px;
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  -moz-appearance: textfield;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product Meta */
.product-meta {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.meta-item {
  margin-bottom: 10px;
  font-size: 14px;
  display: flex;
  gap: 10px;
}

.meta-label {
  font-weight: 600;
  color: #555;
  min-width: 100px;
}

/* Product Tabs */
.product-tabs {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

/* Mamamax product layout */
.woocommerce .mamamax-product-container,
.woocommerce-page .mamamax-product-container {
  max-width: 1200px;
  margin: 30px auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding: 0 15px;
}

/* Product Gallery */
.mamamax-product-gallery {
  flex: 1 1 55%;
  max-width: 700px;
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.woocommerce-product-gallery {
  width: 100%;
}

.woocommerce-product-gallery__image img,
.woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  max-height: 620px;
}

.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
}

.woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Summary */
.mamamax-product-summary {
  flex: 1 1 40%;
  max-width: 420px;
  background: #fff;
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mamamax-product-summary .product_title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.mamamax-product-summary .price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #e67e22;
  margin: 10px 0;
}

.mamamax-product-summary del {
  color: #999;
  font-size: 0.95rem;
}

/* Add to Cart Button */
.single_add_to_cart_button {
  background: #ff6600 !important;
  color: #fff !important;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer;
  transition: background 0.18s ease !important;
  margin-top: 12px;
  text-transform: uppercase;
}

.single_add_to_cart_button:hover {
  background: #e65c00 !important;
}

/* Sale Badge */
.onsale, .sale {
  background: #ff8a00;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Product Tabs Container */
.mamamax-product-tabs {
  max-width: 1200px;
  margin: 30px auto 60px;
  padding: 26px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .woocommerce .mamamax-product-container { gap: 24px; padding: 0 12px; }
  .mamamax-product-gallery,
  .mamamax-product-summary { max-width: 100%; flex-basis: 100%; }
  .woocommerce-product-gallery__image img { max-height: 420px; }
}

/* Mobil Slider, Small Görseller ve Searchbar */
@media (max-width: 768px) {
  /* Slider */
  body.home .main-slider {
    height: 180px !important;
    border-radius: 8px !important;
    margin: 5px auto 10px !important;
    max-width: 98% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
  
  body.home .main-slider .slide img {
    object-fit: cover !important;
    border-radius: 8px !important;
  }
  
  /* Slider navigation buttons */
  .slider-nav button {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
  
  /* Slider dots */
  .slick-dots {
    bottom: 5px !important;
  }
  
  .slick-dots li button:before {
    font-size: 10px !important;
  }

  /* Small Containers */
  body.home .small-containers {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin: 20px auto !important;
  }
  body.home .small-containers .box {
    width: 100% !important;
    height: 160px !important;
    border-radius: 6px !important;
  }

  /* Categories 30px */
  body.home .categories .category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 6px !important;
  }
  body.home .categories .category-grid .category-box {
    height: 30px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }
  body.home .categories .category-grid .category-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Search Bar */
  body.home .search-bar {
    max-width: 100% !important;
    padding: 0 10px !important;
  }
  body.home .search-bar form {
    flex-direction: row !important;
    gap: 8px !important;
  }
  body.home .search-bar input[type="search"] {
    font-size: 14px !important;
    padding: 10px !important;
  }
  body.home .search-button {
    padding: 10px 15px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  /* Smaller slider for very small devices */
  body.home .main-slider { 
    height: 160px !important;
    margin: 0 auto 8px !important;
  }
  
  /* Adjust small containers */
  body.home .small-containers .box { 
    height: 120px !important;
    margin-bottom: 8px !important;
  }
  
  /* Make sure slider images are properly contained */
  .main-slider .slide img {
    height: 100% !important;
    object-fit: cover !important;
  }
  
  /* Hide navigation arrows on very small screens */
  .slider-nav {
    display: none !important;
  }
  
  /* Make dots more visible */
  .slick-dots li button:before {
    color: #fff !important;
    opacity: 0.7 !important;
  }
  
  .slick-dots li.slick-active button:before {
    color: #fff !important;
    opacity: 1 !important;
  }

/* =============================
   Mobil Header Düzeni (Yeni, Çakışmasız)
============================= */
/* =============================
   Mobil Header Düzeni (768px altı)
============================= */
@media (max-width: 768px) {
  /* Header container */
  .header-topbar {
    padding: 10px 15px;
    position: relative;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  /* Mobile menu button on the left */
  .mobile-menu-toggle {
    order: 1;
    padding: 8px;
    margin-right: 10px;
  }
  
  /* Logo in the center */
  .logo {
    order: 2;
    flex-grow: 1;
    text-align: center;
    padding: 0 10px;
  }
  
  .logo .logo-img {
    height: 120px;
    max-width: 250px;
    min-width: 200px;
    width: auto;
    object-fit: contain;
  }
  
  /* Icons on the right */
  .header-icons {
    order: 3;
    margin-left: auto;
    gap: 15px;
  }
  
  /* Search bar - hide on mobile */
  .search-bar {
    display: none;
  }

  /* Hamburger solda */
  .mobile-menu-toggle {
    order: 1;
    flex: 0 0 auto;
    display: block;
  }
  .hamburger-menu {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
  }

  /* Logo ortada */
  .logo {
    order: 2;
    flex: 1;
    text-align: center;
  }
  .logo .logo-img {
    height: 120px;
    max-width: 250px;
    min-width: 200px;
    width: auto;
    object-fit: contain;
  }

  /* Sepet ve profil sağda */
  .header-icons {
    order: 3;
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
  }

  /* Arama kutusu alt satırda, tam genişlik */
  .search-bar {
    order: 4;
    width: 100%;
    margin-top: 10px;
  }
  .search-bar form {
    width: 100%;
    display: flex;
  }
  .search-bar input[type="search"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
  }
  .search-bar .search-button {
    padding: 0 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 16px;
  }

  /* Menü mobilde yandan açılır */
  .main-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: left 0.3s ease;
    z-index: 999;
  }
  .main-menu.active {
    left: 0;
  }
  .main-menu a {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  /* Menü overlay */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }
  .menu-overlay.active {
    display: block;
  }
}
