/* =========================================
   Classic Interiors — Main Stylesheet
   Font: Cormorant Garamond + Jost
   ========================================= */

:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE7D9;
  --dark: #1A0E0A;
  --dark-mid: #3D1F15;
  --brown: #5C2D1E;
  --brown-light: #8B4A35;
  --accent: #C0392B;
  --tan: #B8956A;
  --tan-light: #D4B896;
  --white: #FFFFFF;
  --text-dark: #1A0E0A;
  --text-mid: #4A3728;
  --text-light: #7A6055;
  --border: #E0D5C8;
  --shadow: rgba(26, 14, 10, 0.1);
  --shadow-lg: rgba(26, 14, 10, 0.2);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Lenis replaces native scroll-behavior */
html {
  scroll-behavior: auto;
}

/* Lenis required — prevents double-scroll ----
   Lenis adds this class automatically to <html> */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  /* GPU-compositing hint for smoother repaints */
  will-change: scroll-position;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.15;
}

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

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

ul {
  list-style: none;
}

input,
textarea,
select,
button {
  font-family: 'Jost', sans-serif;
}

/* ---- Utility ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}

.text-accent {
  color: var(--tan);
}

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

.label-tag {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark-mid);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

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

.btn-accent:hover {
  background: #a93226;
}

/* ============================
   HEADER / NAV
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}

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

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

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

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-mid);
  position: relative;
  transition: var(--transition);
}

.nav-icon-btn:hover {
  background: var(--cream-dark);
  color: var(--dark);
}

.nav-icon-btn svg {
  width: 18px;
  height: 18px;
}

.nav-heart svg {
  fill: var(--accent);
}

.nav-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: var(--transition);
}

.nav-mobile-menu {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 20px 40px;
}

.nav-mobile-menu.open {
  display: block;
}

.nav-mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-mobile-menu a {
  font-size: 15px;
  color: var(--text-mid);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--tan);
  color: var(--tan);
}

.footer-socials svg {
  width: 15px;
  height: 15px;
}

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-newsletter h4 {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.footer-newsletter p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 13px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
  padding: 12px 16px;
  background: var(--tan);
  border: none;
  cursor: pointer;
  color: var(--white);
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--brown-light);
}

.newsletter-form svg {
  width: 16px;
  height: 16px;
}

.newsletter-msg {
  font-size: 12px;
  margin-top: 8px;
  color: var(--tan-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================
   HOME PAGE
   ============================ */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero_chair.png') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 14, 10, 0.7) 0%, rgba(26, 14, 10, 0.2) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 40px;
  max-width: 600px;
}

.hero-pill {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tan-light);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--tan);
}

.hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 400px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats section */
.stats-section {
  background: var(--white);
  padding: 60px 0;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
}

.stats-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.stats-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.stats-text a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--cream);
}

.stat-card.dark {
  background: var(--dark);
}

.stat-card .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1;
}

.stat-card.dark .stat-num {
  color: var(--white);
}

.stat-card .stat-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.stat-card.dark .stat-label {
  color: rgba(255, 255, 255, 0.5);
}

/* Featured Products */
.featured-section {
  padding: 100px 0;
  background: var(--cream);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 50px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
}

.section-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--dark);
  border-color: var(--dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--shadow);
  border-color: var(--border);
}

.product-img {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--cream-dark);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-fav {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px var(--shadow);
  transition: var(--transition);
}

.product-fav:hover {
  transform: scale(1.1);
}

.product-fav svg {
  width: 16px;
  height: 16px;
  fill: var(--border);
  transition: var(--transition);
}

.product-fav.active svg,
.product-fav:hover svg {
  fill: var(--accent);
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.product-info .product-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

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

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--dark);
}

.product-discover {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.product-discover:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Installations dark section */
.installations-section {
  background: var(--dark-mid);
  color: var(--white);
  padding: 100px 0;
}

.installations-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.installations-text .label-tag {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  display: block;
}

.installations-text h2 {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 20px;
}

.installations-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

.installations-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 400px;
}

.install-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.install-img:first-child {
  grid-row: span 2;
}

.install-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* Showrooms */
.showrooms-section {
  padding: 100px 0;
  background: var(--white);
}

.showrooms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 60px;
}

.showroom-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.showroom-card:hover {
  box-shadow: 0 10px 40px var(--shadow);
}

.showroom-img {
  height: 320px;
  overflow: hidden;
}

.showroom-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.showroom-card:hover .showroom-img img {
  transform: scale(1.04);
}

.showroom-info {
  padding: 28px;
}

.showroom-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.showroom-meta {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.showroom-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
}

.showroom-meta-item svg {
  width: 14px;
  height: 14px;
}

/* Testimonials */
.testimonials-section {
  padding: 100px 0;
  background: var(--cream);
}

.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px;
  text-align: left;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-style: italic;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 32px;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tan-light);
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 500;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-light);
}

/* ============================
   CATALOG PAGE
   ============================ */
.catalog-hero {
  padding: 80px 0 60px;
}

.catalog-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.catalog-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  max-width: 600px;
}

.catalog-hero .subtitle {
  font-style: italic;
  color: var(--text-light);
  font-size: 15px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
}

.catalog-sidebar {
  display: block;
}

.sidebar-section-title {
  font-size: 18px;
  margin-bottom: 24px;
}

.sidebar-cats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}

.sidebar-cat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--text-mid);
  text-align: left;
  transition: var(--transition);
}

.sidebar-cat-btn:hover {
  background: var(--cream-dark);
}

.sidebar-cat-btn.active {
  background: var(--cream-dark);
  color: var(--dark);
  font-weight: 500;
}

.sidebar-cat-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sidebar-cat-btn .active-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: auto;
  display: none;
}

.sidebar-cat-btn.active .active-indicator {
  display: block;
}

.bespoke-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}

.bespoke-card h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}

.bespoke-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
  line-height: 1.7;
}

.bespoke-card .btn {
  font-size: 11px;
  padding: 10px 20px;
}

.catalog-products {
  display: block;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.load-more-row {
  text-align: center;
  padding: 60px 0;
}

/* ============================
   PRODUCT DETAIL PAGE
   ============================ */
.product-detail {
  padding: 60px 0 100px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.product-gallery {
  display: block;
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-dark);
  height: 480px;
  margin-bottom: 16px;
}

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

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.gallery-thumb {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--tan);
}

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

.product-detail-info {
  display: block;
}

.detail-collection {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.detail-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.detail-price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.detail-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: var(--tan);
  letter-spacing: 2px;
}

.review-count {
  font-size: 12px;
  color: var(--text-light);
}

.detail-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 32px;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--cream-dark);
  border-radius: var(--radius);
}

.spec-item .spec-label {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.spec-item .spec-val {
  font-size: 13px;
  font-weight: 500;
}

.features-list {
  margin-bottom: 32px;
}

.features-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 16px;
  height: 16px;
  color: var(--tan);
}

.feature-item .feature-name {
  font-size: 14px;
  font-weight: 500;
}

.feature-item .feature-desc {
  font-size: 12px;
  color: var(--text-light);
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  /* align-items: stretch; */
  gap: 16px;
  margin-top: 32px;
}

.detail-actions .product-fav {
  transition: all 0.25s ease;
}

.detail-actions .product-fav:active {
  transform: scale(0.93);
}

@keyframes likePopIn {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.18);
  }

  70% {
    transform: scale(0.94);
  }

  100% {
    transform: scale(1);
  }
}

.detail-actions .product-fav.pop {
  animation: likePopIn 0.35s ease;
}

/* ---- Product Detail — Like icon button ---- */
.detail-like-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 80px;
  height: 48px;
  /* Fixed height to match .btn */
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  /* matching .btn border-radius */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  position: relative;
  top: 0;
  /* Reset inherited top: 16px from .product-fav */
  flex-shrink: 0;
  box-sizing: border-box;
}

.detail-like-btn svg {
  width: 18px;
  height: 18px;
  color: var(--text-light);
  transition: all 0.25s ease;
  display: block;
  flex-shrink: 0;
}

.detail-like-btn:hover {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 4px 12px var(--shadow);
  transform: translateY(-2px);
}

.detail-like-btn:hover svg {
  color: var(--accent);
  transform: scale(1.12);
}

.detail-like-btn:active {
  transform: scale(0.94);
}

.detail-like-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 600;
  transition: color 0.25s ease;
}

/* Count label */
.detail-like-count {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  background: var(--cream-dark);
  padding: 2px 6px;
  border-radius: 10px;
  line-height: 1;
  transition: all 0.25s ease;
}

.detail-like-btn.liked .detail-like-label {
  color: var(--dark-mid);
}

.detail-like-btn.liked .detail-like-count {
  background: rgba(192, 57, 43, 0.1);
  color: var(--accent);
}

/* ---- Liked state ---- */
.detail-like-btn.liked {
  border-color: var(--dark-mid);
  background: #FFF4F3;
}

.detail-like-btn.liked svg {
  color: var(--dark);
}

.detail-like-btn.liked .detail-like-count {
  color: var(--dark-mid);
}

/* Heart pop on toggle */
@keyframes detailHeartPop {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.45);
  }

  65% {
    transform: scale(0.85);
  }

  100% {
    transform: scale(1);
  }
}

.detail-like-btn.pop svg {
  animation: detailHeartPop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.detail-actions .btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.detail-actions .btn-icon:hover {
  border-color: var(--accent);
}

.detail-actions .btn-icon svg {
  width: 18px;
  height: 18px;
}

/* Related */
.related-section {
  padding: 80px 0;
  background: var(--white);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.related-card {
  cursor: pointer;
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-4px);
}

.related-img {
  height: 200px;
  border-radius: var(--radius);
  background: var(--cream-dark);
  overflow: hidden;
  margin-bottom: 16px;
}

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

.related-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.related-card .related-price {
  font-size: 14px;
  color: var(--text-light);
}

/* ============================
   ABOUT PAGE
   ============================ */
.about-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.about-year-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 160px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.04);
  user-select: none;
  line-height: 1;
  z-index: 0;
}

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

.about-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.about-hero h1 em {
  font-style: italic;
  color: var(--tan);
}

.about-hero p {
  max-width: 600px;
  margin: 20px auto 0;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

.timeline-section {
  padding: 80px 0;
}

.timeline-intro h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.timeline-intro p {
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 50px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.timeline-item {
  padding: 0 32px 0 0;
  border-top: 2px solid var(--border);
  padding-top: 24px;
}

.timeline-item.highlight {
  border-top-color: var(--tan);
}

.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  color: var(--tan);
  margin-bottom: 12px;
}

.timeline-event {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

.mission-section {
  padding: 100px 0;
}

.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
}

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

.mission-text {
  display: block;
}

.mission-block {
  margin-bottom: 40px;
}

.mission-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.mission-block h2 {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.mission-block p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}

.mission-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.difference-section {
  padding: 100px 0;
  background: var(--cream-dark);
  text-align: center;
}

.difference-section h2 {
  font-size: 42px;
  margin-bottom: 12px;
}

.difference-section .subtitle {
  color: var(--text-light);
  margin-bottom: 60px;
}

.difference-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: var(--transition);
}

.diff-card.featured {
  background: var(--dark);
  color: var(--white);
}

.diff-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.diff-card.featured .diff-icon {
  background: rgba(255, 255, 255, 0.1);
}

.diff-icon svg {
  width: 22px;
  height: 22px;
  color: var(--tan);
}

.diff-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.diff-card.featured h3 {
  color: var(--white);
}

.diff-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

.diff-card.featured p {
  color: rgba(255, 255, 255, 0.65);
}

.showrooms-about {
  padding: 100px 0;
}

/* ============================
   PROJECTS PAGE
   ============================ */
.projects-hero {
  padding: 80px 0 60px;
}

.projects-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.projects-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.projects-hero p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

.project-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 40px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}

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

.filter-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.projects-masonry {
  columns: 2;
  gap: 20px;
  column-fill: balance;
}

.project-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.project-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.project-item:hover img {
  transform: scale(1.03);
}

.project-item.tall img {
  height: 480px;
  object-fit: cover;
}

.project-item.short img {
  height: 280px;
  object-fit: cover;
}

.project-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, var(--dark) 0%, rgba(26, 14, 10, 0.8) 70%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-item:hover .project-info-overlay {
  transform: translateY(0);
}

.project-info-overlay h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--white);
}

.project-info-overlay p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.projects-cta {
  margin-top: 80px;
  padding: 80px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.projects-cta h2 {
  font-size: 40px;
}

.projects-cta p {
  color: var(--text-light);
  margin-top: 8px;
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-hero {
  padding: 80px 0 0;
}

.contact-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.contact-hero h1 em {
  font-style: italic;
  color: var(--tan);
}

.contact-hero p {
  color: var(--text-light);
  max-width: 500px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
}

.contact-main {
  padding: 60px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.inquiry-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  border: 1px solid var(--border);
}

.inquiry-form-card h2 {
  font-size: 28px;
  margin-bottom: 32px;
}

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

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

.form-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--dark);
}

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

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showroom-info-card {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 28px;
}

.showroom-info-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.showroom-info-card h3 svg {
  width: 16px;
  height: 16px;
  color: var(--tan);
}

.showroom-info-card address {
  font-style: normal;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

.showroom-phone {
  color: var(--accent);
  font-size: 13px;
  margin-top: 12px;
}

.showroom-hours {
  font-size: 12px;
  color: var(--accent);
  margin-top: 4px;
}

.whatsapp-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: var(--white);
}

.whatsapp-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.whatsapp-icon svg {
  width: 24px;
  height: 24px;
}

.whatsapp-card h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 8px;
}

.whatsapp-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin-bottom: 24px;
}

.contact-map {
  height: 420px;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
  margin: 0 0 100px;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.map-overlay-card {
  position: absolute;
  bottom: 40px;
  left: 80px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 36px;
  max-width: 300px;
  box-shadow: 0 10px 40px var(--shadow-lg);
}

.map-overlay-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.map-overlay-card p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.map-overlay-card a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.map-est {
  position: absolute;
  top: 40px;
  right: 80px;
  text-align: right;
}

.map-est .est-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  color: var(--white);
  line-height: 1;
}

.map-est .est-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================
   AUTH PAGES (Login / Register)
   ============================ */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.auth-card {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 80px var(--shadow-lg);
}

.auth-visual {
  position: relative;
  background: var(--dark-mid);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  overflow: hidden;
}

.auth-visual-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=800') center/cover no-repeat;
  opacity: 0.3;
}

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

.auth-pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.auth-visual h2 {
  font-size: 36px;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.auth-visual p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.auth-form-side {
  background: var(--white);
  padding: 60px 48px;
}

.auth-form-side h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.auth-form-side .auth-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.redirect-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  background: var(--cream);
  padding: 4px;
  border-radius: 6px;
}

.redirect-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
  color: var(--text-light);
}

.redirect-btn.active {
  background: var(--dark);
  color: var(--white);
}

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

.auth-remember {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.auth-remember label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
}

.auth-remember a {
  font-size: 13px;
  color: var(--accent);
}

.auth-footer-link {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 24px;
}

.auth-footer-link a {
  color: var(--dark);
  font-weight: 500;
  border-bottom: 1px solid var(--dark);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-heritage {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.heritage-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}

.heritage-btn:hover {
  border-color: var(--tan);
}

.heritage-btn svg {
  width: 16px;
  height: 16px;
  color: var(--text-mid);
}

/* ============================
   PROFILE PAGE
   ============================ */
.profile-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}

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

.profile-user-info {
  display: flex;
  align-items: center;
  gap: 28px;
}

.profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--tan-light);
  overflow: hidden;
  position: relative;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 14, 10, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.profile-avatar:hover .profile-avatar-label {
  transform: translateY(0);
}

.profile-avatar-label svg {
  width: 20px;
  height: 20px;
}

.profile-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.profile-name {
  font-size: 36px;
}

.profile-meta {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.profile-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
}

.profile-meta-item svg {
  width: 13px;
  height: 13px;
}

.favorites-section {
  padding: 60px 0;
}

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

.favorites-header h2 {
  font-size: 28px;
}

.favorites-count {
  font-size: 13px;
  color: var(--text-light);
}

.favorites-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 500px;
}

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

.fav-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.fav-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.fav-img {
  height: 200px;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}

.fav-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fav-card:hover .fav-img img {
  transform: scale(1.04);
}

.fav-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.25s;
}

.fav-card:hover .fav-img-overlay {
  opacity: 1;
}

.fav-info {
  padding: 16px;
}

.fav-name {
  font-size: 16px;
  margin-bottom: 4px;
}

.fav-material {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.fav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 8px;
}

.fav-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
}

.remove-fav {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--accent);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: 'Jost', sans-serif;
  transition: var(--transition);
  padding: 6px 0;
  white-space: nowrap;
}

.remove-fav:hover {
  opacity: 0.7;
}

.remove-fav svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

.recommendations-section {
  padding: 0 0 100px;
}

.recommendations-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.reco-feature {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 340px;
  background: var(--tan-light);
}

.reco-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reco-feature-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(26, 14, 10, 0.8), transparent);
  color: var(--white);
}

.reco-feature-overlay .label-tag {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  display: block;
}

.reco-feature-overlay h3 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 16px;
}

.reco-feature-overlay a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.reco-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reco-card {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.reco-card.dark {
  background: var(--dark);
}

.reco-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reco-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--tan);
}

.reco-card h4 {
  font-size: 16px;
}

.reco-card.dark h4 {
  color: var(--white);
}

.reco-card p {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.reco-card.dark p {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================
   ADMIN PANEL
   ============================ */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--cream);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 32px 0;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-brand {
  padding: 0 24px 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.admin-brand h2 {
  font-size: 16px;
}

.admin-brand p {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

.admin-nav {
  flex: 1;
  padding: 0 12px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: 'Jost', sans-serif;
  text-decoration: none;
  margin-bottom: 4px;
}

.admin-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.admin-nav-item:hover {
  background: var(--cream-dark);
  color: var(--dark);
}

.admin-nav-item.active {
  background: var(--cream-dark);
  color: var(--dark);
  font-weight: 500;
}

.admin-nav-divider {
  height: 1px;
  background: var(--border);
  opacity: 0.3;
  margin: 12px 16px;
}

.logout-link:hover {
  color: var(--accent);
}

.logout-link:hover svg {
  stroke: var(--accent);
}

.admin-add-btn {
  margin: 16px 12px;
}

.admin-add-btn a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  justify-content: center;
  transition: var(--transition);
}

.admin-add-btn a:hover {
  background: var(--dark-mid);
}

.admin-user-info {
  margin: 0 12px;
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tan-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  overflow: hidden;
  flex-shrink: 0;
}

.admin-user-name {
  font-size: 14px;
  font-weight: 500;
}

.admin-user-role {
  font-size: 11px;
  color: var(--text-light);
}

.admin-settings-btn {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
}

.admin-settings-btn svg {
  width: 16px;
  height: 16px;
}

.admin-main {
  background: var(--cream);
  padding: 40px;
  overflow-y: auto;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.admin-period {
  text-align: right;
}

.admin-period .period-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.admin-period .period-val {
  font-size: 14px;
  font-weight: 500;
}

.admin-main h1 {
  font-size: 40px;
}

.admin-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stats-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}

.stats-card.dark {
  background: var(--dark);
  border-color: transparent;
}

.stats-card-icon {
  width: 44px;
  height: 44px;
  background: var(--cream-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.stats-card.dark .stats-card-icon {
  background: rgba(255, 255, 255, 0.1);
}

.stats-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--tan);
}

.stats-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 40px;
}

.stats-card.dark .stats-badge {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.stats-card-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.stats-card.dark .stats-card-label {
  color: rgba(255, 255, 255, 0.5);
}

.stats-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: var(--dark);
}

.stats-card.dark .stats-card-num {
  color: var(--white);
}

.admin-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.admin-panel-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
}

.panel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.panel-card-header h3 {
  font-size: 20px;
}

.panel-card-link {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.pulse-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pulse-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.pulse-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-icon.dark {
  background: var(--dark);
}

.pulse-icon svg {
  width: 18px;
  height: 18px;
  color: var(--tan);
}

.pulse-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pulse-text {
  flex: 1;
}

.pulse-text p {
  font-size: 14px;
  line-height: 1.5;
}

.pulse-text p a {
  color: var(--accent);
}

.pulse-time {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Chart */
.chart-container {
  height: 240px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-top: 20px;
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.bar:hover {
  opacity: 0.85;
}

.bar-tan {
  background: var(--tan);
}

.bar-dark {
  background: var(--dark);
}

.bar-light {
  background: var(--cream-dark);
}

.bar-day {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Admin Products Table */
.admin-table-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
}

.admin-table-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.admin-search {
  position: relative;
  flex: 1;
  max-width: 460px;
}

.admin-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.admin-search input:focus {
  border-color: var(--tan);
}

.admin-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-light);
}

.admin-table-actions {
  display: flex;
  gap: 12px;
}

.admin-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-mid);
}

.admin-btn:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.admin-btn svg {
  width: 14px;
  height: 14px;
}

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

thead th {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--cream);
}

tbody td {
  padding: 16px;
  font-size: 14px;
  vertical-align: middle;
}

.td-product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.td-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream-dark);
  flex-shrink: 0;
}

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

.td-name {
  font-weight: 500;
}

.td-sku {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

.category-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
  background: var(--cream-dark);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 500;
}

.td-likes {
  display: flex;
  align-items: center;
  gap: 6px;
}

.td-likes svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

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

.tbl-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.tbl-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tbl-btn svg {
  width: 14px;
  height: 14px;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.pagination-text {
  font-size: 13px;
  color: var(--text-light);
}

.pagination-btns {
  display: flex;
  gap: 6px;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-btn svg {
  width: 14px;
  height: 14px;
}

/* Admin Inquiries */
.inquiries-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 0;
  height: calc(100vh - 120px);
}

.inquiries-list {
  border-right: 1px solid var(--border);
  overflow-y: auto;
}

.inquiry-item {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.inquiry-item:hover {
  background: var(--cream);
}

.inquiry-item.active {
  border-left-color: var(--accent);
  background: var(--cream);
}

.inquiry-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.inquiry-sender {
  font-size: 15px;
  font-weight: 500;
}

.inquiry-status {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 40px;
}

.inquiry-status.unread {
  background: var(--cream-dark);
  color: var(--accent);
  font-weight: 600;
}

.inquiry-status.read {
  background: var(--cream);
  color: var(--text-light);
}

.inquiry-subject {
  font-size: 13px;
  margin-bottom: 4px;
  font-weight: 500;
}

.inquiry-preview {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inquiry-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.inquiry-email {
  font-size: 11px;
  color: var(--text-light);
}

.inquiry-date {
  font-size: 11px;
  color: var(--text-light);
}

.inquiry-detail {
  padding: 32px;
  overflow-y: auto;
}

.inquiry-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.inquiry-detail-sender {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sender-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--white);
}

.sender-name {
  font-size: 26px;
}

.sender-email {
  font-size: 13px;
  color: var(--accent);
  margin-top: 4px;
}

.inquiry-timestamp {
  text-align: right;
}

.inquiry-timestamp .recv {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.inquiry-timestamp .date {
  font-size: 14px;
  font-weight: 500;
}

.inquiry-subject-line {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

.inquiry-body {
  font-size: 15px;
  line-height: 2;
  color: var(--text-dark);
}

.inquiry-body .greeting {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
}

.inquiry-actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.inquiry-actions .btn svg {
  width: 16px;
  height: 16px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

/* Admin Stats badges */
.admin-table-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.tbl-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.tbl-stat-icon {
  width: 38px;
  height: 38px;
  background: var(--tan-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tbl-stat-icon svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.tbl-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
}

.tbl-stat-label {
  font-size: 11px;
  color: var(--text-light);
}

/* Alerts */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 3px solid;
}

.alert-success {
  background: #F0FDF4;
  color: #166534;
  border-color: #22C55E;
}

.alert-error {
  background: #FEF2F2;
  color: #991B1B;
  border-color: #EF4444;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 90%;
  max-width: 560px;
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-light);
  line-height: 1;
}

.modal h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-newsletter {
    grid-column: span 2;
  }

  .footer-brand {
    grid-column: span 3;
  }

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

  .catalog-sidebar {
    display: none;
  }

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

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

  .admin-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .container {
    padding: 0 24px;
  }

  .section {
    padding: 60px 0;
  }

  .products-grid,
  .showrooms-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 48px;
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }

  .installations-inner {
    grid-template-columns: 1fr;
  }

  .mission-inner,
  .projects-hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }

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

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

  .footer-brand {
    grid-column: 1;
  }

  .footer-newsletter {
    grid-column: 1;
  }

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

  .difference-cards {
    grid-template-columns: 1fr;
  }

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

  .projects-masonry {
    columns: 1;
  }

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

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

  .admin-body-grid {
    grid-template-columns: 1fr;
  }

  .stats-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================
   SITE-WIDE ANIMATIONS
   ============================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.25);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.15);
  }

  70% {
    transform: scale(1);
  }
}

/* --- Scroll-reveal utility --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

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

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.reveal-stagger>*:nth-child(1) {
  transition-delay: 0ms;
}

.reveal-stagger>*:nth-child(2) {
  transition-delay: 90ms;
}

.reveal-stagger>*:nth-child(3) {
  transition-delay: 180ms;
}

.reveal-stagger>*:nth-child(4) {
  transition-delay: 270ms;
}

.reveal-stagger>*:nth-child(5) {
  transition-delay: 360ms;
}

.reveal-stagger>*:nth-child(6) {
  transition-delay: 450ms;
}

/* --- Card hover overlay --- */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 14, 10, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);
}

.card-hover-overlay span {
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 40px;
  transform: translateY(8px);
  transition: transform 0.35s ease;
}

.product-card:hover .card-hover-overlay {
  opacity: 1;
}

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

/* --- Product category tag --- */
.product-cat-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

/* --- Fav heartbeat --- */
.product-fav.pop svg {
  animation: heartbeat 0.45s ease;
}

/* --- Smooth button press --- */
.btn:active {
  transform: scale(0.97) !important;
}

/* --- Hero content entrance --- */
.hero-content {
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* --- Stat card lift on hover --- */
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow-lg);
}

/* --- Related card hover --- */
.related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease;
}

.related-card:hover {
  transform: translateY(-6px);
}

.related-card .related-img img {
  transition: transform 0.6s ease;
}

.related-card:hover .related-img img {
  transform: scale(1.06);
}

/* --- Lazy-load fade-in --- */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* --- Site header entrance --- */
.site-header {
  animation: fadeIn 0.5s ease both;
}

/* ============================================================
   FULL SITE ANIMATION LAYER — Classic Interiors
   ============================================================ */

/* ---- Keyframes ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-48px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(48px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes shimmerSlide {
  0% {
    background-position: -600px 0;
  }

  100% {
    background-position: 600px 0;
  }
}

@keyframes rippleExpand {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }

  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes progressGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    max-height: 400px;
    transform: translateY(0);
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes tilePulse {

  0%,
  100% {
    opacity: 0.06;
  }

  50% {
    opacity: 0.12;
  }
}

/* ---- Page Body Fade-in ---- */
body {
  animation: fadeIn 0.55s ease both;
}

/* ---- Scroll Progress Bar ---- */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--tan));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ---- Cursor Glow ---- */
#cursorGlow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 139, 87, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9990;
  transform: translate(-50%, -50%);
  transition: transform 0.06s linear, opacity 0.3s;
  will-change: transform;
}

/* ---- Page Transition Overlay ---- */
#pageTransitionOverlay {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

#pageTransitionOverlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ---- Enhanced Header Entrance ---- */
.site-header {
  animation: fadeInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ---- Nav Links Stagger (via JS nth-child) ---- */
.nav-links a,
.nav-actions>* {
  opacity: 0;
  animation: fadeInDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.nav-links li:nth-child(1) a {
  animation-delay: 0.15s;
}

.nav-links li:nth-child(2) a {
  animation-delay: 0.22s;
}

.nav-links li:nth-child(3) a {
  animation-delay: 0.29s;
}

.nav-links li:nth-child(4) a {
  animation-delay: 0.36s;
}

.nav-links li:nth-child(5) a {
  animation-delay: 0.43s;
}

.nav-actions>*:nth-child(1) {
  animation-delay: 0.50s;
}

.nav-actions>*:nth-child(2) {
  animation-delay: 0.56s;
}

.nav-actions>*:nth-child(3) {
  animation-delay: 0.62s;
}

/* ---- Hero Sequential Reveal ---- */
.hero-pill {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero h1 {
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.hero p {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.72s forwards;
}

.hero-btns {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

.hero-content {
  animation: none;
  /* override old rule; children handle themselves */
}

/* ---- Hero Background Parallax ---- */
.hero-bg {
  will-change: transform;
  transform-origin: center center;
}

/* ---- Scroll Reveal Base ---- */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition-duration: 0.75s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: opacity, transform;
}

.reveal {
  transform: translateY(40px);
}

.reveal-up {
  transform: translateY(56px);
}

.reveal-left {
  transform: translateX(-56px);
}

.reveal-right {
  transform: translateX(56px);
}

.reveal-scale {
  transform: scale(0.88) translateY(20px);
}

.reveal.visible,
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays via data attribute (set by JS) */
[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

[data-reveal-delay="4"] {
  transition-delay: 0.32s;
}

[data-reveal-delay="5"] {
  transition-delay: 0.40s;
}

[data-reveal-delay="6"] {
  transition-delay: 0.48s;
}

/* ---- Stagger Children ---- */
.stagger-children>* {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible>* {
  opacity: 1;
  transform: none;
}

.stagger-children>*:nth-child(1) {
  transition-delay: 0.00s;
}

.stagger-children>*:nth-child(2) {
  transition-delay: 0.10s;
}

.stagger-children>*:nth-child(3) {
  transition-delay: 0.20s;
}

.stagger-children>*:nth-child(4) {
  transition-delay: 0.30s;
}

.stagger-children>*:nth-child(5) {
  transition-delay: 0.40s;
}

.stagger-children>*:nth-child(6) {
  transition-delay: 0.50s;
}

.stagger-children>*:nth-child(7) {
  transition-delay: 0.60s;
}

.stagger-children>*:nth-child(8) {
  transition-delay: 0.70s;
}

/* ---- Section Header Reveal ---- */
.section-header {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-header.visible {
  opacity: 1;
  transform: none;
}

/* ---- Products Grid Stagger ---- */
.products-grid .product-card {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.products-grid .product-card.visible {
  opacity: 1;
  transform: none;
}

.products-grid .product-card:nth-child(1) {
  transition-delay: 0.05s;
}

.products-grid .product-card:nth-child(2) {
  transition-delay: 0.15s;
}

.products-grid .product-card:nth-child(3) {
  transition-delay: 0.25s;
}

.products-grid .product-card:nth-child(4) {
  transition-delay: 0.10s;
}

.products-grid .product-card:nth-child(5) {
  transition-delay: 0.20s;
}

.products-grid .product-card:nth-child(6) {
  transition-delay: 0.30s;
}

/* ---- Card 3D Tilt ---- */
.product-card,
.stat-card,
.showroom-card,
.diff-card,
.project-item,
.fav-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---- Stat Cards Stagger ---- */
.stats-grid .stat-card {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stats-grid .stat-card.visible {
  opacity: 1;
  transform: none;
}

.stats-grid .stat-card:nth-child(1) {
  transition-delay: 0.0s;
}

.stats-grid .stat-card:nth-child(2) {
  transition-delay: 0.12s;
}

.stats-grid .stat-card:nth-child(3) {
  transition-delay: 0.24s;
}

.stats-grid .stat-card:nth-child(4) {
  transition-delay: 0.36s;
}

/* ---- Stat Counter animation target ---- */
.stat-num[data-target] {
  display: inline-block;
}

/* ---- Button Ripple ---- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  width: 10px;
  height: 10px;
  transform: scale(0);
  animation: rippleExpand 0.55s ease-out forwards;
  pointer-events: none;
}

.btn-outline .ripple {
  background: rgba(26, 14, 10, 0.12);
}

/* ---- Installations section reveal ---- */
.installations-text {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.installations-text.visible {
  opacity: 1;
  transform: none;
}

.installations-images {
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.installations-images.visible {
  opacity: 1;
  transform: none;
}

/* ---- Showroom cards stagger ---- */
.showrooms-grid .showroom-card,
.showroom-grid .showroom-card {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.showrooms-grid .showroom-card.visible,
.showroom-grid .showroom-card.visible {
  opacity: 1;
  transform: none;
}

.showrooms-grid .showroom-card:nth-child(1),
.showroom-grid .showroom-card:nth-child(1) {
  transition-delay: 0.0s;
}

.showrooms-grid .showroom-card:nth-child(2),
.showroom-grid .showroom-card:nth-child(2) {
  transition-delay: 0.12s;
}

.showrooms-grid .showroom-card:nth-child(3),
.showroom-grid .showroom-card:nth-child(3) {
  transition-delay: 0.24s;
}

/* ---- Footer stagger ---- */
.footer-container>* {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.footer-container>*.visible {
  opacity: 1;
  transform: none;
}

.footer-container>*:nth-child(1) {
  transition-delay: 0.00s;
}

.footer-container>*:nth-child(2) {
  transition-delay: 0.10s;
}

.footer-container>*:nth-child(3) {
  transition-delay: 0.20s;
}

.footer-container>*:nth-child(4) {
  transition-delay: 0.30s;
}

.footer-container>*:nth-child(5) {
  transition-delay: 0.40s;
}

/* ---- Image shimmer skeleton ---- */
img:not([loading="lazy"]):not(.loaded-instant) {
  position: relative;
}

.img-shimmer {
  background: linear-gradient(90deg,
      var(--cream-dark) 0%,
      var(--border) 50%,
      var(--cream-dark) 100%);
  background-size: 600px 100%;
  animation: shimmerSlide 1.6s ease-in-out infinite;
  border-radius: inherit;
}

/* ---- Mobile nav slide down ---- */
.nav-mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease,
    padding 0.4s ease;
  display: block !important;
  padding-top: 0;
  padding-bottom: 0;
}

.nav-mobile-menu.open {
  max-height: 400px;
  opacity: 1;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ---- Form Input Animations ---- */
.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(176, 139, 87, 0.15);
}

.form-group label {
  transition: color 0.3s ease, transform 0.3s ease;
  display: block;
  transform-origin: left;
}

.form-group input:focus~label,
.form-group textarea:focus~label {
  color: var(--tan);
}

/* ---- Login / Register card entrance ---- */
.auth-card,
.login-card,
.register-card {
  animation: fadeInScale 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ---- Profile page ---- */
.profile-card,
.profile-header-card {
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ---- Contact form card entrance ---- */
.contact-grid,
.contact-wrap {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-grid.visible,
.contact-wrap.visible {
  opacity: 1;
  transform: none;
}

/* ---- Timeline items ---- */
.timeline-item {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.timeline-item:nth-child(even) {
  transform: translateX(40px);
}

.timeline-item.visible {
  opacity: 1;
  transform: none;
}

.timeline-item:nth-child(1) {
  transition-delay: 0.00s;
}

.timeline-item:nth-child(2) {
  transition-delay: 0.12s;
}

.timeline-item:nth-child(3) {
  transition-delay: 0.24s;
}

.timeline-item:nth-child(4) {
  transition-delay: 0.36s;
}

.timeline-item:nth-child(5) {
  transition-delay: 0.48s;
}

/* ---- Diff / Process cards stagger ---- */
.diff-grid .diff-card,
.process-grid .diff-card {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.diff-grid .diff-card.visible,
.process-grid .diff-card.visible {
  opacity: 1;
  transform: none;
}

.diff-grid .diff-card:nth-child(1),
.process-grid .diff-card:nth-child(1) {
  transition-delay: 0.00s;
}

.diff-grid .diff-card:nth-child(2),
.process-grid .diff-card:nth-child(2) {
  transition-delay: 0.12s;
}

.diff-grid .diff-card:nth-child(3),
.process-grid .diff-card:nth-child(3) {
  transition-delay: 0.24s;
}

.diff-grid .diff-card:nth-child(4),
.process-grid .diff-card:nth-child(4) {
  transition-delay: 0.36s;
}

/* ---- Project items ---- */
.projects-grid .project-item {
  opacity: 0;
  transform: scale(0.94) translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.projects-grid .project-item.visible {
  opacity: 1;
  transform: none;
}

.projects-grid .project-item:nth-child(1) {
  transition-delay: 0.00s;
}

.projects-grid .project-item:nth-child(2) {
  transition-delay: 0.10s;
}

.projects-grid .project-item:nth-child(3) {
  transition-delay: 0.20s;
}

.projects-grid .project-item:nth-child(4) {
  transition-delay: 0.30s;
}

.projects-grid .project-item:nth-child(5) {
  transition-delay: 0.40s;
}

.projects-grid .project-item:nth-child(6) {
  transition-delay: 0.50s;
}

/* ---- Page title sections ---- */
.page-hero,
.catalog-hero,
.about-hero,
.contact-hero,
.projects-hero,
.page-banner {
  overflow: hidden;
}

.page-hero h1,
.catalog-hero h1,
.about-hero h1,
.contact-hero h1,
.projects-hero h1,
.page-banner h1 {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.page-hero p,
.page-banner p {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;
}

/* ---- Product detail gallery ---- */
.gallery-main {
  opacity: 0;
  animation: fadeInScale 0.75s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

.product-detail-info {
  opacity: 0;
  animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.gallery-thumbs {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.35s forwards;
}

.gallery-thumb {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-thumb:hover {
  transform: scale(1.05);
}

/* ---- Floating decoration pulse ---- */
.hero-scroll-hint,
.scroll-cue {
  animation: floatY 2.5s ease-in-out infinite;
}

/* ---- Admin table rows ---- */
tbody tr {
  transition: background 0.2s ease, transform 0.2s ease;
}

tbody tr:hover {
  transform: translateX(3px);
}

/* ---- Nav logo subtle hover ---- */
.nav-logo {
  transition: letter-spacing 0.4s ease, color 0.3s ease;
}

.nav-logo:hover {
  letter-spacing: 0.06em;
}

/* ---- Section label fade-slide ---- */
.section-label {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-label.visible {
  opacity: 1;
  transform: none;
}

/* ---- Section title animate ---- */
.section-title {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease 0.05s, transform 0.7s ease 0.05s;
}

.section-title.visible {
  opacity: 1;
  transform: none;
}

/* ---- Prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}