:root {
  --pink: #ff2d8a;
  --pink-dark: #d91a6f;
  --pink-glow: rgba(255, 45, 138, 0.35);
  --bg: #0a0a0f;
  --bg-card: #14141f;
  --bg-elevated: #1c1c2a;
  --text: #f5f5f7;
  --text-muted: #a0a0b0;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Header */
.header-top {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-top a {
  color: var(--pink);
  font-weight: 600;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--pink), #ff6eb4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--pink);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 99px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 1rem;
  gap: 0.75rem;
}

.mobile-nav.open {
  display: flex;
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.6) 50%, rgba(255, 45, 138, 0.15) 100%),
    url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=1400&h=800&fit=crop") center/cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(255, 45, 138, 0.15);
  border: 1px solid rgba(255, 45, 138, 0.3);
  border-radius: 99px;
  color: var(--pink);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--pink);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--pink);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--pink-glow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
}

.btn-outline:hover {
  background: var(--pink);
  color: white;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  width: 100%;
}

.btn-whatsapp {
  background: #25d366;
}

.btn-whatsapp:hover {
  background: #1da851;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card);
  box-shadow: none;
  transform: none;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
}

/* Categories */
.categories {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.category-btn {
  padding: 0.5rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.category-btn:hover,
.category-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  display: block;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.25rem 0.75rem;
  background: var(--pink);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 99px;
  z-index: 1;
}

.badge.discount {
  left: auto;
  right: 12px;
  background: #ff4444;
}

.product-info {
  padding: 1rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-info h3 {
  font-size: 1rem;
  margin: 0.25rem 0 0.5rem;
}

.product-info h3 a:hover {
  color: var(--pink);
}

.product-prices {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink);
}

.old-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Features */
.features {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 1rem;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  align-items: start;
}

.product-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-card);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.product-detail-info .description {
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
}

.option-group {
  margin-bottom: 1.25rem;
}

.option-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.option-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.option-btn {
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.option-btn.selected {
  border-color: var(--pink);
  background: rgba(255, 45, 138, 0.15);
  color: var(--pink);
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quantity-control button {
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.quantity-control span {
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.detail-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  padding: 3rem 0;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.cart-item img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

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

.cart-item-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.cart-item-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 700;
  color: var(--pink);
  margin-top: 0.5rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.remove-btn {
  background: none;
  border: none;
  color: #ff4444;
  cursor: pointer;
  font-size: 0.85rem;
}

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

.cart-summary h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.cart-summary .btn {
  width: 100%;
  margin-top: 1rem;
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-cart h2 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.empty-cart .btn {
  margin-top: 1.5rem;
}

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.checkout-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.checkout-form h2 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.payment-card h3 {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.payment-card.disabled {
  opacity: 0.6;
}

.coming-soon {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--bg-elevated);
  border-radius: 99px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.iban-box {
  background: var(--bg-elevated);
  border: 1px dashed var(--pink);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.iban-box code {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  color: var(--pink);
  word-break: break-all;
}

.store-pickup-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.75rem 0;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: grid;
  place-items: center;
  z-index: 9999;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
}

.modal-box h2 {
  color: var(--pink);
  margin-bottom: 1rem;
}

.modal-box p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.modal-box .btn {
  width: 100%;
  margin-top: 1rem;
}

.page-title {
  padding: 2rem 0 0;
}

.page-title h1 {
  font-size: 2rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

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

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 0.75rem;
  color: var(--pink);
}

.footer-grid a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-grid a:hover {
  color: var(--pink);
}

.footer-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-elevated);
  border: 1px solid var(--pink);
  color: var(--text);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .product-detail,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 55vh;
  }
}
