:root {
  --bg: #fff6f4;
  --surface: #ffffff;
  --text: #2a1c14;
  --muted: #72544f;
  --brand: #e30713;
  --brand-dark: #b9050f;
  --soft: #ffe0d8;
  --soft-light: #fff0ec;
  --border: #f4bdb5;
  --shadow: 0 18px 45px rgba(227, 7, 19, 0.12);
  --shadow-soft: 0 10px 28px rgba(42, 28, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a,
button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

.site-header,
.page-header {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(227, 7, 19, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #ffe0d8 100%);
}

.site-header {
  min-height: 82vh;
}

.page-header {
  border-bottom: 1px solid var(--border);
}

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  color: var(--brand);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.brand-text span {
  display: block;
  color: var(--brand);
  font-size: 0.95rem;
  margin-top: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  transition: 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 850;
  transition: 0.2s ease;
  white-space: nowrap;
}

.nav-button,
.primary-button {
  background: var(--brand);
  color: white;
  box-shadow: 0 10px 22px rgba(227, 7, 19, 0.20);
}

.nav-button:hover,
.primary-button:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
}

.secondary-button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
}

.secondary-button:hover {
  transform: translateY(-2px);
  background: white;
}

.hero-content {
  max-width: 1180px;
  margin: 90px auto 0;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  font-weight: 900;
  font-size: 1rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  margin-bottom: 26px;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(244, 189, 181, 0.8);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 185px;
  height: 185px;
  top: -44px;
  right: -44px;
  border-radius: 50%;
  background: var(--soft);
}

.hero-card span,
.hero-card h2,
.hero-card p,
.hero-card strong {
  position: relative;
}

.hero-card span {
  width: fit-content;
  background: var(--brand);
  color: white;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-card h2 {
  margin: 22px 0 10px;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 28px;
}

.section-heading {
  display: flex;
  gap: 22px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-note,
.page-description {
  color: var(--muted);
  line-height: 1.6;
}

.intro h2,
.categories-section h2,
.products-section h2,
.custom-order h2,
.contact h2 {
  font-size: clamp(2rem, 5vw, 3.55rem);
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}

.page-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  margin-bottom: 14px;
}

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

.steps article,
.product-card,
.contact,
.custom-order {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.steps article {
  padding: 26px;
}

.steps span {
  color: var(--brand);
  font-weight: 900;
}

.steps p,
.product-card p,
.contact p,
.custom-order p {
  color: var(--muted);
  line-height: 1.6;
}

.carousel-shell {
  position: relative;
}

.category-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 22px;
  scrollbar-width: thin;
}

.category-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 470px;
  transition: 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-visual,
.product-image,
.gallery-main {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.75), transparent 28%),
    linear-gradient(135deg, var(--soft), #ffffff);
}

.category-visual {
  height: 210px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding-top: 18px;
}

.category-placeholder,
.product-placeholder {
  font-size: 4.2rem;
  color: var(--brand);
  font-weight: 950;
}

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

.category-image {
  width: 100%;
  height: calc(100% - 18px);
  object-fit: contain;
  object-position: center top;
  padding: 0 18px 18px;
  display: block;
}

.category-info {
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}

.category-info h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.category-info p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  transform: translateY(-60%);
  background: white;
  color: var(--brand);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: 0.2s ease;
}

.carousel-control:hover {
  background: var(--brand);
  color: white;
}

.carousel-prev {
  left: -16px;
}

.carousel-next {
  right: -16px;
}

.custom-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 42px;
  margin-bottom: 70px;
}

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

input {
  min-height: 48px;
  min-width: min(340px, 100%);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 0 16px;
  background: white;
  color: var(--text);
  outline: none;
}

input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(227, 7, 19, 0.16);
}

.category-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 3px 3px 18px;
  margin-bottom: 16px;
  scrollbar-width: thin;
}

.category-button {
  min-width: 145px;
  min-height: 58px;
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  padding: 11px 18px;
  border-radius: 18px;
  background: white;
  color: var(--brand);
  border: 1px solid var(--border);
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(42, 28, 20, 0.05);
  transition: 0.2s ease;
}

.category-button:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}

.category-button.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.product-card {
  overflow: hidden;
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-image {
  height: 220px;
  overflow: hidden;
}

.product-info {
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 12px;
  flex: 1;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.product-top h3 {
  margin-bottom: 0;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  background: var(--soft);
  color: var(--brand);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.product-description {
  margin: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft-light);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 750;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.price {
  display: block;
  color: var(--brand);
  font-size: 1.32rem;
  font-weight: 950;
  white-space: nowrap;
}

.small-button {
  min-width: 104px;
  text-align: center;
  background: white;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 14px;
  padding: 11px 14px;
  font-weight: 850;
  transition: 0.2s ease;
}

.small-button:hover {
  background: var(--brand);
  color: white;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--brand);
  font-weight: 850;
}

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

.product-gallery {
  display: grid;
  gap: 14px;
}

.gallery-main {
  height: min(560px, 62vw);
  min-height: 330px;
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.placeholder-gallery {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.75), transparent 28%),
    linear-gradient(135deg, var(--soft), #ffffff);
}

.product-placeholder.large {
  font-size: 7rem;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.thumb-button {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border-radius: 18px;
  border: 2px solid transparent;
  overflow: hidden;
  background: white;
  padding: 0;
}

.thumb-button.active {
  border-color: var(--brand);
}

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

.product-detail-copy {
  background: white;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.product-long-description {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border);
  background: var(--soft-light);
  border-radius: 18px;
  padding: 16px;
}

.detail-list span {
  color: var(--muted);
}

.detail-list strong {
  color: var(--brand);
  text-align: right;
}

.contact {
  text-align: center;
  padding: 50px 28px;
}

.contact-grid {
  display: grid;
  max-width: 1020px;
  margin: 28px auto 0;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.contact-grid a {
  background: var(--soft);
  color: var(--brand);
  padding: 18px;
  border-radius: 20px;
  font-weight: 900;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 34px 20px 48px;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 50px 20px;
  color: var(--muted);
}

@media (max-width: 1050px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-links {
    display: flex;
    order: 3;
    flex: 0 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 980px) {
  .hero-content,
  .product-grid,
  .product-detail {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy,
  .product-gallery,
  .product-detail-copy {
    grid-column: 1 / -1;
  }

  .category-carousel {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 760px) {
  .hero-content,
  .steps,
  .product-grid,
  .contact-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .custom-order {
    align-items: stretch;
    flex-direction: column;
  }

  .filters {
    flex-direction: column;
  }

  input {
    width: 100%;
  }

  h1 {
    font-size: 3.5rem;
  }

  .site-header,
  .page-header {
    padding: 20px;
  }

  .navbar {
    align-items: center;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand-text strong {
    font-size: 1.35rem;
  }

  .brand-text span {
    font-size: 0.82rem;
  }

  .nav-button {
    display: none;
  }

  .category-carousel {
    grid-auto-columns: 86%;
  }

  .carousel-control {
    display: none;
  }

  .category-button {
    min-width: 132px;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

/* Feature product card in hero */
.hero-feature-product {
  justify-content: space-between;
  gap: 20px;
  min-height: 430px;
  padding: 26px;
}

.hero-feature-product::before {
  width: 210px;
  height: 210px;
  top: -55px;
  right: -55px;
}

.hero-feature-image {
  position: relative;
  height: 240px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(135deg, var(--soft), #ffffff);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-feature-image img {
  width: 55%;
  height: 86%;
  object-fit: contain;
  transform: rotate(20deg);
  filter: drop-shadow(0 18px 20px rgba(42, 28, 20, 0.14));
}

.hero-feature-content {
  position: relative;
}

.hero-feature-content h2 {
  margin: 18px 0 10px;
}

.hero-feature-meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
}

.hero-feature-meta strong {
  color: var(--brand);
  font-size: 1.35rem;
}

.hero-feature-meta small {
  background: var(--soft);
  color: var(--brand);
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 900;
}

.hero-card-button {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--brand);
  color: white;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(227, 7, 19, 0.20);
  transition: 0.2s ease;
}

.hero-card-button:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
}

.about-section {
  padding-bottom: 40px;
}

.about-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  padding: 42px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2rem, 5vw, 3.55rem);
  letter-spacing: -0.055em;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.about-highlights {
  display: grid;
  gap: 14px;
}

.about-highlights article {
  background: var(--soft-light);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
}

.about-highlights strong {
  display: block;
  color: var(--brand);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.about-highlights span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.category-image.missangas-cover {
  transform: rotate(30deg) scale(0.40) translateY(-550px) translateX(-250px);
  object-fit: contain;
}

.category-image.conjuntos-cover {
  transform: rotate(30deg) scale(0.70) translateY(-100px) translateX(-100px);
  object-fit: contain;
}

.gallery-with-arrows {
  position: relative;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: white;
  color: var(--brand);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: 0.2s ease;
}

.gallery-arrow:hover {
  background: var(--brand);
  color: white;
}

.gallery-arrow-left {
  left: 14px;
}

.gallery-arrow-right {
  right: 14px;
}

.main-media {
  width: 100%;
  height: 100%;
}

.main-media img,
.main-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--soft-light);
}

.video-thumb {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--brand);
  font-size: 1.8rem;
  font-weight: 900;
}

.gallery-main {
  aspect-ratio: 3 / 4;
  height: auto;
  min-height: unset;
}

@media (max-width: 760px) {
  .about-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 24px;
  }

  .about-content h2 {
    font-size: 2.2rem;
    line-height: 1;
  }

  .about-content p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .about-highlights {
    gap: 10px;
  }

  .about-highlights article {
    padding: 15px;
  }

  .about-highlights span {
    font-size: 0.92rem;
  }
}