/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #FFFFFF;
  color: #333;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

/* Header */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FCC3C2;
  padding: 15px 30px;
  flex-wrap: wrap;
}

.header-left,
.header-center,
.header-right {
  flex: 1;
  text-align: center;
}

.header-center {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.header-left {
  text-align: left;
}

.header-right {
  text-align: right;
}

.logo {
  height: 250px;
  width: 250px;
  border-radius: 50%;
}

.store-info {
  display: inline-block;
  text-align: left;
}

.store-title {
  font-family: 'Poppins', serif;
  font-size: 55px;
  color: #FFFFFF;
  font-weight: bold;
  margin: 0;
}

.store-subtext {
  font-family: 'Poppins', serif;
  font-size: 24px;
  color: #FFFFFF;
  margin-top: 4px;
  display: block;
}

.header-right a:hover {
  color: #ffe6f0;
}

/* Search Container */
.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.search-input {
  padding: 10px 15px;
  border-radius: 25px;
  border: 1px solid #ccc;
  width: 250px;
  font-size: 16px;
}

.search-btn {
  padding: 10px 18px;
  border: none;
  background-color: #333;
  color: white;
  border-radius: 25px;
  cursor: pointer;
}

.search-btn:hover {
  background-color: #555;
}

.home-button {
  padding: 10px 18px;
  background-color: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 50px 20px;
  background-color: #FFFFFF;
}

.hero h2 {
  margin-bottom: 10px;
  color: #000000;
}

.shop-button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background-color: #FCC3C2;
  color: black;
  font-size: 50px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.shop-button:hover {
  background-color: #000000;
  color: white;
}

.hero-container {
  position: relative;
  overflow: hidden;
  padding-bottom: 20px;
}

.hero-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 10px;
  padding: 10px;
}

.hero-slider::-webkit-scrollbar {
  display: none;
}

.hero-slider img {
  width: 979px;
  height: 475px;
  flex-shrink: 0;
  scroll-snap-align: start;
  object-fit: cover;
  border-radius: 10px;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 16px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots .dot.active {
  background: #333;
}

.shop-now-button {
  position: absolute;
  left: 25px;
  bottom: 75px;
  padding: 12px 24px;
  background-color: #FCC3C2;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
}

.shop-now-button:hover {
  background-color: #000000;
}

/* Products Section */
.products {
  padding: 40px 20px;
  text-align: center;
}

.product-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.product-card {
  width: 275px;
  margin: 10px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 10px;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid #DDDDDD;
}

.product-card h3 {
  margin: 10px 0 5px;
  color: #222;
  font-size: 18px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .product-price {
  color: #E3BC9A;
  font-weight: bold;
  font-size: 20px;
  margin: 10px 0;
}

.product-card button {
  margin-top: 10px;
  background-color: #FCC3C2;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
  width: 100%;
}

.product-card button:hover {
  background-color: #000000;
  color: white;
}

/* Cart Icon */
.cart-icon {
  position: relative;
  display: none !important;
}

.cart-count {
  background: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  position: absolute;
  top: -5px;
  right: -10px;
}

/* Floating Cart Button */
#floatingCart {
  position: fixed;
  bottom: 50px;
  right: 20px;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 40px;
  font-weight: bold;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Checkout Page Styles */
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-center {
  flex-grow: 1;
  text-align: center;
}

.store-name {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.breadcrumb {
  margin: 15px 20px;
  font-size: 14px;
  color: #888;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
}

.product-image-container img {
  width: 100%;
  max-width: 400px;
  max-height: 500px;
  object-fit: contain;
}

.product-details {
  text-align: center;
  margin-top: 20px;
}

.product-details h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.product-details p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #e91e63;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.left {
  background-color: #333;
  color: white;
}

.right {
  background-color: #e91e63;
  color: white;
}

.follow-us p {
  margin-bottom: 10px;
  font-weight: bold;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-btn {
  padding: 10px 15px;
  text-decoration: none;
  color: white;
  border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  
  .header-left,
  .header-center,
  .header-right {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .header-right a {
    font-size: 16px;
    margin-left: 10px;
  }
  
  .store-title {
    font-size: 40px;
  }
  
  .store-subtext {
    font-size: 18px;
  }
  
  .logo {
    width: 150px;
    height: 150px;
  }
  
  .hero-slider img {
    width: 100%;
    height: 250px;
  }
  
  .shop-now-button {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 10px;
  }
  
  .product-card {
    width: 100%;
    max-width: 300px;
  }
  
  .search-input {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .store-title {
    font-size: 30px;
  }
  
  .store-subtext {
    font-size: 16px;
  }
  
  .shop-button {
    font-size: 30px;
    padding: 10px 20px;
  }
  
  .product-card h3 {
    font-size: 16px;
  }
  
  .product-card button {
    font-size: 16px;
    padding: 10px 20px;
  }
}

