/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2D6A4F;
  --primary-dark: #1B4332;
  --primary-light: #40916C;
  --primary-lighter: #52B788;
  --secondary: #D4A373;
  --secondary-light: #E9C46A;
  --accent: #264653;
  --bg: #FEFDF8;
  --bg-alt: #F0EDE6;
  --bg-white: #FFFFFF;
  --text: #2B2B2B;
  --text-light: #5A5A5A;
  --text-muted: #9A9A9A;
  --border: #E2DDD5;
  --shadow-sm: 0 2px 8px rgba(45, 106, 79, 0.06);
  --shadow: 0 4px 20px rgba(45, 106, 79, 0.08);
  --shadow-lg: 0 12px 40px rgba(45, 106, 79, 0.12);
  --shadow-hover: 0 16px 48px rgba(45, 106, 79, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 140px;
  height: auto;
  animation: preloaderPulse 1.4s ease-in-out infinite;
}

.preloader-bar {
  width: 120px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 24px auto 0;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  animation: preloaderSlide 1s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER ===== */
.header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  max-width: 1440px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.logo-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  transition: transform var(--transition);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.12));
  margin-top: -30px;
  margin-bottom: -100px;
}

.logo:hover .logo-img {
  transform: scale(1.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-left {
  justify-content: flex-end;
  padding-right: 40px;
}

.nav-right {
  justify-content: flex-start;
  padding-left: 40px;
  padding-right: 60px;
}

.nav a {
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.05rem;
  transition: all var(--transition);
  color: var(--text-light);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.nav a:hover {
  color: var(--primary);
  background: rgba(45, 106, 79, 0.06);
}

.nav a.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-wrapper > a .fa-chevron-down {
  font-size: 0.65rem;
  margin-left: 4px;
  transition: transform var(--transition);
}

.nav-dropdown-wrapper:hover > a .fa-chevron-down {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
  margin-top: 8px;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-bottom: none;
  border-right: none;
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-wrapper:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: var(--text-light) !important;
  background: none !important;
  box-shadow: none !important;
  white-space: nowrap;
  transition: all var(--transition);
  border-radius: 0 !important;
}

.nav-dropdown a:hover {
  background: rgba(45, 106, 79, 0.06) !important;
  color: var(--primary) !important;
  padding-left: 24px !important;
}

.nav-dropdown .dropdown-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger:hover {
  background: rgba(45, 106, 79, 0.06);
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(228, 196, 106, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
  margin-right: 8px;
  color: var(--secondary-light);
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: var(--secondary-light);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: inherit;
  letter-spacing: 0.2px;
}

.btn i {
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(212, 163, 115, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 163, 115, 0.45);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-title .line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card .icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.08), rgba(45, 106, 79, 0.04));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  transition: all var(--transition);
}

.category-card:hover .icon {
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.15), rgba(45, 106, 79, 0.08));
  transform: scale(1.05);
}

.category-card h3 {
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 600;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-card .product-img {
  width: 100%;
  height: 220px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
  position: relative;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-card .product-info {
  padding: 22px;
}

.product-card .product-category {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: rgba(45, 106, 79, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
}

.product-card h3 {
  font-size: 1.1rem;
  margin: 10px 0;
  color: var(--text);
  font-weight: 600;
}

.product-card .product-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.product-card .product-price .old-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

.product-card .btn {
  width: 100%;
  margin-top: 14px;
  text-align: center;
}

/* ===== FEATURES ===== */
.features {
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.feature-item:hover {
  background: rgba(45, 106, 79, 0.03);
}

.feature-item .icon-circle {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.1), rgba(45, 106, 79, 0.04));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  color: var(--primary);
  transition: all var(--transition);
}

.feature-item:hover .icon-circle {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(45, 106, 79, 0.25);
}

.feature-item h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== ABOUT PAGE ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 18px;
  font-weight: 700;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-image {
  background: linear-gradient(135deg, var(--bg-alt), var(--border));
  border-radius: var(--radius);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: rgba(45, 106, 79, 0.08);
  border-radius: 50%;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.value-item {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.value-item .icon-circle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.1), rgba(45, 106, 79, 0.04));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  color: var(--primary);
}

.value-item h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form {
  background: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.92rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition);
  background: var(--bg);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
  background: var(--bg-white);
}

.form-group textarea {
  height: 130px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-item {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.contact-info-item:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.contact-info-item .icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.1), rgba(45, 106, 79, 0.04));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
}

.contact-info-item h4 {
  color: var(--primary-dark);
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-info-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== CATALOG TOOLBAR ===== */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 18px 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.catalog-toolbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.catalog-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-filter-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.catalog-filter-group select {
  padding: 9px 36px 9px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--text);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A5A5A' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: all var(--transition);
  min-width: 180px;
}

.catalog-filter-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.catalog-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg-alt);
  padding: 6px 16px;
  border-radius: 50px;
}

/* ===== DISCOUNT TAG & SAVINGS ===== */
.discount-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 2;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.35);
}

.discount-savings {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #27ae60;
  background: rgba(39, 174, 96, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
}

.discount-savings i {
  font-size: 0.85rem;
}

/* ===== LEGAL CONTENT ===== */
.legal-content {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

.legal-updated {
  background: var(--bg-alt);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 28px;
}

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.legal-content h3:first-of-type {
  margin-top: 0;
}

.legal-content h4 {
  font-size: 1rem;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.legal-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 0.94rem;
}

.legal-content ul,
.legal-content ol {
  color: var(--text-light);
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 0.94rem;
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: 6px;
}

/* ===== ALERT ===== */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(45, 106, 79, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(45, 106, 79, 0.2);
}

.alert-danger {
  background: #fdf0f0;
  color: #9b1c1c;
  border: 1px solid #fecaca;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-header p {
  opacity: 0.85;
  font-size: 1.05rem;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 22px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--bg-white);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition);
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text-light);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(45, 106, 79, 0.04);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

/* ===== HEADER CART ICON ===== */
.cart-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(45, 106, 79, 0.08);
  color: var(--primary);
  font-size: 1.15rem;
  transition: all var(--transition);
  z-index: 15;
  padding: 0 !important;
}

.cart-icon:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  line-height: 1;
}

.cart-badge.bounce {
  animation: cartBounce 0.5s ease;
}

@keyframes cartBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
  background: var(--bg-alt);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.breadcrumb-bar a {
  color: var(--text-light);
  transition: color var(--transition);
}

.breadcrumb-bar a:hover {
  color: var(--primary);
}

.breadcrumb-bar i {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.breadcrumb-bar span {
  color: var(--primary);
  font-weight: 600;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 120px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0.6;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-detail .product-category {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: rgba(45, 106, 79, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.product-info-detail h1 {
  font-size: 2rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.product-price-detail {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-price-detail .old-price {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.discount-badge {
  display: inline-block;
  background: #e74c3c;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.product-description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.product-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--primary);
  color: white;
}

.qty-selector input {
  width: 52px;
  height: 44px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  background: transparent;
  color: var(--text);
  -moz-appearance: textfield;
}

.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-cart {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.35);
  padding: 13px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cart:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 106, 79, 0.45);
}

.btn-full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ===== PRODUCT CARD BUTTONS ===== */
.product-card-buttons {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.btn-outline-sm {
  flex: 1;
  padding: 10px 12px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary);
  background: transparent;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-outline-sm:hover {
  background: var(--primary);
  color: white;
}

.btn-cart-sm {
  flex: 1;
  padding: 10px 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-cart-sm:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== TOAST NOTIFICATION ===== */
#toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 400px;
  animation: toastSlideIn 0.4s ease forwards;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

.toast.toast-out {
  animation: toastSlideOut 0.3s ease forwards;
}

.toast .toast-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(45, 106, 79, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}

.toast .toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: color var(--transition);
}

.toast .toast-close:hover {
  color: var(--text);
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ===== CART PAGE ===== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
}

.cart-item-name {
  font-weight: 600;
  color: var(--text);
}

.cart-item-name a {
  color: var(--text);
  transition: color var(--transition);
}

.cart-item-name a:hover {
  color: var(--primary);
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 8px;
  border-radius: 50%;
  transition: all var(--transition);
}

.cart-remove-btn:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.08);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty i {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: block;
}

.cart-empty h3 {
  color: var(--text);
  margin-bottom: 10px;
}

.cart-empty p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.cart-summary {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  margin-top: 24px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.cart-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

/* ===== ORDER PAGE ===== */
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.order-summary {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  position: sticky;
  top: 120px;
}

.order-summary h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.order-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.order-item-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.order-item-details {
  flex: 1;
}

.order-item-name {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
}

.order-item-qty {
  color: var(--text-light);
  font-size: 0.82rem;
}

.order-item-price {
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 4px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.order-success {
  text-align: center;
  padding: 60px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.order-success h2 {
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.order-success p {
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--accent);
  color: white;
  padding: 60px 0 24px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-logo-col {
  display: flex;
  align-items: flex-start;
}

.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(1.1);
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--secondary-light);
  font-weight: 600;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  padding: 4px 0;
  transition: all var(--transition);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--secondary-light);
  padding-left: 6px;
}

.footer-payment {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.footer-payment img {
  height: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px 20px;
  border-radius: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.88rem;
}

/* ===== CHECKOUT IYZICO ===== */
.checkout-iyzico {
  text-align: center;
  margin-top: 16px;
}

.checkout-iyzico img {
  max-width: 260px;
  height: auto;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
  z-index: 998;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo-col {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .footer-logo {
    width: 70px;
    height: 70px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: none;
  }

  .logo {
    order: 1;
    margin: 0;
  }

  .logo-img {
    width: 140px;
    height: 140px;
    margin-top: -10px;
    margin-bottom: -50px;
  }

  .hamburger {
    order: 2;
    position: absolute;
    right: 24px;
    top: 20px;
  }

  .nav-left, .nav-right {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
  }

  .header.menu-open .nav-left,
  .header.menu-open .nav-right {
    display: flex;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
  }

  .nav-dropdown-wrapper {
    width: 100%;
  }

  .nav-dropdown-wrapper > a {
    width: 100%;
    text-align: center;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    min-width: auto;
    width: 100%;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: var(--bg-alt);
    display: none;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-wrapper:hover .nav-dropdown,
  .nav-dropdown-wrapper.open .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    justify-content: center;
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
  }

  .hero {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
  }

  .category-card {
    padding: 24px 14px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }

  .catalog-toolbar-left {
    flex-direction: column;
    gap: 12px;
  }

  .catalog-filter-group {
    width: 100%;
  }

  .catalog-filter-group select {
    flex: 1;
    min-width: auto;
    width: 100%;
  }

  .catalog-toolbar-right {
    justify-content: center;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-gallery {
    position: static;
  }

  .order-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .cart-actions {
    flex-direction: column;
  }

  .cart-icon {
    position: absolute;
    right: 70px;
    top: 20px;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin: 0;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }

  .back-to-top {
    bottom: 86px;
    right: 22px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    width: 60px;
    height: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    padding: 55px 0;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .section {
    padding: 45px 0;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 7px 16px;
    font-size: 0.82rem;
  }

  .product-info-detail h1 {
    font-size: 1.5rem;
  }

  .product-price-detail {
    font-size: 1.4rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn-cart {
    width: 100%;
    justify-content: center;
  }

  #toast-container {
    right: 12px;
    left: 12px;
  }

  .toast {
    min-width: auto;
    max-width: 100%;
  }
}
