:root {
  --ink: #11100e;
  --graphite: #1b1b19;
  --charcoal: #24211c;
  --coffee: #3c2d21;
  --soil: #7d4529;
  --sand: #b39d82;
  --gold: #c28a4b;
  --ivory: #f4efe6;
  --mist: #d4d0c8;
  --olive: #596552;
  --line: rgba(244, 239, 230, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
.button,
input,
select {
  font: inherit;
}

button,
.button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(194, 138, 75, 0.36);
  border-radius: 6px;
  background: rgba(244, 239, 230, 0.08);
  color: var(--ivory);
  padding: 10px 12px;
}

select option {
  background: var(--graphite);
  color: var(--ivory);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 16, 14, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(194, 138, 75, 0.5);
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.brand small {
  color: var(--gold);
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  color: rgba(244, 239, 230, 0.78);
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--gold);
}

.cart-button {
  min-width: 78px;
  border-color: rgba(194, 138, 75, 0.45);
  background: rgba(244, 239, 230, 0.07);
  color: var(--ivory);
  padding: 10px 14px;
}

.cart-icon {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 900ms ease, transform 5200ms ease;
}

.hero-slider img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 10, 8, 0.88) 0%, rgba(11, 10, 8, 0.56) 45%, rgba(11, 10, 8, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 16, 14, 0.9) 0%, rgba(17, 16, 14, 0) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 86px) 76px;
}

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

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.03;
}

h1 {
  margin-bottom: 16px;
  font-size: 70px;
  letter-spacing: 0;
}

h2 {
  font-size: 42px;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
}

.hero-content p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(244, 239, 230, 0.9);
  font-size: 20px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary {
  background: var(--gold);
  color: #130f0b;
}

.secondary {
  border-color: rgba(244, 239, 230, 0.42);
  background: rgba(244, 239, 230, 0.08);
  color: var(--ivory);
}

.band,
.collection,
.shipping {
  padding: 92px clamp(18px, 5vw, 72px);
}

.band {
  background:
    linear-gradient(135deg, rgba(89, 101, 82, 0.24), transparent 36%),
    linear-gradient(135deg, var(--charcoal), var(--coffee));
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-copy h2,
.section-heading h2,
.quality-copy h2,
.contact h2 {
  margin-bottom: 16px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.intro-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(244, 239, 230, 0.05);
}

.intro-grid span {
  color: var(--olive);
  font-weight: 900;
}

.intro-grid p,
.section-heading p,
.quality-copy li,
.contact p,
.shipping p {
  color: rgba(244, 239, 230, 0.72);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 34px;
}

.collection {
  background:
    radial-gradient(circle at top right, rgba(89, 101, 82, 0.25), transparent 34%),
    linear-gradient(180deg, var(--ink), var(--graphite));
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(194, 138, 75, 0.28);
  border-radius: 8px;
  background: #1b1814;
  box-shadow: var(--shadow);
}

.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--charcoal);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

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

.product-info {
  padding: 22px;
}

.product-info p {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.product-info h3 {
  min-height: 54px;
  margin-bottom: 12px;
}

.product-info span {
  display: block;
  margin-bottom: 18px;
  color: var(--ivory);
  font-size: 20px;
  font-weight: 900;
}

.product-info label,
.shipping-form label,
.checkout-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(244, 239, 230, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.product-info button {
  width: 100%;
  border-color: rgba(194, 138, 75, 0.65);
  background: transparent;
  color: var(--ivory);
}

.product-info button:hover {
  background: var(--gold);
  color: var(--ink);
}

.quality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.quality-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 1.16;
}

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

.quality-copy ul {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.quality-copy li {
  position: relative;
  padding-left: 24px;
}

.quality-copy li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.shipping {
  background:
    linear-gradient(90deg, rgba(125, 69, 41, 0.2), transparent),
    var(--graphite);
  border-top: 1px solid var(--line);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  border-bottom: 1px solid rgba(194, 138, 75, 0.55);
  color: var(--ivory);
}

.cart-panel {
  position: fixed;
  z-index: 40;
  inset: 0 0 0 auto;
  width: min(460px, 100%);
  background: rgba(12, 10, 8, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.cart-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel-inner {
  height: 100%;
  margin-left: auto;
  padding: 24px;
  background: #181613;
  border-left: 1px solid rgba(194, 138, 75, 0.34);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.42);
  display: flex;
  flex-direction: column;
}

.cart-top,
.cart-line,
.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-top button,
.remove-item,
.qty-controls button {
  border-color: var(--line);
  background: transparent;
  color: var(--ivory);
}

.cart-top button,
.remove-item {
  width: 42px;
  padding: 0;
}

.cart-items {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  overflow: auto;
}

.cart-line {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.cart-line strong {
  display: block;
}

.cart-line span,
.empty-cart,
.shipping-form p,
.checkout-status {
  color: rgba(244, 239, 230, 0.72);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.qty-controls button {
  width: 34px;
  min-height: 34px;
  padding: 0;
}

.shipping-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(244, 239, 230, 0.04);
}

.cep-row {
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 8px;
}

.cep-row button {
  padding-inline: 12px;
  background: var(--gold);
  color: var(--ink);
}

.shipping-form p {
  margin: 10px 0 0;
  font-size: 13px;
}

.cart-summary {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 18px;
}

.cart-total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 20px;
}

.checkout {
  margin-top: 12px;
  width: 100%;
}

.checkout-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(9, 8, 7, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.checkout-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-box {
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(194, 138, 75, 0.36);
  border-radius: 8px;
  background: #181613;
  padding: 24px;
  box-shadow: var(--shadow);
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: rgba(244, 239, 230, 0.82);
  background: rgba(244, 239, 230, 0.04);
}

[data-checkout-status] {
  min-height: 24px;
  margin: 0;
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

  .intro,
  .quality {
    grid-template-columns: 1fr;
  }

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

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 15px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    margin: 0 18px 46px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .band,
  .collection,
  .shipping {
    padding: 64px 18px;
  }

  .hero-actions,
  .contact-actions,
  .social-links {
    width: 100%;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .cart-panel-inner {
    padding: 18px;
  }
}
