:root {
  --ink: #f8f1dd;
  --muted: #c5b58f;
  --paper: #050505;
  --soft: #12100c;
  --gold: #d6a84a;
  --gold-light: #ffe7a1;
  --panel: #0c0b09;
  --panel-2: #15120d;
  --line: rgba(214, 168, 74, .28);
  --shadow: 0 30px 90px rgba(0, 0, 0, .46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(214, 168, 74, .16), transparent 28%),
    linear-gradient(180deg, #080705 0%, #050505 38%, #0b0906 100%);
  font-family: Inter, Arial, sans-serif;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(5, 5, 5, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
}

.button,
.cart-button,
.quote-btn,
.webpay-button,
.whatsapp-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.cart-button:hover,
.quote-btn:hover,
.webpay-button:hover,
.whatsapp-button:hover {
  transform: translateY(-2px);
}

.button.primary,
.cart-button,
.quote-btn,
.webpay-button {
  color: #090806;
  background: linear-gradient(135deg, #ffefb8 0%, #d6a84a 42%, #8d6424 100%);
  box-shadow: 0 16px 44px rgba(214, 168, 74, .22);
}

.button.secondary,
.whatsapp-button {
  background: transparent;
  border-color: rgba(255, 231, 161, .5);
  color: var(--gold-light);
}

.button {
  padding: 0 22px;
}

.cart-button {
  gap: 10px;
  padding: 0 16px 0 20px;
}

.cart-button strong {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #090806;
  color: var(--gold-light);
  font-size: 13px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  min-height: calc(100vh - 74px);
  padding: clamp(54px, 8vw, 92px) clamp(18px, 6vw, 82px) clamp(34px, 6vw, 70px);
  overflow: hidden;
}

.hero-copy,
.hero-showcase {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 680px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 10vw, 132px);
  line-height: .86;
  color: var(--gold-light);
  text-shadow: 0 0 34px rgba(214, 168, 74, .22);
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: .98;
  color: var(--gold-light);
}

h3 {
  margin: 8px 0 8px;
  font-size: 22px;
  line-height: 1.1;
}

.hero-text {
  max-width: 590px;
  margin: 28px 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
}

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

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-showcase img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border: 1px solid rgba(255, 231, 161, .34);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-showcase img:first-child {
  grid-row: span 2;
  height: 638px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 6vw, 82px);
  border: 1px solid var(--line);
  background: var(--line);
}

.trust-band div {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(180deg, #14110c, #0b0a08);
}

.trust-band strong {
  font-size: 18px;
}

.trust-band span,
.section-heading p,
.checkout-band p,
.contact p,
.product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: clamp(60px, 9vw, 110px) clamp(18px, 6vw, 82px);
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading p,
.checkout-band p,
.contact p {
  margin: 0;
  max-width: 700px;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  outline: none;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 900;
}

.filter-tabs button.active {
  background: linear-gradient(135deg, #ffefb8, #d6a84a 50%, #8d6424);
  color: #090806;
}

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

.product-card {
  display: grid;
  overflow: hidden;
  min-height: 560px;
  background: linear-gradient(180deg, #14110c, #090806);
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .32);
}

.product-photo {
  position: relative;
  background: #070604;
}

.product-photo img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.product-content {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.tag {
  justify-self: start;
  margin: 0;
  padding: 7px 10px;
  background: rgba(214, 168, 74, .16);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-card p {
  margin: 0;
}

.notes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.notes span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

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

.product-bottom strong {
  font-size: 22px;
}

.quote-btn {
  min-width: 98px;
  padding: 0 16px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
}

.checkout-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  background:
    radial-gradient(circle at 80% 10%, rgba(214, 168, 74, .22), transparent 32%),
    #020202;
  color: #fffbf4;
}

.checkout-band p {
  color: rgba(255, 251, 244, .72);
}

.checkout-band .button.primary {
  color: #090806;
  background: var(--gold-light);
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.contact-panel {
  display: grid;
  min-width: min(430px, 100%);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-panel a {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
}

.contact-panel a:last-child {
  border-bottom: 0;
}

.cart-drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(21, 19, 15, .5);
}

.cart-drawer.open,
.modal.open {
  display: block;
}

.cart-panel {
  margin-left: auto;
  width: min(100%, 520px);
  height: 100%;
  overflow: auto;
  background: var(--paper);
  box-shadow: -30px 0 80px rgba(21, 19, 15, .28);
}

.cart-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: rgba(5, 5, 5, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.cart-head h2 {
  font-size: 42px;
}

.icon-button {
  width: 42px;
  min-height: 42px;
  padding: 0;
  background: var(--panel);
  border-color: var(--line);
  color: var(--gold-light);
  font-size: 20px;
}

.cart-items {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.cart-item img {
  width: 74px;
  height: 86px;
  object-fit: cover;
}

.cart-item div:nth-child(2) {
  display: grid;
  gap: 4px;
}

.cart-item span {
  color: var(--muted);
  font-size: 13px;
}

.cart-item b {
  font-size: 14px;
}

.qty-control {
  display: grid;
  grid-template-columns: 32px 32px 32px;
  align-items: center;
  border: 1px solid var(--line);
}

.qty-control button {
  width: 32px;
  height: 34px;
  border: 0;
  background: var(--soft);
  color: var(--gold-light);
  font-weight: 900;
}

.qty-control span {
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.empty-cart {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
}

.cart-summary {
  display: grid;
  gap: 1px;
  margin: 0 18px 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  background: var(--panel);
}

.total-row strong {
  font-size: 24px;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding: 0 18px 24px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-form input {
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.webpay-button,
.whatsapp-button {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  gap: 12px;
}

.webpay-button strong {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
}

.modal {
  place-items: center;
  padding: 18px;
}

.modal.open {
  display: grid;
}

.modal-panel {
  width: min(100%, 520px);
  padding: clamp(24px, 5vw, 42px);
  background: var(--panel);
  border: 1px solid rgba(179, 132, 50, .35);
  box-shadow: var(--shadow);
}

.modal-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.fake-receipt {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.fake-receipt span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.fake-receipt strong {
  font-size: 24px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 6vw, 82px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .catalog-tools,
  .checkout-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-showcase img,
  .hero-showcase img:first-child {
    height: 360px;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

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

  .contact-panel {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand span {
    font-size: 13px;
  }

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

  .cart-button {
    min-height: 40px;
    padding: 0 10px 0 14px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .hero-showcase img,
  .hero-showcase img:first-child {
    height: 230px;
  }

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

  .product-photo img {
    height: 360px;
  }

  .cart-item {
    grid-template-columns: 62px 1fr;
  }

  .cart-item img {
    width: 62px;
    height: 72px;
  }

  .qty-control {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .footer,
  .modal-actions {
    flex-direction: column;
  }
}
