/* Deluxe Bouquet — Elegant floral shop design with green & purple */

:root {
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-dark: #5b21b6;
  --secondary: #059669;
  --secondary-light: #10b981;
  --secondary-dark: #047857;
  --accent-bg: #f5f3ff;
  --secondary-bg: #f0fdf4;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(180deg, #ffffff 0%, #fef9fb 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 25%, #10b981 75%, #059669 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3), 0 2px 8px rgba(5, 150, 105, 0.2);
  padding: 32px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '🌸';
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 50px;
  opacity: 0.2;
  animation: rotate 20s linear infinite;
}

.site-header::after {
  content: '🌺';
  position: absolute;
  bottom: 10px;
  right: 30px;
  font-size: 50px;
  opacity: 0.2;
  animation: rotate 15s linear infinite reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.site-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  position: relative;
  padding: 24px 0;
}

.brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, white, transparent);
  border-radius: 2px;
}

.brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, white, transparent);
  border-radius: 2px;
}

.brand h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin: 0;
  letter-spacing: 0.08em;
  text-shadow: 
    0 0 40px rgba(255, 255, 255, 0.6),
    0 0 20px rgba(255, 255, 255, 0.4),
    3px 3px 8px rgba(0,0,0,0.3);
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

.brand h1::before {
  content: '✿';
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  opacity: 0.9;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.brand h1::after {
  content: '✿';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  opacity: 0.9;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.brand .tag {
  font-family: 'Dancing Script', cursive;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.main-nav a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9375rem;
}

.main-nav a:hover {
  background: white;
  color: var(--accent);
  border-color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.5);
}

.admin-toggle {
  background: transparent;
  border: none;
  font-size: 18px;
  padding: 8px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.admin-toggle:hover {
  opacity: 1;
}

.admin-link {
  position: relative;
}

.admin-link[hidden] {
  display: none;
}

.admin-link a {
  font-size: 0.875rem;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 50%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.circle-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}

.circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.floating-flower {
  position: absolute;
  font-size: 60px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  animation: floatGentle 12s ease-in-out infinite;
}

.flower-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.flower-2 {
  top: 60%;
  right: 15%;
  animation-delay: 3s;
}

.flower-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 6s;
}

.catalog-flower-1 {
  top: 20%;
  right: 8%;
  animation-delay: 2s;
}

.catalog-flower-2 {
  bottom: 25%;
  left: 10%;
  animation-delay: 5s;
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--secondary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(217, 115, 152, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-bg);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Featured & Catalog Sections */
.featured-section {
  padding: 80px 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.decorative-leaf {
  position: absolute;
  font-size: 80px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: leafSway 8s ease-in-out infinite;
}

.leaf-1 {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.leaf-2 {
  bottom: 15%;
  left: 3%;
  animation-delay: 2s;
  transform: scaleX(-1);
}

@keyframes leafSway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.catalog-section {
  padding: 80px 0;
  background: white;
}

.featured-preview {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.catalog-actions {
  text-align: center;
  margin-top: 50px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

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

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

.product-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 20px 20px 8px;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0 20px;
  flex: 1;
  line-height: 1.6;
}

.product-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.product-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.product-card .actions {
  padding: 0 20px 20px;
}

.product-card button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '🌺';
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 100px;
  opacity: 0.08;
  pointer-events: none;
  animation: float 15s ease-in-out infinite;
}

.contact-section::after {
  content: '🌸';
  position: absolute;
  bottom: 10%;
  right: 5%;
  font-size: 120px;
  opacity: 0.08;
  pointer-events: none;
  animation: float 18s ease-in-out infinite reverse;
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(300px, 400px) 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
  align-items: start;
}

.contact-info-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--accent);
  max-width: 100%;
  box-sizing: border-box;
}

.contact-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.info-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  word-break: break-word;
  overflow-wrap: break-word;
}

.info-item:last-of-type {
  border-bottom: none;
}

.info-icon {
  color: var(--secondary);
  margin-top: 2px;
}

.info-item strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.info-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0;
}

.info-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.info-item a:hover {
  color: var(--accent-dark);
}

.copy-btn {
  padding: 6px 12px;
  background: var(--accent-bg);
  color: var(--accent-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

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

.contact-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-note p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-style: italic;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 100%;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: all 0.2s;
  background: var(--bg-secondary);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(217, 115, 152, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border-top: 1px solid var(--border);
  position: relative;
}

.site-footer .admin-toggle {
  position: absolute;
  bottom: 10px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 14px;
  padding: 8px;
  cursor: pointer;
  opacity: 0.2;
  transition: opacity 0.2s;
}

.site-footer .admin-toggle:hover {
  opacity: 0.5;
}

.site-footer .admin-link {
  position: absolute;
  bottom: 45px;
  right: 20px;
  background: white;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.site-footer .admin-link[hidden] {
  display: none;
}

.site-footer .admin-link a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
}

.site-footer .admin-link a:hover {
  color: var(--accent);
}

/* Preview Banner */
.preview-banner {
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
  color: var(--accent-dark);
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  margin: 20px auto;
  max-width: 1200px;
}

.preview-banner[hidden] {
  display: none;
}

/* Toast */
.site-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(26, 26, 46, 0.95);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
  font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .featured-section,
  .catalog-section,
  .contact-section {
    padding: 60px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    gap: 24px;
  }

  .contact-info-card,
  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .contact-section .container {
    padding: 0 8px;
  }

  .contact-info-card,
  .contact-form {
    padding: 16px;
    border-radius: var(--radius-sm);
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }
}

/* Admin styles */
.admin-header {
  background: linear-gradient(135deg, var(--accent-bg) 0%, var(--secondary-bg) 100%);
  padding: 32px 24px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.admin-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header .brand h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--accent-dark);
  margin: 0;
}

.admin-header .brand .muted {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--secondary-dark);
  margin-top: 4px;
}

.admin-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-nav .btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  background: white;
  color: var(--text-primary);
}

.admin-nav .btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.admin-nav .btn-back {
  background: var(--accent);
  color: white;
}

.admin-nav .btn-back:hover {
  background: var(--accent-dark);
}

.admin-grid {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 32px;
  margin-top: 32px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.admin-panel {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-bg) 100%);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent);
  position: sticky;
  top: 20px;
}

.admin-panel h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-dark);
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.admin-panel form label {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  margin-top: 16px;
  font-size: 1.0625rem;
}

.admin-panel form input,
.admin-panel form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: all 0.2s;
  background: white;
}

.admin-panel form input:focus,
.admin-panel form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.admin-panel .btn-primary {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.admin-panel .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.admin-products {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.admin-products h2 {
  font-family: 'Playfair Display', serif;
  color: var(--text-primary);
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-row {
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  border: 1px solid var(--border);
}

.product-row:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

.product-row-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
}

.product-thumb.placeholder {
  background: linear-gradient(135deg, var(--accent-bg) 0%, var(--secondary-bg) 100%);
}

.product-info {
  flex: 1;
}

.product-info strong {
  font-family: 'Playfair Display', serif;
  color: var(--text-primary);
  font-size: 1.125rem;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.product-actions .btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.product-actions .edit {
  background: var(--accent-bg);
  color: var(--accent-dark);
}

.product-actions .edit:hover {
  background: var(--accent);
  color: white;
}

.product-actions .delete {
  background: #fee;
  color: #c33;
}

.product-actions .delete:hover {
  background: #c33;
  color: white;
}

.image-preview {
  margin: 16px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent);
}

#save-message {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--secondary-bg);
  color: var(--secondary-dark);
  font-style: italic;
  text-align: center;
}

.admin-list-controls {
  margin-bottom: 20px;
}

.admin-list-controls label {
  font-family: 'Playfair Display', serif;
  color: var(--text-primary);
  font-weight: 500;
}

#archived-section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

#archived-section h3 {
  font-family: 'Playfair Display', serif;
  color: var(--text-secondary);
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.restore {
  background: var(--secondary-bg) !important;
  color: var(--secondary-dark) !important;
}

.restore:hover {
  background: var(--secondary) !important;
  color: white !important;
}

.purge {
  background: #fee !important;
  color: #c33 !important;
}

.purge:hover {
  background: #c33 !important;
  color: white !important;
}

@media (max-width: 1024px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-panel {
    position: static;
  }
}

.muted {
  color: var(--text-secondary);
}

.small {
  font-size: 0.875rem;
}

/* ===== UPGRADE 1: Scroll-Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ===== UPGRADE 2: Sticky Header that Shrinks ===== */
.site-header {
  transition: padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.site-header.scrolled .brand {
  padding: 8px 0;
}

.site-header.scrolled .brand h1 {
  font-size: 2.2rem;
}

.site-header.scrolled .brand .tag {
  font-size: 0.9rem;
}

.site-header.scrolled .brand::before,
.site-header.scrolled .brand::after {
  display: none;
}

.site-header.scrolled .main-nav {
  padding: 8px 24px;
}

.site-header.scrolled .main-nav a {
  padding: 6px 20px;
  font-size: 0.85rem;
}

.header-spacer {
  display: none;
}

.header-spacer.active {
  display: block;
}

/* ===== UPGRADE 3: Image Lightbox ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.lightbox-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.product-card img {
  cursor: zoom-in;
}

/* ===== UPGRADE 4: Shimmer Loading Placeholders ===== */
.shimmer-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.shimmer-img {
  width: 100%;
  height: 360px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.shimmer-text {
  padding: 20px;
}

.shimmer-line {
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin-bottom: 12px;
}

.shimmer-line.short {
  width: 60%;
}

.shimmer-line.price {
  width: 30%;
  height: 24px;
  margin-top: 16px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== UPGRADE 5: Petal Animation in Hero ===== */
.petal {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.3), rgba(217, 115, 152, 0.2));
  border-radius: 50% 0 50% 0;
  pointer-events: none;
  z-index: 0;
  animation: petalFall linear infinite;
}

@keyframes petalFall {
  0% {
    transform: translateY(-20px) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100vh)) rotate(720deg) translateX(80px);
    opacity: 0;
  }
}

.petal:nth-child(odd) {
  background: radial-gradient(ellipse at center, rgba(5, 150, 105, 0.3), rgba(16, 185, 129, 0.2));
}

/* ===== UPGRADE 6: Back-to-Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
}

/* ===== UPGRADE 7: Testimonials Section ===== */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-bg) 0%, #ffffff 50%, var(--secondary-bg) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--accent-light);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.testimonial-detail {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

/* Review Form */
.review-form-container {
  margin-top: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.review-form-container h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 24px;
  text-align: center;
}

.review-form select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
  background: white;
  cursor: pointer;
}

.review-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .review-form-container {
    padding: 24px;
    margin-top: 40px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 24px;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header.scrolled .brand h1 {
    font-size: 1.8rem;
  }
}
