/* ════════════════════════════
   SHOP PAGE
════════════════════════════ */
.shop-hero {
  background: var(--cream);
  padding: 7rem 5% 4rem;
  text-align: center;
}
.shop-hero .section-title { margin-bottom: 0.6rem; }

.shop-filters {
  padding: 2.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--warm-white);
}
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-tab {
  padding: 0.5rem 1.2rem;
  border-radius: 99px;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: all 0.25s;
  font-family: 'Jost', sans-serif;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.filter-sort select {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  background: white;
  cursor: pointer;
  outline: none;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3.5rem 5% 6rem;
  background: var(--warm-white);
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--deep);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  z-index: 2;
}
.product-badge.bestseller { background: var(--gold); }
.product-badge.new { background: var(--mauve); }

.product-img {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--blush), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-nail-art {
  display: flex;
  gap: 0.4rem;
  align-items: flex-end;
  padding: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pna {
  border-radius: 38% 38% 55% 55% / 28% 28% 72% 72%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.pna-sm { width: 32px; height: 44px; }
.pna-md { width: 38px; height: 54px; }
.pna-lg { width: 42px; height: 60px; }

.product-img .overlay {
  position: absolute; inset: 0;
  background: rgba(122,62,62,0.08);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .overlay { opacity: 1; }

.product-info { padding: 1.4rem; }
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--deep);
  margin-bottom: 0.3rem;
}
.product-tagline { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.8rem; }
.product-colors-row {
  display: flex; gap: 0.35rem; margin-bottom: 1rem;
}
.product-color-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.8);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep);
}
.product-price .orig {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 0.4rem;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}
.btn-add-cart {
  padding: 0.5rem 1.1rem;
  background: var(--deep);
  color: white;
  border: none;
  border-radius: 99px;
  font-size: 0.8rem;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.06em;
}
.btn-add-cart:hover { background: var(--mauve); }

/* ── CART ── */
.cart-float {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--deep);
  color: white;
  padding: 1rem 2rem;
  border-radius: 99px;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  font-size: 0.9rem;
  white-space: nowrap;
}
.cart-float.show { transform: translateX(-50%) translateY(0); }
.cart-count {
  background: var(--gold);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.cart-checkout {
  background: var(--gold);
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
}

/* ════════════════════════════
   CUSTOMIZER PAGE
════════════════════════════ */
.customizer-page {
  padding-top: var(--nav-height);
  background: var(--warm-white);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.customizer-page::before {
  content: '';
  position: absolute; top: -10%; left: -5%;
  width: 40vw; height: 50vh;
  background: radial-gradient(ellipse at center, rgba(244,201,201,0.3) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.customizer-page::after {
  content: '';
  position: absolute; bottom: -10%; right: -5%;
  width: 45vw; height: 55vh;
  background: radial-gradient(ellipse at center, rgba(201,169,110,0.18) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.customizer-header {
  background: var(--cream);
  padding: 3.5rem 5% 2.5rem;
  text-align: center;
  position: relative; z-index: 1;
  animation: fadeUp 0.7s ease both;
}

.customizer-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  min-height: calc(100vh - var(--nav-height) - 200px);
  position: relative; z-index: 1;
}
.customizer-controls {
  padding: 2.5rem 3rem;
  overflow-y: auto;
  border-right: 1px solid var(--border);
  animation: fadeUp 0.7s 0.1s ease both;
}
.customizer-preview-panel {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--cream);
  position: sticky;
  top: 0;
  animation: fadeIn 0.9s 0.2s ease both;
}

/* Steps */
.step-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  position: relative;
}
.step-tab {
  flex: 1;
  padding: 0.8rem 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s;
}
.step-tab.active { color: var(--deep); }
.step-tab-indicator {
  position: absolute;
  bottom: -1px; left: 0;
  width: 50%; height: 2px;
  background: linear-gradient(90deg, var(--mauve), var(--gold));
  border-radius: 99px;
  transition: transform 0.4s cubic-bezier(0.65,0,0.35,1);
}

.step-content { display: none; }
.step-content.active { display: block; animation: fadeUp 0.5s ease both; }

/* Skin shade */
.skin-shades {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.shade-option {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
}
.shade-option:hover { transform: translateY(-3px); }
.shade-option.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.3), 0 8px 20px rgba(201,169,110,0.25);
  transform: translateY(-3px);
}
.shade-swatch {
  height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.shade-option.selected .shade-swatch { transform: scale(1.06); }
.shade-label {
  background: white;
  padding: 0.4rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
}

/* Nail shape */
.shape-options { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.shape-opt {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  cursor: pointer; padding: 0.6rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}
.shape-opt:hover { transform: translateY(-3px); border-color: var(--mauve); }
.shape-opt.selected { border-color: var(--deep); background: rgba(122,62,62,0.05); box-shadow: 0 8px 20px rgba(122,62,62,0.15); transform: translateY(-3px); }
.shape-icon { font-size: 2rem; transition: transform 0.3s; }
.shape-opt.selected .shape-icon { transform: scale(1.15) rotate(-5deg); }
.shape-opt span { font-size: 0.75rem; color: var(--muted); font-weight: 500; }

/* Color grid */
.color-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-bottom: 1.5rem; }
.cg-swatch {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 2px;
  transition: all 0.2s;
  background: white;
}
.cg-swatch:hover { transform: scale(1.12); box-shadow: 0 3px 8px rgba(0,0,0,0.18); z-index: 1; position: relative; }
.cg-swatch.selected { border-color: var(--deep); box-shadow: 0 0 0 3px rgba(122,62,62,0.2), 0 6px 16px rgba(122,62,62,0.25); transform: scale(1.12); z-index: 1; position: relative; animation: swatchPop 0.35s ease; }
@keyframes swatchPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.28); }
  100% { transform: scale(1.12); }
}
.cg-swatch-fill {
  width: 100%; aspect-ratio: 1;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.cg-swatch-num {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
}

/* Preview */
.nail-hand-preview {
  position: relative;
  width: 320px;
  height: 280px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
  cursor: pointer;
}
.nail-hand-preview::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(244,201,201,0.15) 0%, transparent 55%, rgba(201,169,110,0.1) 100%);
  pointer-events: none;
}
.nail-hand-preview::after {
  content: '✨';
  position: absolute; top: 10px; right: 14px;
  font-size: 1.1rem;
  animation: float 3s ease-in-out infinite;
  opacity: 0.7;
}
.hand-base {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 2rem;
}
.finger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}
.finger-skin {
  border-radius: 8px 8px 0 0;
  background: #f0c49a;
}
.finger-nail {
  border-radius: 40% 40% 60% 60% / 30% 30% 70% 70%;
  transition: background 0.4s, border-radius 0.3s;
  position: relative;
  overflow: hidden;
}
.finger-nail .nail-shine {
  position: absolute; top: 8%; left: 18%;
  width: 28%; height: 22%;
  background: rgba(255,255,255,0.55);
  border-radius: 50%;
  transform: rotate(-20deg);
}
.finger-nail .nail-design {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
}

/* Nail size per finger */
.f-thumb .finger-skin { width: 32px; height: 52px; }
.f-thumb .finger-nail { width: 32px; height: 38px; }
.f-index .finger-skin { width: 28px; height: 64px; }
.f-index .finger-nail { width: 28px; height: 36px; }
.f-middle .finger-skin { width: 27px; height: 72px; }
.f-middle .finger-nail { width: 27px; height: 38px; }
.f-ring .finger-skin { width: 26px; height: 65px; }
.f-ring .finger-nail { width: 26px; height: 35px; }
.f-pinky .finger-skin { width: 22px; height: 52px; }
.f-pinky .finger-nail { width: 22px; height: 28px; }

.preview-summary {
  width: 100%;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 1.2rem;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
  animation: fadeUp 0.7s 0.35s ease both;
}
.preview-summary h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--deep);
  margin-bottom: 0.8rem;
}
.summary-row {
  display: flex; justify-content: space-between;
  color: var(--muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.summary-row:last-child { border: none; }
.summary-row .val { color: var(--text); font-weight: 500; }
.summary-total {
  display: flex; justify-content: space-between;
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--deep);
}
.btn-order-custom {
  width: 100%;
  margin-top: 1rem;
  background: var(--deep);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 99px;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}
.btn-order-custom:hover { background: var(--mauve); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(122,62,62,0.3); }

/* ════════════════════════════
   ABOUT PAGE
════════════════════════════ */
.about-hero {
  background: var(--cream);
  padding: 8rem 5% 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual-card {
  background: white;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-visual-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, var(--blush), var(--gold));
}
.about-avatar {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--blush), var(--rose));
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.about-visual-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--deep);
  margin-bottom: 0.3rem;
}
.about-visual-card .subtitle { color: var(--gold); font-size: 0.85rem; font-weight: 500; margin-bottom: 1.2rem; letter-spacing: 0.08em; }
.about-visual-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.8; }

.about-values {
  padding: 7rem 5%;
  background: var(--warm-white);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.value-card {
  padding: 2rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-4px); }
.value-card .v-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.value-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--deep); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }

.about-process {
  padding: 7rem 5%;
  background: var(--cream);
}

/* ════════════════════════════
   CONTACT PAGE
════════════════════════════ */
.contact-page-inner {
  padding: 7rem 5% 8rem;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--deep);
  margin-bottom: 0.5rem;
}
.contact-info-card > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.8; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border: none; margin: 0; padding: 0; }
.ci-icon {
  width: 42px; height: 42px;
  background: var(--blush);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ci-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.ci-value { font-size: 0.92rem; font-weight: 500; color: var(--text); }

.contact-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--deep);
  margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--mauve); background: white; }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .customizer-body { grid-template-columns: 1fr; max-height: none; }
  .customizer-preview-panel { border-top: 1px solid var(--border); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-page-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .shop-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: repeat(7, 1fr); }
}
