/* ========== FISHLAH MOCKUP STYLES ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2E7D32;
  --primary-dark: #1B5E20;
  --secondary: #4CAF50;
  --accent: #81C784;
  --dark: #0a0a0a;
  --dark-soft: #1a1a1a;
  --light: #f1f8e9;
  --gray: #555555;
  --light-gray: #d7e8d0;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.12);
  --radius: 12px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

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

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: var(--dark);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}
.navbar .logo span { color: var(--white); }
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a {
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 15px; }

/* Language Toggle */
.lang-toggle {
  display: flex;
  background: var(--light-gray);
  border-radius: 20px;
  overflow: hidden;
  font-size: 0.85rem;
}
.lang-toggle span {
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.lang-toggle span.active {
  background: var(--dark);
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-cart {
  background: var(--secondary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  position: relative;
}
.btn-cart .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--dark);
  color: var(--accent);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 40px;
  text-align: center;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero h1 { font-size: 3rem; margin-bottom: 15px; font-weight: 800; }
.hero p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; max-width: 600px; }
.hero-buttons { display: flex; gap: 15px; }
.hero .btn-primary { background: var(--secondary); color: var(--white); }
.hero .btn-primary:hover { background: var(--accent); color: var(--dark); }
.hero .btn-outline { border-color: var(--accent); color: var(--accent); }
.hero .btn-outline:hover { background: var(--accent); color: var(--dark); }

/* ========== SECTIONS ========== */
.section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 40px;
}

/* ========== CATEGORIES ========== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  cursor: pointer;
}
.category-card:hover { transform: translateY(-5px); }
.category-card .icon { font-size: 3rem; margin-bottom: 12px; }
.category-card h3 { font-size: 1.1rem; margin-bottom: 5px; }
.category-card p { font-size: 0.85rem; color: var(--gray); }

/* ========== PRODUCT CARDS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-3px); }
.product-img {
  height: 200px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray);
}
.product-info { padding: 20px; }
.product-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.product-info .price {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.product-info .tag {
  display: inline-block;
  background: #e8f5e9;
  color: var(--primary-dark);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 10px;
  margin-right: 5px;
}
.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

/* ========== WHY SECTION ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.why-card {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.why-card .icon { font-size: 2.5rem; margin-bottom: 15px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 0.9rem; color: var(--gray); }

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: #f9a825; margin-bottom: 10px; }
.testimonial-card p { font-style: italic; color: var(--gray); margin-bottom: 12px; }
.testimonial-card .author { font-weight: 600; }

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: var(--light);
  padding: 50px 40px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
}
.footer h4 { margin-bottom: 15px; color: var(--accent); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; opacity: 0.8; font-size: 0.9rem; }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.6;
  font-size: 0.85rem;
}

/* ========== PAGE HEADER (for inner pages) ========== */
.page-header {
  background: linear-gradient(135deg, var(--dark), var(--primary-dark));
  color: white;
  padding: 40px;
  text-align: center;
}
.page-header h1 { font-size: 2rem; }
.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 5px;
}

/* ========== FILTERS ========== */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--light-gray);
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
}
.filter-btn.active {
  background: var(--dark);
  color: var(--accent);
  border-color: var(--dark);
}

/* ========== PRODUCT DETAIL ========== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.product-gallery {
  background: var(--light-gray);
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.product-detail-info h1 { font-size: 1.8rem; margin-bottom: 10px; }
.product-detail-info .price { font-size: 1.8rem; color: var(--primary); font-weight: 700; margin-bottom: 15px; }
.product-detail-info .description { color: var(--gray); margin-bottom: 20px; line-height: 1.8; }
.qty-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.qty-selector button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--light-gray);
  background: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}
.qty-selector span { font-size: 1.2rem; font-weight: 600; }

/* ========== CART ========== */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 40px;
}
.cart-item {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 15px;
  align-items: center;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  background: var(--light-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 1rem; }
.cart-item-info .price { color: var(--primary); font-weight: 700; }
.cart-item .remove { color: #dc3545; cursor: pointer; font-size: 0.85rem; }
.cart-summary {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.cart-summary h3 { margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 1px solid var(--light-gray);
  padding-top: 12px;
  margin-top: 5px;
}

/* ========== CHECKOUT ========== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 40px;
}
.form-section {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.form-section h3 { margin-bottom: 15px; color: var(--dark); }
.form-group { margin-bottom: 15px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--gray);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 0.95rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* ========== LOGIN ========== */
.auth-container {
  max-width: 420px;
  margin: 60px auto;
  padding: 0 20px;
}
.auth-card {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.auth-card h2 { text-align: center; margin-bottom: 25px; }
.auth-tabs {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--light-gray);
}
.auth-tabs span {
  flex: 1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray);
}
.auth-tabs span.active {
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary-dark);
  margin-bottom: -2px;
}
.divider {
  text-align: center;
  color: var(--gray);
  margin: 20px 0;
  font-size: 0.85rem;
}
.social-login { display: flex; flex-direction: column; gap: 10px; }
.social-btn {
  padding: 10px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ========== MOCKUP LABEL ========== */
.mockup-banner {
  background: var(--dark);
  color: var(--accent);
  text-align: center;
  padding: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .categories-grid, .why-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
  .navbar { padding: 10px 20px; }
  .nav-links { display: none; }
  .nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 15px 20px;
    box-shadow: var(--shadow);
    z-index: 99;
  }
  .nav-links.show a { padding: 8px 0; }
}
