* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff5f5;
  color: #333;
}

/* ===== Top Banner ===== */
.top-banner {
  background: linear-gradient(90deg, #c62828, #ff1744, #ff9100, #ff1744, #c62828);
  background-size: 300% 100%;
  animation: gradientMove 6s linear infinite;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 0;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ===== Header ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  padding: 12px 30px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(183, 28, 28, 0.4);
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
}

.logo-icon {
  font-size: 32px;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.logo-text span {
  color: #ffd600;
}

.search-box {
  display: flex;
  flex: 1;
  max-width: 550px;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  border: 3px solid #ffd600;
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: 14px;
  background: transparent;
}

.search-box button {
  background: #ffd600;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  font-size: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}

.nav-link:hover {
  color: #ffd600;
  transform: scale(1.05);
}

.nav-link.wa {
  background: #25d366;
  padding: 8px 14px;
  border-radius: 25px;
}

.nav-link.wa:hover {
  background: #1ebe5b;
  color: #fff;
}

.cart-btn {
  background: #ffd600;
  border: none;
  color: #333;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 25px;
  cursor: pointer;
  position: relative;
  font-size: 15px;
}

.cart-count {
  background: #d32f2f;
  color: #fff;
  border-radius: 50%;
  padding: 1px 7px;
  font-size: 12px;
  margin-left: 4px;
}

/* ===== Categories ===== */
.categories {
  display: flex;
  gap: 10px;
  padding: 18px 30px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 3px solid #ffebee;
  position: sticky;
  top: 64px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cat-btn {
  background: #fff;
  border: 2px solid #ffcdd2;
  color: #d32f2f;
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
}

.cat-btn:hover {
  background: #ffebee;
}

.cat-btn.active {
  background: linear-gradient(135deg, #ff1744, #d32f2f);
  color: #fff;
  border-color: #ff1744;
  transform: scale(1.05);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  margin: 25px 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}

.slide {
  display: none;
  padding: 70px 60px;
  background: linear-gradient(135deg, #ff1744, #ff9100, #d32f2f);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  color: #fff;
  min-height: 280px;
  text-align: center;
}

.slide.active {
  display: block;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.slide h1 {
  font-size: 44px;
  margin-bottom: 12px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

.slide p {
  font-size: 19px;
  margin-bottom: 25px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.slide p strong {
  color: #ffd600;
}

.hero-btn {
  display: inline-block;
  background: #fff;
  color: #d32f2f;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.hero-btn:hover {
  transform: translateY(-4px) scale(1.05);
  background: #ffd600;
}

.dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: 0.3s;
}

.dots span.active {
  background: #ffd600;
  transform: scale(1.3);
}

/* ===== Deals strip ===== */
.deals-strip {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 0 30px 20px;
  background: #fff;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #ffd600;
}

.deals-strip div {
  font-weight: 700;
  color: #555;
  font-size: 16px;
}

.deals-strip span {
  font-size: 22px;
  margin-right: 6px;
}

/* ===== Section title ===== */
.section-title {
  text-align: center;
  font-size: 32px;
  margin: 35px 0 25px;
  color: #b71c1c;
}

.section-title span {
  background: linear-gradient(135deg, #ff1744, #ff9100);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Products ===== */
.products {
  padding: 10px 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
  max-width: 1300px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(50, 50, 50, 0.1);
  transition: 0.35s;
  border: 3px solid transparent;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: #ffd600;
  box-shadow: 0 15px 35px rgba(211, 47, 47, 0.25);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 0;
  background: #ff1744;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 0 20px 20px 0;
  z-index: 5;
}

.product-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  background: linear-gradient(135deg, #fff5f5, #ffebee, #fff8e1);
  transition: 0.3s;
}

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

.product-info {
  padding: 15px;
}

.product-info h3 {
  font-size: 17px;
  color: #333;
  margin-bottom: 6px;
}

.product-stars {
  color: #ff9100;
  font-size: 14px;
  margin-bottom: 8px;
}

.product-stars span {
  color: #999;
  font-size: 12px;
  margin-left: 5px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.price {
  font-size: 20px;
  font-weight: 900;
  color: #b71c1c;
}

.old-price {
  text-decoration: line-through;
  color: #aaa;
  font-size: 13px;
}

.discount {
  color: #188038;
  font-weight: 700;
  font-size: 13px;
}

.product-btns {
  display: flex;
  gap: 8px;
}

.add-btn {
  flex: 1;
  background: linear-gradient(135deg, #ff1744, #d32f2f);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.add-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 23, 68, 0.4);
}

.wa-btn {
  flex: 1;
  background: #25d366;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
}

.wa-btn:hover {
  background: #1ebe5b;
  transform: scale(1.05);
}

/* ===== About ===== */
.about {
  background: linear-gradient(135deg, #ff1744, #d32f2f);
  color: #fff;
  margin: 40px 30px;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.35);
}

.about .section-title {
  color: #ffd600;
}

.about .section-title span {
  background: none;
  -webkit-text-fill-color: #fff;
}

.about p {
  font-size: 17px;
  margin-bottom: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.wa-big-btn {
  display: inline-block;
  background: #fff;
  color: #25d366;
  font-weight: 900;
  font-size: 18px;
  padding: 15px 30px;
  border-radius: 50px;
  margin-top: 15px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: 0.3s;
  border: 3px solid #25d366;
}

.wa-big-btn:hover {
  background: #25d366;
  color: #fff;
  transform: scale(1.05);
}

/* ===== Footer ===== */
footer {
  background: #1a0a0a;
  color: #fff;
  padding: 40px 30px 20px;
}

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

footer h4 {
  color: #ffd600;
  margin-bottom: 12px;
  font-size: 18px;
}

footer a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 8px;
}

footer a:hover {
  color: #ffd600;
}

footer p {
  color: #ddd;
  line-height: 1.7;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #333;
  color: #999;
  font-size: 14px;
}

/* ===== Cart Drawer ===== */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
}

.overlay.show {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  z-index: 210;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  color: #fff;
}

.cart-header h3 {
  font-size: 20px;
}

.cart-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid #ffebee;
}

.cart-item-emoji {
  font-size: 40px;
  background: #fff5f5;
  padding: 8px;
  border-radius: 10px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 14px;
  color: #333;
}

.cart-item-info .qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item-info .qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.cart-item-price {
  font-weight: 800;
  color: #b71c1c;
}

.remove-item {
  background: none;
  border: none;
  color: #ff1744;
  cursor: pointer;
  font-size: 15px;
}

.cart-empty {
  text-align: center;
  padding: 50px 20px;
  color: #999;
}

.cart-empty span {
  font-size: 60px;
  display: block;
  margin-bottom: 15px;
}

.cart-footer {
  padding: 18px;
  border-top: 2px solid #ffebee;
  background: #fff;
}

.cart-total {
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 12px;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s;
}

.checkout-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.cart-footer small {
  display: block;
  text-align: center;
  color: #999;
  margin-top: 8px;
  font-size: 12px;
}

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
  z-index: 150;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-float:hover {
  transform: scale(1.1);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 105px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #333;
  color: #fff;
  padding: 13px 25px;
  border-radius: 50px;
  font-weight: 600;
  z-index: 300;
  opacity: 0;
  transition: 0.4s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  header {
    padding: 12px 15px;
  }

  .categories {
    top: 58px;
    padding: 12px 15px;
  }

  .hero {
    margin: 15px;
  }

  .slide {
    padding: 50px 20px;
    min-height: 220px;
  }

  .slide h1 {
    font-size: 28px;
  }

  .products {
    padding: 10px 15px;
  }

  .about {
    margin: 25px 15px;
    padding: 25px;
  }

  .nav-link {
    display: none;
  }
}