/* ======================
  Global Styles
====================== */
html {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  background: #fafafa;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff4e50;
  text-decoration: underline;
}

/* ======================
  Header
====================== */
.sh-header-main {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #ffffffcc;
  backdrop-filter: blur(6px);
  box-shadow: none;
  transition: box-shadow 0.3s ease;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sh-header-main.scrolled {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sh-header-main nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
  font-size: 1rem;
}

.sh-header-main nav a {
  padding: 8px 12px;
  border-radius: 8px;
}

.sh-header-main nav a:hover {
  background: #ff4e50;
  color: #fff;
}

.search-input {
  width: 280px;
  padding: 12px 16px;
  border-radius: 40px;
  border: 2px solid #ff4e50;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
  border-color: #f9d423;
  box-shadow: 0 0 8px #f9d423;
}

/* ======================
  Hero Section
====================== */
.hero-section {
  position: relative;
  height: 90vh;
  background:
    linear-gradient(135deg, rgba(255,78,80,0.7), rgba(249,212,35,0.7)),
    url('hero-banner.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  font-size: 1.125rem;
  animation: fadeIn 1.5s ease-in-out forwards;
  user-select: none;
}

.hero-content {
  max-width: 720px;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  pointer-events: none;
  z-index: 0;
}

.hero-content h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 3px;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

.hero-content p {
  font-weight: 500;
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  border: none;
  padding: 16px 48px;
  border-radius: 50px;
  color: #111;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(249,212,35,0.6);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(249,212,35,0.9);
  transform: scale(1.05);
}

/* ======================
  Featured Products
====================== */
.featured-products {
  max-width: 1280px;
  margin: 80px auto 120px;
  padding: 0 24px;
  text-align: center;
}

.featured-products h2 {
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: #222;
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 32px;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 20px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  position: relative;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 28px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card h3 {
  font-weight: 600;
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 12px;
  text-align: center;
}

.price {
  font-weight: 700;
  font-size: 1rem;
  color: #f95d22;
  margin-bottom: 20px;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #ff4e50;
  border-radius: 50px;
  padding: 12px 32px;
  color: #ff4e50;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  background: #ff4e50;
  color: white;
}

/* Add to Cart Button */
.btn-add-cart {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff4e50;
  color: white;
  border: none;
  padding: 14px 44px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 78, 80, 0.5);
  transition: background 0.3s ease, transform 0.3s ease;
  width: calc(100% - 48px);
}

.btn-add-cart:hover {
  background: #e04346;
  transform: translateX(-50%) scale(1.05);
}

/* ======================
  Value Propositions Section
====================== */
.value-props {
  max-width: 960px;
  margin: 80px auto 60px;
  display: flex;
  justify-content: space-around;
  gap: 48px;
  background: linear-gradient(135deg, #f9e2a8, #fff1dc);
  box-shadow: 0 10px 25px rgba(249,212,35,0.15);
  padding: 40px 20px;
  border-radius: 20px;
  text-align: center;
}

.prop {
  max-width: 220px;
}

.prop h3 {
  font-weight: 700;
  font-size: 1.25rem;
  color: #ff4e50;
  margin-bottom: 12px;
}

.prop p {
  font-weight: 400;
  font-size: 1rem;
  color: #444;
}

/* ======================
  Exit Intent Popup
====================== */
.exit-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  width: 320px;
  max-width: 90vw;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  z-index: 15000;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.exit-popup.show {
  transform: translate(-50%, -50%) scale(1);
}

.exit-popup h2 {
  color: #ff4e50;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.4rem;
}

.exit-popup button {
  background: #ff4e50;
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.exit-popup button:hover {
  background: #e04346;
}

}
