:root {
  --black: #050505;
  --ink: #17120d;
  --paper: #f7e2ad;
  --paper-soft: #fff7df;
  --gold: #c89135;
  --gold-bright: #f2c15a;
  --green: #38ed87;
  --blue: #17a8ff;
  --line: rgba(56, 34, 12, .2);
  --shadow: 0 22px 58px rgba(38, 18, 4, .26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 10%, rgba(201, 145, 53, .22), transparent 32%),
    linear-gradient(180deg, #111 0%, #050505 72%);
  border-bottom: 1px solid rgba(242, 193, 90, .42);
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .96));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: end;
  gap: 42px;
  padding: 34px 0 58px;
}

.back-link {
  position: absolute;
  top: 26px;
  left: 0;
  color: rgba(255, 255, 255, .76);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-lockup {
  max-width: 620px;
  min-width: 0;
  padding-bottom: 30px;
}

.brand-seal {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .34));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 720px;
  color: #fff;
  font-size: clamp(44px, 8vw, 82px);
  line-height: .92;
  letter-spacing: 0;
  text-shadow: 0 9px 26px rgba(0, 0, 0, .55);
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 20px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.hero-photo {
  width: min(430px, 100%);
  align-self: end;
  justify-self: end;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .45));
}

.showcase-section,
.products-section {
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(255, 246, 219, .54), rgba(246, 214, 150, .5)),
    url("./assets/partitura-vintage-bg.jpg");
  background-size: cover;
  background-position: center top;
}

.showcase-section {
  padding: 48px 0 34px;
}

.products-section {
  padding: 18px 0 72px;
}

.products-section--standalone {
  padding-top: 52px;
}

.section-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-heading span {
  width: 44px;
  height: 2px;
  background: rgba(23, 18, 13, .72);
}

.section-heading h2 {
  margin: 0;
  color: #17120d;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  min-width: 0;
}

.recommendation-card,
.kits-panel,
.product-card {
  position: relative;
  min-width: 0;
  box-shadow: var(--shadow);
}

.recommendation-card,
.product-card {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: url("./assets/leather-carousel-cover.jpg") center / cover no-repeat;
  box-shadow:
    0 38px 54px -28px rgba(36, 20, 5, .62),
    0 16px 24px -22px rgba(28, 17, 5, .55),
    inset 0 1px 0 rgba(255, 255, 255, .48),
    inset 0 -1px 0 rgba(0, 0, 0, .48);
}

.recommendation-card {
  width: 100%;
  aspect-ratio: 10 / 16;
  min-height: 0;
  padding: 38px 28px;
  display: grid;
}

.recommendation-card::before,
.product-card::before,
.recommendation-card::after,
.product-card::after {
  content: none;
}

.recommendation-content,
.recommendation-surface,
.product-surface {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.recommendation-surface,
.product-surface {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 10, 4, .12), rgba(0, 0, 0, .42)),
    rgba(24, 12, 5, .2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    inset 0 -1px 0 rgba(0, 0, 0, .34),
    0 18px 36px -24px rgba(0, 0, 0, .7);
}

.recommendation-surface {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.recommendation-image-wrap {
  display: grid;
  place-items: center;
  min-height: 214px;
  margin-bottom: 22px;
  border-radius: 6px;
  background-color: #ffffffff;
  background-image: none;
  box-shadow: 0 14px 28px rgba(18, 10, 4, .22);
}

.recommendation-product {
  height: 210px;
  object-fit: contain;
  margin: 0 auto;
  background: transparent;
  filter: none;
}

.recommendation-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(242, 193, 90, .34);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.recommendation-card h3 {
  margin-bottom: 12px;
  color: #fff7df;
  font-size: 28px;
  line-height: 1.04;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .48);
}

.recommendation-card p {
  color: rgba(255, 247, 223, .82);
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .42);
}

.button-primary,
.card-button,
.kit-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  color: #050505;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(27, 199, 104, .35);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button-primary:hover,
.card-button:hover,
.kit-item a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(27, 199, 104, .42);
}

.kits-panel {
  overflow: hidden;
  border: 1px solid rgba(111, 63, 17, .28);
  border-radius: 8px;
  padding: 64px 24px 28px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(135deg, rgba(15, 7, 2, .06), rgba(15, 7, 2, .16)),
    url("./assets/leather-kits-square.png") center / contain no-repeat;
  background-color: #170c05;
  color: #fff;
  width: 100%;
  box-shadow:
    0 38px 54px -28px rgba(36, 20, 5, .45),
    inset 0 1px 0 rgba(255, 255, 255, .44),
    inset 0 -1px 0 rgba(74, 37, 8, .28);
}

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

.kits-header h3 {
  margin: 0;
  color: #ffd36d;
  font-size: 27px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1.04;
  text-shadow:
    0 2px 0 rgba(55, 30, 4, .5),
    0 10px 22px rgba(0, 0, 0, .42);
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-prev,
.carousel-next {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #050505;
  background: var(--gold-bright);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.carousel-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 0;
  min-width: 0;
  transition: transform .34s ease;
}

.kit-card {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 18px 20px;
  border: 1px solid rgba(242, 193, 90, .24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)),
    rgba(7, 6, 5, .24);
  box-shadow: 0 16px 28px -20px rgba(0, 0, 0, .62);
}

.kit-card h4 {
  margin: 0;
  color: #ffd36d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1.04;
  text-shadow:
    0 2px 0 rgba(55, 30, 4, .5),
    0 10px 22px rgba(0, 0, 0, .42);
}

.kit-card p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.kit-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.kit-item {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.kit-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 10px;
  border-radius: 8px;
  background-color: #ffffffff;
  background-image: none;
}

.kit-item a {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 11px;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(23, 168, 255, .28);
}

.categorias {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.categoria-btn {
  min-height: 42px;
  padding: 10px 16px;
  color: #1e1409;
  background: rgba(255, 248, 226, .82);
  border: 1px solid rgba(84, 49, 15, .22);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(67, 38, 12, .12);
}

.categoria-btn.active {
  color: #050505;
  background: var(--gold-bright);
  border-color: rgba(84, 49, 15, .34);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

.product-card {
  width: 100%;
  min-height: 0;
  padding: 28px 20px;
  display: grid;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(38, 18, 4, .32);
}

.product-surface {
  display: flex;
  min-height: 472px;
  flex-direction: column;
  padding: 18px;
}

.product-image-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: clamp(148px, 16vw, 190px);
  margin: 10px 0 18px;
  border-radius: 6px;
  background-color: #ffffffff;
  background-image: none;
  box-shadow: 0 14px 26px rgba(18, 10, 4, .2);
}

.produto-img {
  width: 100%;
  height: clamp(148px, 16vw, 190px);
  object-fit: contain;
  background: transparent;
  filter: none;
}

.selo-card {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  transform: rotate(8deg);
  filter: drop-shadow(0 9px 12px rgba(55, 32, 12, .15));
}

.product-category {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, .32);
  border: 1px solid rgba(242, 193, 90, .36);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.card-title {
  margin: 0 0 12px;
  color: #fff7df;
  font-size: 19px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .46);
}

.card-price {
  margin: 0 0 10px;
  color: #45f28c;
  font-size: 27px;
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .42);
}

.card-description {
  margin-bottom: 18px;
  color: rgba(255, 247, 223, .78);
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-button {
  width: 100%;
  margin-top: auto;
  background: var(--gold-bright);
  box-shadow: 0 14px 30px rgba(201, 145, 53, .28);
}

.card-safe {
  margin-top: 9px;
  color: rgba(255, 247, 223, .58);
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
}

.status-message {
  padding: 18px 0;
  font-weight: 800;
}

.hidden {
  display: none !important;
}

.site-footer {
  padding: 26px 16px;
  color: rgba(255, 255, 255, .62);
  background: #050505;
  border-top: 1px solid rgba(242, 193, 90, .24);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 74px;
    gap: 10px;
  }

  .brand-lockup {
    padding-bottom: 0;
  }

  .hero-photo {
    width: min(320px, 86%);
    justify-self: center;
    opacity: .86;
  }

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

@media (max-width: 760px) {
  .site-hero {
    min-height: 0;
  }

  .hero-inner {
    width: calc(100% - 28px);
    max-width: 520px;
    padding: 70px 0 36px;
  }

  .back-link {
    top: 20px;
  }

  .brand-seal {
    width: 86px;
    height: 86px;
    margin-bottom: 16px;
  }

  .eyebrow {
    font-size: 12px;
  }

  h1 {
    font-size: 46px;
    max-width: 100%;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 17px;
  }

  .showcase-section,
  .products-section {
    background-image:
      linear-gradient(180deg, rgba(255, 246, 219, .58), rgba(246, 214, 150, .52)),
      url("./assets/partitura-vintage-bg-mobile.jpg");
  }

  .showcase-section {
    padding-top: 40px;
  }

  .section-inner {
    width: calc(100% - 24px);
    max-width: 520px;
  }

  .recommendation-card,
  .kits-panel,
  .product-card {
    padding: 22px 16px;
  }

  .recommendation-surface,
  .product-surface {
    padding: 20px;
  }

  .button-primary {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }

  .recommendation-product {
    height: 168px;
  }

  .recommendation-card h3 {
    font-size: 25px;
  }

  .kits-header {
    align-items: flex-start;
  }

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

  .categorias {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .categoria-btn {
    white-space: nowrap;
  }

  .product-card {
    min-height: 0;
  }

  .product-surface {
    min-height: 460px;
  }

  .card-title {
    font-size: 17px;
  }
}
