:root {
  --pink: #69b7ff;
  --peach: #d2a0ff;
  --cream: #fffdfb;
  --charcoal: #05131b;
  --soft-gray: #ffc5f9;
  --white: #ffffff;
  overscroll-behavior: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--cream) 0%, #ffe8f5 100%);
  color: var(--text);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

h1 a {
  text-decoration: none;
  cursor: default;
}
.header {
    background: var(--cream);
    border-bottom: 2px solid var(--pink);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo .aqua {
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
}

.logo .marine {
  color: var(--pink);
  font-style: italic;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  transition: 0.5s;
}

nav a:hover {
  color: var(--pink);
}

/* Language selector styles */
.language-selector {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 2px solid var(--pink);
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
}

.language-btn:hover {
  background: var(--pink);
  color: var(--white);
  transform: translateY(-2px);
}

.globe-icon {
  font-size: 16px;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 8px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  transition: all 0.2s ease;
}

.language-option:hover {
  background: var(--cream);
  color: var(--pink);
}

.language-option.active {
  background: var(--pink);
  color: var(--white);
  font-weight: 600;
}

.cart-button {
  position: relative;
  padding: 10px 20px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cart-button:hover {
  background: var(--purple);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--peach);
  color: var(--white);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Hero */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--soft-gray) 100%);
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--charcoal);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text);
  opacity: 0.8;
  padding-bottom: 35px;
}

.hero-description {
  padding-bottom: 25px;
}

.cta-button {
  background: var(--pink);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 4px 12px rgba(255, 182, 217, 0.3);
}

.cta-button:hover {
  background: var(--peach);
  transform: translateX(-2px);
  box-shadow: 0 4px 12px rgba(255, 182, 217, 0.4);
}

.hero-image {
  text-align: center;
  margin-top: 40px;
}

.hero-image img {
  height: 400px;
  border-radius: 24px;
}
/* Products */
.products {
  padding: 40px 0 80px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--purple);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 155, 181, 0.3);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

.product-name {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--pink);
}

.product-description {
  font-size: 14px;
  color: var(--text);
  opacity: 0.7;
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 24px;
  font-weight: bold;
  color: var(--purple);
}

.add-to-cart {
  padding: 10px 20px;
  background: var(--peach);
  color: var(--white);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background: var(--pink);
  transform: scale(1.05);
}

/* Cart Sidebar */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 2px solid var(--cream);
}

.cart-header h2 {
  color: var(--pink);
}

.close-cart {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--text);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-cart:hover {
  background: var(--cream);
  color: var(--pink);
}

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

.empty-cart {
  text-align: center;
  color: var(--text);
  opacity: 0.5;
  padding: 40px 20px;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: var(--cream);
  border-radius: 15px;
  margin-bottom: 15px;
  position: relative;
}

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

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

.cart-item-name {
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 5px;
}

.cart-item-price {
  color: var(--purple);
  font-weight: bold;
  margin-bottom: 8px;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  width: 25px;
  height: 25px;
  border: none;
  background: var(--pink);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background: var(--purple);
  transform: scale(1.1);
}

.remove-item {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  opacity: 0.5;
  transition: all 0.2s ease;
}

.remove-item:hover {
  opacity: 1;
  color: var(--pink);
}

.cart-footer {
  padding: 20px;
  border-top: 2px solid var(--cream);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--purple);
}

.checkout-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  color: var(--white);
  border: none;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 155, 181, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
  }
}
