:root {
  --pink:       #e07a9a;
  --pink-dark:  #c9607e;
  --pink-light: #fdf0f4;
  --pink-mid:   #f5c6d8;
  --text:       #6a6a7a;
  --text-dark:  #3a3a4a;
  --white:      #ffffff;
  --bg:         #faf6f8;
  --border:     #f0d8e2;
  --shadow:     rgba(200, 140, 160, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: var(--white);
  color: var(--text-dark);
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  height: 100%;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
    flex: 1;
}

/* header & navbar */
header {
  background-color: var(--white);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(168, 216, 234, 0.15);
  margin: 0;
}

nav ul {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: center;
  padding-top: 1.5rem;
  margin: 0;
}

nav ul li a {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul li a:hover { color: var(--pink); }
nav ul li.active a { color: var(--pink); font-weight: 600; }

nav ul li.nav-login a {
  background-color: var(--pink);
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-weight: 600;
  transition: background-color 0.2s;
}

nav ul li.nav-login a:hover { background-color: var(--pink-dark); color: var(--white); }

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--pink);
  letter-spacing: 2px;
  line-height: 1;
  margin: 0;
}

.logo-sub {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.4rem;
  font-weight: 500;
  color: var(--pink);
  letter-spacing: 4.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

/*footer*/
.footer {
  background-color: #FDF0F4;
  padding: 40px 56px;
  margin-top: 64px;
  text-align: center;
}

.footer-brand h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--pink);
  margin-bottom: 16px;
}

.footer-bottom {
  padding-top: 16px;
  margin-top: 16px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #bbb;
}

/* ===== PRODUCT CARDS ===== */
.card {
  background: var(--white);
  border-radius: 20px;
  border: 1.5px solid transparent;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(224,122,154,0.2);
  border-color: var(--pink);
}

.card-img-wrap {
  position: relative;
  background: linear-gradient(135deg, #fdf0f4, #fce4ef);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.card:hover .card-img-wrap img { transform: scale(1.05); }

.card-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--white);
  color: var(--pink);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--pink-mid);
}

.card-body { padding: 14px 16px; }

.card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
  line-height: 1.3;
}

.card-artist {
  font-size: 0.73rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.card-price small { font-family: 'Quicksand', sans-serif; font-size: 0.72rem; font-weight: 500; color: var(--text); }

.btn-order {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--white);
  background: var(--pink);
  border: none;
  border-radius: 50px;
  padding: 7px 14px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-order:hover { background: var(--pink-dark); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(45,31,39,0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}

.modal-overlay.d-none { display: none !important; }

.modal-box {
  background: var(--white);
  border-radius: 24px; padding: 40px 36px;
  text-align: center; max-width: 400px; width: 90%;
  box-shadow: 0 20px 60px rgba(45,31,39,0.2);
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from { opacity:0; transform: scale(0.85); }
  to   { opacity:1; transform: scale(1); }
}

.modal-icon { font-size: 2.5rem; margin-bottom: 12px; }

.modal-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 10px;
}

.modal-box p { font-size: 0.85rem; color: var(--text); line-height: 1.7; margin-bottom: 24px; }

.modal-actions { display: flex; gap: 12px; justify-content: center; }

.modal-cancel {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--text); background: none;
  border: 1.5px solid var(--border);
  border-radius: 50px; padding: 10px 24px;
  cursor: pointer; transition: all 0.2s;
}
.modal-cancel:hover { border-color: var(--pink); color: var(--pink); }

.modal-confirm {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--white); background: var(--pink);
  border: none; border-radius: 50px;
  padding: 10px 24px; cursor: pointer;
  transition: all 0.2s;
}
.modal-confirm:hover { background: var(--pink-dark); }


/* ===========================
   ARTIST BUBBLES
   =========================== */
.artist-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.artist-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-dark);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.artist-scroll-wrapper {
  overflow-x: auto;
  padding: 4px 56px 16px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.artist-scroll-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.artist-scroll {
  display: flex;
  gap: 24px;
  width: max-content;
}

.artist-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.artist-bubble:hover {
  transform: translateY(-4px);
}

.artist-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4eef7 0%, #fce8ef 100%);
  border: 2.5px solid var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--pink);
  text-align: center;
  padding: 4px;
  line-height: 1.3;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.artist-bubble:hover .artist-avatar {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(224, 122, 154, 0.2);
}

.artist-bubble span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
  transition: color 0.2s;
}

.artist-bubble:hover span {
  color: var(--pink);
}

/* ===========================
   RESPONSIVE
   =========================== */

/* Tablet */
@media (max-width: 1200px) {

  .artist-scroll-wrapper {
    padding: 4px 32px 16px;
  }
}

/* Mobile landscape / large phone */
@media (max-width: 768px) {
  .artist-scroll-wrapper {
    padding: 4px 20px 16px;
  }

  .artist-avatar {
    width: 68px;
    height: 68px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {

  .artist-scroll {
    gap: 16px;
  }

  .artist-avatar {
    width: 60px;
    height: 60px;
    font-size: 0.6rem;
  }

  .artist-bubble span {
    font-size: 0.65rem;
    max-width: 64px;
  }
}