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

/* --- Design Tokens & Variables --- */
:root {
  --bg-main: #F5EFEB; /* Warm organic luxury cream */
  --bg-card: #FFFFFF;
  --primary-gold: #BFA57A; /* Soft luxury champagne gold */
  --secondary-gold: #EADDC9; /* Light champagne cream */
  --text-dark: #2C221E; /* Deep warm espresso brown */
  --text-muted: #6C625C; /* Warm medium grey-brown */
  --text-light: #9B9189; /* Warm light grey */
  --accent-emerald: #BFA57A; /* Mapped to luxury champagne gold */
  --accent-emerald-light: rgba(191, 165, 122, 0.1);
  --border-color: #E5DDD5; /* Soft warm beige border */
  --white: #FFFFFF;
  
  --font-logo: 'Cormorant Garamond', serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-spring: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.04);
  --shadow-md: 0 10px 30px rgba(26, 26, 26, 0.06);
  --shadow-lg: 0 20px 50px rgba(26, 26, 26, 0.1);
  
  --max-width: 1200px;
  --header-height: 80px;
}

/* --- Reset & Global Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* --- Container & Helper Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.section-tag {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 24px auto 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-body);
  font-size: 0.82rem;
}

.btn-primary {
  background-color: var(--text-dark);
  color: var(--white);
  border: 1px solid var(--text-dark);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-emerald);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(15, 139, 109, 0.2);
}

.btn-accent:hover {
  background-color: #0c7259;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 139, 109, 0.3);
}

.btn-text {
  padding: 0;
  color: var(--primary-gold);
  background: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-text:hover {
  color: var(--accent-emerald);
}

.btn-text::after {
  content: '→';
  transition: var(--transition-smooth);
}

.btn-text:hover::after {
  transform: translateX(4px);
}

/* --- Header & Navigation --- */
header {
  height: var(--header-height);
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(245, 239, 235, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
}

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

.logo-link {
  font-family: var(--font-logo);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-gold {
  color: var(--primary-gold);
}

.nav-menu ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--primary-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cart-icon-btn {
  position: relative;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.cart-icon-btn:hover {
  color: var(--primary-gold);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--accent-emerald);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  padding-top: 60px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  
  background-color: var(--bg-main);
  
  background-image: 
    linear-gradient(90deg, var(--bg-main) 0%, rgba(245, 239, 235, 0.65) 35%, rgba(245, 239, 235, 0) 75%),
    url('assets/hero.jpg');
  background-size: cover; /* Spans full background width seamlessly */
  background-position: right center; /* Anchors the products on the right half */
  background-repeat: no-repeat;
  
  overflow: hidden;
}

.hero-content {
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-emerald-light);
  color: var(--accent-emerald);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
}

.hero-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  font-weight: 400;
  color: var(--text-dark);
}

.hero-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  color: var(--text-dark);
}

.hero-desc {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 700;
}

.stat-item h3 span {
  color: var(--primary-gold);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background-color: var(--bg-card);
  padding: 40px 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-gold);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-gold);
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
  background-color: var(--primary-gold);
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Personalization Studio --- */
.studio {
  background-color: var(--bg-main);
  position: relative;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-top: 50px;
  align-items: start;
}

.studio-workspace {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  position: relative;
}

.mockup-container {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG Mockups Overlay styling */
.mockup-svg-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.mockup-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mockup-user-photo {
  position: absolute;
  object-fit: cover;
  transition: var(--transition-smooth);
  pointer-events: none;
  mix-blend-mode: multiply; /* Helps integrate photo with shadow underlays */
}

/* Mug Photo Placement mapping */
.mockup-container.mug .mockup-user-photo {
  top: 31%;
  left: 26%;
  width: 37%;
  height: 43%;
  border-radius: 4px;
  transform: perspective(300px) rotateY(-8deg) skewY(2deg);
}

/* Cushion Photo Placement mapping */
.mockup-container.cushion .mockup-user-photo {
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  border-radius: 8px;
  transform: rotate(-1deg);
}

/* Keychain Photo Placement mapping */
.mockup-container.keychain .mockup-user-photo {
  top: 35%;
  left: 35%;
  width: 30%;
  height: 30%;
  border-radius: 50%;
}

/* Frame Photo Placement mapping */
.mockup-container.frame .mockup-user-photo {
  top: 14%;
  left: 17%;
  width: 66%;
  height: 72%;
}

/* Tumbler Photo Placement mapping */
.mockup-container.tumbler .mockup-user-photo {
  top: 25%;
  left: 36%;
  width: 28%;
  height: 45%;
  border-radius: 4px;
  transform: perspective(300px) rotateY(-5deg);
}

.workspace-placeholder {
  position: absolute;
  color: rgba(26, 26, 26, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
  background-color: rgba(250, 248, 243, 0.95);
  padding: 10px 16px;
  border-radius: 6px;
  pointer-events: none;
  border: 1.5px dashed var(--primary-gold);
  text-align: center;
  max-width: 80%;
  width: max-content;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.05);
}

.studio-controls {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.control-group {
  margin-bottom: 28px;
}

.control-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: block;
}

.product-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-select-btn {
  border: 1px solid var(--border-color);
  padding: 12px 8px;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.product-select-btn:hover {
  border-color: var(--secondary-gold);
  background-color: rgba(230, 211, 163, 0.05);
}

.product-select-btn.active {
  border-color: var(--primary-gold);
  background-color: rgba(201, 162, 39, 0.08);
  font-weight: 600;
}

.product-select-btn i {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--primary-gold);
}

.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-trigger {
  border: 2px dashed var(--border-color);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  background-color: var(--bg-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.file-upload-wrapper:hover .file-upload-trigger {
  border-color: var(--primary-gold);
  color: var(--text-dark);
}

.file-upload-trigger i {
  font-size: 1.75rem;
  color: var(--primary-gold);
}

.preview-thumbnail-container {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.thumb-option {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  object-fit: cover;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.thumb-option:hover {
  border-color: var(--primary-gold);
}

.thumb-option.active {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.3);
}

.studio-price-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 12px;
}

.studio-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-dark);
}

/* --- Product Grid & Catalog --- */
.products-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  border-color: var(--secondary-gold);
}

.filter-btn.active {
  background-color: var(--primary-gold);
  color: var(--white);
  border-color: var(--primary-gold);
  box-shadow: 0 4px 10px rgba(201, 162, 39, 0.2);
}

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

.product-card {
  background-color: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-gold);
}

.product-image-box {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #f7f6f2;
  position: relative;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(22, 22, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--primary-gold);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.product-actions-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0));
  display: flex;
  justify-content: center;
  gap: 12px;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.product-card:hover .product-actions-overlay {
  transform: translateY(0);
}

.overlay-action-btn {
  background-color: var(--white);
  color: var(--text-dark);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.overlay-action-btn:hover {
  background-color: var(--primary-gold);
  color: var(--white);
  transform: scale(1.1);
}

.product-info {
  padding: 24px;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 6px;
  display: block;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.product-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  color: var(--primary-gold);
  font-size: 0.8rem;
}

.product-rating span {
  color: var(--text-light);
  margin-left: 6px;
  font-size: 0.75rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
}

.product-price del {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-right: 6px;
}

.product-quick-add {
  background-color: var(--bg-main);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.product-quick-add:hover {
  background-color: var(--primary-gold);
  color: var(--white);
  border-color: var(--primary-gold);
}

/* --- How It Works --- */
.process {
  background-color: var(--bg-main);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 50px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--secondary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-gold);
  margin: 0 auto 24px auto;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.process-step:hover .process-number {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--white);
  transform: scale(1.05);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 200px;
  margin: 0 auto;
}

/* --- Testimonials --- */
.testimonials {
  background-color: var(--white);
  overflow: hidden;
}

.testimonial-slider {
  max-width: 800px;
  margin: 50px auto 0 auto;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 40px;
  text-align: center;
}

.testimonial-stars {
  color: var(--primary-gold);
  margin-bottom: 24px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.6;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary-gold);
}

.author-info h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background-color: var(--bg-main);
  border-color: var(--primary-gold);
}

/* --- Contact & Custom Orders --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-top: 50px;
  align-items: start;
}

.contact-info {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.contact-method {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg-main);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  font-size: 1.25rem;
}

.contact-detail h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-detail p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

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

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

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-main);
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary-gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

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

/* --- Cart Drawer --- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background-color: var(--white);
  z-index: 201;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-close-btn {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.cart-close-btn:hover {
  color: var(--primary-gold);
  transform: rotate(90deg);
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  color: var(--text-light);
  gap: 16px;
}

.cart-empty-state i {
  font-size: 3rem;
  color: var(--secondary-gold);
}

.cart-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  background-color: var(--bg-main);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-price {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: fit-content;
  margin-top: 8px;
}

.qty-btn {
  padding: 4px 10px;
  cursor: pointer;
  font-weight: bold;
}

.qty-val {
  padding: 4px 8px;
  font-size: 0.85rem;
}

.cart-item-remove {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cart-item-remove:hover {
  color: #ff4d4d;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-main);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 500;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 1.2rem;
  font-weight: 700;
}

/* --- Product Detail Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(5px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  max-height: 90vh;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--white);
  color: var(--text-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  transform: rotate(90deg);
  background-color: var(--primary-gold);
  color: var(--white);
}

.modal-image-box {
  background-color: #f7f6f2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100%;
}

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

.modal-info-box {
  padding: 48px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-category {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.modal-price-block {
  margin-bottom: 20px;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-price del {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 400;
  margin-right: 8px;
}

.modal-rating {
  display: flex;
  gap: 4px;
  color: var(--primary-gold);
  margin-bottom: 24px;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.7;
}

/* --- Footer --- */
footer {
  background-color: #0D0D0D;
  background-image: linear-gradient(180deg, #161616 0%, #0D0D0D 100%);
  color: #A0A0A0;
  padding: 80px 0 40px 0;
  border-top: 1px solid #1A1A1A;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  border-bottom: 1px solid #1A1A1A;
  padding-bottom: 50px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-family: var(--font-logo); /* Cormorant Garamond */
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #D4AF37; /* Luxury warm gold as accent */
  margin-bottom: 18px;
  display: inline-block;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.footer-brand .logo:hover {
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}

.footer-brand p {
  color: #A0A0A0; /* Soft gray for readability */
  margin-bottom: 28px;
  max-width: 280px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #161616;
  border: 1px solid #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A0A0A0;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background-color: transparent;
  border-color: #D4AF37; /* Gold accent on hover */
  color: #D4AF37;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.footer-heading {
  font-family: var(--font-body); /* Inter */
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: #A0A0A0; /* Soft gray */
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  display: inline-block;
}

.footer-links a:hover {
  color: #D4AF37; /* Gold accent on hover */
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  color: #A0A0A0;
  font-size: 0.95rem;
  align-items: center;
}

.footer-contact i {
  color: #D4AF37; /* Warm gold for icons */
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7A7A7A;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links {
  display: flex;
  gap: 28px;
}

.footer-bottom-links a {
  color: #7A7A7A;
  transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
  color: #D4AF37; /* Gold accent on hover */
}

/* Notification Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.toast {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInToast 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0.95rem;
  border-left: 4px solid var(--accent-emerald);
}

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

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
  .hero {
    background-image: linear-gradient(180deg, rgba(245, 239, 235, 0.92) 0%, rgba(245, 239, 235, 0.95) 100%), url('assets/hero.jpg');
    background-size: cover;
    background-position: center center;
  }
  .studio-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Mobile menu toggling logic in JS */
    position: absolute;
    top: 70px; /* Header height scrolled */
    left: 0;
    width: 100%;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-md);
    z-index: 100;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .nav-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-content {
    grid-template-columns: 1fr;
    max-height: 80vh;
  }
  .modal-image-box {
    height: 250px;
  }
  .modal-info-box {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .product-selector {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .workspace-placeholder {
    font-size: 0.8rem;
    padding: 8px 12px;
    max-width: 85%;
    width: auto;
  }
}

/* Checkout Modal styles */
.checkout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.checkout-modal-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.checkout-modal-overlay.active .checkout-modal-card {
  transform: translateY(0);
}

.checkout-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.checkout-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-dark);
}

.checkout-modal-close {
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.checkout-modal-close:hover {
  background-color: var(--border-color);
  color: var(--text-dark);
}

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

.checkout-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--bg-main);
  transition: var(--transition-smooth);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--primary-gold);
  background-color: var(--white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.checkout-form textarea {
  height: 80px;
  resize: none;
}

.checkout-order-summary {
  background-color: var(--bg-main);
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  border: 1px solid var(--border-color);
}

.checkout-order-summary h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
  text-transform: uppercase;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  margin-top: 10px;
  color: var(--text-dark);
}

/* --- Loading Indicators & Animations --- */

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

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

/* Loader Container — centers spinner + text */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  width: 100%;
  animation: fadeIn 0.3s ease;
}

.loader-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* Small variant — for sidebars, compact areas */
.loader-container.loader-sm {
  padding: 30px 16px;
}

.loader-container.loader-sm .loader-spinner {
  width: 26px;
  height: 26px;
  border-width: 2.5px;
}

.loader-container.loader-sm .loader-text {
  font-size: 0.7rem;
}

/* Inline variant — horizontal layout */
.loader-container.loader-inline {
  flex-direction: row;
  padding: 16px;
  gap: 10px;
}

.loader-container.loader-inline .loader-spinner {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

.loader-container.loader-inline .loader-text {
  letter-spacing: 1px;
}

/* Full page overlay loader */
.loader-container.loader-page {
  min-height: 300px;
}

/* Skeleton card shimmer placeholders */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
  padding: 0;
}

.skeleton-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.skeleton-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(90deg, var(--secondary-gold) 25%, #f0e8df 50%, var(--secondary-gold) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

.skeleton-body {
  padding: 18px;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--secondary-gold) 25%, #f0e8df 50%, var(--secondary-gold) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.6s ease-in-out infinite;
  margin-bottom: 10px;
}

.skeleton-line.skeleton-title {
  height: 16px;
  width: 75%;
}

.skeleton-line.skeleton-meta {
  width: 45%;
  height: 10px;
}

.skeleton-line.skeleton-price {
  width: 30%;
  height: 18px;
  margin-top: 14px;
  margin-bottom: 0;
}

/* Button loading state */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}

/* Profile skeleton loader */
.skeleton-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px;
}

.skeleton-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--secondary-gold) 25%, #f0e8df 50%, var(--secondary-gold) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

.skeleton-profile .skeleton-line {
  width: 60%;
}

.skeleton-profile .skeleton-line:nth-child(3) {
  width: 40%;
}

/* Order card skeleton */
.skeleton-order {
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  padding: 20px;
  margin-bottom: 12px;
}

.skeleton-order .skeleton-line:first-child {
  width: 40%;
  height: 14px;
}

.skeleton-order .skeleton-line:nth-child(2) {
  width: 70%;
}

.skeleton-order .skeleton-line:last-child {
  width: 25%;
  height: 10px;
}
