:root {
  --primary-color: #ff3c78;
  --primary-dark: #e02f68;
  --black: #111111;
  --light-black: #333333;
  --white: #ffffff;
  --grey: #777777;
  --light-grey: #f6f6f6;
  --border-color: #e5e5e5;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--grey);
  max-width: 650px;
  margin: -0.8rem auto 2.5rem;
  font-size: 0.98rem;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.25s ease;
  cursor: pointer;
  border: none;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--white);
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: var(--black);
  color: var(--white);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Top Bar */

.top-bar {
  background-color: var(--black);
  color: var(--white);
  font-size: 0.85rem;
  padding: 9px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.navbar-container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-color);
  white-space: nowrap;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  width: 34px;
  height: 26px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background-color: var(--black);
  transition: 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--light-black);
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 99px;
  transition: 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-action-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.nav-action-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--black);
  color: var(--white);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero */

.hero {
  min-height: calc(100vh - 112px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28)),
    url("https://i.postimg.cc/vZJ3nshs/41158.jpg") center/cover no-repeat;
  color: var(--white);
}

.hero-content {
  max-width: 620px;
  padding: 5rem 0;
}

.eyebrow {
  color: #ffd7e3;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  color: #f1f1f1;
  max-width: 560px;
  margin-bottom: 1.6rem;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: 0.25s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Trust Section */

.trust-section {
  padding: 2rem 0;
  background-color: var(--light-grey);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}

.trust-card i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #ffe8ef;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex: 0 0 auto;
}

.trust-card h3 {
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.trust-card p {
  color: var(--grey);
  font-size: 0.85rem;
}

/* Collections */

.collections-section {
  padding: 4.5rem 0 2.5rem;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.collection-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: 0.35s ease;
  z-index: -2;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  z-index: -1;
}

.collection-card:hover img {
  transform: scale(1.08);
}

.collection-content {
  height: 100%;
  min-height: 320px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

.collection-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.collection-content p {
  color: #eeeeee;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

/* Products */

.products-section {
  padding: 3rem 0 1rem;
}

.product-group {
  margin-bottom: 4rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: 0.25s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 5;
}

.product-image {
  height: 245px;
  background-color: var(--light-grey);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-info {
  padding: 1rem;
}

.product-info h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.rating {
  color: #f7b500;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.8rem;
}

.price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.old-price {
  color: var(--grey);
  font-size: 0.82rem;
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 400;
}

.colors {
  display: flex;
  align-items: center;
  gap: 6px;
}

.color-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid #d1d1d1;
  display: inline-block;
}

.red { background-color: #ff3c78; }
.blue { background-color: #8989ce; }
.white { background-color: #ffffff; }
.grey { background-color: #808080; }
.brown { background-color: #af3535; }
.green { background-color: #008000; }
.black { background-color: #000000; }

.product-actions {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 10px;
}

.add-cart-btn,
.wishlist-btn {
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 600;
}

.add-cart-btn {
  background-color: var(--black);
  color: var(--white);
  padding: 11px 12px;
  font-size: 0.88rem;
}

.add-cart-btn:hover {
  background-color: var(--primary-color);
}

.wishlist-btn {
  background-color: #ffe8ef;
  color: var(--primary-color);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Promo Banner */

.promo-banner {
  margin: 2rem 0 4rem;
  background:
    linear-gradient(90deg, rgba(255, 60, 120, 0.95), rgba(17, 17, 17, 0.92)),
    url("https://i.postimg.cc/6QSG0N7T/new.jpg") center/cover no-repeat;
  color: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow);
}

.promo-banner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.promo-banner p {
  color: #f5f5f5;
  max-width: 620px;
}

/* Newsletter */

.newsletter {
  padding: 4rem 0;
  background-color: var(--light-grey);
}

.newsletter-box {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  text-align: center;
}

.newsletter-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.7rem;
}

.newsletter-box p {
  color: var(--grey);
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.newsletter-form {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary-color);
}

/* Footer */

footer {
  background-color: var(--black);
  color: var(--white);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 4rem 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-about p {
  color: var(--grey);
  max-width: 340px;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: 0.25s ease;
}

.footer-social a:hover {
  background-color: var(--primary-color);
}

.footer-column h3 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-column a {
  display: block;
  color: var(--grey);
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
  transition: 0.25s ease;
}

.footer-column a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0;
  text-align: center;
  color: var(--grey);
  font-size: 0.88rem;
}

/* Responsive */

@media (max-width: 1024px) {
  .trust-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-content {
    justify-content: center;
    text-align: center;
  }

  .top-bar-content span:last-child {
    display: none;
  }

  .hamburger {
    display: flex;
    order: 3;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-action-btn.user-btn {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem;
    box-shadow: var(--shadow);
    border-radius: 0 0 18px 18px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
  }

  .menu-toggle:checked ~ .nav-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(11.5px) rotate(45deg);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-11.5px) rotate(-45deg);
  }

  .hero {
    min-height: 680px;
    background-position: center;
  }

  .hero-content {
    padding: 4rem 0;
  }

  .promo-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .navbar-container {
    gap: 1rem;
  }

  .logo span {
    display: none;
  }

  .nav-action-btn {
    width: 38px;
    height: 38px;
  }

  .trust-grid,
  .collections-grid,
  .product-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .product-image {
    height: 280px;
  }

  .newsletter-box {
    padding: 2rem 1.2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-container {
    padding: 3rem 0;
  }
}
