html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

a,
button,
select {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
}

.nav-link::after,
.nav-link-active::after {
  content: "";
  position: absolute;
  bottom: -1.1rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: #111111;
  opacity: 0;
}

.nav-link:hover::after,
.nav-link-active::after {
  opacity: 1;
}

.mobile-link {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border: 1px solid #111111;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #111111;
  color: #ffffff;
}

.btn-primary:hover {
  background: #f3bfd7;
  border-color: #f3bfd7;
  color: #111111;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.btn-light {
  color: #111111;
  border-color: rgba(17, 17, 17, 0.18);
}

.btn-light:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #ffffff;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: #111111;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.05);
  will-change: transform;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0 0.95rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5f1ee;
}

.section-block {
  position: relative;
}

.parallax-layer {
  will-change: transform;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  padding: 0 0.95rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8f7f83;
}

.section-title {
  margin-top: 1.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
}

.section-copy {
  margin: 1.5rem auto 0;
  max-width: 48rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.7);
}

.step-card {
  position: relative;
  min-height: 100%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #ffffff;
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.step-arrow::after {
  content: "→";
  position: absolute;
  top: 1.5rem;
  left: -0.6rem;
  font-size: 1.3rem;
  color: rgba(17, 17, 17, 0.3);
}

.step-card.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  min-height: 2rem;
  border: 1px solid #111111;
  background: #f3bfd7;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.step-card h3 {
  margin-top: 1.25rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
}

.step-card p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.72);
}

.store-photo,
.promo-photo,
.footer-gallery-item,
.product-media,
.modal-image,
.store-map-photo {
  background-size: cover;
  background-position: center;
}

.store-photo {
  min-height: 500px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  opacity: 0;
  transform: translateY(28px);
}

.promo-photo {
  min-height: 530px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(28px);
}

.product-card {
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #ffffff;
}

.product-media {
  min-height: 500px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background-color: #f5f1ee;
  background-position: center top;
}

.product-content {
  padding: 1.5rem;
}

.product-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8f7f83;
}

.product-title {
  margin-top: 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.product-description {
  margin-top: 0.8rem;
  min-height: 4.5rem;
  font-size: 0.96rem;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.68);
}

.product-detail-list {
  display: grid;
  gap: 0.65rem;
  min-height: 4.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.72);
}

.product-detail-list strong {
  margin-right: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f7f83;
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.footer-gallery-item {
  min-height: 240px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.75);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-social-link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.footer-link:hover {
  color: #d9b7c1;
}

.catalog-sidebar {
  position: sticky;
  top: 7.5rem;
  align-self: start;
}

.filter-box {
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #ffffff;
  padding: 1.5rem;
}

.filter-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.filter-group span {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.radio-stack {
  display: grid;
  gap: 0.85rem;
}

.radio-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.96rem;
  color: rgba(17, 17, 17, 0.75);
}

.radio-item input {
  width: 16px;
  height: 16px;
  accent-color: #d9b7c1;
}

.color-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.color-chip {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.color-chip.is-active {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.size-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.size-chip {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #ffffff;
  padding: 0 0.65rem;
  font-size: 0.86rem;
  color: rgba(17, 17, 17, 0.75);
  cursor: pointer;
}

.size-chip.is-active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.product-actions .btn {
  width: 100%;
  min-width: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.filter-input,
.filter-select {
  min-height: 3.25rem;
  border: 1px solid rgba(17, 17, 17, 0.15);
  background: #ffffff;
  padding: 0 1rem;
  font-size: 0.96rem;
}

.filter-group:has(#filter-occasion) {
  display: none;
}

.filter-group:has(#filter-color-chips) {
  margin-bottom: 2rem;
}

.product-meta {
  margin-top: 0.7rem;
  min-height: 1.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.52);
}

.product-skeleton {
  overflow: hidden;
}

.skeleton-block,
.skeleton-line,
.skeleton-button {
  position: relative;
  overflow: hidden;
  background: #eee7e4;
}

.skeleton-block::after,
.skeleton-line::after,
.skeleton-button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: skeleton-shimmer 1.25s infinite;
}

.skeleton-line {
  height: 0.85rem;
  margin-top: 0.85rem;
}

.skeleton-line-short {
  width: 42%;
}

.skeleton-line-title {
  width: 70%;
  height: 1.4rem;
  margin-top: 1rem;
}

.skeleton-button {
  width: 100%;
  height: 3.5rem;
  margin-top: 1.5rem;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 3rem;
}

.pagination-button {
  min-width: 3rem;
  min-height: 3rem;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: #ffffff;
  padding: 0 0.95rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111111;
}

.pagination-button:hover:not(:disabled),
.pagination-button.is-active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.pagination-gap {
  color: rgba(17, 17, 17, 0.45);
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.modal-image {
  min-height: 680px;
  background-color: #f5f1ee;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.modal-gallery-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f5f1ee;
  border-right: 1px solid rgba(17, 17, 17, 0.08);
}

.modal-gallery-main {
  position: relative;
  min-height: 720px;
}

.modal-gallery-main .modal-image {
  min-height: 720px;
  background-position: center;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.modal-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-50%);
  font-size: 2rem;
  line-height: 1;
}

#modal-prev {
  left: 1rem;
}

#modal-next {
  right: 1rem;
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.modal-thumb {
  min-height: 92px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background-size: cover;
  background-position: center top;
  background-color: #ffffff;
  cursor: pointer;
  opacity: 0.75;
}

.modal-thumb.is-active {
  opacity: 1;
  border-color: #111111;
}

#modal-whatsapp {
  position: static;
  min-height: 3.55rem;
}

.modal-spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding: 1rem 1.2rem;
  gap: 1rem;
  font-size: 0.95rem;
}

.modal-spec-row strong {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.variant-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1rem;
}

.variant-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.9rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #ffffff;
  padding: 0.75rem;
  cursor: pointer;
}

.variant-card.is-active {
  border-color: #111111;
}

.variant-card:hover {
  border-color: rgba(17, 17, 17, 0.45);
}

.variant-image {
  min-height: 112px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background-size: cover;
  background-position: center top;
  background-color: #f5f1ee;
}

.variant-info {
  display: grid;
  gap: 0.55rem;
  align-content: center;
  font-size: 0.92rem;
  color: rgba(17, 17, 17, 0.72);
}

.variant-info strong {
  margin-right: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f7f83;
}

.variant-info .btn {
  min-height: 2.8rem;
  width: fit-content;
  padding: 0 1rem;
}

.rental-step-list {
  display: grid;
  gap: 1rem;
  counter-reset: rental-step;
}

.rental-step-modal {
  display: grid;
  gap: 0.45rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #ffffff;
  padding: 1rem;
}

.rental-step-modal span {
  width: fit-content;
  min-width: 3.4rem;
  border: 1px solid #111111;
  background: #e9b8cf;
  padding: 0.35rem 0.75rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #111111;
}

.rental-step-modal strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: #111111;
}

.rental-step-modal p {
  color: rgba(17, 17, 17, 0.72);
}

@media (max-width: 1279px) {
  .product-media {
    min-height: 420px;
  }
}

@media (max-width: 1023px) {
  .step-arrow::after {
    display: none;
  }

  .catalog-sidebar {
    position: static;
  }

  .footer-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero-media {
    background-position: center center;
  }

  .store-photo,
  .promo-photo,
  .footer-gallery-item {
    min-height: 300px;
  }

  .product-media {
    min-height: 240px;
  }

  #featured-products .product-media {
    min-height: 240px;
  }

  #featured-products .product-content {
    padding: 0.85rem;
  }

  #featured-products .product-detail-list {
    min-height: 5.5rem;
    gap: 0.45rem;
    font-size: 0.82rem;
  }

  #featured-products .product-detail-list strong {
    display: block;
    margin-right: 0;
    font-size: 0.64rem;
  }

  #featured-products .btn {
    min-height: 2.9rem;
    padding-inline: 0.7rem;
    font-size: 0.68rem;
  }

  .footer-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-spec-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  #modal-whatsapp {
    position: static;
  }

  .variant-list {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.85rem;
  }

  .variant-card {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    width: 100%;
    padding: 0.9rem;
  }

  .variant-image {
    min-height: 220px;
    width: 100%;
  }

  .variant-info {
    gap: 0.7rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .variant-info p {
    overflow-wrap: anywhere;
  }

  .variant-info .btn {
    width: 100%;
    min-height: 3.15rem;
    padding: 0 0.85rem;
  }

  .modal-gallery-main,
  .modal-gallery-main .modal-image {
    min-height: 430px;
  }
}

@media (max-width: 479px) {
  #catalog-grid .product-content {
    padding: 0.85rem;
  }

  #catalog-grid .product-detail-list {
    min-height: 5.5rem;
    gap: 0.45rem;
    font-size: 0.82rem;
  }

  #catalog-grid .product-detail-list strong {
    display: block;
    margin-right: 0;
    font-size: 0.64rem;
  }

  #catalog-grid .product-actions {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  #catalog-grid .btn {
    min-height: 2.85rem;
    padding-inline: 0.55rem;
    font-size: 0.66rem;
  }
}
