*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #B9967D;
  --gold-lt: #cdb09a;
  --black: #0d0d0d;
  --bg: #F4F1ED;
  --bg2: #EAE6E0;
  --white: #fff;
  --border: rgba(0, 0, 0, 0.1);
  --borderg: rgba(185, 150, 125, 0.3);
  --text: #1a1714;
  --muted: #7a7269;
  --font: 'Josefin Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  overflow-x: hidden;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 45px;
}

.cart-btn {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--border);
  padding: 9px 20px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
  transition: all .2s;
}

.cart-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.badge {
  background: var(--gold);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  transition: transform .2s;
}

.badge.bump {
  transform: scale(1.4);
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--black);
  min-height: 85dvh;
}

.hero-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px;
}

.hero-eyebrow {
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-h1 {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 200;
  line-height: 1.08;
  color: #f0ece8;
  margin-bottom: 16px;
}

.hero-h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-p {
  font-size: 12px;
  line-height: 2;
  color: rgba(240, 236, 232, .45);
  letter-spacing: .07em;
  max-width: 320px;
  margin-bottom: 28px;
}

.hero-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hp {
  font-size: 9px;
  letter-spacing: .16em;
  color: rgba(240, 236, 232, .35);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hp::before {
  content: '';
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
}

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

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .85;
}

.hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, var(--black) 0%, transparent 40%);
}

/* CATALOG */
.catalog {
  padding: 72px 0;
}

.cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-inline: 48px;
  margin-bottom: 44px;
}

.cat-head h2 {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 200;
}

.cat-head h2 em {
  font-style: italic;
  color: var(--gold);
}

.cat-head p {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .1em;
  max-width: 220px;
  text-align: right;
  line-height: 1.7;
}

/* PRODUCT GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 48px;
}

.pcard {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .25s, transform .2s;
}

.pcard:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .09);
  transform: translateY(-4px);
}

.pcard-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #ede9e4;
  position: relative;
}

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s ease;
}

.pcard:hover .pcard-img img {
  transform: scale(1.05);
}


.fpill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: .06em;
  font-family: var(--font);
  font-weight: 400;
}

.fp-c {
  background: #3a1e0e;
  color: #c8a478;
}

.fp-v {
  background: rgba(185, 150, 125, .22);
  color: #7a5535;
  border: 1px solid rgba(185, 150, 125, .5);
}

.fp-b {
  background: rgba(200, 110, 100, .18);
  color: #8a4038;
  border: 1px solid rgba(200, 110, 100, .4);
}

.fp-t {
  background: rgba(185, 150, 125, .15);
  color: #6a5040;
  border: 1px solid rgba(185, 150, 125, .4);
}

.pcard-body {
  padding: 24px;
}

.pcard-label {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 6px;
}

.pcard-name {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .03em;
  color: var(--text);
  margin-bottom: 14px;
}

.pcard-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tag {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 11px;
}

.pcard-ingredients {
  margin-bottom: 18px;
}

.pcard-ingredients-label {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 6px;
}

.pcard-ingredients-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.btn-tabla {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-tabla:hover {
  color: var(--gold-lt);
}

/* TABLA NUTRICIONAL MODAL */
.tabla-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tabla-modal.open {
  display: flex;
}

.tabla-box {
  background: var(--white);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  animation: up .3s ease;
}

.tabla-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.tabla-eyebrow {
  font-size: 9px;
  letter-spacing: .24em;
  color: var(--gold);
  margin-bottom: 4px;
}

.tabla-title {
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--text);
}

.tabla-body {
  padding: 24px;
}

.tabla-body img {
  width: 100%;
  display: block;
}

.pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  gap: 10px;
  flex-wrap: wrap;
}

.pcard-price small {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
}

.pcard-price span {
  font-size: 22px;
  color: var(--text);
}

.btn-add {
  background: var(--black);
  color: #fff;
  border: none;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: .16em;
  padding: 12px 20px;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}

.btn-add:hover {
  background: #333;
}

.btn-add.added {
  background: var(--gold);
}

/* LIFESTYLE */
.lifestyle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.ls-img {
  overflow: hidden;
}

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

.ls-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
  border-left: 1px solid var(--border);
}

.ls-eyebrow {
  font-size: 9px;
  letter-spacing: .26em;
  color: var(--gold);
  margin-bottom: 14px;
}

.ls-h2 {
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 200;
  margin-bottom: 16px;
}

.ls-h2 em {
  font-style: italic;
  color: var(--gold);
}

.ls-p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: .05em;
  max-width: 300px;
  margin-bottom: 24px;
}

.ls-list {
  list-style: none;
}

.ls-list li {
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted);
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ls-list li::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* FOOTER */
footer {
  background: var(--black);
  border-top: 1px solid var(--borderg);
  padding: 56px 48px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.f-brand {
  padding-right: 16px;
}

.f-logo {
  font-size: 22px;
  font-weight: 200;
  color: var(--gold);
  letter-spacing: .1em;
}

.f-sub {
  font-size: 8px;
  letter-spacing: .24em;
  color: rgba(255, 255, 255, .3);
  margin-top: 3px;
}

.f-p {
  font-size: 11px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .45);
  margin-top: 16px;
  max-width: 220px;
}

.f-col h4 {
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: .85;
}

.f-col ul {
  list-style: none;
}

.f-col li {
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .05em;
  padding: 5px 0;
  cursor: default;
  transition: color .2s;
}

.f-col li:hover {
  color: rgba(255, 255, 255, .75);
}


.f-bottom {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .25);
}

.f-bottom-links {
  display: flex;
  gap: 20px;
}

.f-bottom-links a {
  color: rgba(255, 255, 255, .25);
  text-decoration: none;
  letter-spacing: .12em;
  transition: color .2s;
}

.f-bottom-links a:hover {
  color: rgba(255, 255, 255, .55);
}

/* CART SIDEBAR */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.overlay.open {
  opacity: 1;
  pointer-events: all;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: var(--white);
  border-left: 1px solid var(--border);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.25, .46, .45, .94);
  display: flex;
  flex-direction: column;
}

.sidebar.open {
  transform: translateX(0);
}

.sb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.sb-head h3 {
  font-size: 14px;
  letter-spacing: .18em;
}

.x-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
}

.x-btn:hover {
  color: var(--text);
}

.sb-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 22px;
}

.sb-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .1em;
}

.ci {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.ci img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: top;
}

.ci-lbl {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 3px;
}

.ci-fl {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
}

.ci-pr {
  font-size: 14px;
  color: var(--muted);
}

.qr {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.qb {
  width: 28px;
  height: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
}

.qb:hover {
  background: var(--bg2);
}

.qn {
  width: 34px;
  height: 28px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.ci-rm {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  align-self: flex-start;
  padding: 0 4px;
}

.ci-rm:hover {
  color: #c0392b;
}

.sb-foot {
  padding: 16px 22px;
  border-top: 1px solid var(--border);
}

.tot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tot-lbl {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
}

.tot-amt {
  font-size: 24px;
  color: var(--text);
}

/* CHECKOUT MODAL */
.co-wrap {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.co-wrap.open {
  display: flex;
}

.co-box {
  background: var(--white);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  animation: up .3s ease;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.co-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.co-head h3 {
  font-size: 13px;
  letter-spacing: .18em;
}

.dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  transition: all .3s;
}

.dot.active {
  border-color: var(--gold);
  color: var(--gold);
}

.dot.done {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.dline {
  width: 20px;
  height: 1px;
  background: var(--border);
}

.co-body {
  padding: 24px;
  transition: opacity .2s ease;
}

.co-body.fading {
  opacity: 0;
  pointer-events: none;
}

/* FORM ELEMENTS */
.section-title {
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--gold);
  margin: 20px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}

.section-title:first-child {
  margin-top: 0;
}

.recap {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.rtitle {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 12px;
}

.rrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0;
}

.rrow-product {
  gap: 12px;
  padding: 8px 0;
}

.rrow-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  flex-shrink: 0;
}

.rrow-name {
  flex: 1;
  color: var(--text);
  font-size: 13px;
  letter-spacing: .04em;
}

.rrow-name small {
  color: var(--muted);
  font-size: 11px;
}

.rtotal {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 10px;
  font-size: 15px;
  color: var(--text);
}

.rtotal strong {
  color: var(--gold);
  font-weight: 300;
}

.confirm-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fdf6f0;
  border: 1px solid rgba(185, 150, 125, 0.4);
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  border-radius: 2px;
}

.confirm-alert-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.confirm-alert-title {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
}

.confirm-alert-msg {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: .04em;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.fg {
  margin-bottom: 14px;
}

.fl {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.fi {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .18);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 13px;
  outline: none;
  transition: border-color .2s;
}

.fi:focus {
  border-color: var(--gold);
}

.fi::placeholder {
  color: rgba(0, 0, 0, .3);
}

.fsel {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .18);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 13px;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.fsel:focus {
  border-color: var(--gold);
}

.err {
  font-size: 12px;
  color: #c0392b;
  margin-top: 8px;
  display: none;
  letter-spacing: .04em;
}

.err.show {
  display: block;
}

/* CONFIRM PAGE */
.crow {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  font-size: 13px;
}

.crow:last-child {
  border: none;
}

.ck {
  color: var(--muted);
}

.cv {
  color: var(--text);
  text-align: right;
  max-width: 60%;
}

.sec {
  display: flex;
  border: 1px solid var(--border);
  margin: 16px 0;
}

.si {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
  border-right: 1px solid var(--border);
}

.si:last-child {
  border: none;
}

.si-i {
  font-size: 14px;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

/* BUTTONS */
.btn-pry {
  width: 100%;
  padding: 15px;
  background: var(--black);
  color: #fff;
  border: none;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: .2em;
  cursor: pointer;
  transition: background .2s;
}

.btn-pry:hover {
  background: #2a2a2a;
}

.btn-sec {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .14em;
  padding: 11px 20px;
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 14px;
  display: inline-block;
}

.btn-sec:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* THANK YOU */
.ty-wrap {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ty-wrap.open {
  display: flex;
  animation: fadeIn .4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.ty-box {
  background: var(--white);
  border-top: 3px solid var(--gold);
  max-width: 420px;
  width: 100%;
  padding: 52px 40px;
  text-align: center;
  animation: up .4s ease;
}

.ty-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(185, 150, 125, .1);
  border: 1px solid var(--borderg);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
}

.ty-tag {
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 10px;
}

.ty-h2 {
  font-size: 28px;
  font-weight: 200;
  color: var(--text);
  margin-bottom: 14px;
}

.ty-p {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
  letter-spacing: .05em;
  margin-bottom: 32px;
}

.ty-btn {
  background: var(--black);
  color: #fff;
  border: none;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: .2em;
  padding: 14px 40px;
  cursor: pointer;
  transition: background .2s;
}

.ty-btn:hover {
  background: #333;
}

/* RESPONSIVE */
@media(max-width:900px) {
  .nav {
    padding: 14px 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100dvh;
  }

  .hero-img {
    min-height: 40dvh;
  }

  .hero-img::before {
    background: linear-gradient(to top, var(--black), transparent 60%);
  }

  .hero-txt {
    padding: 44px 22px;
  }

  .catalog {
    padding: 48px 0;
  }

  .cat-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-inline: 22px;
  }

  .cat-head p {
    text-align: left;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    padding-inline: 22px;
  }

  .pcard-name {
    font-size: 18px;
  }

  .pcard-price span {
    font-size: 18px;
  }

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

  .ls-img {
    height: 260px;
  }

  .ls-txt {
    padding: 36px 22px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  footer {
    grid-template-columns: 1fr 1fr;
    padding: 40px 22px 28px;
    gap: 28px;
  }

  .f-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .f-p {
    max-width: none;
  }

  .f-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 16px 22px;
    text-align: center;
  }
}

@media(max-width:560px) {
  .grid {
    grid-template-columns: 1fr;
  }

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

  .co-wrap {
    padding: 16px;
    align-items: center;
  }

  .co-box {
    max-width: 100%;
    max-height: 90vh;
  }

  .co-head {
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 14px 16px;
  }

  .co-head h3 {
    font-size: 12px;
    order: 2;
    flex: 1;
  }

  .co-head .x-btn {
    order: 3;
  }

  .dots {
    order: 1;
    width: 100%;
  }

  .co-body {
    padding: 16px;
  }

  .sidebar {
    width: 100vw;
  }

  .pcard-name {
    font-size: 20px;
  }

  .pcard-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .btn-add {
    width: 100%;
    text-align: center;
  }
}

/* SAVED CARDS */
.sc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.sc-item:hover {
  border-color: var(--gold);
}

.sc-item.sc-active {
  border-color: var(--gold);
  background: rgba(185, 150, 125, .06);
}

.sc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--text);
}

.sc-info small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .05em;
  margin-top: 2px;
}

.sc-check {
  color: var(--gold);
  font-size: 16px;
  opacity: 0;
  transition: opacity .2s;
}

.sc-item.sc-active .sc-check {
  opacity: 1;
}

.sc-new-opt {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .12em;
  justify-content: center;
  border-style: dashed;
}

.sc-brand-badge {
  display: flex;
  align-items: center;
  min-width: 54px;
}

/* CARD BRAND INDICATOR */
.card-brand-row {
  min-height: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.card-brand-badge {
  display: inline-flex;
  align-items: center;
}
/* LEGAL PAGES */
.legal-header {
  background: var(--black);
  padding: 72px 48px 56px;
  text-align: center;
}

.legal-label {
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 18px;
}

.legal-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 200;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 14px;
}

.legal-date {
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .35);
}

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.legal-section p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 10px;
}

.legal-section ul {
  margin: 10px 0 10px 20px;
  list-style: disc;
}

.legal-section li {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  padding: 2px 0;
}

.legal-section a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 150, 125, .3);
  transition: border-color .2s;
}

.legal-section a:hover {
  border-color: var(--gold);
}

.legal-back {
  display: inline-block;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.legal-back:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .legal-header {
    padding: 56px 22px 40px;
  }

  .legal-main {
    padding: 44px 22px 60px;
  }
}
