/* ==========================================================================
   Mel's Mahj - Main Stylesheet
   ========================================================================== */

:root {
  --jade: #2D8B6F;
  --jade-dark: #1F6B54;
  --lucky-red: #C94A4A;
  --lucky-red-light: #E8A5A5;
  --gold: #D4A853;
  --gold-light: #F5E6C8;
  --cream: #FDF9F3;
  --ivory: #FFFEF9;
  --charcoal: #2C2C2C;
  --warm-gray: #6B6460;
  --blush: #F8E8E0;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}
.logo img{
    width:300px;
    height:auto;
}
main {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Background Pattern
   ========================================================================== */

.tile-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: 
    repeating-linear-gradient(
      45deg,
      var(--jade) 0px,
      var(--jade) 2px,
      transparent 2px,
      transparent 20px
    );
  z-index: 0;
}

/* ==========================================================================
   Flash Messages
   ========================================================================== */

.flash-message {
  background: var(--gold-light);
  padding: 1rem 2rem;
  margin: 1rem 5%;
  border-radius: 8px;
  border: 1px solid var(--gold);
  color: var(--charcoal);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  padding: 0px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(253, 249, 243, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(212, 168, 83, 0.2);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--jade-dark);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-tile {
  width: 32px;
  height: 40px;
  background: linear-gradient(145deg, var(--ivory) 0%, var(--gold-light) 100%);
  border: 2px solid var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 2px 3px 0 var(--gold);
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--warm-gray);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lucky-red);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--charcoal);
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--jade);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--jade-dark);
  color: white !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'Outfit', sans-serif;
}

.btn-primary {
  background: var(--lucky-red);
  color: white;
  box-shadow: 0 4px 20px rgba(201, 74, 74, 0.3);
}

.btn-primary:hover {
  background: #B33F3F;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 74, 74, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: white;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 2rem 5% 4rem;
    position: relative;
}

.hero-content {
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-light);
  color: var(--charcoal);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid var(--gold);
}

.hero-badge span {
  font-size: 1.1rem;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

h1 .highlight {
  color: var(--jade);
  font-style: italic;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--warm-gray);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Floating tiles decoration */
.hero-decoration {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 550px;
  aspect-ratio: 1;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.floating-tiles {
  position: relative;
  width: 100%;
  height: 100%;
}

.tile {
  position: absolute;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  animation: float 6s ease-in-out infinite;
}

.tile-symbol {
  font-size: 2.5rem;
  line-height: 1;
}

.tile-label {
  font-size: 0.7rem;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.tile-1 {
  width: 100px;
  height: 190px;
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.tile-2 {
  width: 90px;
  height: 165px;
  top: 25%;
  right: 15%;
  animation-delay: -2s;
 
}

.tile-3 {
  width: 110px;
  height: 190px;
  bottom: 25%;
  left: 30%;
  animation-delay: -4s;
 
}

.tile-4 {
  width: 85px;
  height: 170px;
  bottom: 10%;
  right: 25%;
  animation-delay: -1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--jade);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--warm-gray);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  font-weight: 700;
}

/* ==========================================================================
   What's Included Section
   ========================================================================== */

.included-section {
  padding: 6rem 5%;
  background: white;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.included-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.included-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(212, 168, 83, 0.15);
}

.included-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--blush) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

.included-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.included-card p {
  color: var(--warm-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Why Section
   ========================================================================== */

.why-section {
  padding: 6rem 5%;
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.why-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(212, 168, 83, 0.12);
}

.why-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.why-item p {
  color: var(--warm-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
  padding: 6rem 5%;
  background: white;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border-color: var(--jade);
  background: white;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 1.25rem;
  right: -2rem;
  background: var(--jade);
  color: white;
  padding: 0.35rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: rotate(45deg);
}

.pricing-duration {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--warm-gray);
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-amount span {
  font-size: 1.5rem;
  vertical-align: top;
}

.pricing-per {
  font-size: 1.5rem;
  font-weight: 400;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}

.pricing-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem 0;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--warm-gray);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li::before {
  content: 'âœ“';
  color: var(--jade);
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-section {
  padding: 6rem 5%;
  background: var(--cream);
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--jade) 0%, var(--jade-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--gold);
}

.step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.step p {
  color: var(--warm-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  padding: 6rem 5%;
  background: white;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--cream);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--gold);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--charcoal);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--jade);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(212, 168, 83, 0.2);
}

.faq-item summary:hover {
  color: var(--jade);
}

.faq-item p {
  padding: 1rem 1.5rem 1.5rem;
  color: var(--warm-gray);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  padding: 6rem 5%;
  background: linear-gradient(135deg, var(--jade) 0%, var(--jade-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'ðŸ€„';
  position: absolute;
  font-size: 20rem;
  opacity: 0.1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-section .btn-primary {
  background: white;
  color: var(--jade-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 5% 2rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e0ddd8;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--jade);
}

/* ==========================================================================
   Page Content Wrapper
   ========================================================================== */

.page-content {
  padding: 8rem 5% 4rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60vh;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

/* ==========================================================================
   Builder Page
   ========================================================================== */

.builder-page {
  padding: 7rem 0 4rem;
  background: var(--cream);
  min-height: 100vh;
}

.builder-header {
  text-align: center;
  padding: 0 5% 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.builder-subtitle {
  color: var(--warm-gray);
  font-size: 1.1rem;
  line-height: 1.6;
}

.builder-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: start;
}

.builder-selections {
  min-width: 0;
}

/* Builder Sections */
.builder-section {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.builder-section .section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.builder-section .section-number {
  width: 32px;
  height: 32px;
  background: var(--jade);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
  margin: 0;
  border: none;
}

.optional-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--gold-light);
  color: var(--charcoal);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-left: auto;
}

/* Date/Duration Grid */
.date-duration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

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

/* Product Card */
.product-card {
  position: relative;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.product-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-card:has(input:checked) {
  border-color: var(--jade);
  background: white;
  box-shadow: 0 4px 15px rgba(45, 139, 111, 0.15);
}

.product-card:has(input:checked) .product-check {
  opacity: 1;
  transform: scale(1);
}

.product-image {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  margin-bottom: 0.5rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--blush) 100%);
}

.product-info {
  text-align: center;
}

.product-name {
  font-size: 0.8rem;
  color: var(--charcoal);
  display: block;
  line-height: 1.3;
}

.product-check {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  background: var(--jade);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

/* Summary Panel */
.builder-summary {
  position: relative;
}

.summary-sticky {
  position: sticky;
  top: 100px;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.summary-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  text-align: center;
}

.summary-preview {
  margin-bottom: 1.5rem;
}

.preview-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0ede8;
}

.preview-item:last-child {
  border-bottom: none;
}

.preview-label {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.9rem;
}

.preview-value {
  color: var(--warm-gray);
  font-size: 0.85rem;
  text-align: right;
  max-width: 180px;
}

.preview-value.selected {
  color: var(--jade);
  font-weight: 500;
}

.summary-included {
  background: var(--cream);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.summary-included .included-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.summary-included .included-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.summary-included .included-list li {
  padding: 0.25rem 0;
}

.summary-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.25rem 0;
}

.summary-dates {
  margin-bottom: 0.5rem;
}

.date-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--warm-gray);
}

.summary-pricing {
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.price-total {
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--charcoal);
}

.btn-checkout {
  width: 100%;
  justify-content: center;
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

.summary-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-top: 1rem;
}

/* ==========================================================================
   Cart Notice (Builder)
   ========================================================================== */

.cart-notice {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--gold-light);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  margin-top: 1rem;
  border: 1px solid var(--gold);
}

.date-locked-notice {
  background: var(--gold-light);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--gold);
}

.date-locked-notice p {
  margin: 0;
  color: var(--charcoal);
}

.date-locked-notice .small {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-top: 0.5rem;
}

.date-locked-notice a {
  color: var(--lucky-red);
}

/* In Cart Label */
.product-card.in-cart {
  opacity: 0.5;
  pointer-events: none;
}

.in-cart-label {
  display: block;
  font-size: 0.7rem;
  color: var(--jade);
  font-weight: 600;
  margin-top: 0.25rem;
}

.btn-view-cart {
  width: 100%;
  justify-content: center;
  margin-top: 0.75rem;
}

/* ==========================================================================
   Cart Page
   ========================================================================== */

.cart-page {
  padding: 8rem 5% 4rem;
  background: var(--cream);
  min-height: 100vh;
}

.cart-container {
  max-width: 1100px;
  margin: 0 auto;
}

.cart-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cart-subtitle {
  color: var(--warm-gray);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Empty Cart */
.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.cart-empty h2 {
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 0.5rem;
}

.cart-empty p {
  color: var(--warm-gray);
  margin-bottom: 2rem;
}

/* Cart Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

/* Cart Sets */
.cart-sets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-set {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.set-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0ede8;
}

.set-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
}

.btn-remove {
  background: none;
  border: none;
  color: var(--lucky-red);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.btn-remove:hover {
  text-decoration: underline;
}

.set-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.set-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: var(--cream);
  border-radius: 10px;
}

.item-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: white;
}

.item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--blush) 100%);
}

.set-price {
  text-align: right;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f0ede8;
}

/* Add Set Card */
.add-set-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: white;
  border: 2px dashed var(--gold);
  border-radius: 16px;
  color: var(--charcoal);
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 120px;
}

.add-set-card:hover {
  border-color: var(--jade);
  background: var(--cream);
}

.add-icon {
  font-size: 2rem;
  color: var(--jade);
  margin-bottom: 0.5rem;
}

.add-text {
  font-weight: 500;
}

/* Cart Summary */
.cart-summary {
  position: sticky;
  top: 100px;
}

.summary-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.price-row.discount {
  color: var(--jade);
}

.discount-badge {
  background: rgba(45, 139, 111, 0.1);
  color: var(--jade-dark);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  margin-bottom: 1rem;
}

.discount-hint {
  background: var(--gold-light);
  color: var(--charcoal);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.btn-clear {
  width: 100%;
  background: none;
  border: none;
  color: var(--warm-gray);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-top: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.btn-clear:hover {
  color: var(--lucky-red);
}

/* ==========================================================================
   Checkout Page
   ========================================================================== */

.checkout-page {
  padding: 8rem 5% 4rem;
  background: var(--cream);
  min-height: 100vh;
}

.checkout-container {
  max-width: 900px;
  margin: 0 auto;
}

.checkout-header {
  text-align: center;
  margin-bottom: 3rem;
}

.checkout-subtitle {
  color: var(--warm-gray);
  font-size: 1.1rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Order Summary */
.order-summary {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.summary-heading,
.payment-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.order-details {
  margin-bottom: 1.5rem;
}

.order-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.order-number .label {
  color: var(--warm-gray);
  font-size: 0.9rem;
}

.order-number .value {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 1.1rem;
}

.order-dates {
  background: var(--cream);
  border-radius: 12px;
  padding: 1rem;
}

.date-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.date-item .label {
  color: var(--warm-gray);
  font-size: 0.9rem;
}

.date-item .value {
  font-weight: 500;
  color: var(--charcoal);
}

.order-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem 0;
}

.order-pricing {
  margin-bottom: 1rem;
}

.price-line {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  color: var(--charcoal);
}

.price-line.total {
  font-weight: 700;
  font-size: 1.2rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--charcoal);
}

.deposit-note {
  font-size: 0.85rem;
  color: var(--warm-gray);
  text-align: center;
  margin-top: 1rem;
}

/* Order Items */
.order-items {
  margin: 1.5rem 0;
}

.items-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--cream);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: white;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image-small {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--blush) 100%);
}

.item-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.item-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm-gray);
}

.item-name {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.included-extras {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(45, 139, 111, 0.08);
  border-radius: 10px;
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.extra-icon {
  font-size: 1rem;
}

/* Payment Section */
.payment-section {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.payment-card {
  margin-bottom: 1.5rem;
}

.payment-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-icon {
  font-size: 2rem;
}

.secure-badge {
  font-size: 0.85rem;
  color: var(--jade);
  font-weight: 500;
}

#card-element {
  padding: 1rem;
  border: 2px solid #e0ddd8;
  border-radius: 10px;
  background: white;
  transition: border-color 0.2s ease;
}

#card-element:focus-within {
  border-color: var(--jade);
}

.card-errors {
  color: var(--lucky-red);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  min-height: 1.25rem;
}

.btn-pay {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.1rem 2rem;
  font-size: 1.1rem;
  justify-content: center;
}

.btn-pay:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.payment-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-size: 0.95rem;
}

.payment-message:empty {
  display: none;
}

.payment-message.success {
  background: rgba(45, 139, 111, 0.1);
  color: var(--jade-dark);
}

.payment-message.error {
  background: rgba(201, 74, 74, 0.1);
  color: var(--lucky-red);
}

.payment-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.payment-footer a {
  color: var(--jade);
  text-decoration: none;
}

.payment-footer a:hover {
  text-decoration: underline;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 0.5rem;
}

.spinner.hidden {
  display: none;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-decoration {
    display: none;
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .builder-summary {
  order: 2;
}

  .summary-sticky {
    position: relative;
    top: 0;
  }

  .hero {
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.5rem;
  }

  nav {
    gap: 1.5rem;
  }

  nav a:not(.nav-cta) {
  }

  .hero {
    padding: 7rem 5% 3rem;
  }

  .steps-container {
    gap: 2rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-content {
    padding: 6rem 5% 3rem;
  }

  /* Builder mobile */
  .builder-page {
    padding: 1rem 0 4rem;
    background: var(--cream);
    min-height: 100vh;
  }

  .builder-layout {
    padding: 0 1rem;
  }

  .builder-section {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .date-duration-grid {
    grid-template-columns: 1fr;
  }

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

  /* Checkout mobile */
  .checkout-page {
    padding: 6rem 1rem 3rem;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary,
  .payment-section {
    padding: 1.5rem;
  }

  /* Cart mobile */
  .cart-page {
    padding: 6rem 1rem 3rem;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: relative;
    top: 0;
    order: -1;
  }

  .set-items {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Admin Pages
   ========================================================================== */

.admin-page {
  padding: 2rem 5% 4rem;
  background: var(--cream);
  min-height: 100vh;
}

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

/* Admin Header */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.admin-subtitle {
  color: var(--warm-gray);
  font-size: 0.95rem;
}

.admin-breadcrumb {
  margin-bottom: 1.5rem;
}

.admin-breadcrumb a {
  color: var(--jade);
  text-decoration: none;
  font-size: 0.9rem;
}

.admin-breadcrumb a:hover {
  text-decoration: underline;
}

/* Admin Login */
.admin-login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 2rem;
}

.admin-login-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.admin-login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.admin-login-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.admin-login-header p {
  color: var(--warm-gray);
  font-size: 0.95rem;
}

.admin-login-form .form-group {
  margin-bottom: 1.25rem;
}

.btn-login {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.admin-login-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.admin-login-footer a {
  color: var(--jade);
  text-decoration: none;
}

.flash-error {
  background: rgba(201, 74, 74, 0.1);
  color: var(--lucky-red);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Admin Filters */
.admin-filters {
  margin-bottom: 1.5rem;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #e0ddd8;
  border-radius: 20px;
  color: var(--warm-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  border-color: var(--jade);
  color: var(--jade);
}

.filter-tab.active {
  background: var(--jade);
  border-color: var(--jade);
  color: white;
}

/* Admin Table */
.admin-table-wrapper {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #f0ede8;
}

.admin-table th {
  background: var(--cream);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm-gray);
}

.admin-table tbody tr:hover {
  background: #fdfcfa;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table-compact th,
.admin-table-compact td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.order-id {
  font-weight: 600;
  color: var(--charcoal);
}

.order-total {
  font-weight: 600;
}

.text-muted {
  color: var(--warm-gray);
  font-style: italic;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: capitalize;
}

.status-large {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.status-draft {
  background: #f0ede8;
  color: var(--warm-gray);
}

.status-pending_payment {
  background: var(--gold-light);
  color: #8B6914;
}

.status-paid {
  background: rgba(45, 139, 111, 0.15);
  color: var(--jade-dark);
}

.status-picked_up,
.status-shipped {
  background: rgba(100, 149, 237, 0.15);
  color: #3366BB;
}

.status-returned {
  background: rgba(45, 139, 111, 0.25);
  color: var(--jade-dark);
}

.status-refunded {
  background: #f0ede8;
  color: var(--warm-gray);
}

/* Admin Cards */
.admin-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

/* Order Summary Grid */
.order-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.summary-label {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.summary-value {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 1.1rem;
}

.summary-total .summary-value {
  font-size: 1.35rem;
  color: var(--jade-dark);
}

.stripe-id {
  font-family: monospace;
  font-size: 0.85rem;
  word-break: break-all;
}

/* Bundle Cards */
.bundle-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.bundle-card:last-child {
  margin-bottom: 0;
}

.bundle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.bundle-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bundle-number {
  font-weight: 600;
  color: var(--charcoal);
}

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

.bundle-dates {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.date-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.date-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--warm-gray);
  letter-spacing: 0.05em;
}

.date-value {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.9rem;
}

.date-arrow {
  color: var(--warm-gray);
}

.bundle-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bundle-item {
  background: white;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.item-type {
  color: var(--warm-gray);
  margin-right: 0.25rem;
}

.item-type::after {
  content: ':';
}

.item-name {
  color: var(--charcoal);
}

.bundle-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.action-form {
  display: inline;
}

/* Deductions */
.deduction-type {
  background: rgba(201, 74, 74, 0.1);
  color: var(--lucky-red);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.deduction-amount {
  font-weight: 600;
  color: var(--lucky-red);
}

.add-deduction-details {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f0ede8;
}

.add-deduction-details summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--jade);
  margin-bottom: 1rem;
}

.add-deduction-form {
  background: var(--cream);
  padding: 1rem;
  border-radius: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Admin Empty State */
.admin-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 16px;
}

.empty-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.admin-empty h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.admin-empty p {
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}

/* Admin Responsive */
@media (max-width: 768px) {
  .admin-page {
    padding: 1rem;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
  
  .admin-login-card {
    padding: 2rem;
  }
  
  .bundle-dates {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .date-arrow {
    display: none;
  }
}

/* Unavailable items */
.product-card.unavailable {
  opacity: 0.5;
  pointer-events: none;
}

.unavailable-label {
  display: block;
  font-size: 0.7rem;
  color: var(--lucky-red);
  font-weight: 600;
  margin-top: 0.25rem;
}

.nav-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.nav-link-btn:hover {
  opacity: 0.7; /* match whatever hover style your nav <a> tags use */
}
.tile {
  position: absolute;  /* already set per tile-1 through tile-4 */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.builder-page {
    padding: 3rem 0 4rem !important;
}


.founding-section {
  background: var(--color-background-secondary, #f8f6f2);
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 3rem 2rem;
  text-align: center;
}

.founding-content {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.founding-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 14px;
  opacity: 0.5;
}

.founding-description {
  color: var(--color-muted, #666);
  max-width: 520px;
  line-height: 1.7;
}

.founding-limit {
  font-weight: 600;
  margin: 0;
}



  padding: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  background: var(--cream);
}
 
.radio-card:hover {
  border-color: var(--gold);
}
 
.radio-card input[type="radio"],
.radio-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
 
.radio-card.selected {
  border-color: var(--jade);
  background: white;
  box-shadow: 0 2px 10px rgba(45, 139, 111, 0.15);
}
 
.radio-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 6px;
}
 
.radio-card-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--charcoal);
}
 
.radio-card-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: var(--jade);
  border-radius: 50%;
  color: white;
  font-size: 11px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
 
.radio-card.selected .radio-card-check {
  display: flex;
}
 
/* ==========================================================================
   Order Create — Summary Sidebar
   ========================================================================== */
 
.create-layout .summary-card {
  position: sticky;
  top: 20px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
 
.create-layout .summary-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 16px;
}
 
.create-layout .summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
  gap: 8px;
}
 
.create-layout .summary-row:last-of-type {
  border-bottom: none;
}
 
.create-layout .summary-row.total {
  font-weight: 700;
  font-size: 16px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 2px solid var(--charcoal);
  border-bottom: none;
}
 
.summary-label-muted {
  color: var(--warm-gray);
  flex-shrink: 0;
}
 
/* ==========================================================================
   Customer Search Dropdown
   ========================================================================== */
 
.user-search-wrap {
  position: relative;
}
 
.user-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  z-index: 200;
  max-height: 240px;
  overflow-y: auto;
  display: none;
}
 
.user-result {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
  transition: background 0.1s;
}
 
.user-result:last-child {
  border-bottom: none;
}
 
.user-result:hover {
  background: var(--cream);
}
 
.user-result-name {
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}
 
.user-result-meta {
  color: var(--warm-gray);
  font-size: 12px;
}
 
.selected-customer {
  background: rgba(45, 139, 111, 0.08);
  border: 1px solid rgba(45, 139, 111, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--jade-dark);
  margin-top: 8px;
  display: none;
}
 
.selected-customer.visible {
  display: block;
}

/* ==========================================================================
   Order Detail — Customer Info
   ========================================================================== */

.summary-value a {
  color: var(--jade);
  text-decoration: none;
}

.summary-value a:hover {
  text-decoration: underline;
}

/* Smaller weight for text values vs price values */
.summary-item--text .summary-value {
  font-size: 0.95rem;
  font-weight: 500;
}


Copy

/* ==========================================================================
   Admin — Create Order Page
   ========================================================================== */
 
.create-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}
 
@media (max-width: 900px) {
  .create-layout {
    grid-template-columns: 1fr;
  }
  .create-layout .summary-card {
    position: relative;
    top: 0;
    order: -1;
  }
}
 
/* Required star */
.required-star {
  color: var(--lucky-red);
  margin-left: 2px;
}
 
/* Two-column form grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
 
.form-grid-2 .form-group {
  margin-bottom: 0;
}
 
.form-grid-2 .full {
  grid-column: 1 / -1;
}
 
@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}
 
/* ==========================================================================
   Radio / Checkbox Product Cards (order create)
   ========================================================================== */
 
.product-radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}
 
.radio-card {
  display: flex;
  flex-direction: column;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  background: var(--cream);
}
 
.radio-card:hover {
  border-color: var(--gold);
}
 
.radio-card input[type="radio"],
.radio-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
 
.radio-card.selected {
  border-color: var(--jade);
  background: white;
  box-shadow: 0 2px 10px rgba(45, 139, 111, 0.15);
}
 
.radio-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 6px;
}
 
.radio-card-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--charcoal);
}
 
.radio-card-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: var(--jade);
  border-radius: 50%;
  color: white;
  font-size: 11px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
 
.radio-card.selected .radio-card-check {
  display: flex;
}
 
/* ==========================================================================
   Order Create — Summary Sidebar
   ========================================================================== */
 
.create-layout .summary-card {
  position: sticky;
  top: 20px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
 
.create-layout .summary-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 16px;
}
 
.create-layout .summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
  gap: 8px;
}
 
.create-layout .summary-row:last-of-type {
  border-bottom: none;
}
 
.create-layout .summary-row.total {
  font-weight: 700;
  font-size: 16px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 2px solid var(--charcoal);
  border-bottom: none;
}
 
.summary-label-muted {
  color: var(--warm-gray);
  flex-shrink: 0;
}
 
/* ==========================================================================
   Customer Search Dropdown
   ========================================================================== */
 
.user-search-wrap {
  position: relative;
}
 
.user-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  z-index: 200;
  max-height: 240px;
  overflow-y: auto;
  display: none;
}
 
.user-result {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
  transition: background 0.1s;
}
 
.user-result:last-child {
  border-bottom: none;
}
 
.user-result:hover {
  background: var(--cream);
}
 
.user-result-name {
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}
 
.user-result-meta {
  color: var(--warm-gray);
  font-size: 12px;
}
 
.selected-customer {
  background: rgba(45, 139, 111, 0.08);
  border: 1px solid rgba(45, 139, 111, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--jade-dark);
  margin-top: 8px;
  display: none;
}
 
.selected-customer.visible {
  display: block;
}
 
/* ==========================================================================
   Order Detail — Customer Info Card
   ========================================================================== */
 
.customer-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
 
.customer-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
 
.customer-info-item--wide {
  grid-column: 1 / -1;
}
 
.customer-info-item--notes {
  background: var(--cream);
  border-radius: 8px;
  padding: 10px 12px;
}
 
.customer-info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm-gray);
}
 
.customer-info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
}
 
.customer-info-link {
  color: var(--jade);
  text-decoration: none;
}
 
.customer-info-link:hover {
  text-decoration: underline;
}


/* ==========================================================================
   Admin — Create Order Page
   ========================================================================== */

.create-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}

@media (max-width: 900px) {
  .create-layout {
    grid-template-columns: 1fr;
  }
  .create-layout .summary-card {
    position: relative;
    top: 0;
    order: -1;
  }
}

/* Required star */
.required-star {
  color: var(--lucky-red);
  margin-left: 2px;
}

/* Two-column form grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid-2 .form-group {
  margin-bottom: 0;
}

.form-grid-2 .full {
  grid-column: 1 / -1;
}

@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Radio / Checkbox Product Cards (order create)
   ========================================================================== */

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

.radio-card {
  display: flex;
  flex-direction: column;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  background: var(--cream);
}

.radio-card:hover {
  border-color: var(--gold);
}

.radio-card input[type="radio"],
.radio-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-card.selected {
  border-color: var(--jade);
  background: white;
  box-shadow: 0 2px 10px rgba(45, 139, 111, 0.15);
}

.radio-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 6px;
}

.radio-card-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--charcoal);
}

.radio-card-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: var(--jade);
  border-radius: 50%;
  color: white;
  font-size: 11px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.radio-card.selected .radio-card-check {
  display: flex;
}

/* ==========================================================================
   Order Create — Summary Sidebar
   ========================================================================== */

.create-layout .summary-card {
  position: sticky;
  top: 20px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.create-layout .summary-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 16px;
}

.create-layout .summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
  gap: 8px;
}

.create-layout .summary-row:last-of-type {
  border-bottom: none;
}

.create-layout .summary-row.total {
  font-weight: 700;
  font-size: 16px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 2px solid var(--charcoal);
  border-bottom: none;
}

.summary-label-muted {
  color: var(--warm-gray);
  flex-shrink: 0;
}

/* ==========================================================================
   Customer Search Dropdown
   ========================================================================== */

.user-search-wrap {
  position: relative;
}

.user-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  z-index: 200;
  max-height: 240px;
  overflow-y: auto;
  display: none;
}

.user-result {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
  transition: background 0.1s;
}

.user-result:last-child {
  border-bottom: none;
}

.user-result:hover {
  background: var(--cream);
}

.user-result-name {
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.user-result-meta {
  color: var(--warm-gray);
  font-size: 12px;
}

.selected-customer {
  background: rgba(45, 139, 111, 0.08);
  border: 1px solid rgba(45, 139, 111, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--jade-dark);
  margin-top: 8px;
  display: none;
}

.selected-customer.visible {
  display: block;
}

/* ==========================================================================
   Order Detail — Customer Info Card
   ========================================================================== */

.customer-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.customer-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.customer-info-item--wide {
  grid-column: 1 / -1;
}

.customer-info-item--notes {
  background: var(--cream);
  border-radius: 8px;
  padding: 10px 12px;
}

.customer-info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm-gray);
}

.customer-info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
}

.customer-info-link {
  color: var(--jade);
  text-decoration: none;
}

.customer-info-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Checkout — Contact Info Section
   ========================================================================== */

.checkout-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-form-full {
  grid-column: 1 / -1;
}

@media (max-width: 500px) {
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Saved contact display */
.contact-saved {
  display: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: rgba(45, 139, 111, 0.07);
  border: 1px solid rgba(45, 139, 111, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 1rem;
}

.contact-saved.visible {
  display: flex;
}

.contact-saved-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.contact-saved-details strong {
  font-weight: 600;
}

.contact-saved-details span {
  color: var(--warm-gray);
  font-size: 0.85rem;
}

.contact-edit-btn {
  background: none;
  border: none;
  color: var(--jade);
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
  flex-shrink: 0;
}

.contact-edit-btn:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

/* Pay button disabled state */
#payBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}