@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ==================== CSS Variables ==================== */
:root {
  /* Color Palette */
  /* --dark-pink: #cc007a;           Deep Neon Pink */
  /* --barbie-pink: #ff69b4;         Barbie Pink */
  /* --fandango-pink: #c71585;       Fandango Pink */
  /* --white: #FFFFFF; */
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* === Header & Hero Section === */
.header {
  position: relative;
  min-height: 100vh;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ddd;
  text-align: center;
  padding: 0 2rem;
  background-color: #f5f5f5;
}

.header .headerBackground {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  min-height: 100vh;
  min-width: 100vw;
  padding: 0 3rem;
}

.header .headerBackground h1 {
  color: #ddd;
  width: 100%;
}

.header .hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  width: 100vw;
  height: 100vh;
  padding: 3.8rem 20px 1.75rem;
}

.hero .floatingText {
  border-radius: 15px;
  padding: 5px 12px;
  color: var(--dark-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero .logotext {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #ddd;
}

.hero .logotext span {
  font-weight: bold;
  background: linear-gradient(135deg, #ff69b4, #ffb6c1); /* Hot pink to light pink gradient */
  -webkit-background-clip: text; /* for Safari/Chrome */
  -webkit-text-fill-color: transparent;
  background-clip: text;          /* for modern browsers */
  color: transparent;             /* fallback */
}

.herotext {
  color: #000;
  font-size: 20px;
  letter-spacing: 0.8px;
  line-height: 1.8;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  padding: auto;
}

.hero .hero-mini-text {
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero .hero-mini-text span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.hero-mini-text span .svg-icons {
  height: 15px;
  width: auto;
}

.hero .herobtns, 
.ready .readybtns {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

.btn-outline {
  background-color: transparent;
  outline: 2px solid #ddd;
  padding: 1rem 2.4rem !important;
}

.explore-btn {
  /* background: linear-gradient(90deg, #ff69b4, #ffb6c1); */
  background-color: var(--dark-pink);
  padding: 1rem 2.4rem !important;
  color: #fff;
}

/* === Responsive === */
@media (min-width: 768px) {
  .header .headerBackground {
    padding: 0 4rem;
  }

  .header .hero {
    padding: 2rem 20px;
  }

  .hero .hero-mini-text {
    gap: 24px;
  }

  .hero .logotext {
    font-size: 4rem;
  }

  .hero .herotext {
    padding: 0 40px;
  }

  .hero .herobtns {
    flex-direction: row;
  }
}

@media (min-width: 840px) {
  .header .headerBackground {
    padding: 0 4.5rem;
  }

  .hero .hero-mini-text {
    gap: 30px;
  }

  .hero .herotext {
    margin: 0 80px;
  }
}

@media (min-width: 1000px) {
  .header .headerBackground {
    padding: 0 9rem;
  }

  .hero .hero-mini-text {
    gap: 34px;
  }

  .hero .herotext {
    margin: 0 120px;
  }
}







/* === Ready Section === */
.ready {
  background: linear-gradient(95deg, #c71585, #9f0552);
  padding: 4rem 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ready h2 {
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  text-align: center;
}

.ready .readttext {
  font-size: 20px;
  letter-spacing: 0.8px;
  line-height: 1.8;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  padding: auto;
  margin: 1rem 0 2rem;
}

.ready .readybtns {
  width: 100%;
  padding: 0.7rem 0;
}

.ready .readybtns .shop-btn {
  padding: 1rem 2.4rem !important;
  color: var(--dark-pink);
  background-color: #fff;
}

.ready .readybtns .story-btn {
  padding: 1rem 2.4rem !important;
  outline: 2px solid #fff;
  background-color: transparent;
  color: #fff;
}


/* === Responsive === */
@media (min-width: 768px) {
  .ready .readybtns {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .ready .readttext {
    font-size: 17px;
    margin-top: 0;
  }

  .ready .readybtns {
    display: block;
  }

  .shop-btn.btn,
  .story-btn.btn {
    display: block;
    width: 100%;
  }

  .shop-btn.btn {
    display: block;
    width: 100%;
    margin: 0 0 20px;
  }
}






/* === Comments === */
.comments {
  background-color: rgb(244, 244, 244, 0.5);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.comments h2 {
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 22px;
  color: #000;
}

.comments .herotext {
  font-size: 16px;
  letter-spacing: 0px;
  line-height: 1.5;
  text-align: center;
  /* padding: auto 80px; */
  margin-bottom: 20px;
}

.commentContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  width: 98vw;
  padding: 20px;
}

.comment-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 18px;
  width: 350px;
  color: #000;
}

.comment-card .commentStars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0 8px;
}

.ratingStar {
  color: var(--dark-pink);
}

.comment-card .commentStars .quotes {
  color: #e1e1e1;
  font-size: 20px;
}

.comment-card .commentText {
  padding: 0 0 10px;
}

.comment-card footer {
  font-family: 'Playfair Display', serif;
  display: flex;
  align-items: center;
  gap: 7px;
}

.comment-card footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ff93d0;
  line-height: 1.5;
}


.featured {
  background-color: #fff;
}







/* === Featured === */
.featured-collection {
  margin: 0 auto;
  padding: 3.2rem 1rem 2rem;
  font-family: 'Playfair Display', serif;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 50%, rgba(199, 21, 133, 0.35));
  background-attachment: fixed;
  text-align: center;
}

.section-title.featured {
  background-color: transparent;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.section-title.featured .featured-icon {
  font-size: 1.75rem;
}

@media (min-width: 768px) {
  .section-title.featured {
    font-size: 2.5rem;
  }
}

.section-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

/* Product Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.product-card.homecard {
    position: relative;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    animation: float 6s ease-in-out infinite;
    animation-play-state: paused;
}

.btn-wishlist-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.btn-wishlist-icon i {
    color: var(--barbie-pink);
    font-size: 1.1rem;
}

.btn-wishlist-icon:hover {
    background: rgba(255, 105, 180, 0.35);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(31, 38, 135, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-wishlist-icon:hover i {
    color: white;
}

.btn-wishlist-icon i.bi-heart-fill {
    color: var(--barbie-pink);
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(31, 38, 135, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation-play-state: running;
}

.product-card .image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.product-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

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

.product-card .product-info {
    margin: 0;
    background: rgba(255, 255, 255, 0.35);
    padding: 0.75rem;
    font-family: 'Playfair Display', serif;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.product-info .product-name {
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 0 0.35rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.product-card:hover .product-name {
    color: var(--fandango-pink);
}

.product-rating {
    margin: 0.35rem 0;
    font-size: 0.75rem;
    color: #ffc107;
}

.product-price-and-add-to-cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0 0 0;
    gap: 0.5rem;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: var(--fandango-pink);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.add-to-cart {
    background: var(--barbie-pink);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.15);
}

.add-to-cart:hover {
    background: rgba(199, 21, 133, 0.95);
    box-shadow: 0 6px 20px rgba(31, 38, 135, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateY(-2px);
}

@media (min-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .product-price-and-add-to-cart  {
    flex-direction: column;
    align-items: flex-start;
  }
  .add-to-cart {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .featured-collection {
    padding: 3rem 0.5rem;
  }
  .products-grid.home {
    padding: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
  }
}


@media (min-width: 850px) {
  .products-grid.home {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
  }
}

@media (min-width: 1020px) {
  .products-grid.home {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
    padding: 2rem 6rem;
  }
}

.view-all-button {
  background-color: var(--dark-pink);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 2.8rem auto 1rem;
}

.view-all-button span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-all-button:hover {
  background-color: #c71585;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #777;
}

.empty-icon {
  font-size: 80px;
  color: #ccc;
  margin-bottom: 20px;
}

.cart-section {
  padding: 2rem;
}

.cart-item {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.cart-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-info h3 {
  margin: 0;
}

.qty-btn {
  background: #eee;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 0 5px;
  cursor: pointer;
}

.checkout-btn {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.checkout-btn:hover {
  background: #444;
}

/* View All Products Button */
.view-all-products-container {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
  width: 100%;
}

.view-all-products-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: rgb(219, 5, 141);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.view-all-products-btn:hover {
  background: #c71585;
  color: rgb(235, 232, 232);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.view-all-products-btn i {
  transition: transform 0.2s ease;
}

.view-all-products-btn:hover i {
  transform: translateX(2px);
}
