/* --- BRIGHT LABEL BOUTIQUE: MASTER STYLESHEET --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --bg-color: #fcfbf9;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --accent-color: #b08d57; /* Gold/Bronze accent */
  --nav-bg: rgba(255, 255, 255, 0.9);
  --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* --- TYPOGRAPHY & HEADERS --- */
header {
  text-align: center;
  padding: 6rem 2rem 3rem;
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, var(--bg-color) 70%);
}

h1#A {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

p#B {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* --- NAVIGATION --- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.2rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition-smooth);
}

nav ul li a:hover, nav ul li a.active {
  color: var(--accent-color);
}

/* --- LAYOUT CONTAINERS --- */
.page-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

/* --- FORMS & INPUTS --- */
.admin-panel, .admin-list-panel {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

input, textarea, select {
  padding: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition-smooth);
}

input:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* --- BUTTONS --- */
.submit-btn {
  background: var(--text-primary);
  color: white;
  border: none;
  padding: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background var(--transition-smooth);
}

.submit-btn:hover {
  background: var(--accent-color);
}

/* CSV Export Specific Style */
#exportCsvBtn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#exportCsvBtn:hover {
    background: var(--accent-color);
    color: white;
}

/* --- ADMIN PRODUCT LIST ITEMS --- */
.admin-product-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.admin-product-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.admin-product-details {
  flex-grow: 1;
}

.admin-product-details h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.admin-product-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.delete-btn {
  background: #ff4757;
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
}

/* --- SHOP GRID & CARDS --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-info {
  padding: 1.5rem;
  text-align: center;
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-price {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
}

/* --- ANIMATIONS --- */
.fade-in {
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
