:root {
  /* Yeni Renk Paleti */
  --primary: #5a5a5a; /* Ana mor tonu */
  --primary-dark: #000000; /* Koyu mor */
  --primary-light: #000000; /* Açık mor */
  --secondary: #a2cee6; /* Turkuaz */
  --secondary-dark: #00ACC1;
  --accent: #ffffff; /* Altın sarısı */
  --accent-dark: #ffffff;
  --bg-gradient-from: #eeeef8; /* Açık mor geçişi */
  --bg-gradient-to: #f3eef3;
  --bg-card: #FFFFFF;
  --text: #424242; /* Ana metin rengi */
  --text-light: #757575;
  --text-lighter: #BDBDBD;
  --border: #E0E0E0;
  --radius: 12px;
  --error: #EF5350;
  --success: #66BB6A;
  --warning: #FFA726;
  --bg: #FAFAFA;
  --secondary-color: #ffffff;
  --text-color: #424242;
  --light-text: #757575;
  --border-color: #E0E0E0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-dark);
  font-weight: 600;
}

/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-gradient-from), var(--bg-gradient-to));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease, transform 1s ease;
}

.splash-content {
  text-align: center;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.splash-logo-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 30px;
  position: relative;
  animation: float 3s ease-in-out infinite;
  border-radius: 50%;
  padding: 20px;

}

.splash-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.splash-text {
  margin-bottom: 40px;
}

.splash-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.3s;
}

.splash-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.splash-progress {
  width: 250px;
  height: 6px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  animation: progress 1.4s ease-in-out forwards;
}

/* Animasyonlar */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progress {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Splash çıkış animasyonu */
.splash-screen.hide {
  opacity: 0;
  transform: scale(0.95);
}

.splash-screen.hide .splash-content {
  transform: translateY(-30px);
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  background-color: var(--bg-card);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 2000;
  transition: var(--transition);
}

/* Mobile menu overlay */
.menu-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0);
  display: none;
  z-index: 1500;
}

.header-scrolled {
  padding: 0.5rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Logo Grubu */
.logo-group {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: auto;
}

/* Logo Kutusu */
.logo-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: var(--transition);
}

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

/* Logo Metni */
.logo-text {
  margin-left: 0.8rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-dark);
  transition: var(--transition);
}

.logo-highlight {
  color: var(--primary);
}

/* Navigasyon */
.menu-area {
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  gap: 15px;
}

.main-nav button, .dropdown-menu-mobile button,
.main-nav a, .dropdown-menu-mobile a {
  background: none;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
  font-weight: 500;
}

/* Desktop nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > button { display:flex; align-items:center; gap:8px; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--bg-card); box-shadow: var(--shadow); border-radius: 10px;
  display: none; flex-direction: column; padding: 8px; z-index: 101;
}
.nav-dropdown-menu button { width:100%; text-align:left; padding:10px 12px; border-radius:8px; }
.nav-dropdown.open .nav-dropdown-menu { display: flex; }

/* Mobile submenu */
.mobile-submenu { display:flex; flex-direction:column; }
.mobile-submenu-toggle { padding: 15px 25px; text-align:left; background:none; border:none; }
.mobile-submenu-menu { display:none; flex-direction:column; }
.mobile-submenu.open .mobile-submenu-menu { display:flex; }

.main-nav button:hover, .dropdown-menu-mobile button:hover,
.main-nav a:hover, .dropdown-menu-mobile a:hover {
  background-color: var(--primary-light);
  color: white;
}

.main-nav button.active,
.main-nav a.active {
  background-color: var(--primary);
  color: white;
}

.menu-admin {
  background-color: var(--accent-dark) !important;
  color: white !important;
}

.menu-admin:hover {
  background-color: var(--accent) !important;
}

/* Mobile Menu */
.menu-toggle-mobile {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 5px;
}

/* Mobile Dropdown */
.dropdown-menu-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background-color: var(--bg-card);
  box-shadow: -2px 0 20px rgba(0,0,0,0.22);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  z-index: 2500;
  overflow-y: auto;
  padding-top: 70px;
}

.dropdown-menu-mobile .mobile-close{
  position:absolute; top:12px; left:12px;
  width:36px; height:36px; border-radius:50%; border:none;
  background:rgba(0,0,0,0.05); color:var(--text);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:var(--transition);
}
.dropdown-menu-mobile .mobile-close:hover{ background:rgba(0,0,0,0.08); }

.dropdown-menu-mobile.show { transform: translateX(0); }

.dropdown-menu-mobile button {
  padding: 15px 25px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text);
  transition: var(--transition);
}

.dropdown-menu-mobile button:hover {
  background-color: var(--primary-light);
  color: white;
}

.dropdown-menu-mobile button:last-child {
  border-bottom: none;
}

/* Mobile submenu polish */
.mobile-submenu-toggle { display:flex; align-items:center; gap:10px; }
.mobile-submenu-toggle .fa-chevron-down { margin-left:auto; transition: transform .2s ease; }
.mobile-submenu.open .mobile-submenu-toggle .fa-chevron-down { transform: rotate(180deg); }
.mobile-submenu-menu { background: rgba(0,0,0,0.02); }
.mobile-submenu-menu button { padding-left: 34px; }

/* Load more */
.load-more-wrap { display:flex; justify-content:center; margin-top:20px; }
.load-more-btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.load-more-btn:hover { transform: translateY(-2px); }

.load-more-icon {
  margin-left: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.load-more-icon i { font-size: 1.1rem; color: var(--primary); }
.load-more-icon:hover { transform: translateY(-2px) scale(1.05); }

/* Advertisement Card */
.ad-card {
  margin: 1.5rem auto;
  max-width: 1200px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  padding: 1rem;
  text-align: center;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* Main Content */
.page-content {
  padding: 2.5rem;
  min-height: calc(100vh - 150px);
}

/* Home shell: sidebar + content */
.home-shell { display:none; }
/* removed legacy sidebar filter styles */
/* favorites aside removed */

/* Filter Card Polished */
/* removed filter-card styles */

@media (max-width: 1200px) {
  .home-shell { grid-template-columns: 1fr; }
  .home-sidebar { position: static; }
}

/* Desktop adjustments: move favorites a bit right and down */
/* removed sidebar adjustments */

.page-title {
  font-family: 'Playfair Display', serif;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}

/* Home top toolbar */
.home-toolbar { display:flex; align-items:center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.toolbar-group { display:flex; align-items:center; gap:10px; background:transparent; border:none; padding: 0; box-shadow: none; }
.toolbar-label { font-size:.9rem; color: var(--text-light); }
.home-toolbar select {
  padding:10px 12px;
  padding-right: 36px;
  min-width: 150px;
  border:1px solid var(--border);
  border-radius:10px;
  background-color:#fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%23777' d='M5.5 7l4.5 4.5L14.5 7'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
}
.home-toolbar select:hover { border-color: var(--primary-light); }
.home-toolbar select:focus { outline:none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.15); }

@media (max-width: 576px) {
  .home-toolbar { justify-content: space-between; padding: 0 8px; }
}
/* Favorites Floating Button */
.favorites-button {
  position: fixed;
  bottom: 110px; /* above WhatsApp button */
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #e57373;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 2000;
  box-shadow: 0 6px 20px rgba(229, 115, 115, 0.35);
  transition: var(--transition);
}
.favorites-button:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(229, 115, 115, 0.45);
}
.favorites-button .fav-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #d32f2f;
  color: #fff;
  font-size: 11px;
  border-radius: 10px;
  padding: 0 6px;
  line-height: 18px;
  height: 18px;
  min-width: 18px;
  display: none;
  align-items: center;
  justify-content: center;
}

@media (max-width: 576px) {
  .favorites-button {
    bottom: 100px;
    right: 20px;
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* removed legacy top filter container */

/* Product Grid */
.menu-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px auto 0;
  max-width: 1080px;
  width: 100%;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; /* iki resim arasında boşluk */
  margin: 10px auto 0;
  max-width: 1080px;
}
.gallery-item {
  position: relative;
  background:#fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color); /* çerçeve */
  opacity: 0; /* animasyon başlangıcı */
  animation: galleryFadeIn 520ms ease forwards;
}
.gallery-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display:block; aspect-ratio: 1 / 1; }
.gallery-item .gallery-actions { position:absolute; top:8px; right:8px; display:flex; gap:6px; }
.gallery-item .delete-btn { background:rgba(0,0,0,0.6); color:#fff; border:none; border-radius:8px; padding:6px 8px; cursor:pointer; }

@media (max-width: 992px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Galeri fade-in animasyonu */
@keyframes galleryFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1200px) {
  .menu-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background-color: #fdfdfd;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.8s ease;
  position: relative;
}

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

.product-img-container {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  position: relative;
}


.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.card-arrow i { pointer-events: none; }
.card-arrow.left { left: 10px; }
.card-arrow.right { right: 10px; }

.product-card:hover .product-img {
  transform: scale(1.05);
}

/* Favorite icon on cards */
.fav-btn {
  position:absolute; top:10px; left:10px; z-index:2;
  background:rgba(255,255,255,0.9); border:none; width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:var(--shadow);
  color:#e57373; transition:var(--transition);
}
.fav-btn.active { background:#e57373; color:#fff; }
.fav-btn:hover { transform: scale(1.05); }

/* Favorite in header */
.fav-header-btn { background:none; border:none; position:relative; margin-left:8px; cursor:pointer; }
.fav-count { position:absolute; top:-6px; right:-6px; background:#e57373; color:#fff; font-size:11px; border-radius:10px; padding:0 6px; line-height:18px; height:18px; }

.product-card .product-info {
  padding: 10px;
}

.product-card .product-title {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .product-price {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.product-card .product-short {
  font-size: 0.8rem;
  color: var(--text-light);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-edit-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255,255,255,0.9);
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--primary);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 2;
}

.product-edit-btn:hover {
  background-color: var(--primary);
  color: white;
}


/* Product Detail Page */
.product-detail-container {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 3.5rem;
}

@media (min-width: 992px) {
  .product-detail-container {
    flex-direction: row;
  }
  /* Ensure desktop keeps original spacious height */
  .product-gallery { min-height: 360px; }
  .product-main-image { max-height: 420px; padding: 1rem; }
}

.product-gallery {
  position: relative;
  flex: 1;
  min-height: 360px;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main-image {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease;
  padding: 1rem;
}

/* Image index badge */
.image-index-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 0.9rem;
  z-index: 3;
}

/* Slide-in animations for main image */
.slide-in-left { animation: slideInLeft 220ms ease both; }
.slide-in-right { animation: slideInRight 220ms ease both; }

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.product-gallery {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--secondary-color);
  border-radius: var(--radius) var(--radius) 0 0;
}

.product-main-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: var(--secondary-color);
}

.product-main-image {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.product-thumbnails-container {
  width: 100%;
  padding: 1rem;
  background-color: white;
  border-top: 2px solid var(--border-color);
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex;
  justify-content: center;
}

.product-thumbnails {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.thumbnail {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.thumbnail.active {
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: 1px 3px 6px rgba(0,0,0,0.12);
}

.thumbnail:hover {
  border-color: var(--primary-light);
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-main-image-container {
    padding: 1.5rem;
  }

  .product-thumbnails-container {
    padding: 0.8rem;
  }

  .thumbnail { width: 52px; height: 52px; }
}

@media (max-width: 576px) {
  .product-main-image-container {
    padding: 1rem;
  }

  .thumbnail { width: 48px; height: 48px; }
}

.product-info {
  flex: 1;
  padding: 1.2rem;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.product-price {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--light-text);
  font-size: 0.95rem;
}

.meta-item i { color: var(--primary-light); font-size: 0.9rem; }

.product-description {
  margin-bottom: 1.1rem;
  white-space: pre-line;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.55;
  color: var(--text);
  font-size: 0.92rem;
}

.product-description p {
  margin-bottom: 1.2rem;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  padding: 0.55rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.88rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(94, 53, 177, 0.3);
}

/* Product detail: WhatsApp order button black with white icon/text */
.product-actions .btn-primary { background-color: #000 !important; color: #fff !important; }
.product-actions .btn-primary:hover { background-color: #111 !important; }
.product-actions .btn-primary .fa-whatsapp { color: #fff !important; }
.product-actions .btn-primary:hover .fa-whatsapp { color: #fff !important; }

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(94, 53, 177, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: rgba(94, 53, 177, 0.1);
  transform: translateY(-2px);
}

.wpDetay-button {
  background-color: #25D366;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.wpDetay-button:hover {
  background-color: #20bd57;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.social-link.whatsapp {
  background-color: #25D366;
}

.social-link.instagram {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-link.facebook {
  background-color: #3b5998;
}

.social-link.twitter {
  background-color: #1DA1F2;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-hover);
}

/* Image Modal */
.img-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: zoom-out;
}

.img-modal.active {
  display: flex;
}

.img-modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.img-modal-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.img-modal-img.zoomed {
  transform: scale(1.8);
  cursor: grab;
}

.img-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background-color: rgba(0,0,0,0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.img-modal-close:hover {
  background-color: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

.img-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.img-modal-nav:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
}

.img-modal-nav.prev {
  left: 30px;
}

.img-modal-nav.next {
  right: 30px;
}

/* Navigation Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.nav-arrow:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.15);
}

.nav-arrow.prev {
  left: 20px;
}

.nav-arrow.next {
  right: 20px;
}

.nav-arrow i {
  color: var(--primary);
  font-size: 1.3rem;
}

/* Favorite button on product detail gallery */
.product-gallery .fav-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
}

/* Loading States */
.loading {
  text-align: center;
  padding: 3rem;
  font-size: 1.2rem;
  color: var(--text-light);
}

.loading-spinner {
  border: 4px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  border-top: 4px solid var(--primary);
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.error {
  color: var(--error) !important;
  font-weight: 500;
}

/* Add/Edit Product Form */
.add-product-card {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 2rem;
}

.product-form-fields input,
.product-form-fields textarea,
.product-form-fields select {
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
}

.product-form-fields input:focus,
.product-form-fields textarea:focus,
.product-form-fields select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.2);
}

.product-form-fields textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row > * {
  flex: 1;
}

.file-input-container {
  position: relative;
  margin-bottom: 10px;
}

.file-input-label {
  display: block;
  padding: 12px 18px;
  background-color: var(--primary-light);
  color: white;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  box-shadow: var(--shadow);
}

/* Helper: muted small text */
.mt-2 { margin-top: 1rem; }

.file-input-label:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

.file-input-container input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
}

.preview-item {
  width: 90px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-image {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: var(--error);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.remove-image:hover {
  transform: scale(1.1);
}

.product-form-fields button {
  padding: 14px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  margin-top: 10px;
  box-shadow: var(--shadow);
}

.product-form-fields button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* About Page */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
}

 .about-content { display:flex; gap:3rem; margin-bottom:3rem; align-items:center; }
 .about-slider { flex:1; max-width:500px; width:100%; position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-hover); background:#fff; height:360px; min-height:240px; }
 .about-slide { display:none; position:absolute; inset:0; width:100%; height:100%; }
 .about-slide.active { display:block; }
 .about-slide img { width:100%; height:100%; object-fit:cover; display:block; }
 .about-slider-nav { position:absolute; top:50%; left:0; right:0; display:flex; justify-content:space-between; transform:translateY(-50%); padding:0 10px; z-index:2; }
 .about-nav-btn { width:40px; height:40px; border-radius:50%; border:none; background:rgba(255,255,255,0.9); color:var(--primary); box-shadow:var(--shadow); cursor:pointer; }
 .about-slider-dots { position:absolute; bottom:10px; left:0; right:0; display:flex; justify-content:center; gap:8px; z-index:2; }
 .about-slider-dots .dot { width:10px; height:10px; border-radius:50%; background:#ddd; cursor:pointer; }
 .about-slider-dots .dot.active { background:var(--primary); }

.about-text {
  flex: 2;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.about-text p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: var(--text);
}

.team-section {
  margin-top: 4rem;
  text-align: center;
}

.team-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.team-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.team-members {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.5rem;
}

.team-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow);
  width: 260px;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.team-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--secondary);
  transition: var(--transition);
}

.team-card:hover img {
  border-color: var(--primary);
}

.team-card h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.team-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team-social a {
  color: var(--primary-light);
  font-size: 1.2rem;
  transition: var(--transition);
}

.team-social a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Contact Page */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 3rem 0;
}

.contact-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  align-items: flex-start;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.contact-text p, .contact-text a {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  text-decoration: none;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--primary);
}

.contact-form-container {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 3rem;
}

.contact-form-container h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
  text-align: center;
}

.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 2rem;
}

.contact-form-container input,
.contact-form-container textarea {
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.2);
}

.contact-form-container textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form-container button {
  padding: 14px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.contact-form-container button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.map-container {
  margin-top: 3rem;
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Modal Styles */
.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.modal-bg.active {
  display: none;
}

.modal {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  width: 90%;
  max-width: 850px;
  padding: 30px;
  position: relative;
  animation: modalFadeIn 0.4s ease;
  box-shadow: var(--shadow-hover);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--primary);
  background-color: rgba(0,0,0,0.05);
}

.modal-img-container {
  margin-bottom: 25px;
  position: relative;
  cursor: zoom-in;
}

.modal-img {
  max-width: 100%;
  max-height: 400px;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow);
}

.modal-img.zoomed {
  transform: scale(1.8);
  cursor: grab;
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 15px;
}
.slider-arrow-btn {
  width: 45px;
  height: 45px;
  background-color: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.slider-arrow-btn:hover {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

.modal-content {
  padding: 0 15px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.product-tag {
  background-color: var(--secondary);
  color: var(--primary-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.product-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 1.5rem;
  margin: 20px 0;
}

.order-text {
  font-size: 1rem;
  color: var(--text);
  text-transform: capitalize;
  margin-bottom: 5px;
}

.modal-title {
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-size: 1.8rem;
  text-align: center;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
}

.modal-desc {
  color: var(--text);
  margin-bottom: 25px;
  white-space: pre-line;
  line-height: 1.8;
}

.rent-button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 20px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.rent-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.date-input {
  flex: 1;
}

.date-input label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.date-input input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: var(--transition);
}

.date-input input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.2);
}

.price-summary {
  background-color: var(--secondary-color);
  padding: 20px;
  border-radius: var(--radius);
  margin: 25px 0;
  box-shadow: var(--shadow);
}

.price-summary p {
  margin-bottom: 8px;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
}

.price-summary .total-price {
  font-weight: 700;
  color: var(--primary);
  margin-top: 15px;
  font-size: 1.3rem;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

/* Admin Login */
.admin-login-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.admin-login-bg.active {
  display: flex;
}

.admin-login-box {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  width: 90%;
  max-width: 450px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-hover);
}

/* Admin login modal close button: smaller and tight to top-right */
.admin-login-box .modal-close {
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  font-size: 0.95rem;
  background: rgba(0,0,0,0.04);
  color: var(--text);
  z-index: 2;
}
.admin-login-box .modal-close:hover {
  background: rgba(0,0,0,0.08);
  color: var(--primary);
}
.admin-login-box .modal-close i { pointer-events: none; }

.admin-login-box h2 {
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.admin-login-box input {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.admin-login-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.2);
}

.admin-login-box button {
  width: 100%;
  padding: 14px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 15px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.admin-login-box button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.admin-login-err {
  color: var(--error);
  font-size: 0.95rem;
  margin-top: 15px;
  min-height: 20px;
  font-weight: 500;
}

.edit-product-modal {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  box-shadow: var(--shadow-hover);
  position: relative;
}

/* Footer */
.site-footer {
  background-color: #2E2E2E;
  color: #FFFFFF;
  padding: 3rem 1rem 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  padding: 0 15px;
}

.footer-column h4 {
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  color: var(--secondary);
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a,
.footer-column ul li button {
  color: #E0E0E0;
  text-decoration: none;
  font-size: 0.95rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.footer-column ul li a:hover,
.footer-column ul li button:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer-wp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25D366;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.footer-social a {
  color: var(--secondary);
  font-size: 1.4rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--primary-light);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #BDBDBD;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  z-index: 2000;
  box-shadow: 0 6px 20px rgba(100, 211, 200, 5);
  transition: var(--transition);
}

.whatsapp-button:hover {
  background-color: #20bd57;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
  z-index: -5;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

/* Secret Login (for admin access) */
.secret-login {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  opacity: 0;
  z-index: 3000;
  cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-content {
    padding: 1.5rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .product-detail-container {
    flex-direction: column;
  }

  .product-gallery {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.5rem 1rem;
    height: 70px;
  }

  .logo-container {
    width: 45px;
    height: 45px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle-mobile {
    display: block;
  }

  .dropdown-menu-mobile { top: 0; }

  .page-title {
    font-size: 1.8rem;
  }

  .filter-container {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-container select {
    width: 100%;
  }

  .menu-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .team-card {
    width: 100%;
    max-width: 300px;
  }

  .modal {
    padding: 25px 15px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  /* Product detail: compact layout on tablets/mobiles */
  .product-detail-container { margin-top: 1rem; }
  .page-title { margin-bottom: 0.9rem; }
  .product-gallery { min-height: 260px; }
  .product-main-image { max-height: 280px; padding: 0.6rem; }
  .product-thumbnails { gap: 0.5rem; }
  .product-info { padding: 0.9rem; }
  .product-price { font-size: 1rem; margin-bottom: 0.6rem; }
  .product-description { font-size: 0.88rem; line-height: 1.45; margin-bottom: 0.9rem; }
  .product-actions { gap: 0.7rem; margin-top: 1rem; }
  .btn { padding: 0.5rem 0.85rem; font-size: 0.86rem; }
  .social-links { margin-top: 0.9rem; gap: 0.7rem; }
  .social-link { width: 40px; height: 40px; }
}

@media (max-width: 576px) {
  .page-content {
    padding: 1rem;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .menu-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-img-container { aspect-ratio: 4 / 3; }

  .product-card .product-info { padding: 10px; }
  .product-card .product-title { font-size: 0.95rem; }
  .product-card .product-price { font-size: 0.9rem; }
  .product-card .product-short { font-size: 0.8rem; }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }

  .whatsapp-button {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    bottom: 20px;
    right: 20px;
  }

  /* Product detail: extra compact on small phones */
  .page-title { font-size: 1.5rem; margin-bottom: 0.7rem; }
  .product-gallery { min-height: 220px; }
  .product-main-image { max-height: 240px; padding: 0.5rem; }
  .product-info { padding: 0.8rem; }
  .product-price { font-size: 0.98rem; margin-bottom: 0.5rem; }
  .product-description { font-size: 0.86rem; line-height: 1.42; margin-bottom: 0.8rem; }
  .product-actions { gap: 0.6rem; margin-top: 0.8rem; }
  .btn { padding: 0.48rem 0.8rem; font-size: 0.84rem; }
  .social-link { width: 38px; height: 38px; }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.d-flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.flex-column {
  flex-direction: column;
}

.w-100 {
  width: 100%;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Print Styles */
@media print {
  header, .whatsapp-button, footer {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .page-content {
    padding: 0;
  }

  a {
    text-decoration: none;
    color: black;
  }

  .no-print {
    display: none !important;
  }
}
