/* ============================================================
   LUMINARA — Premium Personalized LED Lamp Store
   Complete CSS Stylesheet · Mobile-First · Dark Luxury Theme
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --primary:       #000000;
  --secondary:     #FFFFFF;
  --accent:        #D4AF37;
  --accent-light:  #F4E9CD;
  --accent-dark:   #B8960C;
  --bg:            #0A0A0A;
  --bg-light:      #1A1A1A;
  --bg-card:       #111111;
  --text:          #FFFFFF;
  --text-muted:    #999999;
  --success:       #28A745;
  --error:         #DC3545;
  --border:        #333333;

  /* Typography */
  --font-heading:  'Playfair Display', 'Georgia', serif;
  --font-body:     'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* Radii */
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-pill:   100px;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:     0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg:     0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold:   0 4px 30px rgba(212, 175, 55, 0.15);
  --shadow-gold-lg:0 8px 50px rgba(212, 175, 55, 0.25);

  /* Glass */
  --glass-bg:      rgba(17, 17, 17, 0.65);
  --glass-border:  rgba(255, 255, 255, 0.06);
  --glass-blur:    16px;

  /* Transitions */
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --transition:    0.35s var(--ease-out);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-dark);
  border-radius: 10px;
}

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 20px;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 18px;
}

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

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: -30px auto 50px;
  line-height: 1.7;
}

/* ============================================================
   4. HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  transition: background var(--transition), border-color var(--transition);
  font-size: 1.15rem;
  cursor: pointer;
}

.cart-icon:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.25);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #0D0D0D 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 680px;
  width: 100%;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 50%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Form */
.hero-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: left;
  box-shadow: var(--shadow-gold);
}

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

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

.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.04);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input::placeholder {
  color: #555;
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D4AF37' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-light);
  color: var(--text);
}

/* File Upload */
.file-upload {
  position: relative;
  border: 2px dashed rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  background: rgba(212, 175, 55, 0.02);
}

.file-upload:hover {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.06);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.08);
}

.file-upload.dragover {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.file-upload-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.file-upload-text strong {
  color: var(--accent);
}

.file-upload-preview {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-upload-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
}

.file-upload-preview .file-name {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 35px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary.btn-full {
  width: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.8rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ============================================================
   7. TRUST SECTION
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition);
}

.trust-item:hover {
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  background: rgba(212, 175, 55, 0.08);
  border-radius: 50%;
}

.trust-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ============================================================
   8. DESIGN / PRODUCT CARDS
   ============================================================ */
.designs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.design-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
}

.design-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-gold);
}

.design-card.selected {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-gold-lg);
}

.design-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 5;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
  animation: scaleIn 0.35s var(--ease-out);
}

.design-card-image {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.design-card:hover .design-card-image {
  transform: scale(1.06);
}

.design-card-body {
  padding: 16px;
}

.design-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.design-card-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.design-card-price .original-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

.design-card .btn-add-cart {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.design-card .btn-add-cart:hover {
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

/* ============================================================
   9. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 8px;
  display: inline-block;
}

.testimonial-author::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.testimonial-role {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   10. FAQ
   ============================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  color: var(--text);
  background: none;
  border: none;
  padding: 0;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 14px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================================
   11. CART PAGE
   ============================================================ */
.cart-container {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 90px;
  padding-bottom: 160px;
  min-height: 100vh;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.cart-header h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.cart-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color var(--transition);
}

.cart-item:hover {
  border-color: rgba(212, 175, 55, 0.15);
}

.cart-item-image {
  width: 100px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.cart-item-remove {
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  align-self: flex-start;
  padding: 4px;
}

.cart-item-remove:hover {
  color: var(--error);
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.quantity-control button {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border: none;
}

.quantity-control button:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent);
}

.quantity-control input {
  width: 40px;
  height: 34px;
  text-align: center;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Cart Summary */
.cart-summary {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--accent);
  padding: 16px 20px;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
}

.cart-summary-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-total-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-total-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

/* Cart Empty */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  gap: 16px;
}

.cart-empty-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.cart-empty-text {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ============================================================
   12. CHECKOUT PAGE
   ============================================================ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 90px;
  padding-bottom: 40px;
}

.checkout-form {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.checkout-form h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.checkout-summary {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.checkout-summary h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.order-preview-image {
  width: 100%;
  max-width: 200px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 16px;
}

.checkout-line-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkout-line-item.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.checkout-line-item.total span:last-child {
  color: var(--accent);
}

/* ============================================================
   13. PAYMENT RESULT PAGES
   ============================================================ */
.payment-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 100px 20px 60px;
  gap: 20px;
}

.result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: scaleIn 0.5s var(--ease-out);
}

.payment-success .result-icon {
  background: rgba(40, 167, 69, 0.15);
  color: var(--success);
  border: 2px solid var(--success);
}

.payment-failed .result-icon {
  background: rgba(220, 53, 69, 0.15);
  color: var(--error);
  border: 2px solid var(--error);
}

.result-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
}

.result-details {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 440px;
}

.result-order-id {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 1px;
}

/* ============================================================
   14. ADMIN PANEL
   ============================================================ */
.admin-container {
  padding-top: 80px;
  min-height: 100vh;
  background: var(--bg);
}

.admin-header {
  background: var(--bg-light);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.admin-header h1 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent);
}

.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.admin-login-form {
  width: 100%;
  max-width: 400px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
}

.admin-login-form h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.admin-login-form p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 30px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color var(--transition);
}

.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Admin Table */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  background: rgba(212, 175, 55, 0.08);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.admin-table tbody tr {
  transition: background var(--transition);
}

.admin-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.admin-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.04);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge.pending {
  background: rgba(255, 193, 7, 0.15);
  color: #FFC107;
}

.status-badge.paid {
  background: rgba(40, 167, 69, 0.15);
  color: var(--success);
}

.status-badge.processing {
  background: rgba(0, 123, 255, 0.15);
  color: #4A9EFF;
}

.status-badge.shipped {
  background: rgba(111, 66, 193, 0.15);
  color: #9B6FE8;
}

.status-badge.delivered {
  background: rgba(40, 167, 69, 0.15);
  color: var(--success);
}

.status-badge.cancelled {
  background: rgba(220, 53, 69, 0.15);
  color: var(--error);
}

/* Admin Filters */
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-filters .form-input,
.admin-filters .form-select {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  font-size: 0.85rem;
}

/* Admin Modal */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.admin-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.admin-modal-content {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  z-index: 1;
  animation: scaleIn 0.3s var(--ease-out);
}

.admin-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition);
}

.admin-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   15. STICKY MOBILE ELEMENTS
   ============================================================ */
.sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 14px 20px;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
}

.sticky-bottom .btn-primary {
  width: 100%;
}

/* ============================================================
   16. KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

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

@keyframes checkmark {
  0%   { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

/* Animate In (Intersection Observer) */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

/* Stagger children */
.animate-in.visible:nth-child(1) { transition-delay: 0s; }
.animate-in.visible:nth-child(2) { transition-delay: 0.08s; }
.animate-in.visible:nth-child(3) { transition-delay: 0.16s; }
.animate-in.visible:nth-child(4) { transition-delay: 0.24s; }
.animate-in.visible:nth-child(5) { transition-delay: 0.32s; }
.animate-in.visible:nth-child(6) { transition-delay: 0.4s; }

/* ============================================================
   17. LOADER / SPINNER / SKELETON
   ============================================================ */
.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.loader::after {
  content: '';
  width: 36px;
  height: 36px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-light) 50%, var(--bg-card) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 14px;
  margin-bottom: 10px;
  width: 80%;
}

.skeleton-title {
  height: 22px;
  margin-bottom: 14px;
  width: 60%;
}

.skeleton-image {
  aspect-ratio: 3 / 4;
  width: 100%;
}

/* Full-screen overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay::after {
  content: '';
  width: 44px;
  height: 44px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ============================================================
   18. TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideInRight 0.4s var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.toast.dismiss {
  animation: slideOutRight 0.3s var(--ease-out) forwards;
}

.toast-success {
  border-left: 3px solid var(--accent);
}

.toast-error {
  border-left: 3px solid var(--error);
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-success .toast-icon {
  color: var(--accent);
}

.toast-error .toast-icon {
  color: var(--error);
}

.toast-body {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.toast-message {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.toast-close {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  transition: color var(--transition);
}

.toast-close:hover {
  color: var(--text);
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.footer {
  background: #050505;
  padding: 60px 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand .logo {
  margin-bottom: 12px;
  display: inline-block;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.footer-social a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent);
  border-color: rgba(212, 175, 55, 0.3);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ============================================================
   20. UTILITY CLASSES
   ============================================================ */
.text-gold    { color: var(--accent); }
.text-success { color: var(--success); }
.text-error   { color: var(--error); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.text-sm      { font-size: 0.85rem; }
.text-xs      { font-size: 0.75rem; }

.font-heading { font-family: var(--font-heading); }
.font-bold    { font-weight: 700; }
.font-medium  { font-weight: 500; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }

.hidden  { display: none !important; }
.visible { visibility: visible; }

.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.flex-center   { align-items: center; justify-content: center; }
.flex-between  { justify-content: space-between; }
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.w-full  { width: 100%; }
.rounded { border-radius: var(--radius-md); }

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.gold-border {
  border-color: rgba(212, 175, 55, 0.3);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================================
   21. RESPONSIVE — 480px (Small Phones → Large Phones)
   ============================================================ */
@media (min-width: 480px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .hero-form {
    padding: 36px 30px;
  }

  .design-card-body {
    padding: 18px;
  }

  .design-card-title {
    font-size: 1.05rem;
  }

  .toast {
    min-width: 320px;
  }
}

/* ============================================================
   22. RESPONSIVE — 768px (Tablet)
   ============================================================ */
@media (min-width: 768px) {
  .section {
    padding: 100px 30px;
  }

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

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-form {
    padding: 40px 36px;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .trust-item {
    padding: 28px 20px;
  }

  .designs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .design-card-body {
    padding: 20px;
  }

  .design-card-title {
    font-size: 1.1rem;
  }

  .design-card-price {
    font-size: 1.3rem;
  }

  .testimonials-grid {
    gap: 24px;
  }

  .testimonial-card {
    min-width: 340px;
    padding: 30px;
  }

  .checkout-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
  }

  .checkout-summary {
    position: sticky;
    top: 90px;
    align-self: start;
  }

  .cart-summary {
    position: static;
    border-top: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-top: 24px;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
  }

  .cart-container {
    padding-bottom: 60px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   23. RESPONSIVE — 1024px (Desktop)
   ============================================================ */
@media (min-width: 1024px) {
  .nav {
    height: 72px;
  }

  .logo {
    font-size: 1.65rem;
  }

  .hero {
    padding: 120px 40px 80px;
  }

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

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .designs-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }

  .testimonial-card {
    min-width: unset;
  }

  .admin-filters {
    flex-wrap: nowrap;
  }

  .sticky-bottom {
    display: none;
  }
}

/* ============================================================
   24. RESPONSIVE — 1200px (Large Desktop)
   ============================================================ */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .section {
    padding: 120px 40px;
  }

  .section-title {
    font-size: 2.8rem;
    margin-bottom: 60px;
  }

  .container {
    padding: 0 40px;
  }
}

/* ============================================================
   25. PRINT STYLES
   ============================================================ */
@media print {
  .header,
  .footer,
  .sticky-bottom,
  .toast-container,
  .overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding: 20px 0;
  }
}
