/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
/* Search Overlay Styles */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-container {
  background: #fff;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.search-form {
  display: flex;
  flex: 1;
  border-bottom: 2px solid #111;
}

.search-form input {
  width: 100%;
  border: none;
  outline: none;
  padding: 10px 5px;
  font-size: 16px;
}

.search-submit-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0 10px;
  color: #111;
}

.close-search-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555;
  padding: 5px;
}

.close-search-btn:hover {
  color: #e21b23;
}
body {
  color: #111;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #f7f7f7;
  text-align: center;
  padding: 8px 15px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #eaeaea;
}

/* Header & Desktop Nav */
.site-header {
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-toggle-btn {
  display: none; /* Hidden on desktop */
  font-size: 20px;
  color: #222;
}

.logo a {
  font-size: 26px;
  font-weight: 900;
  color: #e21b23;
  letter-spacing: 1px;
}

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

.main-nav a {
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #e21b23;
}

.header-actions {
  display: flex;
  gap: 15px;
}

.icon-btn {
  font-size: 18px;
  color: #222;
}

/* Mobile Slide-out Menu Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1001;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-nav-drawer.open {
  left: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.drawer-header h3 {
  font-size: 16px;
  font-weight: bold;
}

.close-btn {
  font-size: 22px;
  color: #222;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-links a {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  color: #222;
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  color: #e21b23;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .main-nav {
    display: none; /* Hide desktop horizontal menu */
  }

  .menu-toggle-btn {
    display: block; /* Show hamburger button */
  }
}

/* Main Content Layout */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
  flex: 1;
  width: 100%;
}

.page-title {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
}

.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #f5f5f5;
  overflow: hidden;
}

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

.badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: red;
  color: #fff;
  font-size: 10px;
  padding: 4px 8px;
  font-weight: bold;
}

.badge.new-badge {
  background-color: #ff6b6b;
  font-size: 11px;
  padding: 5px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wishlist-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  color: #e21b23;
}

.product-info {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 10px;
  color: #777;
  font-weight: bold;
}

.product-title {
  font-size: 12px;
  font-weight: normal;
  color: #333;
  line-height: 1.3;
  height: 32px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.price {
  font-size: 13px;
  font-weight: bold;
}

.add-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Footer */
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: auto;
}

.footer-links {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  text-align: center;
  padding-bottom: 30px;
}

@media (max-width: 768px) {
  .footer-links { flex-direction: column; }
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

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

.footer-col ul li a {
  font-size: 12px;
  color: #aaa;
}

.copyright {
  text-align: center;
  color: #666;
  font-size: 11px;
  border-top: 1px solid #222;
  padding-top: 20px;
}
/* Section Base */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  border-top: 1px solid #eaeaea;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  text-align: center;
}

/* Reviews Layout */
.reviews-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .reviews-layout {
    grid-template-columns: 1fr;
  }
}

.review-form-wrapper h3,
.reviews-list h3 {
  font-size: 16px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 14px;
}

.star-rating-select {
  display: flex;
  gap: 5px;
  font-size: 20px;
  color: #ccc;
  cursor: pointer;
}

.star-rating-select .fa-star.active {
  color: #f39c12;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/hero.jpg') center/cover;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 10px;
}

.hero-btn {
  background: #e21b23;
  color: #fff;
  padding: 12px 28px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
  margin-top: 15px;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background: #c71820;
}

@media (max-width: 768px) {
  .hero {
    height: 40vh;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}

/* Notification Toast */
.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 15px 20px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 3000;
  animation: slideIn 0.3s ease, slideOut 0.3s ease 3.7s;
  max-width: 300px;
}

.toast-notification.success {
  background: #28a745;
}

.toast-notification.error {
  background: #e21b23;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .toast-notification {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

.submit-review-btn {
  background-color: #000;
  color: #fff;
  padding: 12px 20px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  width: 100%;
  transition: background 0.2s;
}

.submit-review-btn:hover {
  background-color: #e21b23;
}

/* Review Cards */
.review-card {
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 15px;
  background: #fafafa;
}

.review-stars {
  color: #f39c12;
  font-size: 12px;
  margin-bottom: 5px;
}

.review-heading {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
}

.review-author {
  font-size: 11px;
  color: #666;
  margin-bottom: 8px;
}

.review-text {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}