/*
  Studio Raiz — Design System
  Móveis rústicos, decoração em madeira natural e peças sob medida.
  Visual: Rustic Premium | Natural Wood Tones | Elegant Warm Neutrals
*/

:root {
  /* Colors - Studio Raiz Premium Palette */
  --c-primary: #3d2b1f;
  --c-secondary: #5c4331;
  --c-highlight: #a85d36;
  --c-highlight-hover: #8f4b27;
  --c-accent: #1f140e;
  --c-surface: #f9f6f0;
  --c-surface-alt: #f1ebd9;
  --c-white: #ffffff;
  --c-muted: #7a6355;
  --c-border: #e8ded3;
  --c-whatsapp: #25d366;
  --c-whatsapp-hover: #1eba58;

  /* Typography */
  --f-heading: 'Playfair Display', serif;
  --f-body: 'Inter', sans-serif;
  --f-base: 16px;

  /* Spacing */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-24: 24px;
  --s-32: 32px;
  --s-48: 48px;
  --s-64: 64px;
  --s-80: 80px;
  --s-120: 120px;
  --s-160: 160px;

  /* Layout */
  --max-width: 1140px;
  --max-width-narrow: 800px;
  --br-sm: 4px;
  --br: 8px;
  --br-lg: 16px;
  --shadow-sm: 0 4px 12px rgba(31, 20, 14, 0.04);
  --shadow: 0 8px 30px rgba(31, 20, 14, 0.06);
  --shadow-hover: 0 16px 40px rgba(31, 20, 14, 0.12);
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--f-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  color: var(--c-accent);
  background-color: var(--c-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  color: var(--c-accent);
  line-height: 1.15;
  margin-bottom: var(--s-16);
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.eyebrow-text {
  font-family: var(--f-body);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-highlight);
  font-weight: 600;
  display: block;
  margin-bottom: var(--s-16);
}

.text-lead {
  font-size: 1.125rem;
  color: var(--c-muted);
  max-width: 600px;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--f-body);
  transition: var(--transition);
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--s-16);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--s-32);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--s-32);
  font-weight: 600;
  border-radius: var(--br);
  text-align: center;
}

.btn-primary {
  background-color: var(--c-highlight);
  color: var(--c-white);
}

.btn-primary:hover {
  background-color: #A35A27;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
}

.btn-outline:hover {
  background-color: var(--c-primary);
  color: var(--c-white);
}

/* Sticky Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease, padding 0.3s ease;
  padding: var(--s-24) 0;
  background: transparent;
}

.header.scrolled {
  background-color: var(--c-primary);
  padding: var(--s-16) 0;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--f-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
  transition: var(--transition);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-logo-text {
  font-weight: 700;
  letter-spacing: 1px;
}

@media (max-width: 640px) {
  .brand-logo-mark {
    width: 34px;
    height: 34px;
  }
}

.header:not(.scrolled) .header-inner.header-dark .logo,
.header:not(.scrolled) .header-inner.header-dark .nav-link,
.header:not(.scrolled) .header-inner.header-dark .cart-btn {
  color: var(--c-primary);
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    gap: var(--s-32);
  }
}

@media (max-width: 900px) {
  .nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: var(--c-primary);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 50;
  }
}

.nav-link {
  color: var(--c-white);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--c-highlight);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-16);
}

.cart-btn {
  position: relative;
  color: var(--c-white);
  font-size: 1.25rem;
  min-height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--c-highlight);
  color: var(--c-white);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--c-white);
  padding: var(--s-8);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
}

.header:not(.scrolled) .header-inner.header-dark .menu-toggle {
  color: var(--c-primary);
}

/* Dropdown Cart Preview */
.cart-preview {
  position: absolute;
  top: 60px;
  right: 0;
  width: 320px;
  background: var(--c-white);
  border-radius: var(--br);
  box-shadow: var(--shadow-hover);
  padding: var(--s-24);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  color: var(--c-accent);
}

.cart-btn:hover .cart-preview,
.cart-preview:hover {
  opacity: 1;
  visibility: visible;
}

.cart-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: var(--s-16);
}

.cart-item {
  display: flex;
  gap: var(--s-16);
  padding-bottom: var(--s-16);
  border-bottom: 1px solid var(--c-secondary);
  margin-bottom: var(--s-16);
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-info h4 {
  font-size: 0.875rem;
  margin-bottom: 4px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--c-primary);
  color: var(--c-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(59, 42, 30, 0.9) 0%, rgba(59, 42, 30, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--c-white);
  margin-bottom: var(--s-24);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: var(--s-32);
  color: var(--c-secondary);
}

/* Page Hero */
.page-hero {
  padding: 160px 0 var(--s-80) 0;
  background-color: var(--c-primary);
  color: var(--c-white);
  text-align: center;
}

.page-hero h1 {
  color: var(--c-white);
  font-size: clamp(2rem, 4vw, 3rem);
}

/* Catalog Hero */
.catalog-hero {
  position: relative;
  padding: 92px 0 70px;
  text-align: center;
  color: #fff;
  background-color: #2a170f;
  background-image: url("../images/catalog-hero.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 12, 8, 0.88),
      rgba(18, 12, 8, 0.78));
}

.catalog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 8, 0.18);
  backdrop-filter: blur(1.5px);
}

.catalog-hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.catalog-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #fff;
}

.hero-subtitle {
  max-width: 700px;
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.breadcrumb {
  margin-bottom: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.hero-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-categories a {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.hero-categories a:hover,
.hero-categories a.active {
  background: var(--c-highlight);
  border-color: var(--c-highlight);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .catalog-hero {
    padding: 72px 0 56px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

/* Trust Bar */
.trust-bar {
  background-color: var(--c-secondary);
  padding: var(--s-48) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-32);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item svg {
  width: 48px;
  height: 48px;
  color: var(--c-primary);
  margin-bottom: var(--s-16);
}

.trust-item h3 {
  font-size: 1.125rem;
  color: var(--c-primary);
}

/* Section Common */
.section {
  padding: var(--s-80) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--s-64);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--s-16);
}

/* Product Card */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Horizontal Scroll Slider */
.product-slider {
  display: flex !important;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 24px;
  padding: 10px 4px 32px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-highlight) transparent;
}

.product-slider::-webkit-scrollbar {
  height: 6px;
}

.product-slider::-webkit-scrollbar-track {
  background: rgba(60, 40, 20, 0.05);
  border-radius: 10px;
}

.product-slider::-webkit-scrollbar-thumb {
  background: var(--c-highlight);
  border-radius: 10px;
}

.product-slider .product-card {
  flex: 0 0 calc(280px); /* Fixed width for slider items */
  scroll-snap-align: start;
  height: auto;
}

@media (min-width: 768px) {
  .product-slider .product-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

@media (min-width: 1100px) {
  .product-slider .product-card {
    flex: 0 0 calc(25% - 18px);
  }
}

.product-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(60, 40, 20, 0.08);
  box-shadow: 0 10px 30px rgba(24, 16, 10, 0.06);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    opacity 0.45s ease,
    transform 0.45s ease;
  will-change: transform;
  opacity: 0;
  transform: translateY(12px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(24, 16, 10, 0.12);
  border-color: rgba(201, 118, 52, 0.20);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4eee7;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.08), transparent 40%);
  pointer-events: none;
}

.product-body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(60, 40, 20, 0.06);
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-title {
  font-size: 18px;
  line-height: 1.22;
  margin: 0 0 10px;
  color: var(--c-primary);
  font-family: var(--f-body);
}

.product-desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(40, 28, 18, 0.78);
  margin-bottom: 14px;
  flex-grow: 1;
  min-height: 46px;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-highlight);
  margin-bottom: 12px;
  margin-top: 4px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.product-actions .btn {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
  padding: 10px 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.product-actions .btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .product-actions {
    grid-template-columns: 1fr;
  }
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
  border-color: #1ebe5b;
  color: #fff;
}

/* Benefits Grid (Categories) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-24);
  }
}

.category-card {
  position: relative;
  border-radius: var(--br);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
}

.category-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 8, 0.45);
  transition: background 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card:hover::after {
  background: rgba(18, 12, 8, 0.65);
}

.category-title {
  position: relative;
  z-index: 2;
  color: var(--c-white);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  padding: 0 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Brand Story Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-64);
  align-items: center;
}

@media (min-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
  }

  .split-reverse .split-content {
    grid-column: 1;
    grid-row: 1;
  }

  .split-reverse .split-image {
    grid-column: 2;
  }
}

.split-image img {
  border-radius: var(--br);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--c-secondary);
}

.story-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  background: #efe6da;
}

.story-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(24, 16, 10, 0.08);
}

@media (max-width: 768px) {
  .story-image-wrap {
    min-height: 280px;
  }
}

.split-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--s-24);
}

.split-content p {
  margin-bottom: var(--s-24);
  color: #4A4A4A;
  font-size: 1.125rem;
}

/* CTA Banner */
.cta-banner {
  background-color: var(--c-primary);
  background-image: url('../images/board-1.jpg');
  /* fallback texture */
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  padding: var(--s-120) 0;
  text-align: center;
  color: var(--c-white);
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(59, 42, 30, 0.85);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: var(--c-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--s-32);
}

/* FAQ Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--c-secondary);
  margin-bottom: var(--s-16);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: var(--s-24) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-primary);
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-inner {
  padding-bottom: var(--s-24);
  color: #4A4A4A;
}

/* Footer */
.footer {
  background-color: var(--c-primary);
  color: var(--c-secondary);
  padding: var(--s-80) 0 var(--s-24) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-48);
  margin-bottom: var(--s-64);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 1.125rem;
  margin-bottom: var(--s-24);
}

.footer-col ul li {
  margin-bottom: var(--s-16);
}

.footer-col a:hover {
  color: var(--c-highlight);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--s-24);
  border-top: 1px solid rgba(242, 231, 216, 0.1);
  font-size: 0.875rem;
}

/* Collection Sidebar Layout */
.collection-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-48);
}

@media (min-width: 1024px) {
  .collection-layout {
    grid-template-columns: 250px 1fr;
  }
}

.filter-group {
  margin-bottom: var(--s-32);
}

.filter-group h4 {
  font-family: var(--f-body);
  margin-bottom: var(--s-16);
  color: var(--c-accent);
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  margin-bottom: var(--s-8);
  cursor: pointer;
}

/* Catalog Filter Bar */
.filter-bar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(60, 40, 20, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(30, 20, 10, 0.06);
  padding: 18px;
  margin-bottom: 32px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(60, 40, 20, 0.12);
  padding: 0 18px;
  font-size: 16px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--c-highlight);
  box-shadow: 0 0 0 4px rgba(201, 118, 52, 0.12);
}

@media (max-width: 768px) {
  .filter-bar {
    grid-template-columns: 1fr;
  }
}

/* Skeleton Loading */
.skeleton-card {
  pointer-events: none;
  opacity: 1;
  transform: none;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg,
      #efe8df 0%,
      #f7f3ee 50%,
      #efe8df 100%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.25s infinite linear;
  border-radius: 12px;
}

.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
}

.skeleton-line-sm {
  width: 34%;
}

.skeleton-line-md {
  width: 68%;
}

.skeleton-btn {
  height: 46px;
  border-radius: 14px;
  margin-top: 10px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (min-width: 768px) {
  .filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .filter-bar>div.search-col {
    flex: 2;
  }

  .filter-bar>div.category-col {
    flex: 1;
  }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--s-8);
  margin-top: var(--s-48);
}

.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-secondary);
  border-radius: var(--br);
  transition: var(--transition);
}

.page-link:hover,
.page-link.active {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

/* SEO Description */
.seo-block {
  margin-top: var(--s-80);
  padding: var(--s-48);
  background: var(--c-white);
  border-radius: var(--br);
}

.seo-block h2 {
  font-size: 1.5rem;
  margin-bottom: var(--s-16);
}

/* Product Page Layout */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-48);
}

@media (min-width: 1024px) {
  .product-detail-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-80);
  }
}

.product-gallery {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--s-16);
}

@media (min-width: 768px) {
  .product-gallery {
    flex-direction: row;
  }
}

.gallery-thumbnails {
  display: flex;
  flex-direction: row;
  gap: var(--s-16);
}

@media (min-width: 768px) {
  .gallery-thumbnails {
    flex-direction: column;
    width: 80px;
  }
}

.thumb-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  background: var(--c-secondary);
}

.thumb-img.active {
  border-color: var(--c-highlight);
}

.main-image {
  flex-grow: 1;
  border-radius: var(--br);
  overflow: hidden;
  background: var(--c-secondary);
}

.main-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: var(--s-8);
}

.product-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-highlight);
  margin-bottom: var(--s-24);
}

.product-desc {
  font-size: 1.125rem;
  margin-bottom: var(--s-32);
  color: #4A4A4A;
}

.input-group {
  margin-bottom: var(--s-32);
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--s-8);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: var(--s-16);
  border: 1px solid var(--c-secondary);
  border-radius: 8px;
  font-family: var(--f-body);
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--c-secondary);
  border-radius: 8px;
  width: max-content;
  overflow: hidden;
  margin-bottom: var(--s-32);
}

.qty-btn {
  width: 40px;
  height: 48px;
  background: var(--c-surface);
  font-size: 1.25rem;
}

.qty-btn:hover {
  background: var(--c-secondary);
}

.qty-input {
  width: 60px;
  height: 48px;
  text-align: center;
  border: none;
  font-weight: 600;
  -moz-appearance: textfield;
  appearance: textfield;
}

.product-actions {
  display: flex;
  gap: var(--s-16);
  margin-bottom: var(--s-48);
}

/* About Grid */
.workshop-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-16);
}

@media (min-width: 768px) {
  .workshop-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.workshop-gallery img {
  border-radius: var(--br);
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--c-secondary);
}

/* Contact layout */
.contact-info {
  background: var(--c-white);
  padding: var(--s-48);
  border-radius: var(--br);
  box-shadow: var(--shadow);
}

.contact-info h3 {
  margin-bottom: var(--s-24);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--s-16);
  margin-bottom: var(--s-24);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* =========================================
   PREMIUM RESTRUCTURING APPENDAGES 
   ========================================= */

/* New Standardized Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  min-height: 48px;
  padding: 0 var(--s-32);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  border-radius: var(--br);
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary { background-color: var(--c-highlight); color: var(--c-white); border: 1px solid var(--c-highlight); }
.btn-primary:hover { background-color: var(--c-highlight-hover); border-color: var(--c-highlight-hover); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--c-white); }

.btn-whatsapp { background-color: var(--c-whatsapp); color: var(--c-white); border: 1px solid var(--c-whatsapp); font-weight: 600; }
.btn-whatsapp:hover { background-color: var(--c-whatsapp-hover); border-color: var(--c-whatsapp-hover); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(37, 211, 102, 0.25); color: var(--c-white); }

.btn-outline { background-color: transparent; border: 1px solid var(--c-border); color: var(--c-accent); font-weight: 500; }
.btn-outline:hover { border-color: var(--c-primary); color: var(--c-primary); background-color: var(--c-surface-alt); }

/* New Trust Strip */
.trust-strip {
  background-color: var(--c-surface-alt);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-24) 0;
}
.trust-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-24);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.trust-item svg { width: 20px; height: 20px; color: var(--c-highlight); flex-shrink: 0; }
@media (max-width: 900px) {
  .trust-strip-inner { justify-content: flex-start; }
  .trust-item { width: calc(50% - 12px); }
}

/* Category Cards Redesign */
.compact-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-24);
}
.compact-category-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--br-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
}
.compact-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.compact-category-card img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
  z-index: 1;
}
.compact-category-card:hover img { transform: scale(1.04); }
.compact-category-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(31, 20, 14, 0.8) 0%, rgba(31, 20, 14, 0.2) 50%, rgba(31, 20, 14, 0) 100%);
  z-index: 2;
  transition: var(--transition);
}
.compact-category-card:hover::after { background: linear-gradient(to top, rgba(31, 20, 14, 0.9) 0%, rgba(31, 20, 14, 0.4) 60%, rgba(31, 20, 14, 0) 100%); }
.compact-category-title {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  color: var(--c-white);
  font-family: var(--f-heading);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  padding: var(--s-24) var(--s-16);
  margin: 0;
}
@media (max-width: 768px) {
  .compact-category-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-16); }
  .compact-category-card { aspect-ratio: 1 / 1; }
  .compact-category-title { font-size: 1.125rem; }
}

/* Masonry Gallery Grid */
.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 240px;
  gap: var(--s-16);
}
.masonry-item {
  position: relative;
  border-radius: var(--br);
  overflow: hidden;
  background: var(--c-surface-alt);
}
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-large { grid-column: span 1; grid-row: span 2; }
@media (max-width: 768px) {
  .masonry-gallery { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .masonry-large { grid-row: span 1; }
}

/* Premium Accordion FAQ */
.premium-accordion {
  border-top: 1px solid var(--c-border);
}
.premium-accordion-item {
  border-bottom: 1px solid var(--c-border);
}
.premium-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-24) 0;
  background: transparent;
  border: none;
  font-family: var(--f-body);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--c-primary);
  text-align: left;
  cursor: pointer;
}
.premium-accordion-icon {
  width: 24px; height: 24px;
  stroke: var(--c-highlight);
  transition: transform 0.3s ease;
}
.premium-accordion-item.active .premium-accordion-icon { transform: rotate(180deg); }
.premium-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--c-muted);
  line-height: 1.6;
}
.premium-accordion-item.active .premium-accordion-content {
  max-height: 200px;
  padding-bottom: var(--s-24);
}

/* Asymmetric Layout (Essence) */
.split-premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-80);
  align-items: center;
}
.split-premium-image {
  border-radius: var(--br-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.split-premium-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .split-premium { grid-template-columns: 1fr; gap: var(--s-32); }
  .split-premium-image { aspect-ratio: 16 / 9; }
}

/* Footer Overhaul */
.premium-footer {
  background-color: var(--c-primary);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--s-80) 0 var(--s-24);
  font-family: var(--f-body);
  font-size: 0.9375rem;
}
.premium-footer a { transition: color 0.3s ease; }
.premium-footer a:hover { color: var(--c-white); }
.premium-footer h4 { color: var(--c-white); font-family: var(--f-body); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--s-24); }
.premium-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-48); margin-bottom: var(--s-64); }
.premium-footer-brand { color: var(--c-white); font-family: var(--f-heading); font-size: 1.75rem; font-weight: 700; margin-bottom: var(--s-16); display: block; }
@media (max-width: 900px) {
  .premium-footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-32); }
}
@media (max-width: 600px) {
  .premium-footer-grid { grid-template-columns: 1fr; }
}


/* Premium Product Collection Grid */
.render-catalog-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-48) var(--s-32);
  margin-top: var(--s-64);
  justify-content: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .render-catalog-products {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-32);
  }
}

@media (max-width: 640px) {
  .render-catalog-products {
    grid-template-columns: 1fr;
    gap: var(--s-40);
  }
}

/* Premium Product Card Refinement - More Compact Collection Style */
.product-card {
  background: var(--c-white);
  border-radius: var(--br-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-decoration: none;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(31, 20, 14, 0.12);
}

.product-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.product-image img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-primary);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-body {
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: var(--s-8);
}

.product-meta {
  margin-bottom: var(--s-16);
}

.product-title {
  font-family: var(--f-heading);
  font-size: 1.1rem;
  color: var(--c-primary);
  margin-bottom: 2px;
  font-weight: 600;
  line-height: 1.25;
  transition: color 0.3s;
}

.product-card:hover .product-title {
  color: var(--c-highlight);
}

.product-desc {
  font-family: var(--f-body);
  font-size: 0.8125rem;
  color: var(--c-muted);
  margin-bottom: 4px;
  flex-grow: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-highlight);
  margin-bottom: var(--s-16);
  letter-spacing: 0.01em;
}

.product-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  margin-top: auto;
}

@media (max-width: 480px) {
  .product-footer-actions {
    grid-template-columns: 1fr;
  }
}

.product-footer-actions .btn {
  width: 100%;
  min-height: 38px;
  font-size: 0.7rem;
  padding: 0 var(--s-8);
  letter-spacing: 0.02em;
}

/* Premium Filter Refinement */
.filter-search-input {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  border-color: var(--c-border) !important;
  font-size: 0.9375rem !important;
  padding: 14px 24px !important;
}

.filter-search-input:focus {
  border-color: var(--c-primary) !important;
  box-shadow: 0 4px 15px rgba(31, 20, 14, 0.08) !important;
}

