/* Global styles */
:root {
  color-scheme: dark;
  --bg: #090505;
  --surface: #141010;
  --surface-light: #221b1a;
  --text: #f8e7c9;
  --muted: #c0a16b;
  --accent: #d4af37;
  --border: rgba(212, 175, 55, 0.25);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.12), transparent 35%),
    linear-gradient(180deg, #070606 0%, #120c0c 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text);
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(24px, 4vw, 48px);
  background: rgba(9, 5, 5, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.logo {
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img,
.header-logo {
  width: 100px;
  max-width: 38vw;
  height: auto;
  display: block;
}

nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(212, 175, 55, 0.1);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cart-link:hover {
  background: rgba(212, 175, 55, 0.18);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  color: #090505;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 220ms ease;
}

.cart-badge-pop {
  transform: scale(1.2);
}

.cart-icon {
  font-size: 1rem;
}

nav a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--accent);
}

.hero,
.shop-hero,
.contact-section {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 48px);
}

.hero {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 1.5rem;
}

.hero-logo {
  width: min(240px, 42vw);
  max-width: 240px;
  margin: 0 auto;
  display: block;
}

@media (max-width: 660px) {
  .logo img,
  .header-logo {
    width: 92px;
  }
  header {
    padding: 14px 18px;
  }
}

/* Mobile menu button */
.mobile-menu-button {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 1.15rem;
}

/* Animated mobile nav behaviour */
@media (max-width: 900px) {
  nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 360ms cubic-bezier(.2,.9,.3,1), opacity 260ms ease, transform 260ms ease;
    background: rgba(9,5,5,0.98);
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(212,175,55,0.06);
    z-index: 9;
  }
  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  nav.open {
    max-height: 420px; /* enough for menu items */
    opacity: 1;
    transform: translateY(0);
  }
  nav a {
    display: block;
    padding: 12px 0;
  }
  .mobile-menu-button.open {
    transform: rotate(90deg);
    transition: transform 220ms ease;
  }
}

.hero h1,
.shop-hero h1,
.contact-section h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
}

.hero p,
.shop-hero p,
.contact-section p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero .hero-actions,
.shop-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e2c072 0%, #d4af37 100%);
  color: #090505;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.primary-btn:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-block {
  padding: clamp(60px, 6vw, 100px) clamp(20px, 4vw, 48px);
}

.featured-products,
.gallery,
.instagram,
.reviews,
.delivery,
.founder,
.newsletter,
.faq {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.products,
.gallery-grid,
.instagram-grid,
.review-container,
.delivery-grid,
.shop-grid,
.contact-details {
  display: grid;
  gap: 1.4rem;
}

.products,
.shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card,
.card,
.review,
.delivery-card,
.founder-box,
.contact-details > div,
.reels-grid > div,
.instagram-grid > div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}

.product-card img,
.founder-box img,
.gallery-grid img {
  border-radius: 20px;
  margin-bottom: 1rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card h3,
.card h3,
.review h3,
.delivery-card h3,
.founder-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.product-card p,
.card p,
.review p,
.delivery-card p,
.founder-box p,
.contact-details p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.product-card button {
  margin-top: 1.2rem;
  width: 100%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--text);
  padding: 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.section-block h2,
.founder h2,
.newsletter h2,
.faq h2,
.contact-section h1 {
  color: var(--text);
}

.gallery {
  padding-top: 0;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.instagram-grid,
.review-container,
.delivery-grid,
.reels-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.instagram-grid > div,
.reels-grid > div {
  min-height: 160px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.review {
  min-height: 220px;
}

.review h3 {
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.founder-box {
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: center;
  gap: 2rem;
}

.founder-box img {
  width: 100%;
  max-width: 320px;
}

.newsletter {
  text-align: center;
}

.newsletter p {
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}

.newsletter input {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.newsletter button {
  padding: 1rem 1.4rem;
  background: linear-gradient(135deg, #e2c072 0%, #d4af37 100%);
  color: #090505;
  border-radius: 999px;
  font-weight: 700;
}

.faq-item {
  cursor: pointer;
  padding: 1.5rem;
  border-radius: 20px;
}

.faq-item h3 {
  margin: 0;
  display: inline-flex;
  justify-content: space-between;
  width: 100%;
  color: var(--text);
}

.faq-item p {
  margin-top: 0.85rem;
  color: var(--muted);
}

.contact-section .contact-details {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 2rem;
}

.contact-section a {
  color: var(--text);
}

footer {
  padding: 24px clamp(24px, 4vw, 48px);
  background: rgba(9, 5, 5, 0.92);
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  text-align: center;
  color: var(--muted);
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #090505;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: var(--shadow);
}

@media (max-width: 850px) {
  header {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .faq-item {
    padding: 1.2rem;
  }
}

@media (max-width: 660px) {
  .section-heading,
  .founder-box,
  .newsletter form {
    display: grid;
  }

  .founder-box {
    grid-template-columns: 1fr;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.cart-wrapper,
.checkout-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.6fr 1fr;
  align-items: start;
}

.cart-items,
.checkout-items {
  display: grid;
  gap: 1rem;
}

.cart-row,
.checkout-item,
.summary-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 24px;
  padding: 1.4rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cart-actions input[type="number"] {
  width: 84px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.remove-cart {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(212, 175, 55, 0.22);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.summary-card h2 {
  margin-top: 0;
}

.summary-line {
  margin: 1rem 0 0;
  color: var(--text);
  font-size: 1.05rem;
}

.summary-note {
  color: var(--muted);
  margin: 0.75rem 0 1.25rem;
}

.checkout-form label,
.checkout-form input,
.checkout-form textarea {
  display: block;
  width: 100%;
}

.checkout-form label {
  margin-bottom: 1rem;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  margin-top: 0.55rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.checkout-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.secondary-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(212, 175, 55, 0.24);
}

.page-hero {
  margin-bottom: 2rem;
  max-width: 780px;
}

.page-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.account-grid,
.orders-list,
.wishlist-grid {
  display: grid;
  gap: 1.5rem;
}

.account-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.account-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
}

.account-info li strong {
  color: var(--text);
}

.profile-actions,
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}

.address-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 20px;
  padding: 1.2rem;
  margin: 1rem 0;
}

.orders-list {
  grid-template-columns: 1fr;
}

.order-card,
.wishlist-card {
  padding: 1.6rem;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.status-pill {
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-delivered {
  background: rgba(38, 166, 91, 0.16);
  color: #c8ffca;
}

.status-processing {
  background: rgba(255, 193, 7, 0.16);
  color: #ffe97d;
}

.order-card ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.wishlist-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.wishlist-card img {
  border-radius: 20px;
  margin-bottom: 1rem;
  min-height: 220px;
  object-fit: cover;
  width: 100%;
}

.wishlist-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.price-tag {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 860px) {
  .cart-wrapper,
  .checkout-layout,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

.wishlist-empty {
  display: grid;
  justify-content: center;
  text-align: center;
  gap: 1.2rem;
  max-width: 520px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 28px;
}

.empty-illustration {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  font-size: 2rem;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  pointer-events: auto;
}

.modal.hidden {
  display: none;
  pointer-events: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 28px 28px 0 0;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  color: var(--text);
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  color: var(--accent);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

#card-form label {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--text);
}

#card-form input {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row label {
  margin-bottom: 0;
}

.shop-search {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

#product-search {
  padding: 1rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1rem;
}

#product-search::placeholder {
  color: rgba(248, 231, 201, 0.5);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: transparent;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: #090505;
  border-color: var(--accent);
}

@media (max-width: 860px) {
  .modal-content {
    border-radius: 20px;
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .shop-search {
    max-width: 100%;
  }
}

@media (max-width: 660px) {
  .modal-content {
    max-width: 100%;
    border-radius: 0;
  }

  .filter-tabs {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}
