* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* *,
*::before,
*::after {
  box-sizing: border-box;
  max-width: 100%;
} */

html,
body {
  overflow-x: hidden; /* hide horizontal scroll */
  overflow-y: auto; /* allow vertical scroll */
  max-width: 100%;
  width: 100%;
}

.hero,
.products-container,
.products-grid,
.product-card,
.elegant-background,
.soft-particles,
.subtle-grid,
.decorative-network {
  max-width: 100%;
  overflow: hidden;
}

.products-container {
  width: 100%;
  padding-left: clamp(1rem, 5vw, 2rem);
  padding-right: clamp(1rem, 5vw, 2rem);
}

.hero {
  width: calc(100% - 4rem);
  max-width: calc(100% - 4rem);
}

@media (max-width: 768px) {
  .hero {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .products-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    width: calc(100% - 1.6rem);
    max-width: calc(100% - 1.6rem);
    margin-left: 0.8rem;
    margin-right: 0.8rem;
  }

  .products-container {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}

.soft-particle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(255, 182, 193, 0.4),
    rgba(221, 160, 221, 0.4),
    rgba(173, 216, 230, 0.4)
  );
  animation: softFloat 20s infinite ease-in-out;
  filter: blur(1px);
  box-shadow: 0 0 15px rgba(255, 182, 193, 0.2);
}

@keyframes softFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    opacity: 0.2;
  }
  25% {
    transform: translate3d(-30px, -60px, 30px) rotate(90deg) scale(1.1);
    opacity: 0.4;
  }
  50% {
    transform: translate3d(30px, -120px, -20px) rotate(180deg) scale(0.9);
    opacity: 0.6;
  }
  75% {
    transform: translate3d(60px, -90px, 25px) rotate(270deg) scale(1.05);
    opacity: 0.3;
  }
}

.subtle-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -9;
  background-image: linear-gradient(
      rgba(180, 180, 180, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(180, 180, 180, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridFlow 40s linear infinite;
  opacity: 0.3;
}

@keyframes gridFlow {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(80px, 80px);
  }
}

.decorative-network {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -7;
  pointer-events: none;
}

.decorative-node {
  position: absolute;
  width: 3px;
  height: 3px;
  background: linear-gradient(45deg, #ff9a9e, #fecfef, #b8c6db);
  border-radius: 50%;
  animation: gentlePulse 4s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255, 154, 158, 0.3);
}

@keyframes gentlePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
}

.decorative-connection {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 154, 158, 0.2) 20%,
    rgba(184, 198, 219, 0.2) 80%,
    transparent 100%
  );
  animation: connectionGlow 6s linear infinite;
  transform-origin: left;
}

@keyframes connectionGlow {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.5;
  }
  100% {
    transform: scaleX(0);
    opacity: 0;
  }
}

.hero {
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  margin: clamp(0.8rem, 2vw, 2rem);
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  width: calc(100% - clamp(1.6rem, 4vw, 4rem));
  max-width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    #ff9a9e 0%,
    #fecfef 25%,
    #fecfef 50%,
    #b8c6db 75%,
    #ff9a9e 100%
  );
  border-radius: 32px;
  z-index: -1;
  opacity: 0.3;
  animation: gentleGlow 8s ease-in-out infinite;
}

@keyframes gentleGlow {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  position: relative;
  transform: translateZ(60px);
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #f5576c 75%,
    #4facfe 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: elegantShift 8s ease-in-out infinite;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@keyframes elegantShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
}

.hero h1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  animation: gentleShimmer 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes gentleShimmer {
  0%,
  100% {
    transform: translateX(-100%) skewX(-10deg);
  }
  50% {
    transform: translateX(200%) skewX(-10deg);
  }
}

.hero-card {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  color: #6c7b8a;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.5px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.85)
  );
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 1);
  /* 🔑 Changed here */
  display: flex;
  align-items: flex-start; /* top align text */
  justify-content: flex-start;
  text-align: left; /* left align text for readability */
  height: 100%;
  text-align: center;
}

@media (max-width: 1400px) {
  .hero {
    padding: clamp(2.5rem, 7vw, 5rem) 1rem;
    margin: clamp(0.8rem, 2vw, 1.5rem);
  }
  .hero h1 {
    font-size: clamp(1.8rem, 5.5vw, 4rem);
  }
  .hero-card {
    font-size: clamp(0.85rem, 2.3vw, 1.1rem);
    padding: clamp(1.2rem, 2.5vw, 1.8rem);
  }
}

@media (max-width: 992px) {
  .hero {
    padding: clamp(2rem, 6vw, 4rem) 0.8rem;
    margin: clamp(0.6rem, 1.5vw, 1.2rem);
    border-radius: 25px;
  }
  .hero h1 {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
  }
  .hero-card {
    font-size: clamp(0.8rem, 2.2vw, 1rem);
    padding: clamp(1rem, 2vw, 1.5rem);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: clamp(1.8rem, 5vw, 3.5rem) 0.6rem;
    margin: clamp(0.5rem, 1.2vw, 1rem);
    border-radius: 20px;
  }
  .hero h1 {
    font-size: clamp(1.4rem, 4.5vw, 3rem);
  }
  .hero-card {
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    padding: clamp(0.8rem, 1.8vw, 1.2rem);
  }
}

@media (max-width: 576px) {
  .hero {
    padding: clamp(1.5rem, 4vw, 3rem) 0.5rem;
    margin: clamp(0.4rem, 1vw, 0.8rem);
    border-radius: 15px;
  }
  .hero h1 {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
  }
  .hero-card {
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
    padding: clamp(0.6rem, 1.5vw, 1rem);
    border-radius: 15px;
  }
}

.products-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 3rem 2rem;
  perspective: 2000px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  transform-style: preserve-3d;
  width: 100%;
  justify-content: center;
}

.product-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.85)
  );
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  padding: 2.5rem;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transform-origin: center center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.product-card.placeholder {
  visibility: hidden;
}

.product-card::before {
  content: "";
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    #ff9a9e 0%,
    #fecfef 30%,
    #b8c6db 60%,
    #ff9a9e 100%
  );
  border-radius: 27px;
  z-index: -1;
  opacity: 0;
  animation: elegantBorder 6s linear infinite;
  filter: blur(1px);
}

@keyframes elegantBorder {
  0%,
  100% {
    transform: rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0;
  }
}

.product-card:hover::before {
  opacity: 0.6;
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.4) 100%
  );
  border-radius: 25px;
  opacity: 0;
  transform: translateX(-100%) skewX(-10deg);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover::after {
  opacity: 1;
  transform: translateX(200%) skewX(-10deg);
}

.product-card:hover {
  transform: translateY(-20px) rotateX(10deg) rotateY(8deg) scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 1),
    0 0 80px rgba(255, 154, 158, 0.2);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0.9)
  );
}

.product-image {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.product-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  border-radius: 20px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.product-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
  filter: saturate(1.1) brightness(1);
}

.product-card:hover .product-image::before {
  opacity: 1;
}

.product-card:hover .product-image::after {
  transform: rotate(2deg);
  filter: saturate(1.2) brightness(1.05);
}

.product-image.lipstick::after {
  background-image: url("static/images/cosmetics/ORANGE_FACE_SERUM_01_-removebg-preview.png");
}
.product-image.foundation::after {
  background-image: url("static/images/cosmetics/blue.png");
}
.product-image.eyeshadow::after {
  background-image: url("static/images/cosmetics/green.png");
}
.product-image.mascara::after {
  background-image: url("static/images/cosmetics/neem 1.jpeg");
}
.product-image.blush::after {
  background-image: url("static/images/cosmetics/ubtan-removebg-preview.png");
}
.product-image.concealer::after {
  background-image: url("static/images/cosmetics/apricot_2-removebg-preview.png");
}
.product-image.primer::after {
  background-image: url("static/images/cosmetics/nn4.png");
}
.product-image.powder::after {
  background-image: url("static/images/cosmetics/n6.png");
}
.product-image.bronzer::after {
  background-image: url("static/images/cosmetics/nn5.png");
}
.product-image.highlighter::after {
  background-image: url("static/images/cosmetics/nn6.png");
}
.product-image.eyeliner::after {
  background-image: url("static/images/cosmetics/nn7.png");
}
.product-image.lip-gloss::after {
  background-image: url("static/images/cosmetics/nn8.png");
}
.product-image.nail-polish::after {
  background-image: url("static/images/cosmetics/honey.png");
}
.product-image.perfume::after {
  background-image: url("static/images/cosmetics/lotion1.png");
}
.product-image.face-mask::after {
  background-image: url("static/images/cosmetics/lotion.png");
}
.product-image.fface-mask::after {
  background-image: url("static/images/cosmetics/n1.jpg");
}
.product-image.serum::after {
  background-image: url("static/images/cosmetics/nn10.png");
}
.product-image.cleanser::after {
  background-image: url("static/images/cosmetics/nnn13.png");
}
.product-image.moisturizer::after {
  background-image: url("static/images/cosmetics/nnn13.png");
}
.product-image.makeup-removerr::after {
  background-image: url("static/images/cosmetics/nn11.png");
}
.product-image.sunscreen::after {
  background-image: url("static/images/cosmetics/n5.jpg");
}
.product-image.toner::after {
  background-image: url("static/images/cosmetics/nttt4.jpg");
}
.product-image.bb-cream::after {
  background-image: url("static/images/cosmetics/n2.jpg");
}
.product-image.setting-spray::after {
  background-image: url("static/images/cosmetics/n7.jpg");
}
.product-image.makeup-remover::after {
  background-image: url("static/images/cosmetics/n8.jpg");
}

.product-info {
  position: relative;
  z-index: 4;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover .product-info {
  transform: translateZ(50px);
}

.product-info h3 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.6s ease;
  text-shadow: none;
  text-align: center;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: normal;
  max-width: 100%;
  overflow: hidden;
}

.product-info h3:last-child {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.4;
}

.product-info h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff9a9e, #fecfef, #b8c6db);
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 0 10px rgba(255, 154, 158, 0.3);
}

.product-card:hover .product-info h3::after {
  width: 80px;
}

.product-info p {
  color: #6c7b8a;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: all 0.6s ease;
}

.product-card:hover .product-info p {
  color: #4a5568;
}

.product-price {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
  animation: gentlePriceFlow 4s ease-in-out infinite;
  letter-spacing: 1px;
}

@keyframes gentlePriceFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.product-card:hover .product-price {
  transform: scale(1.08) translateZ(25px);
  filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.3));
}

.subscribe-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-size: 200% 200%;
  border: none;
  padding: 18px 36px;
  border-radius: 50px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
  font-size: 1.2rem;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: buttonGlow 6s ease-in-out infinite;
}

@keyframes buttonGlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 50px;
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-5px) translateZ(25px) scale(1.02);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4),
    0 0 40px rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 50%, #f5576c 100%);
}

.notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.9)
  );
  backdrop-filter: blur(20px);
  color: #2c3e50;
  padding: 2.5rem 3.5rem;
  border-radius: 25px;
  z-index: 10000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 80px rgba(255, 154, 158, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  min-width: 350px;
  text-align: center;
  animation: notificationShow 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes notificationShow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) rotateY(-45deg);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05) rotateY(0deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  }
}

@keyframes notificationHide {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) rotateY(45deg);
  }
}

.notification-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(10deg) scale(1.1);
  }
}

.notification-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.notification-message {
  font-size: 1rem;
  opacity: 0.7;
  line-height: 1.5;
  color: #6c7b8a;
}

@media (max-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
  }
  .product-card {
    padding: 2.2rem;
  }
  .product-image {
    height: 260px;
  }
}

@media (max-width: 1200px) {
  .hero {
    padding: 5rem 2rem;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  .product-card {
    padding: 2rem;
    border-radius: 22px;
  }
  .product-image {
    height: 240px;
    border-radius: 18px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 4rem 1.5rem;
    margin: 1.5rem;
    border-radius: 25px;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
  }
  .product-card {
    padding: 1.8rem;
    border-radius: 20px;
  }
  .product-image {
    height: 220px;
    border-radius: 16px;
  }
  .product-info h3 {
    font-size: 1.6rem;
  }
  .btn {
    font-size: 1.1rem;
    padding: 16px 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 1rem;
    margin: 1rem;
    border-radius: 22px;
  }
  .products-container {
    padding: 2.5rem 1rem;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }
  .product-card {
    padding: 1.6rem;
    border-radius: 18px;
  }
  .product-image {
    height: 200px;
    border-radius: 15px;
  }
  .product-card:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(4deg) scale(1.02);
  }
  .notification {
    min-width: 320px;
    padding: 2rem 2.5rem;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
  }
  .product-card {
    padding: 1.4rem;
    border-radius: 16px;
  }
  .product-image {
    height: 180px;
    border-radius: 14px;
  }
  .product-info h3 {
    font-size: 1.4rem;
  }
  .product-price {
    font-size: 1.8rem;
  }
  .btn {
    font-size: 1rem;
    padding: 14px 28px;
    letter-spacing: 1px;
  }
  .notification {
    min-width: 300px;
    padding: 1.8rem 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
    margin: 0.8rem;
    border-radius: 20px;
  }
  .products-container {
    padding: 2rem 1rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .product-card {
    padding: 1.2rem;
    border-radius: 15px;
  }
  .product-image {
    height: 160px;
    border-radius: 12px;
    margin-bottom: 2rem;
  }
  .product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  .product-info p {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
  }
  .product-price {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }
  .btn {
    font-size: 0.95rem;
    padding: 12px 24px;
    letter-spacing: 0.8px;
  }
  .product-card:hover {
    transform: translateY(-8px) scale(1.01);
  }
  .notification {
    min-width: 280px;
    padding: 1.5rem 1.8rem;
  }
  .notification-icon {
    font-size: 2rem;
  }
  .notification-title {
    font-size: 1.1rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: translateY(-8px) scale(1.02);
  }
  .product-image:hover {
    transform: scale(1.05);
  }
  .btn:hover {
    transform: translateY(-3px) scale(1.01);
  }
  .soft-particles {
    opacity: 0.2;
  }
  .decorative-network {
    opacity: 0.15;
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px) rotateX(-15deg) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleEffect 0.8s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.custom-cursor {
  position: fixed;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, rgba(255, 154, 158, 0.6), transparent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
  filter: blur(0.5px);
  mix-blend-mode: multiply;
}

.custom-cursor.active {
  transform: scale(1.5);
  background: radial-gradient(circle, rgba(118, 75, 162, 0.6), transparent);
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff, #f8f9fc);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(102, 126, 234, 0.1);
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.will-change {
  will-change: transform, opacity;
}

.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.carousel-inner img {
  width: 100% !important;
  height: auto !important;
  max-height: 600px !important;
  object-fit: cover !important;
}
.carousel {
  overflow: hidden;
  position: relative;
  user-select: none;
}
.carousel-inner {
  transition: transform 0.5s ease-in-out;
}
.carousel-item {
  float: left;
  width: 100%;
}
@media (max-width: 992px) {
  .carousel-inner img {
    max-height: 400px;
  }
}
@media (max-width: 768px) {
  .carousel-inner img {
    max-height: 300px;
  }
}
img:not(.carousel-inner img) {
  height: 392px;
  width: 540px;
}
.carousel-control-prev,
.carousel-control-next {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}
.carousel-indicators {
  bottom: 10px;
}
.carousel-indicators button {
  background-color: #fff;
  opacity: 0.5;
}
.carousel-indicators .active {
  opacity: 1;
  background-color: #ff6b35;
}

/* Override conflicting global img styles */
img:not(.carousel-inner img) {
  height: 392px;
  width: 540px;
}

.brand-logo {
  height: 80px !important;
  width: auto !important;
}
