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

/* --- DESIGN TOKENS --- */
:root {
  --primary-color: #9f0101;
  --secondary-color: #E8DED0;
  --text: #171717;
  --muted: #6B6B6B;
  --bg: #E9E8E4;
  --dark: #242424;
  --dark-accent: #1A1A1A;
  --white: #FFFFFF;
  --border: rgba(0, 0, 0, 0.10);
  --border-light: rgba(255, 255, 255, 0.08);

  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 30px;
  --radius-xl: 40px;

  --section-padding-y: 90px;
  --section-padding-x: 60px;
  --btn-letter-spacing: 0.15em;
  --btn-font-size: 0.85rem;
  --btn-padding: 1rem 2.4rem;

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.08);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  /* Luxury outer framing color */
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding: 0;
  margin: 0;
}

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

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

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

/* --- THEME WRAPPER (Rounded Main Page Frame) --- */
.page-wrapper {
  width: 100%;
  background-color: var(--bg);
  overflow: hidden;
  position: relative;
}

/* --- TYPOGRAPHY SYSTEM --- */
h1,
h2,
h3,
h4,
.serif-text {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

h4 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  /* Expanded for high readability */
  line-height: 1.75;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  /* Expanded for label readability */
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

/* --- BUTTON SYSTEM --- */
.btn-group {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-top: 2rem;
}

.btn-primary,
.btn-secondary,
.btn-dark {
  padding: var(--btn-padding);
  border-radius: 50px;
  font-size: var(--btn-font-size);
  font-weight: 600;
  letter-spacing: var(--btn-letter-spacing);
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(176, 141, 87, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

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

.btn-dark:hover,
.btn-dark:focus {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(176, 141, 87, 0.25);
}

/* --- HEADER / FLOATING MENU --- */
.header-wrapper {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(36, 36, 36, 0.35);
  /* Elegant translucent dark glass */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 14px 40px;
  transition: var(--transition);
  max-width: 1280px;
  margin: 0 auto;
}

.header-container.scrolled {
  background: rgba(23, 23, 23, 0.95);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.05);
  padding: 10px 40px;
}

.logo img {
  height: 46px;
  width: auto;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  gap: 2.4rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  opacity: 0.85;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--primary-color);
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 101;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--dark-accent);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  transition: var(--transition);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.4);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav .nav-menu {
  flex-direction: column;
  gap: 2.2rem;
  align-items: flex-start;
}

.mobile-nav .nav-link {
  font-size: 1.35rem;
}

/* --- HERO SECTION --- */
.hero-section {
  background-color: var(--dark);
  padding: calc(var(--section-padding-y) + 70px) var(--section-padding-x) var(--section-padding-y) var(--section-padding-x);
  margin: 20px;
  border-radius: var(--radius-lg);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 55%, rgba(176, 141, 87, 0.18) 0%, rgba(0, 0, 0, 0) 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.hero-heading {
  margin-bottom: 1.8rem;
  line-height: 1.05;
}

.hero-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  /* Resized readability */
  margin-bottom: 2.4rem;
  max-width: 540px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 520px;
  /* Scaled up hero image */
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 15s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover img {
  transform: scale(1.06);
}

/* --- OVERLAPPING CATEGORIES --- */
.categories-overlay {
  position: relative;
  margin-top: -90px;
  z-index: 10;
  padding: 0 80px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.category-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;
  /* Equal height cards */
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.category-info {
  position: relative;
  z-index: 2;
}

.category-tag {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: block;
}

.category-card h3 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.category-desc {
  font-size: 0.95rem;
  /* Resized readability */
  color: var(--muted);
  max-width: 220px;
}

.category-image-wrap {
  align-self: flex-end;
  width: 110px;
  /* Consistent circular presentation */
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--bg);
  box-shadow: var(--shadow);
  margin-top: 10px;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.category-card:hover .category-image-wrap {
  transform: scale(1.15) rotate(4deg);
  border-color: var(--secondary-color);
}

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

/* --- SECTION GENERAL STYLES --- */
.section-padding {
  padding: var(--section-padding-y) var(--section-padding-x);
  /* Expanded whitespace */
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 80px auto;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

.section-header p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- THEMED COLLECTIONS --- */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.collection-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  /* Recommended luxury card ratio */
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.collection-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.collection-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 35px 30px;
  background: linear-gradient(to top, rgba(23, 23, 23, 0.85) 0%, rgba(23, 23, 23, 0.4) 60%, rgba(23, 23, 23, 0) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 65%;
  transition: var(--transition);
}

.collection-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  transform: translateY(12px);
  transition: var(--transition);
}

.collection-link {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  font-weight: 700;
  opacity: 0;
  transform: translateY(18px);
  transition: var(--transition);
}

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

.collection-card:hover .collection-img-wrap img {
  transform: scale(1.03);
  /* subtle image scale */
}

.collection-card:hover h3 {
  transform: translateY(0);
}

.collection-card:hover .collection-link {
  opacity: 1;
  transform: translateY(0);
}

/* --- NEW ARRIVALS & PRODUCT GRIDS --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-img-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  /* Aspect ratio consistency for luxury items */
  overflow: hidden;
  position: relative;
  background-color: #fcfcfc;
  border-bottom: 1px solid var(--border);
}

.product-img-wrap img,
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-wrap img,
.product-card:hover .product-image {
  transform: scale(1.05);
  /* Premium hover scale */
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 6px 14px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 30px;
  z-index: 3;
}

.product-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  /* Improved name readability */
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.product-desc {
  font-size: 0.9rem;
  /* Improved tiny text issue */
  color: var(--muted);
  margin-bottom: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  /* Improved price readability */
  font-weight: 600;
  color: var(--primary-color);
}

.product-btn {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 1px solid var(--dark);
  padding-bottom: 3px;
  transition: var(--transition);
}

.product-btn:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* --- EDITORIAL SPLIT SECTION (Story & Bespoke) --- */
.editorial-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.editorial-split.reversed {
  direction: rtl;
}

.editorial-split.reversed>* {
  direction: ltr;
}

.editorial-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  /* Elegant vertical proportion */
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-image:hover img {
  transform: scale(1.03);
}

.editorial-text {
  max-width: 520px;
  padding: 20px 0;
}

.editorial-text h2 {
  margin-bottom: 1.8rem;
}

.editorial-text p {
  font-size: 1.08rem;
  margin-bottom: 2.2rem;
  line-height: 1.8;
}

/* --- EXCEPTIONAL STANDARDS --- */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.standard-card {
  background-color: var(--white);
  padding: 45px 35px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: left;
}

.standard-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

/* --- MATERIALS GRID & CARDS --- */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.material-card {
  background-color: var(--white);
  padding: 45px 35px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: left;
}

.material-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.standard-icon-line {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
  opacity: 0.85;
}

.standard-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.standard-card p {
  font-size: 0.95rem;
  /* Redefined text readability */
  line-height: 1.7;
}

/* --- HERITAGE SECTION --- */
.heritage-section {
  background-color: var(--secondary-color);
  color: var(--text);
  border-radius: var(--radius-lg);
  margin: 0 40px;
  padding: 120px 40px;
  /* Generous padding */
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(176, 141, 87, 0.15);
}

.heritage-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--dark) 1px, transparent 0);
  background-size: 30px 30px;
}

.heritage-content {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.heritage-content h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-bottom: 1.8rem;
}

.heritage-content p {
  font-size: 1.25rem;
  line-height: 1.85;
  color: rgba(23, 23, 23, 0.85);
  font-family: var(--font-serif);
  font-style: italic;
  max-width: 740px;
  margin: 0 auto 2.5rem auto;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--white);
  padding: 45px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

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

.quote-icon {
  font-size: 5rem;
  font-family: var(--font-serif);
  color: var(--secondary-color);
  position: absolute;
  top: 15px;
  left: 30px;
  line-height: 1;
  opacity: 0.4;
  pointer-events: none;
}

.testimonial-text {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  /* Editorial read size */
  color: var(--dark);
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  line-height: 1.7;
}

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

.author-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* --- FAQ ACCORDION --- */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  /* Minimal border */
  padding: 25px 0;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  /* Expanded reading scale */
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--dark);
  transition: var(--transition);
}

.faq-icon::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
  background-color: var(--primary-color);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body p {
  padding: 20px 0 5px 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

/* --- FINAL CTA --- */
.cta-section {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--section-padding-y) var(--section-padding-x);
  /* Spacious cta */
  margin: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  /* Slightly larger hero cta heading */
  margin-bottom: 1.25rem;
}

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

/* --- PAGE HEROS (About, Collection, Custom, Contact, Materials) --- */
.page-hero {
  background-color: var(--dark);
  color: var(--white);
  padding: calc(var(--section-padding-y) + 30px) var(--section-padding-x) var(--section-padding-y) var(--section-padding-x);
  margin: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-content {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin-bottom: 1.25rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
}

/* --- ABOUT PAGE STYLES --- */
.about-story-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1280px;
  margin: 100px auto 0 auto;
}

.about-feature-card {
  background-color: var(--white);
  padding: 45px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.about-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

/* --- COLLECTION BROWSE PAGE --- */
.collection-browse {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--section-padding-y) var(--section-padding-x);
}

.browse-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.category-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background-color: var(--white);
  transition: var(--transition);
}

.category-tab:hover,
.category-tab.active {
  background-color: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.sort-select {
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background-color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.sort-select:hover {
  border-color: var(--primary-color);
}

/* --- CUSTOMIZATION PAGE STEPS --- */
.customization-flow {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  position: relative;
}

.customization-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 50px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  align-items: start;
}

.step-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
}

.step-content h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.step-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.step-option-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 25px 20px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.step-option-card:hover {
  border-color: var(--primary-color);
  background-color: rgba(176, 141, 87, 0.04);
}

/* --- CONTACT INFO GRID & FORM --- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-details {
  background-color: var(--white);
  padding: 60px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-info-list {
  list-style: none;
  margin: 40px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-icon {
  color: var(--primary-color);
  font-size: 1.4rem;
}

.contact-info-item h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-info-item a,
.contact-info-item span {
  font-size: 1.05rem;
  color: var(--muted);
}

.contact-map {
  margin-top: 35px;
  height: 280px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--secondary-color);
  position: relative;
  border: 1px solid var(--border);
}

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

/* --- CONTACT FORM STYLING --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

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

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

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background-color: #FAF9F6;
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B08D57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.2rem;
  cursor: pointer;
}

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

.form-submit {
  align-self: flex-start;
  min-width: 200px;
  border: 1px solid var(--primary-color);
  margin-top: 1rem;
}

/* --- FOOTER --- */
.footer-section {
  background-color: var(--dark);
  color: var(--white);
  padding: 100px 80px 50px 80px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-logo img {
  height: 46px;
  width: auto;
  margin-bottom: 20px;
  display: inline-block;
  transition: var(--transition);
}

.footer-logo:hover img {
  opacity: 0.8;
}

.footer-brand h3 {
  font-size: 2rem;
  letter-spacing: 5px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 25px;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 30px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 1px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

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

.footer-contact {
  list-style: none;
}

.footer-contact li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.copyright a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.copyright a:hover {
  color: var(--white);
  text-decoration: underline;
}
/* --- UTILITY & INLINE STYLE REPLACEMENTS --- */
.bg-white {
  background-color: var(--white) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.mb-80 {
  margin-bottom: 80px;
}

.mb-25 {
  margin-bottom: 25px;
}

.customization-form-slot {
  max-width: 800px;
  margin: 0 auto;
}

.contact-map iframe {
  border: 0;
}

.philosophy-title {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* --- LOOMYWEB DATA SLOTS --- */
[data-slot]:empty {
  display: none !important;
}

.footer-social-slot {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}

.floating-button-slot {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
}

/* --- QUICK VIEW MODAL --- */
.quickview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

.quickview-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.quickview-content {
  background-color: var(--bg);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  transform: scale(0.92);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.quickview-modal.open .quickview-content {
  transform: scale(1);
}

.quickview-close {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 2.2rem;
  color: var(--dark);
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: var(--transition);
}

.quickview-close:hover {
  color: var(--primary-color);
}

.quickview-gallery {
  aspect-ratio: 4/5;
  background-color: #fafafa;
}

.quickview-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quickview-details {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quickview-details h3 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.quickview-price {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 25px;
}

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

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Desktop Breakpoint */
@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet Screens (1024px and down) */
@media (max-width: 1024px) {
  :root {
    --section-padding-y: 100px;
    --section-padding-x: 40px;
  }

  body {
    padding: 0;
  }

  .page-wrapper {
    border-radius: 0;
    border: none;
  }

  .header-wrapper {
    padding: 0 24px;
    top: 20px;
  }

  .header-container {
    padding: 12px 24px;
  }

  .hero-section {
    margin: 15px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image-wrapper {
    height: 440px;
    width: 100%;
  }

  .categories-overlay {
    margin-top: -60px;
    padding: 0 35px;
  }

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

  .category-card {
    height: 260px;
    padding: 25px;
  }

  .category-card h3 {
    font-size: 1.8rem;
  }

  .category-image-wrap {
    width: 90px;
    height: 90px;
  }

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

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

  .editorial-split,
  .about-story-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .editorial-split.reversed {
    display: flex;
    flex-direction: column-reverse;
  }

  .editorial-image {
    aspect-ratio: 16/10;
  }

  .standards-grid,
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Small Tablet / Large Mobile (768px and down) */
@media (max-width: 768px) {
  :root {
    --section-padding-y: 90px;
    --section-padding-x: 24px;
    --btn-letter-spacing: 0.08em;
    --btn-font-size: 0.8rem;
    --btn-padding: 0.85rem 1.8rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu-desktop {
    display: none;
  }

  .categories-overlay {
    margin-top: 25px;
    padding: 0 20px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-card {
    flex-direction: row;
    align-items: center;
    height: auto;
    min-height: auto;
    padding: 25px 30px;
  }

  .category-image-wrap {
    margin-top: 0;
    width: 80px;
    height: 80px;
  }

  .heritage-section {
    margin: 0 15px;
    padding: 80px 24px;
  }

  .about-story-row {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .customization-step {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 35px 25px;
  }

  .step-num {
    margin: 0 auto 20px auto;
  }

  .standards-grid,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .step-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .quickview-content {
    grid-template-columns: 1fr;
  }

  .quickview-details {
    padding: 30px;
  }

  .cta-section {
    margin: 20px 15px;
    padding: 100px 24px;
  }
}

/* Mobile Screen (360px and down) */
@media (max-width: 480px) {
  :root {
    --section-padding-y: 80px;
    --section-padding-x: 20px;
    --btn-letter-spacing: 0.05em;
    --btn-font-size: 0.72rem;
    --btn-padding: 0.8rem 1.4rem;
  }

  .logo img {
    height: 36px;
  }

  .header-container {
    padding: 10px 20px;
  }

  .hero-section {
    margin: 10px;
    border-radius: var(--radius-md);
  }

  .hero-image-wrapper {
    height: 300px;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

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

  .step-options {
    grid-template-columns: 1fr;
  }

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

  .footer-section {
    padding: 80px 24px 40px 24px;
  }

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