:root {
  --brown: #7a4b32;
  --brown-dark: #5c3522;
  --brown-soft: #f5ece6;
  --brown-pale: #fbf7f4;
  --ink: #171319;
  --muted: #6e6570;
  --white: #fff;
  --border: #e6d5ca;
  --shadow: 0 20px 60px rgba(86, 48, 31, .12);
  --radius: 24px;
  --text-primary: #33251f;
  --text-secondary: #82736a;
  --bg-card: #fff;
  --bg-secondary: #f5efea;
  --border-color: #e8dfd7
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto
}

.section {
  padding: 95px 0
}

/* NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(122, 75, 50, .08)
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 700
}

.brand-mark span {
  font-size: 18px
}

.brand-text {
  display: grid;
  line-height: 1;
  letter-spacing: .13em
}

.brand-text strong {
  font-family: Georgia, serif;
  font-size: 17px
}

.brand-text small {
  color: var(--brown);
  margin-top: 5px;
  font-size: 8px;
  letter-spacing: .38em
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  font-weight: 600
}

.nav-links>a {
  transition: .2s
}

.nav-links>a:hover,
.nav-links .active {
  color: var(--brown)
}

.nav-outline,
.nav-button {
  padding: 10px 18px;
  border-radius: 999px
}

.nav-outline {
  border: 1px solid var(--brown);
  color: var(--brown)
}

.nav-button {
  background: var(--brown);
  color: #fff !important
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 27px;
  color: var(--brown)
}

.nav-button.logout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  background-color: var(--brown);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  transition: all .3s ease
}

.nav-button.logout-button:hover {
  background-color: var(--brown-dark);
  transform: scale(1.08)
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 5px;
  color: #7a4b32;
  text-decoration: none;
  border-radius: 10px;
  transition: background .2s ease, transform .2s ease
}

.nav-cart:hover {
  background: rgba(122, 75, 50, .08);
  transform: translateY(-1px)
}

.nav-cart__icon {
  font-size: 19px;
  line-height: 1
}

.nav-cart__count {
  position: absolute;
  top: -4px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #777;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box
}

.navbar-logo {
  width: auto;
  height: 65px;
  max-width: 240px;
  object-fit: contain;
  display: block
}

@media(max-width:768px) {
  .nav-cart {
    width: 38px;
    height: 38px;
    margin-left: 3px
  }

  .nav-cart__icon {
    font-size: 18px
  }

  .nav-cart__count {
    top: -4px;
    right: -4px;
    min-width: 21px;
    height: 21px;
    font-size: 9px
  }
}

@media(max-width:480px) {
  .nav-cart {
    width: 36px;
    height: 36px
  }

  .nav-cart__icon {
    font-size: 17px
  }

  .nav-cart__count {
    top: -3px;
    right: -3px;
    min-width: 20px;
    height: 20px;
    font-size: 9px
  }
}

@media(max-width:360px) {
  .nav-cart {
    width: 34px;
    height: 34px
  }

  .nav-cart__icon {
    font-size: 16px
  }

  .nav-cart__count {
    min-width: 19px;
    height: 19px;
    font-size: 8px
  }
}

@media(max-width:768px) {
  .navbar-logo {
    height: 61px;
    max-width: 210px
  }
}

@media(max-width:480px) {
  .navbar-logo {
    height: 51px;
    max-width: 180px
  }
}

@media(max-width:360px) {
  .navbar-logo {
    height: 45px;
    max-width: 155px
  }
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #faf5f1 62%, #f0e1d7 100%)
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2
}

.eyebrow,
.section-kicker {
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em
}

.hero h1 {
  margin: 16px 0 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(50px, 6vw, 80px);
  line-height: .98;
  letter-spacing: -.04em
}

.hero h1 span,
h2 span {
  color: var(--brown)
}

.hero p {
  max-width: 600px;
  color: var(--muted);
  font-size: 18px
}

.hero-actions {
  display: flex;
  gap: 13px;
  margin: 30px 0 35px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: .2s
}

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

.btn-primary {
  background: var(--brown);
  color: #fff;
  box-shadow: 0 12px 28px rgba(122, 75, 50, .22)
}

.btn-light {
  background: #fff;
  border-color: var(--border)
}

.btn-white {
  background: #fff;
  color: var(--brown)
}

.hero-trust {
  display: flex;
  gap: 30px
}

.hero-trust div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3
}

.hero-trust strong {
  color: var(--brown);
  font-size: 22px
}

.hero-card {
  min-height: 420px;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 25%, #b8896d 0, #7a4b32 35%, #3d2115 100%);
  box-shadow: 0 35px 80px rgba(61, 33, 21, .28);
  display: flex;
  align-items: center;
  justify-content: center
}

.hero-card:before,
.hero-card:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22)
}

.hero-card:before {
  width: 420px;
  height: 420px
}

.hero-card:after {
  width: 300px;
  height: 300px
}

.hero-logo {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center
}

.large-mark {
  font-family: Georgia, serif;
  font-size: 112px;
  line-height: .8;
  font-weight: 700
}

.large-mark span {
  font-size: 82px
}

.hero-logo-name {
  font-family: Georgia, serif;
  font-size: 29px;
  letter-spacing: .12em;
  margin-top: 28px
}

.hero-logo-name small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: .42em;
  margin-top: 10px
}

.hero-card-bottom {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, .85);
  font-size: 11px;
  letter-spacing: .08em
}

/* SECTIONS */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: end
}

h2 {
  margin: 12px 0 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -.03em
}

.intro-text,
.muted {
  color: var(--muted);
  font-size: 17px
}

.text-link {
  color: var(--brown);
  font-weight: 800;
  display: inline-flex;
  gap: 10px;
  margin-top: 15px
}

.feature-section {
  padding-top: 0
}

.page-hero {
  padding: 10px 0;
  background: var(--brown-pale);
  text-align: center;
  border-bottom: 1px solid var(--border)
}

.page-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(45px, 6vw, 70px);
  margin: 12px 0
}

.page-hero p {
  max-width: 650px;
  margin: auto;
  color: var(--muted);
  font-size: 17px
}

.opportunity {
  background: var(--brown-pale)
}

.opportunity-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center
}

.opportunity-copy p {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 30px
}

.rank-preview {
  padding: 10px;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow)
}

.rank-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #eee1d8;
  font-size: 13px
}

.rank-row:last-child {
  border-bottom: 0
}

.rank-row span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brown-soft);
  color: var(--brown);
  font-weight: 800
}

.rank-row strong {
  color: var(--brown)
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px
}

.section-heading p {
  color: var(--muted)
}

.plan-image-wrap {
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff
}

.plan-image-wrap img {
  width: 100%
}

.commission-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 20px
}

.commission-grid div {
  text-align: center;
  padding: 18px 10px;
  border-radius: 16px;
  background: var(--brown-soft)
}

.commission-grid strong {
  display: block;
  color: var(--brown);
  font-size: 25px
}

.commission-grid span {
  color: var(--muted);
  font-size: 12px
}

.compensation-plan {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow)
}

.compensation-plan-header {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 30px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(110deg, var(--brown-pale), #fff 72%)
}

.compensation-plan-header img {
  width: 150px;
  max-height: 74px;
  object-fit: contain
}

.compensation-plan-header > div {
  padding-left: 22px;
  border-left: 1px solid var(--border)
}

.compensation-plan-header .section-kicker {
  color: var(--brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em
}

.compensation-plan-header h3 {
  margin: 4px 0 0;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px
}

.compensation-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

.compensation-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-primary);
  text-align: left;
  font-size: 13px
}

.compensation-table th,
.compensation-table td {
  padding: 15px 17px;
  border-bottom: 1px solid #efe7e1;
  vertical-align: middle
}

.compensation-table thead th {
  background: var(--brown-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .035em
}

.compensation-table thead th:first-child {
  padding-left: 24px
}

.compensation-table thead th small {
  display: block;
  color: #e8d7cc;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: normal
}

.compensation-table tbody tr:nth-child(even) {
  background: #fcfaf8
}

.compensation-table tbody tr:hover {
  background: var(--brown-pale)
}

.compensation-table tbody th[scope="row"] {
  min-width: 190px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase
}

.compensation-rank-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--brown-soft);
  color: var(--brown);
  font-size: 12px
}

.compensation-table td:nth-child(4) {
  color: var(--brown);
  font-weight: 800
}

.compensation-table td small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400
}

.generation-commission-section {
  padding: 28px 30px 30px;
  border-top: 1px solid var(--border);
  background: var(--brown-pale)
}

.generation-commission-heading {
  margin-bottom: 18px;
  text-align: center
}

.generation-commission-heading .section-kicker {
  color: var(--brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em
}

.generation-commission-heading h3 {
  margin: 5px 0 2px;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px
}

.generation-commission-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px
}

.generation-commission-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px
}

.generation-commission-grid > div {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 13px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff
}

.generation-commission-grid span {
  color: var(--muted);
  font-size: 11px
}

.generation-commission-grid strong {
  color: var(--brown);
  font-size: 21px
}

@media (max-width: 900px) {
  .generation-commission-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }
}

@media (max-width: 760px) {
  .compensation-table-wrap {
    overflow: visible
  }

  .compensation-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
  }

  .compensation-table,
  .compensation-table tbody {
    display: block;
    width: 100%
  }

  .compensation-table tbody {
    display: grid;
    gap: 12px;
    padding: 14px
  }

  .compensation-table tbody tr {
    display: block;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(86, 48, 31, .06)
  }

  .compensation-table tbody tr:nth-child(even),
  .compensation-table tbody tr:hover {
    background: #fff
  }

  .compensation-table tbody th[scope="row"] {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 13px 15px;
    border-bottom: 1px solid var(--border);
    background: var(--brown-pale)
  }

  .compensation-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 15px;
    text-align: right
  }

  .compensation-table tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    text-align: left
  }

  .compensation-table tbody td:last-child {
    border-bottom: 0
  }
}

@media (max-width: 600px) {
  .compensation-plan-header {
    gap: 14px;
    padding: 18px
  }

  .compensation-plan-header img {
    width: 112px;
    max-height: 58px
  }

  .compensation-plan-header > div {
    padding-left: 14px
  }

  .compensation-plan-header h3 {
    font-size: 21px
  }

  .generation-commission-section {
    padding: 22px 16px
  }

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

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  /* margin-bottom: 28px */

}

.feature-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: .25s
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow)
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--brown-soft);
  color: var(--brown);
  font-size: 24px
}

.feature-card h3 {
  margin-bottom: 7px
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0
}

/* DASHBOARD */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 35px auto
}

.luxury-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 30px;
  background: linear-gradient(145deg, #fff 0%, #fff 55%, #fbf7f4 100%);
  border: 1px solid rgba(180, 140, 115, .40);
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(61, 35, 46, .055);
  transition: transform .4s ease, box-shadow .4s ease
}

.luxury-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(61, 35, 46, .12)
}

.card-shape {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -75px;
  top: -75px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(184, 137, 109, .20), rgba(122, 75, 50, .08));
  border: 1px solid rgba(122, 75, 50, .15)
}

.card-orbit {
  position: absolute;
  width: 135px;
  height: 135px;
  right: -38px;
  top: -38px;
  border: 1px solid rgba(122, 75, 50, .25);
  border-radius: 50%
}

.card-icon {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 232, 225, .95);
  color: #7a4b32;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(122, 75, 50, .10)
}

.card-number {
  position: relative;
  z-index: 2;
  margin-top: 42px;
  font-size: 31px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: #171217
}

.card-title {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  font-size: 15px;
  color: #75616b
}

.card-line {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 62px;
  height: 1px;
  background: linear-gradient(90deg, #e5d2c5, transparent)
}

.card-action {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #8b6a59
}

.card-action span {
  width: 30px;
  height: 30px;
  border: 1px solid #dec8ba;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a4b32;
  font-size: 15px;
  transition: .3s
}

.luxury-card:hover .card-action span {
  background: #7a4b32;
  color: #fff;
  border-color: #7a4b32;
  transform: rotate(45deg)
}

.rose {
  background: linear-gradient(145deg, #fbf7f4 0%, #fff 60%, #fff 100%)
}

.rose .card-shape {
  background: linear-gradient(135deg, rgba(122, 75, 50, .12), rgba(211, 174, 137, .12))
}

.invite {
  background: linear-gradient(145deg, #f8f2ed, #fff 65%)
}

.invite-pattern {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -90px;
  border-radius: 50%;
  border: 1px solid rgba(150, 105, 75, .20);
  box-shadow: 0 0 0 25px rgba(150, 105, 75, .025), 0 0 0 50px rgba(150, 105, 75, .02)
}

.invite .card-icon {
  background: #efe2d8;
  color: #8a5a3c
}

.invite-title {
  position: relative;
  z-index: 2;
  margin-top: 35px;
  font-size: 22px;
  line-height: 1.35;
  color: #55443c
}

.invite-title strong {
  color: #7a4b32;
  font-weight: 600
}

@media(max-width:1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:600px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .luxury-card {
    min-height: 260px;
    border-radius: 23px
  }
}

/* STORE */
.store-hero {
  background: var(--brown-pale)
}

.store-section {
  padding-top: 40px
}

.store-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px
}

.store-toolbar h2 {
  margin-bottom: 0;
  font-size: 45px
}

.category-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.category-button,
.category-filter select {
  min-height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 13px
}

.category-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer
}

.category-button.active,
.category-button:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff
}

.category-filter {
  position: relative
}

.category-filter select {
  appearance: none;
  min-width: 190px;
  padding-right: 40px;
  color: var(--brown);
  font-weight: 700;
  cursor: pointer
}

.category-filter:after {
  content: "⌄";
  position: absolute;
  right: 17px;
  top: 8px;
  color: var(--brown);
  font-size: 18px;
  pointer-events: none
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  transition: .25s
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow)
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 40/41;
  background: var(--brown-pale);
  overflow: hidden
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain
}

.product-badge {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase
}

.product-details {
  padding: 8px
}

.product-category {
  margin: 0 0 2px;
  color: var(--brown);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.product-details h3 {
  margin: 0 0 2px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px
}

.product-description {
  display: none
}

.view-more-btn {
  display: inline-block;
  width: 100%;
  padding: 5px 8px;
  margin-top: 4px;
  background: var(--brown-soft);
  color: var(--brown);
  border: 1px solid var(--brown);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: .2s;
  font-family: inherit
}

.view-more-btn:hover {
  background: var(--brown);
  color: #fff
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px 8px;
  margin-top: 0
}

.product-footer strong {
  font-size: 12px
}

.add-button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer
}

.add-button:hover {
  background: var(--brown-dark)
}

.store-toolbar {
  flex-wrap: wrap;
  row-gap: 18px
}

.store-results {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em
}

.category-controls {
  background: var(--brown-pale);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border)
}

.category-button,
.category-filter select {
  border-color: transparent;
  background: #fff;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .15s ease
}

.category-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(122, 75, 50, .18)
}

.category-button.active {
  box-shadow: 0 8px 18px rgba(122, 75, 50, .26)
}

.category-button:focus-visible,
.category-filter select:focus-visible {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 4px var(--brown-soft)
}

.category-filter select:hover {
  border-color: var(--brown)
}

.category-filter:has(select:focus):after {
  color: var(--brown-dark)
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr))
}

.store-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px
}

.store-pagination a {
  color: var(--pink);
  font-weight: 800
}

.product-card {
  display: flex;
  flex-direction: column
}

.product-card-link {
  height: auto;
  flex: 1
}

.product-footer {
  flex-shrink: 0;
  visibility: visible;
  opacity: 1
}

.store-toolbar {
  flex-wrap: wrap;
  row-gap: 18px
}

.category-controls {
  background: none;
  padding: 0;
  border: 0
}

.filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: .2s
}

.filters-toggle:hover {
  border-color: var(--brown);
  color: var(--brown)
}

.filters-toggle-icon {
  font-size: 13px
}

.category-controls .category-filter select {
  min-width: 190px
}

.category-controls .category-filter select {
  border: 1px solid var(--border);
  color: var(--ink);
  background: #fff
}

.category-controls .category-filter:after {
  top: 8px
}

.store-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start
}

.store-layout.filters-hidden {
  grid-template-columns: 1fr
}

.store-layout.filters-hidden .store-filters {
  display: none
}

.store-filters {
  position: sticky;
  top: 100px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px
}

.filters-form {
  display: grid;
  gap: 10px
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px
}

.filters-head h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px
}

.filters-close {
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px
}

.filters-close:hover {
  color: var(--brown)
}

.filter-group {
  padding: 18px 0;
  border-top: 1px solid var(--border)
}

.filter-group:first-of-type {
  padding-top: 0;
  border-top: 0
}

.filter-group h4 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted)
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 10px
}

.price-range-inputs input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
  font-size: 13px
}

.price-range-inputs input:focus-visible {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 4px var(--brown-soft)
}

.filter-options {
  display: grid;
  gap: 10px
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer
}

.filter-checkbox input {
  accent-color: var(--brown);
  width: 16px;
  height: 16px;
  cursor: pointer
}

.filter-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px
}

.filter-apply {
  width: 100%
}

.filter-clear {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted)
}

.filter-clear:hover {
  color: var(--brown)
}

.store-empty {
  grid-column: 1/-1;
  color: var(--muted);
  padding: 60px 0;
  text-align: center
}

.product-badges {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px
}

.product-badges .product-badge {
  position: static
}

.badge-discount {
  background: var(--brown);
  color: #fff
}

.product-details {
  padding: 14px 14px 0
}

.product-view-more {
  margin: 6px 14px 0;
  font-size: 12px
}

.product-view-more a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease
}

.product-view-more a:hover {
  color: var(--brown)
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px 10px;
  margin-top: 0
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap
}

.price-current {
  font-size: 13px
}

.price-original {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through
}

.product-card:has(.price-original) .price-current {
  color: var(--brown)
}

.add-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease
}

.add-button:hover {
  background: var(--brown-dark);
  transform: scale(1.06)
}

.add-button-icon {
  font-size: 18px;
  line-height: 1;
  pointer-events: none
}

.add-button-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 4px);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease
}

.add-button-tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ink)
}

.add-button:hover .add-button-tooltip,
.add-button:focus-visible .add-button-tooltip {
  opacity: 1;
  transform: translate(-50%, 0)
}

.cart-toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .25);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto
}

.cart-toast-link {
  color: #e3bda7;
  font-weight: 800;
  white-space: nowrap
}

.cart-toast-link:hover {
  color: #fff
}

.detail-add-button {
  width: 100%;
  padding: 0 24px;
  border-radius: 999px
}

.continue-shopping {
  width: 100%;
  margin-top: 10px
}

@media(max-width:950px) {
  .store-toolbar {
    align-items: flex-start;
    flex-direction: column
  }

  .category-controls {
    justify-content: flex-start
  }

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

@media(max-width:950px) {
  .store-layout {
    grid-template-columns: 1fr
  }

  .store-filters {
    position: static
  }
}

@media(max-width:1100px) {
  .product-grid {
    gap: 20px
  }
}

@media(max-width:650px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px
  }

  .product-details {
    padding: 16px
  }

  .product-details h3 {
    font-size: 19px
  }

  .product-description {
    display: none
  }

  .product-footer {
    margin-top: 14px
  }

  .product-footer strong {
    font-size: 16px
  }

  .add-button {
    width: 34px;
    height: 34px;
    font-size: 20px
  }
}

@media(max-width:650px) {
  .product-details {
    padding: 16px 16px 0
  }

  .product-footer {
    padding: 12px 16px 16px
  }

  .add-button {
    width: 34px;
    height: 34px
  }

  .add-button-icon {
    font-size: 18px
  }
}

@media(max-width:650px) {
  .store-toolbar {
    align-items: stretch
  }

  .category-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px
  }

  .all-products {
    width: 100%
  }

  .category-filter,
  .category-filter select {
    width: 100%;
    min-width: 0
  }
}

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

/* PRODUCT DETAIL */
.product-card-link {
  display: block;
  height: 100%
}

.category-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.2
}

.product-detail-section {
  background: linear-gradient(135deg, #fff 0%, #fbf7f4 100%)
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.product-detail-image {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: var(--brown-pale);
  box-shadow: var(--shadow)
}

.product-detail-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover
}

.product-detail-image .product-badges {
  top: 20px;
  left: 20px
}

.back-link {
  display: inline-block;
  margin-bottom: 35px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 800
}

.product-detail-copy h1 {
  max-width: 520px;
  margin: 10px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--brown);
  font-size: 22px;
  font-weight: 800
}

.detail-price .price-original {
  font-size: 15px
}

.detail-description {
  max-width: 510px;
  color: var(--muted);
  font-size: 17px
}

.detail-actions {
  margin: 30px 0
}

.detail-add-button {
  border: 0
}

.detail-note {
  display: grid;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px
}

.detail-note strong {
  color: var(--ink);
  font-size: 14px
}

@media(max-width:800px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .product-detail-copy {
    padding-bottom: 10px
  }

  .back-link {
    margin-bottom: 20px
  }
}

/* CART */
.cart-hero {
  background: linear-gradient(135deg, #fbf7f4 0%, #fff 55%, #f0e1d7 100%)
}

.cart-section {
  padding-top: 72px
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 40px;
  align-items: start
}

.cart-items {
  display: grid;
  gap: 16px
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff
}

.cart-item-image {
  overflow: hidden;
  border-radius: 14px;
  background: var(--brown-pale)
}

.cart-item-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 8px
}

.cart-item-details h2 {
  margin: 2px 0 4px;
  font-size: 25px
}

.cart-item-details h2 a:hover {
  color: var(--brown)
}

.cart-item-price {
  margin: 0;
  color: var(--brown);
  font-size: 14px;
  font-weight: 700
}

.cart-item-end {
  display: grid;
  justify-items: end;
  align-content: space-between;
  gap: 28px;
  height: 100%;
  font-size: 17px
}

.quantity-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  font-size: 12px;
  color: var(--muted)
}

.quantity-form input {
  width: 52px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit
}

.cart-action,
.remove-item {
  border: 0;
  background: none;
  color: var(--brown);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer
}

.cart-action:hover,
.remove-item:hover {
  color: var(--brown-dark)
}

.cart-summary {
  position: sticky;
  top: 105px;
  padding: 28px;
  border-radius: 24px;
  background: var(--brown-pale);
  border: 1px solid var(--border)
}

.cart-summary h2 {
  margin: 10px 0 25px;
  font-size: 36px
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

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

.cart-summary .btn {
  width: 100%;
  margin-top: 12px
}

.empty-cart {
  text-align: center;
  padding: 75px 20px;
  border: 1px dashed var(--border);
  border-radius: 24px
}

.empty-cart-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--brown-soft);
  color: var(--brown);
  font-size: 30px
}

.empty-cart h2 {
  margin-bottom: 10px;
  font-size: 42px
}

.empty-cart p {
  margin: 0 0 25px;
  color: var(--muted)
}

@media(max-width:850px) {
  .cart-layout {
    grid-template-columns: 1fr
  }

  .cart-summary {
    position: static
  }

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

  .cart-item-end {
    grid-column: 2;
    grid-row: 1;
    justify-items: start;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between
  }
}

@media(max-width:520px) {
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 14px;
    padding: 12px
  }

  .cart-item-details h2 {
    font-size: 20px
  }

  .cart-item-end {
    grid-column: 1/-1
  }

  .quantity-form {
    flex-wrap: wrap
  }

  .empty-cart h2 {
    font-size: 34px
  }
}

@media(max-width:520px) {
  .cart-toast {
    left: 16px;
    right: 16px;
    transform: translateY(20px);
    width: auto
  }

  .cart-toast.is-visible {
    transform: translateY(0)
  }
}

/* FOOTER */
.cta-box {
  background: linear-gradient(115deg, #5c3522, #9a6548);
  color: #fff;
  border-radius: 35px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px
}

.cta-box h2 {
  margin-bottom: 12px
}

.cta-box .section-kicker {
  color: #f3d8c7
}

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

footer {
  background: #2d1a12;
  color: #fff;
  padding: 65px 0 25px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px
}

.footer-brand .brand-text strong {
  color: #fff
}

footer h4 {
  margin-top: 0
}

footer a,
footer p {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  margin: 8px 0
}

footer a:hover {
  color: #fff
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 45px;
  padding-top: 20px;
  color: rgba(255, 255, 255, .45);
  font-size: 12px
}

/* FORMS */

.form-card {
  width: min(520px, 100%);
  margin: auto;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #fff
}

.form-card h2 {
  text-align: center;
  font-size: 38px
}

.form-card>p {
  text-align: center;
  color: var(--muted)
}

.form-grid {
  display: grid;
  gap: 15px
}

.form-grid label {
  font-size: 13px;
  font-weight: 700
}

.form-grid input,
.form-grid select {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit
}

.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px
}

.form-note a {
  color: var(--brown);
  font-weight: 700
}

.form-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee5de;
  color: #5d4037;
  font-size: 12px;
  font-weight: 700
}

.form-section-heading i {
  color: #9a6b4d;
  font-size: 12px
}


/* CONTACT FORM */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px
}

.contact-form {
  display: grid;
  gap: 16px
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  resize: vertical
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 4px var(--brown-soft)
}

/* DROPDOWNS */
.nav-dropdown {
  position: relative;
  display: inline-block
}

.nav-dropdown-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px 15px;
  font: inherit
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  width: 210px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
  padding: 8px 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 9999
}

.nav-dropdown:hover .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0)
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: #333;
  text-decoration: none;
  white-space: nowrap
}

.nav-dropdown-menu form {
  margin: 0
}

.nav-dropdown-menu form button {
  display: block;
  width: 100%;
  padding: 12px 18px;
  border: none;
  background: transparent;
  color: #333;
  text-align: left;
  font: inherit;
  cursor: pointer
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu form button:hover {
  background: #f5f5f5
}

.dropdown-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 6px 0
}

/* MEMBER DROPDOWN */
.member-dropdown {
  position: relative
}

.member-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 10px;
  transition: background .2s ease
}

.member-dropdown__trigger:hover {
  background: rgba(122, 75, 50, .06)
}

.member-dropdown__avatar {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #7a4b32;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase
}

.member-dropdown__avatar--large {
  width: 48px;
  height: 48px;
  font-size: 17px;
  flex-shrink: 0
}

.member-dropdown__trigger-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2
}

.member-dropdown__name {
  font-size: 13px;
  font-weight: 600;
  color: #333
}

.member-dropdown__status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  font-size: 10px;
  color: #777
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28a745;
  display: inline-block
}

.member-dropdown__chevron {
  font-size: 10px;
  color: #777;
  margin-left: 2px;
  transition: transform .2s ease
}

.member-dropdown.is-open .member-dropdown__chevron {
  transform: rotate(180deg)
}

.member-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .14);
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 1000
}

.member-dropdown.is-open .member-dropdown__menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto
}

.member-dropdown__accent {
  height: 4px;
  background: #7a4b32;
  width: 100%
}

.member-dropdown__header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px
}

.member-dropdown__member-info {
  min-width: 0;
  flex: 1
}

.member-dropdown__member-info h4 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.member-dropdown__member-info p {
  margin: 0 0 8px;
  font-size: 11px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.member-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: rgba(40, 167, 69, .08);
  border-radius: 20px;
  color: #28a745;
  font-size: 9px;
  font-weight: 600
}

.member-badge__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #28a745
}

.member-dropdown__divider {
  height: 1px;
  background: #f0f0f0;
  margin: 0 18px
}

.member-dropdown__section {
  padding: 14px 12px
}

.member-dropdown__label {
  display: block;
  padding: 0 8px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #aaa
}

.member-dropdown__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 8px;
  border-radius: 9px;
  text-decoration: none;
  color: #333;
  transition: background .2s ease, transform .2s ease
}

.member-dropdown__item:hover {
  background: rgba(122, 75, 50, .06);
  transform: translateX(2px)
}

.member-dropdown__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f8f8f8;
  color: #7a4b32;
  font-size: 13px;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease
}

.member-dropdown__item:hover .member-dropdown__icon {
  background: #7a4b32;
  color: #fff
}

.member-dropdown__item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0
}

.member-dropdown__item-content strong {
  font-size: 12px;
  font-weight: 600;
  color: #333
}

.member-dropdown__item-content small {
  font-size: 9px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.member-dropdown__arrow {
  font-size: 9px;
  color: #bbb;
  transition: transform .2s ease, color .2s ease
}

.member-dropdown__item:hover .member-dropdown__arrow {
  color: #7a4b32;
  transform: translateX(3px)
}

.member-dropdown__footer {
  padding: 12px
}

.member-dropdown__footer form {
  margin: 0
}

.member-dropdown__logout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease
}

.member-dropdown__logout:hover {
  background: #f8f8f8
}

.member-dropdown__logout-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f1f1f1;
  color: #777;
  font-size: 13px;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease
}

.member-dropdown__logout:hover .member-dropdown__logout-icon {
  background: #7a4b32;
  color: #fff
}

.member-dropdown__logout span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.member-dropdown__logout strong {
  font-size: 12px;
  font-weight: 600;
  color: #555
}

.member-dropdown__logout small {
  font-size: 9px;
  color: #999
}

@media(max-width:768px) {
  .member-dropdown__menu {
    width: 320px;
    right: -10px
  }

  .member-dropdown__trigger-info {
    display: none
  }

  .member-dropdown__chevron {
    display: none
  }
}

@media(max-width:480px) {
  .member-dropdown__menu {
    position: fixed;
    top: 70px;
    left: 15px;
    right: 15px;
    width: auto;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    border-radius: 13px
  }

  .member-dropdown__header {
    padding: 16px
  }

  .member-dropdown__section {
    padding: 12px 10px
  }

  .member-dropdown__footer {
    padding: 10px
  }
}

@media(max-width:360px) {
  .member-dropdown__menu {
    top: 65px;
    left: 10px;
    right: 10px
  }

  .member-dropdown__header {
    padding: 14px
  }

  .member-dropdown__avatar--large {
    width: 44px;
    height: 44px;
    font-size: 15px
  }

  .member-dropdown__member-info h4 {
    font-size: 14px
  }
}

/* REFERRAL */
.referral-link-box {
  width: 100%;
  max-width: 650px
}

.referral-link-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 6px
}

.referral-link-input {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #c9c0ba;
  border-radius: 9px;
  box-sizing: border-box;
  overflow: hidden
}

.referral-link-input>i {
  margin-right: 7px;
  color: var(--brown);
  font-size: 11px;
  flex-shrink: 0
}

#referralLink {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--text-primary);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

#copyReferralLink {
  height: 36px;
  flex: 0 0 auto;
  padding: 0 12px;
  border: 1px solid var(--brown);
  border-radius: 9px;
  background: var(--brown);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s ease
}

#copyReferralLink i {
  font-size: 11px
}

#copyReferralLink:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(121, 85, 72, .18)
}

#copyReferralLink:active {
  transform: translateY(0)
}

#copyReferralLink.copied {
  background: #b89a88;
  border-color: #b89a88;
  color: #fff;
  box-shadow: 0 3px 8px rgba(184, 154, 136, .25)
}

@media(max-width:480px) {
  .referral-link-wrapper {
    gap: 5px
  }

  .referral-link-input {
    height: 34px;
    padding: 0 8px
  }

  .referral-link-input>i {
    margin-right: 5px
  }

  #referralLink {
    font-size: 10px
  }

  #copyReferralLink {
    height: 34px;
    padding: 0 10px;
    font-size: 10px;
    gap: 5px
  }
}

.referral-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(35, 25, 20, .65);
  backdrop-filter: blur(5px)
}

.referral-modal {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  text-align: center
}

.referral-close {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer
}

.referral-close:hover {
  background: var(--bg-secondary);
  color: var(--brown)
}

.referral-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #eadfd8;
  color: var(--brown);
  font-size: 20px
}

.referral-modal h3 {
  margin: 0 0 7px;
  color: var(--text-primary);
  font-size: 21px
}

.referral-modal p {
  margin: 0 auto 22px;
  max-width: 350px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6
}

.referral-modal label {
  display: block;
  margin-bottom: 7px;
  text-align: left;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600
}

.referral-input {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #c9c0ba;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  transition: .2s
}

.referral-input:focus-within {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(121, 85, 72, .08)
}

.referral-input i {
  margin-right: 8px;
  color: var(--brown);
  font-size: 12px
}

.referral-input input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 12px
}

.referral-input input::placeholder {
  color: #aaa
}

.referral-error {
  min-height: 20px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: #fff !important
}

#verifyReferral {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--brown);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s
}

#verifyReferral:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(121, 85, 72, .2)
}

@media(max-width:480px) {
  .referral-overlay {
    padding: 15px
  }

  .referral-modal {
    padding: 25px 20px;
    border-radius: 17px
  }
}

/* SIGN UP */

.signup-page-hero {
  padding: 25px 20px 30px
}

.signup-page-hero h2 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 5vw, 52px)
}

.signup-page {
  padding: 45px 20px 65px;
  background: #f8f5f1;
  min-height: calc(100vh - 80px)
}

.signup-card {
  width: min(760px, 100%);
  margin: auto;
  padding: 34px;
  background: #fff;
  border: 1px solid #e8dfd7;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(70, 45, 25, .08)
}

.signup-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee5de
}

.signup-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #5d4037;
  color: #fff;
  font-size: 19px
}

.signup-section-label {
  display: block;
  margin-bottom: 4px;
  color: #9a6b4d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px
}

.signup-card-header h1 {
  margin: 0;
  color: #33251f;
  font-size: 27px
}

.signup-card-header p {
  margin: 5px 0 0;
  color: #82736a;
  font-size: 13px;
  line-height: 1.5
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 25px
}

.signup-form-section {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.signup-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee5de;
  color: #5d4037;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px
}

.signup-section-heading>span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #f3ebe5
}

.signup-section-heading i {
  color: #9a6b4d;
  font-size: 12px
}

.signup-section-heading div {
  display: flex;
  flex-direction: column;
  gap: 1px
}

.signup-section-heading small {
  color: #a18f83;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px
}

.signup-section-heading h3 {
  margin: 0;
  color: #5d4037;
  font-size: 13px
}

.signup-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.signup-field {
  display: flex;
  flex-direction: column;
  min-width: 0
}

.signup-field-full {
  grid-column: 1/-1
}

.signup-field label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  color: #49382f;
  font-size: 13px;
  font-weight: 600
}

.signup-field label span {
  color: #9a5f45
}

.signup-field label small {
  margin-left: auto;
  color: #9a8a80;
  font-size: 10px;
  font-weight: 500
}

.signup-input-wrapper {
  position: relative;
  display: flex;
  align-items: center
}

.signup-input-wrapper>i {
  position: absolute;
  left: 14px;
  color: #9a7b68;
  font-size: 13px;
  pointer-events: none;
  z-index: 1
}

.signup-input {
  width: 100%;
  height: 48px;
  padding: 0 13px 0 40px;
  border: 1px solid #ded4cc;
  border-radius: 10px;
  background: #fff;
  color: #33251f;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease
}

.signup-input::placeholder {
  color: #aaa09a
}

.signup-input:focus {
  border-color: #8b5e3c;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, .09)
}

.signup-field.has-error .signup-input {
  border-color: #b44b4b;
  background: #fffafa
}

.signup-field.has-error .signup-input:focus {
  box-shadow: 0 0 0 3px rgba(180, 75, 75, .08)
}

.signup-password-wrapper .signup-input {
  padding-right: 48px
}

.signup-password-toggle {
  position: absolute;
  right: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8c7567;
  cursor: pointer;
  font-size: 14px;
  transition: background .2s ease, color .2s ease
}

.signup-password-toggle:hover {
  background: #f3ece7;
  color: #5d4037
}

.signup-password-toggle:focus-visible {
  outline: none;
  background: #f3ece7;
  color: #5d4037;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, .09)
}

.signup-field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 7px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #f9e8e6;
  color: #a94442;
  font-size: 11px;
  line-height: 1.45
}

.signup-field-error i {
  margin-top: 2px;
  flex-shrink: 0
}

.signup-form-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 2px;
  padding: 11px 13px;
  border: 1px solid #ecd0cd;
  border-radius: 10px;
  background: #fdf3f2;
  color: #9d4744;
  font-size: 12px;
  line-height: 1.5
}

.signup-form-alert>i {
  margin-top: 2px;
  flex-shrink: 0
}

.signup-form-alert p {
  margin: 0
}

.referral-confirmation {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid #dcd0c7;
  border-radius: 11px;
  background: #faf6f2;
  color: #5d4037
}

.referral-confirmation-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9px;
  background: #efe3db;
  color: #6b4735;
  font-size: 14px
}

.referral-confirmation div:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0
}

.referral-confirmation span {
  color: #8b796d;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .7px
}

.referral-confirmation strong {
  color: #5d4037;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.signup-password-strength {
  padding: 12px 14px;
  border: 1px solid #eadfd7;
  border-radius: 11px;
  background: #faf6f2
}

.signup-password-strength-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 8px;
  color: #79685d;
  font-size: 11px
}

.signup-password-strength-header strong {
  color: #9a8a80;
  font-size: 11px;
  font-weight: 700;
  transition: color .25s ease
}

.signup-strength-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9ded6
}

.signup-strength-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #b44b4b;
  transition: width .3s ease, background-color .3s ease
}

.signup-password-strength.is-very-weak .signup-strength-bar span {
  background: #b44b4b
}

.signup-password-strength.is-weak .signup-strength-bar span {
  background: #c35d42
}

.signup-password-strength.is-fair .signup-strength-bar span {
  background: #c4873f
}

.signup-password-strength.is-good .signup-strength-bar span {
  background: #b38a42
}

.signup-password-strength.is-strong .signup-strength-bar span {
  background: #d27a32
}

.signup-password-strength.is-very-strong .signup-strength-bar span {
  background: #4f805d
}

.signup-password-strength.is-very-weak .signup-password-strength-header strong {
  color: #b44b4b
}

.signup-password-strength.is-weak .signup-password-strength-header strong {
  color: #c35d42
}

.signup-password-strength.is-fair .signup-password-strength-header strong {
  color: #c4873f
}

.signup-password-strength.is-good .signup-password-strength-header strong {
  color: #b38a42
}

.signup-password-strength.is-strong .signup-password-strength-header strong {
  color: #d27a32
}

.signup-password-strength.is-very-strong .signup-password-strength-header strong {
  color: #4f805d
}

.signup-password-requirements {
  padding: 13px 16px;
  border: 1px solid #eadfd7;
  border-radius: 11px;
  background: #faf6f2
}

.signup-requirements-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: #5d4037;
  font-size: 12px;
  font-weight: 700
}

.signup-requirements-title i {
  color: #9a6b4d
}

.signup-requirements-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px
}

.signup-requirements-list span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #79685d;
  font-size: 11px;
  transition: color .2s ease
}

.signup-requirements-list span i {
  color: #b7a79d;
  font-size: 7px;
  transition: color .2s ease
}

.signup-requirements-list span.is-valid {
  color: #6b4735
}

.signup-requirements-list span.is-valid i {
  color: #6b4735;
  font-size: 10px
}

.signup-password-match {
  min-height: 18px;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4
}

.signup-password-match.is-valid {
  color: #4f805d
}

.signup-password-match.is-invalid {
  color: #a94442
}

.signup-password-match i {
  margin-right: 4px
}

.signup-security-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #f5efea;
  color: #705d50;
  font-size: 11px;
  line-height: 1.5
}

.signup-security-note i {
  color: #6b4735;
  font-size: 14px;
  flex-shrink: 0
}

.signup-submit {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  background: #5d4037;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease
}

.signup-submit:hover:not(:disabled) {
  background: #422d26;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(66, 45, 38, .18)
}

.signup-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 94, 60, .14)
}

.signup-submit:disabled {
  background: #c8b9b0;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none
}

.signup-submit.is-loading {
  cursor: wait
}

.signup-submit-spinner {
  font-size: 13px
}

.signup-login-note {
  margin: 20px 0 0;
  text-align: center;
  color: #82736a;
  font-size: 12px
}

.signup-login-note a {
  color: #7a4b32;
  font-weight: 700
}

.signup-login-note a:hover {
  color: #5c3522
}

.referral-overlay.is-hidden {
  display: none
}

.referral-error.is-success {
  color: #fff !important
}

body.signup-modal-open {
  overflow: hidden
}

@media(max-width:700px) {
  .signup-page {
    padding: 28px 14px 45px
  }

  .signup-card {
    padding: 25px 19px;
    border-radius: 17px
  }

  .signup-card-header {
    gap: 11px;
    padding-bottom: 18px;
    margin-bottom: 20px
  }

  .signup-card-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 12px;
    font-size: 17px
  }

  .signup-card-header h1 {
    font-size: 22px
  }

  .signup-card-header p {
    font-size: 12px
  }

  .signup-form-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .signup-field-full {
    grid-column: auto
  }

  .signup-form {
    gap: 21px
  }

  .signup-requirements-list {
    flex-direction: column;
    gap: 6px
  }

  .signup-security-note {
    align-items: flex-start
  }

  .signup-page-hero {
    padding: 18px 14px 25px
  }

  .signup-page-hero h2 {
    font-size: 34px
  }
}

@media(max-width:480px) {
  .signup-card {
    padding: 22px 16px
  }

  .signup-card-header {
    align-items: flex-start
  }

  .signup-card-icon {
    margin-top: 2px
  }

  .signup-field label {
    font-size: 12px
  }

  .signup-input {
    height: 46px
  }

  .signup-password-strength-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px
  }

  .signup-requirements-list span {
    font-size: 10px
  }
}

/* CHANGE PASSWORD */
.change-password-page {
  padding: 45px 20px 65px;
  background: #f8f5f1;
  min-height: calc(100vh - 80px)
}

.change-password-layout {
  width: min(1060px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 0;
  align-items: stretch
}

.password-card {
  background: #fff;
  border: 1px solid #e8dfd7;
  border-radius: 18px 0 0 18px;
  padding: 30px 34px;
  box-shadow: 0 10px 30px rgba(70, 45, 25, .07);
  position: relative;
  z-index: 2
}

.password-card-header {
  display: flex;
  gap: 15px;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid #eee5de
}

.password-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 14px;
  background: #5d4037;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px
}

.section-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #9a6b4d;
  margin-bottom: 4px
}

.password-card-header h1 {
  margin: 0;
  font-size: 25px;
  color: #33251f
}

.password-card-header p {
  margin: 5px 0 0;
  color: #82736a;
  font-size: 13px;
  line-height: 1.5
}

.change-password-form {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.form-group {
  display: flex;
  flex-direction: column
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #49382f;
  margin-bottom: 6px
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center
}

.password-input-wrapper input {
  width: 100%;
  height: 48px;
  border: 1px solid #ded4cc;
  border-radius: 10px;
  padding: 0 44px 0 40px;
  font-size: 13px;
  color: #33251f;
  background: #fff;
  outline: none;
  transition: .25s;
  box-sizing: border-box
}

.password-input-wrapper input:focus {
  border-color: #8b5e3c;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, .09)
}

.input-icon {
  position: absolute;
  left: 14px;
  color: #9a7b68;
  font-size: 13px;
  pointer-events: none
}

.toggle-password {
  position: absolute;
  right: 9px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #8c7567;
  cursor: pointer;
  border-radius: 7px;
  font-size: 14px;
  transition: .2s
}

.toggle-password:hover {
  background: #f3ece7;
  color: #5d4037
}

.field-error,
.form-alert {
  margin-top: 6px;
  color: #fff;
  background: #b44b4b;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
  line-height: 1.4
}

.field-error ul,
.form-alert ul {
  margin: 0;
  padding: 0;
  list-style: none
}

/* PASSWORD REQUIREMENTS */
.password-requirements {
  padding: 13px 16px;
  background: #faf6f2;
  border: 1px solid #eadfd7;
  border-radius: 11px
}

.requirements-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #5d4037;
  margin-bottom: 8px
}

.requirements-title i {
  color: #9a6b4d
}

.requirements-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px
}

.requirements-list span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #79685d;
  font-size: 11px
}

.requirements-list i {
  color: #8b5e3c;
  font-size: 9px
}

/* SECURITY NOTE */
.security-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #f5efea;
  color: #705d50;
  font-size: 11px;
  line-height: 1.5
}

.security-note i {
  color: #6b4735;
  font-size: 14px;
  flex-shrink: 0
}

/* ACTIONS */
.password-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding-top: 2px
}

.btn-cancel,
.btn-update-password {
  height: 44px;
  border-radius: 9px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: .25s
}

.btn-cancel {
  border: 1px solid #ddd1c8;
  color: #665247;
  background: #fff
}

.btn-cancel:hover {
  background: #f5efea
}

.btn-update-password {
  border: 0;
  background: #5d4037;
  color: #fff
}

.btn-update-password:hover {
  background: #422d26;
  transform: translateY(-1px)
}

/* PASSWORD INFO PANEL */
.password-info-panel {
  position: relative;
  overflow: hidden;
  padding: 38px 30px;
  background: linear-gradient(145deg, #5d4037, #422d26);
  color: #fff;
  border-radius: 0 18px 18px 0;
  box-shadow: 10px 10px 30px rgba(70, 45, 25, .09);
  display: flex;
  flex-direction: column
}

.password-info-panel:before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -90px;
  top: -90px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%
}

.password-info-panel:after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -125px;
  top: -125px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%
}

.password-info-decoration {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #f5e8df;
  position: relative;
  z-index: 1
}

.password-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #d9bba7;
  margin-bottom: 7px;
  position: relative;
  z-index: 1
}

.password-info-panel h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  color: #fff;
  position: relative;
  z-index: 1
}

.password-info-panel>p {
  margin: 0 0 27px;
  color: #eadbd2;
  font-size: 12px;
  line-height: 1.7;
  position: relative;
  z-index: 1
}

.password-info-list {
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  z-index: 1
}

.password-info-item {
  display: flex;
  gap: 11px;
  align-items: flex-start
}

.password-info-item-icon {
  width: 31px;
  height: 31px;
  min-width: 31px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5c9b7;
  font-size: 12px
}

.password-info-item strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 600
}

.password-info-item span {
  display: block;
  color: #d8c6bc;
  font-size: 10px;
  line-height: 1.5
}

.password-info-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 25px;
  color: #e0cabe;
  font-size: 10px;
  position: relative;
  z-index: 1
}

.password-info-footer i {
  color: #d8b49e;
  font-size: 12px
}

@media(max-width:800px) {
  .change-password-layout {
    grid-template-columns: 1fr
  }

  .password-card {
    border-radius: 18px 18px 0 0
  }

  .password-info-panel {
    border-radius: 0 0 18px 18px;
    padding: 30px 34px
  }

  .password-info-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
  }

  .password-info-footer {
    margin-top: 25px
  }
}

@media(max-width:600px) {
  .change-password-page {
    padding: 22px 14px 40px
  }

  .password-card {
    padding: 22px 17px;
    border-radius: 15px 15px 0 0
  }

  .password-card-header {
    gap: 11px;
    padding-bottom: 17px;
    margin-bottom: 18px
  }

  .password-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    font-size: 17px
  }

  .password-card-header h1 {
    font-size: 21px
  }

  .password-card-header p {
    font-size: 12px
  }

  .change-password-form {
    gap: 14px
  }

  .requirements-list {
    flex-direction: column;
    gap: 5px
  }

  .security-note {
    align-items: flex-start
  }

  .password-actions {
    flex-direction: column-reverse
  }

  .btn-cancel,
  .btn-update-password {
    width: 100%
  }

  .password-info-panel {
    padding: 25px 20px;
    border-radius: 0 0 15px 15px
  }

  .password-info-decoration {
    width: 48px;
    height: 48px;
    min-width: 48px;
    margin-bottom: 18px;
    border-radius: 13px;
    font-size: 19px
  }

  .password-info-panel h2 {
    font-size: 24px
  }

  .password-info-panel>p {
    margin-bottom: 22px
  }

  .password-info-list {
    display: flex;
    gap: 15px
  }

  .password-info-footer {
    margin-top: 20px
  }
}

/* PERSONAL DETAILS */
.account-page {
  padding: 35px 20px 55px;
  background: #f8f5f1;
  min-height: calc(100vh - 80px)
}

.account-form-container {
  max-width: 720px;
  margin: auto
}

.account-form-card {
  background: #fff;
  border: 1px solid #e8dfd7;
  border-radius: 18px;
  padding: 30px 34px;
  box-shadow: 0 10px 30px rgba(70, 45, 25, .07)
}

.account-form-header {
  display: flex;
  gap: 15px;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid #eee5de
}

.account-form-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 14px;
  background: #5d4037;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px
}

.account-form-header h1 {
  margin: 0;
  font-size: 25px;
  color: #33251f
}

.account-form-header p {
  margin: 5px 0 0;
  color: #82736a;
  font-size: 13px;
  line-height: 1.5
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 22px
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.form-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee5de;
  color: #5d4037;
  font-size: 12px;
  font-weight: 700
}

.form-section-heading i {
  color: #9a6b4d;
  font-size: 12px
}

.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px
}

.account-form-group {
  display: flex;
  flex-direction: column
}

.account-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #49382f;
  margin-bottom: 6px
}

.account-form-group input,
.account-form-group select,
.account-form-group textarea {
  width: 100%;
  height: 48px;
  border: 1px solid #ded4cc;
  border-radius: 10px;
  padding: 0 13px;
  font: inherit;
  font-size: 13px;
  color: #33251f;
  background: #fff;
  outline: none;
  transition: .25s;
  box-sizing: border-box
}

.account-form-group textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 13px;
  resize: vertical
}

.account-form-group input:focus,
.account-form-group select:focus,
.account-form-group textarea:focus {
  border-color: #8b5e3c;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, .09)
}

.account-input-wrapper {
  position: relative;
  display: flex;
  align-items: center
}

.account-input-wrapper>i {
  position: absolute;
  left: 14px;
  color: #9a7b68;
  font-size: 13px;
  pointer-events: none;
  z-index: 1
}

.account-input-wrapper input {
  padding-left: 40px
}

.account-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding-top: 2px
}

.btn-account-cancel,
.btn-account-save {
  height: 44px;
  border-radius: 9px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: .25s
}

.btn-account-cancel {
  border: 1px solid #ddd1c8;
  color: #665247;
  background: #fff
}

.btn-account-cancel:hover {
  background: #f5efea
}

.btn-account-save {
  border: 0;
  background: #5d4037;
  color: #fff
}

.btn-account-save:hover {
  background: #422d26;
  transform: translateY(-1px)
}

@media(max-width:600px) {
  .account-page {
    padding: 22px 14px 40px
  }

  .account-form-card {
    padding: 22px 17px;
    border-radius: 15px
  }

  .account-form-header {
    gap: 11px;
    padding-bottom: 17px;
    margin-bottom: 18px
  }

  .account-form-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    font-size: 17px
  }

  .account-form-header h1 {
    font-size: 21px
  }

  .account-form-header p {
    font-size: 12px
  }

  .account-form-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .account-form {
    gap: 19px
  }

  .form-section {
    gap: 14px
  }

  .account-form-actions {
    flex-direction: column-reverse
  }

  .btn-account-cancel,
  .btn-account-save {
    width: 100%
  }
}

.account-form-grid-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px
}

.account-form-grid-sections .form-section {
  margin: 0
}

@media (max-width:768px) {
  .account-form-grid-sections {
    grid-template-columns: 1fr
  }
}

/* DJANGO TOAST MESSAGES */
.toast-container {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 9999;
  width: min(390px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none
}

.toast {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr 30px;
  align-items: start;
  gap: 12px;
  overflow: hidden;
  padding: 16px 15px 17px;
  background: #fff;
  border: 1px solid #e5dbd3;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(60, 40, 25, .16);
  pointer-events: auto;
  animation: toastIn .35s ease forwards
}

.toast-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 16px
}

.toast-message {
  padding-top: 3px;
  color: #4b3a31;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55
}

.toast-action {
  display: inline-block;
  margin-top: 5px;
  color: #6b4735;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px
}

.toast-action:hover {
  color: #4b3429
}

.toast-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -2px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #927e70;
  font-size: 14px;
  cursor: pointer;
  transition: .2s
}

.toast-close:hover {
  background: #f3ece7;
  color: #4b3429
}

.toast-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  transform-origin: left;
  background: #8b5e3c;
  animation: toastProgress 5s linear forwards
}

.toast-success .toast-icon {
  background: #f0e8e2;
  color: #6b4735
}

.toast-success .toast-progress {
  background: #6b4735
}

.toast-error .toast-icon,
.toast-danger .toast-icon {
  background: #f9e8e6;
  color: #a94442
}

.toast-error .toast-progress,
.toast-danger .toast-progress {
  background: #a94442
}

.toast-warning .toast-icon {
  background: #f8f0df;
  color: #8a6d3b
}

.toast-warning .toast-progress {
  background: #8a6d3b
}

.toast-info .toast-icon {
  background: #eee9e5;
  color: #6f625a
}

.toast-info .toast-progress {
  background: #6f625a
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(35px)
  }

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

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0);
    max-height: 100px
  }

  to {
    opacity: 0;
    transform: translateX(35px);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: -12px
  }
}

@keyframes toastProgress {
  from {
    transform: scaleX(1)
  }

  to {
    transform: scaleX(0)
  }
}

.toast.is-closing {
  animation: toastOut .3s ease forwards
}

.toast.is-paused .toast-progress {
  animation-play-state: paused
}

@media(max-width:600px) {
  .toast-container {
    top: 78px;
    right: 16px;
    width: calc(100% - 32px)
  }

  .toast {
    grid-template-columns: 34px 1fr 28px;
    padding: 14px 13px 16px
  }

  .toast-icon {
    width: 34px;
    height: 34px;
    font-size: 14px
  }

  .toast-message {
    font-size: 13px
  }
}

/* RESPONSIVE */
@media(max-width:950px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch
  }

  .nav-links.open {
    display: flex
  }

  .nav-links>a {
    padding: 10px;
    text-align: center
  }

  .menu-toggle {
    display: block
  }

  .hero-grid,
  .opportunity-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .hero-grid {
    padding: 70px 0
  }

  .two-col {
    gap: 30px
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:650px) {
  .container {
    width: min(100% - 28px, 1180px)
  }

  .section {
    padding: 70px 0
  }

  .hero h1 {
    font-size: 50px
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px
  }

  .two-col,
  .cards {
    grid-template-columns: 1fr
  }

  .commission-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .cta-box {
    padding: 40px 28px
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }
}

/* Address management */
.saved-addresses {
  display: grid;
  gap: 18px
}

.address-card {
  padding: 22px;
  border: 1px solid rgba(91, 62, 44, .16);
  border-radius: 16px;
  background: #fff
}

.address-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px
}

.address-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em
}

.address-label i {
  font-size: 14px
}

.address-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px
}

.address-badge {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em
}

.shipping-badge {
  background: rgba(91, 62, 44, .1)
}

.billing-badge {
  background: rgba(91, 62, 44, .16)
}

.address-card-body {
  display: grid;
  gap: 8px
}

.address-card-body h3 {
  margin: 0 0 3px;
  font-size: 17px;
  font-weight: 700
}

.address-card-body p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55
}

.address-card-body p i {
  width: 16px;
  margin-top: 4px;
  font-size: 12px
}

.address-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px
}

.address-card-actions button {
  border: 0;
  cursor: pointer
}

.btn-address-edit,
.btn-address-delete,
.btn-address-default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  transition: all .2s ease
}

.btn-address-edit {
  background: rgba(91, 62, 44, .08)
}

.btn-address-delete {
  background: rgba(150, 50, 50, .08)
}

.btn-address-default {
  background: rgba(91, 62, 44, .06)
}

.btn-address-default.active {
  cursor: default
}

.btn-address-edit:hover,
.btn-address-default:hover:not(:disabled) {
  transform: translateY(-1px)
}

.btn-address-delete:hover {
  transform: translateY(-1px)
}

.btn-address-default:disabled {
  opacity: .75
}

.empty-addresses {
  text-align: center;
  padding: 42px 20px;
  border: 1px dashed rgba(91, 62, 44, .2);
  border-radius: 16px
}

.empty-addresses>i {
  font-size: 28px;
  margin-bottom: 12px
}

.empty-addresses h3 {
  margin: 0 0 7px;
  font-size: 17px
}

.empty-addresses p {
  margin: 0 0 18px;
  font-size: 14px
}

.address-modal,
.address-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.address-modal[hidden],
.address-delete-modal[hidden] {
  display: none
}

.address-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 15, .62);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .2s ease
}

.address-modal.is-open .address-modal-overlay,
.address-delete-modal.is-open .address-modal-overlay {
  opacity: 1
}

.address-modal-dialog,
.address-delete-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  transform: translateY(15px) scale(.98);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease
}

.address-modal.is-open .address-modal-dialog,
.address-delete-modal.is-open .address-delete-dialog {
  transform: translateY(0) scale(1);
  opacity: 1
}

.address-modal-dialog {
  padding: 28px
}

.address-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px
}

.address-modal-header h2 {
  margin: 5px 0 6px;
  font-size: 25px
}

.address-modal-header p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5
}

.address-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(91, 62, 44, .08);
  cursor: pointer;
  font-size: 16px
}

.address-modal-dialog .account-form {
  display: block
}

.address-modal-dialog .account-form-grid {
  margin-bottom: 20px
}

.address-default-options {
  display: grid;
  gap: 10px;
  padding: 15px 0
}

.address-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer
}

.address-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: currentColor
}

.address-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px
}

.address-delete-dialog {
  max-width: 430px;
  padding: 30px;
  text-align: center
}

.address-delete-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin: 0 auto 17px;
  border-radius: 50%;
  background: rgba(150, 50, 50, .1);
  font-size: 20px
}

.address-delete-dialog h2 {
  margin: 0 0 9px;
  font-size: 22px
}

.address-delete-dialog p {
  margin: 0;
  line-height: 1.6;
  font-size: 14px
}

.btn-address-delete-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 16px;
  border: 0;
  border-radius: 9px;
  background: #963232;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700
}

.btn-address-delete-confirm:disabled {
  opacity: .6;
  cursor: not-allowed
}

.field-error {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.45
}

.has-error {
  border-color: #963232 !important
}

body.modal-open {
  overflow: hidden
}

@media (max-width:700px) {

  .address-modal,
  .address-delete-modal {
    padding: 12px
  }

  .address-modal-dialog {
    padding: 22px;
    border-radius: 17px;
    max-height: calc(100vh - 24px)
  }

  .address-card-header {
    flex-direction: column
  }

  .address-badges {
    justify-content: flex-start
  }

  .address-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .address-card-actions button {
    width: 100%
  }

  .address-modal-actions {
    flex-direction: column-reverse
  }

  .address-modal-actions button,
  .address-modal-actions a {
    width: 100%
  }
}

/* EMAIL VERIFICATION */

.verification-page {
  padding: 45px 20px 65px;
  background: #f8f5f1;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center
}

.verification-card {
  position: relative;
  width: min(540px, 100%);
  margin: auto;
  padding: 34px;
  background: #fff;
  border: 1px solid #e8dfd7;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(70, 45, 25, .08);
  text-align: center;
  overflow: hidden
}

.verification-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #5d4037
}

.verification-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px
}

.verification-brand img {
  width: auto;
  max-width: 165px;
  height: auto;
  max-height: 55px;
  object-fit: contain
}

.verification-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 29px
}

.verification-icon-success {
  background: #edf3ee;
  color: #5f8062
}

.verification-icon-warning {
  background: #f5eee4;
  color: #a06f3d
}

.verification-icon-error {
  background: #f9e9e7;
  color: #a94442
}

.verification-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #9a6b4d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px
}

.verification-card h1 {
  margin: 0;
  color: #33251f;
  font-size: 29px;
  line-height: 1.25
}

.verification-message {
  max-width: 430px;
  margin: 13px auto 21px;
  color: #82736a;
  font-size: 13px;
  line-height: 1.65
}

.verification-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  margin-bottom: 22px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45
}

.verification-status-success {
  border: 1px solid #d9e5da;
  background: #f5f9f5;
  color: #5f8062
}

.verification-status-warning {
  border: 1px solid #eadbc8;
  background: #fbf7f1;
  color: #956b3d
}

.verification-status-error {
  border: 1px solid #ecd0cd;
  background: #fdf3f2;
  color: #a94442
}

.verification-status i {
  font-size: 12px
}

.verification-button {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  background: #5d4037;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease
}

.verification-button:hover {
  background: #422d26;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(66, 45, 38, .18)
}

.verification-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 94, 60, .14)
}

.verification-button i {
  font-size: 12px;
  transition: transform .2s ease
}

.verification-button:hover i {
  transform: translateX(3px)
}

.verification-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid #eee5de;
  color: #9a8a80;
  font-size: 10px;
  line-height: 1.5
}

.verification-footer i {
  color: #6b4735;
  font-size: 10px
}

@media(max-width:700px) {
  .verification-page {
    padding: 28px 14px 45px;
    min-height: calc(100vh - 70px)
  }

  .verification-card {
    padding: 27px 20px;
    border-radius: 18px
  }

  .verification-brand {
    margin-bottom: 21px
  }

  .verification-brand img {
    max-width: 145px;
    max-height: 48px
  }

  .verification-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 17px;
    font-size: 26px
  }

  .verification-card h1 {
    font-size: 25px
  }

  .verification-message {
    font-size: 12px
  }

  .verification-status {
    font-size: 10px
  }

  .verification-button {
    height: 46px;
    font-size: 12px
  }
}

@media(max-width:480px) {
  .verification-page {
    padding: 22px 12px 35px
  }

  .verification-card {
    padding: 23px 16px;
    border-radius: 16px
  }

  .verification-brand img {
    max-width: 135px;
    max-height: 44px
  }

  .verification-icon {
    width: 58px;
    height: 58px;
    font-size: 23px
  }

  .verification-card h1 {
    font-size: 23px
  }

  .verification-message {
    margin-bottom: 18px;
    font-size: 11px;
    line-height: 1.6
  }

  .verification-status {
    margin-bottom: 19px;
    padding: 9px 11px
  }

  .verification-footer {
    margin-top: 20px;
    padding-top: 16px
  }
}

@media(prefers-reduced-motion:reduce) {

  .verification-button,
  .verification-button i {
    transition: none
  }
}

/* VERIFICATION SENT */

.verification-sent-page {
  padding: 45px 20px 65px;
  background: #f8f5f1;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center
}

.verification-sent-card {
  position: relative;
  width: min(540px, 100%);
  margin: auto;
  padding: 34px;
  background: #fff;
  border: 1px solid #e8dfd7;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(70, 45, 25, .08);
  text-align: center;
  overflow: hidden
}

.verification-sent-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #5d4037
}

.verification-sent-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px
}

.verification-sent-brand img {
  width: auto;
  max-width: 165px;
  height: auto;
  max-height: 55px;
  object-fit: contain
}

.verification-sent-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5eee9;
  color: #5d4037;
  font-size: 28px
}

.verification-sent-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #9a6b4d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px
}

.verification-sent-card h1 {
  margin: 0;
  color: #33251f;
  font-size: 29px;
  line-height: 1.25
}

.verification-sent-message {
  max-width: 440px;
  margin: 13px auto 22px;
  color: #82736a;
  font-size: 13px;
  line-height: 1.65
}

.verification-sent-status {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
  padding: 13px 14px;
  border: 1px solid #dfe7df;
  border-radius: 10px;
  background: #f6f9f6;
  color: #5f8062;
  text-align: left
}

.verification-sent-status>i {
  margin-top: 2px;
  font-size: 13px
}

.verification-sent-status div {
  display: flex;
  flex-direction: column;
  gap: 3px
}

.verification-sent-status strong {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700
}

.verification-sent-status span {
  font-size: 10px;
  line-height: 1.55;
  color: #7d8b7e
}

.verification-sent-help {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  padding: 13px 14px;
  border: 1px solid #eee5de;
  border-radius: 10px;
  background: #faf7f4;
  color: #82736a;
  text-align: left
}

.verification-sent-help>i {
  margin-top: 2px;
  color: #9a6b4d;
  font-size: 12px
}

.verification-sent-help div {
  display: flex;
  flex-direction: column;
  gap: 3px
}

.verification-sent-help strong {
  font-size: 11px;
  line-height: 1.4;
  color: #5d4037
}

.verification-sent-help p {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
  color: #82736a
}

.verification-sent-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px
}

.verification-sent-button {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  background: #5d4037;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease
}

.verification-sent-button:hover {
  background: #422d26;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(66, 45, 38, .18)
}

.verification-sent-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 94, 60, .14)
}

.verification-sent-button i {
  font-size: 12px;
  transition: transform .2s ease
}

.verification-sent-button:hover i {
  transform: rotate(180deg)
}

.verification-sent-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #6b4735;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none
}

.verification-sent-secondary:hover {
  color: #422d26;
  text-decoration: underline
}

.verification-sent-secondary:focus-visible {
  outline: none;
  border-radius: 5px;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, .14)
}

.verification-sent-secondary i {
  font-size: 10px
}

.verification-sent-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid #eee5de;
  color: #9a8a80;
  font-size: 10px;
  line-height: 1.5
}

.verification-sent-note i {
  color: #9a6b4d;
  font-size: 10px
}

.verification-sent-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  color: #aaa098;
  font-size: 9px;
  line-height: 1.5
}

.verification-sent-footer i {
  color: #6b4735;
  font-size: 9px
}

@media(max-width:700px) {
  .verification-sent-page {
    padding: 28px 14px 45px;
    min-height: calc(100vh - 70px)
  }

  .verification-sent-card {
    padding: 27px 20px;
    border-radius: 18px
  }

  .verification-sent-brand {
    margin-bottom: 21px
  }

  .verification-sent-brand img {
    max-width: 145px;
    max-height: 48px
  }

  .verification-sent-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 17px;
    font-size: 26px
  }

  .verification-sent-card h1 {
    font-size: 25px
  }

  .verification-sent-message {
    font-size: 12px
  }

  .verification-sent-status strong {
    font-size: 10px
  }

  .verification-sent-status span,
  .verification-sent-help p {
    font-size: 9px
  }

  .verification-sent-button {
    height: 46px;
    font-size: 12px
  }
}

@media(max-width:480px) {
  .verification-sent-page {
    padding: 22px 12px 35px
  }

  .verification-sent-card {
    padding: 23px 16px;
    border-radius: 16px
  }

  .verification-sent-brand img {
    max-width: 135px;
    max-height: 44px
  }

  .verification-sent-icon {
    width: 58px;
    height: 58px;
    font-size: 23px
  }

  .verification-sent-card h1 {
    font-size: 23px
  }

  .verification-sent-message {
    margin-bottom: 18px;
    font-size: 11px;
    line-height: 1.6
  }

  .verification-sent-status {
    margin-bottom: 11px;
    padding: 11px 12px
  }

  .verification-sent-help {
    margin-bottom: 19px;
    padding: 11px 12px
  }

  .verification-sent-note {
    margin-top: 19px;
    padding-top: 15px
  }

  .verification-sent-footer {
    margin-top: 10px
  }
}

@media(prefers-reduced-motion:reduce) {

  .verification-sent-button,
  .verification-sent-button i {
    transition: none
  }
}

/* LOGIN */

.auth-page {
  padding: 45px 20px 65px;
  background: #f8f5f1;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center
}

.auth-card {
  position: relative;
  width: min(460px, 100%);
  margin: auto;
  padding: 34px;
  background: #fff;
  border: 1px solid #e8dfd7;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(70, 45, 25, .08);
  text-align: left;
  overflow: hidden
}

.auth-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #5d4037
}

.auth-card-header {
  text-align: center
}

.auth-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #9a6b4d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px
}

.auth-card h1 {
  margin: 0;
  color: #33251f;
  font-size: 29px;
  line-height: 1.25
}

.auth-card-header p {
  margin: 10px 0 25px;
  color: #82736a;
  font-size: 13px;
  line-height: 1.6
}

.auth-form-error {
  margin-bottom: 17px;
  padding: 11px 13px;
  border: 1px solid #ecd0cd;
  border-radius: 9px;
  background: #fdf3f2;
  color: #a94442
}

.auth-form-error p {
  margin: 0;
  font-size: 10px;
  line-height: 1.5
}

.auth-card .form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.auth-card .form-grid label {
  display: block;
  color: #5d4037;
  font-size: 11px;
  font-weight: 700
}

.auth-card .form-grid label>span {
  display: block;
  margin-bottom: 7px
}

.auth-card .form-grid input {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  padding: 0 13px;
  border: 1px solid #ddd2c9;
  border-radius: 9px;
  background: #fff;
  color: #33251f;
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease
}

.auth-card .form-grid input:focus {
  border-color: #9a6b4d;
  box-shadow: 0 0 0 3px rgba(154, 107, 77, .12)
}

.auth-card .form-grid input::placeholder {
  color: #b0a39b
}

.auth-card .form-grid label .form-error {
  display: block;
  margin-top: 6px;
  color: #a94442;
  font-size: 10px;
  line-height: 1.45
}

.login-forgot-password {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: -3px 0 1px;
  color: #82736a;
  font-size: 11px;
  line-height: 1.5
}

.login-forgot-password a {
  color: #6b4735;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease
}

.login-forgot-password a:hover {
  color: #422d26;
  text-decoration: underline
}

.login-forgot-password a:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, .14)
}

.auth-card .btn-primary {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1px;
  border: 0;
  border-radius: 10px;
  background: #5d4037;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease
}

.auth-card .btn-primary:hover {
  background: #422d26;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(66, 45, 38, .18)
}

.auth-card .btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 94, 60, .14)
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0 16px;
  color: #b0a39b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px
}

.auth-divider:before,
.auth-divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: #eee5de
}

.auth-signup-note {
  margin: 0;
  text-align: center
}

.auth-signup-note a {
  color: #6b4735;
  font-weight: 700;
  text-decoration: none
}

.auth-signup-note a:hover {
  color: #422d26;
  text-decoration: underline
}

.auth-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee5de;
  color: #9a8a80;
  font-size: 9px;
  line-height: 1.5
}

.auth-security-note i {
  color: #6b4735;
  font-size: 10px
}

/* RESEND VERIFICATION */
.resend-verification-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 45px 20px 65px;
  background: #f8f5f1;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.resend-verification-card {
  box-sizing: border-box;
  position: relative;
  width: min(500px, 100%);
  max-width: 100%;
  margin: auto;
  padding: 34px;
  background: #fff;
  border: 1px solid #e8dfd7;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(70, 45, 25, .08);
  text-align: center;
  overflow: hidden
}

.resend-verification-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #5d4037
}

.resend-verification-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px
}

.resend-verification-brand img {
  display: block;
  width: auto;
  max-width: 165px;
  height: auto;
  max-height: 55px;
  object-fit: contain
}

.resend-verification-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5eee9;
  color: #5d4037;
  font-size: 28px
}

.resend-verification-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #9a6b4d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px
}

.resend-verification-card h1 {
  margin: 0;
  color: #33251f;
  font-size: 29px;
  line-height: 1.25;
  overflow-wrap: anywhere
}

.resend-verification-message {
  width: 100%;
  max-width: 430px;
  margin: 13px auto 22px;
  color: #82736a;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere
}

.resend-verification-messages {
  width: 100%;
  max-width: 100%;
  margin-bottom: 17px
}

.resend-verification-message-box {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid #d9e5da;
  border-radius: 9px;
  background: #f5f9f5;
  color: #5f8062;
  text-align: left;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere
}

.resend-verification-message-box i {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 11px
}

.resend-verification-form {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left
}

.resend-verification-form label {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  color: #5d4037;
  font-size: 11px;
  font-weight: 700
}

.resend-verification-form label>span {
  display: block;
  margin-bottom: 7px
}

.resend-verification-form input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #ddd2c9;
  border-radius: 9px;
  background: #fff;
  color: #33251f;
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease
}

.resend-verification-form input:focus {
  border-color: #9a6b4d;
  box-shadow: 0 0 0 3px rgba(154, 107, 77, .12)
}

.resend-verification-form input::placeholder {
  color: #b0a39b
}

.resend-verification-form .form-error {
  display: block;
  margin-top: 6px;
  color: #a94442;
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere
}

.resend-verification-button {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  background: #5d4037;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease
}

.resend-verification-button:hover {
  background: #422d26;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(66, 45, 38, .18)
}

.resend-verification-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 94, 60, .14)
}

.resend-verification-help {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 14px;
  border: 1px solid #eee5de;
  border-radius: 10px;
  background: #faf7f4;
  color: #82736a;
  text-align: left;
  overflow-wrap: anywhere
}

.resend-verification-help>i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #9a6b4d;
  font-size: 12px
}

.resend-verification-help div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px
}

.resend-verification-help strong {
  font-size: 11px;
  line-height: 1.4;
  color: #5d4037
}

.resend-verification-help p {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
  color: #82736a
}

.resend-verification-back {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
  color: #6b4735;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere
}

.resend-verification-back:hover {
  color: #422d26;
  text-decoration: underline
}

.resend-verification-back:focus-visible {
  outline: none;
  border-radius: 5px;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, .14)
}

.resend-verification-back i {
  font-size: 10px
}

.resend-verification-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #eee5de;
  color: #aaa098;
  font-size: 9px;
  line-height: 1.5
}

.resend-verification-footer i {
  color: #6b4735;
  font-size: 9px
}

/* LOGIN VERIFICATION STATE */
.auth-verification-error {
  border-color: #eadbc8;
  background: #fbf7f1;
  color: #956b3d
}

.auth-verification-error p {
  overflow-wrap: anywhere
}

.auth-verification-link {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
  color: #6b4735;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere
}

.auth-verification-link:hover {
  color: #422d26;
  text-decoration: underline
}

.auth-verification-link:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, .14)
}

.auth-verification-link i {
  flex: 0 0 auto;
  font-size: 10px
}

@media(max-width:700px) {
  .resend-verification-page {
    padding: 28px 14px 45px;
    min-height: calc(100vh - 70px)
  }

  .resend-verification-card {
    padding: 27px 20px;
    border-radius: 18px
  }

  .resend-verification-brand {
    margin-bottom: 21px
  }

  .resend-verification-brand img {
    max-width: 145px;
    max-height: 48px
  }

  .resend-verification-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 17px;
    font-size: 26px
  }

  .resend-verification-card h1 {
    font-size: 25px
  }

  .resend-verification-message {
    font-size: 12px
  }
}

@media(max-width:480px) {
  .resend-verification-page {
    padding: 22px 12px 35px
  }

  .resend-verification-card {
    padding: 23px 16px;
    border-radius: 16px
  }

  .resend-verification-brand img {
    max-width: 135px;
    max-height: 44px
  }

  .resend-verification-icon {
    width: 58px;
    height: 58px;
    font-size: 23px
  }

  .resend-verification-card h1 {
    font-size: 23px
  }

  .resend-verification-message {
    margin-bottom: 18px;
    font-size: 11px;
    line-height: 1.6
  }

  .resend-verification-help {
    margin-top: 18px;
    padding: 11px 12px
  }

  .resend-verification-footer {
    margin-top: 18px;
    padding-top: 15px
  }
}

@media(prefers-reduced-motion:reduce) {

  .resend-verification-button,
  .resend-verification-form input {
    transition: none
  }
}

/* PASSWORD RESET */
.password-reset-page {
  padding: 45px 20px 65px;
  background: #f8f5f1;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center
}

.password-reset-card {
  position: relative;
  width: min(540px, 100%);
  margin: auto;
  padding: 34px;
  background: #fff;
  border: 1px solid #e8dfd7;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(70, 45, 25, .08);
  text-align: center;
  overflow: hidden
}

.password-reset-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #5d4037
}

.password-reset-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px
}

.password-reset-brand img {
  width: auto;
  max-width: 165px;
  height: auto;
  max-height: 55px;
  object-fit: contain
}

.password-reset-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5eee9;
  color: #5d4037;
  font-size: 28px
}

.password-reset-icon-success {
  background: #edf3ee;
  color: #5f8062
}

.password-reset-icon-error {
  background: #f9e9e7;
  color: #a94442
}

.password-reset-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #9a6b4d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px
}

.password-reset-card h1 {
  margin: 0;
  color: #33251f;
  font-size: 29px;
  line-height: 1.25
}

.password-reset-message {
  max-width: 440px;
  margin: 13px auto 24px;
  color: #82736a;
  font-size: 13px;
  line-height: 1.65
}

.password-reset-form {
  text-align: left
}

.password-reset-field {
  margin-bottom: 16px
}

.password-reset-field label {
  display: block;
  margin-bottom: 7px;
  color: #5d4037;
  font-size: 11px;
  font-weight: 700
}

.password-reset-field input {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  padding: 0 13px;
  border: 1px solid #ddd2c9;
  border-radius: 9px;
  background: #fff;
  color: #33251f;
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease
}

.password-reset-field input:focus {
  border-color: #9a6b4d;
  box-shadow: 0 0 0 3px rgba(154, 107, 77, .12)
}

.password-reset-field input::placeholder {
  color: #b0a39b
}

.password-reset-help {
  margin-top: 7px;
  color: #91837b;
  font-size: 9px;
  line-height: 1.6
}

.password-reset-help ul {
  margin: 5px 0 0;
  padding-left: 16px
}

.password-reset-error {
  display: block;
  margin-top: 6px;
  color: #a94442;
  font-size: 10px;
  line-height: 1.45
}

.password-reset-button {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 5px;
  border: 0;
  border-radius: 10px;
  background: #5d4037;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease
}

.password-reset-button:hover {
  background: #422d26;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(66, 45, 38, .18)
}

.password-reset-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 94, 60, .14)
}

.password-reset-button i {
  font-size: 12px
}

.password-reset-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 19px;
  color: #6b4735;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none
}

.password-reset-back:hover {
  color: #422d26;
  text-decoration: underline
}

.password-reset-back:focus-visible {
  outline: none;
  border-radius: 5px;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, .14)
}

.password-reset-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 22px;
  padding: 13px 14px;
  border: 1px solid #eee5de;
  border-radius: 10px;
  background: #faf7f4;
  color: #82736a;
  text-align: left
}

.password-reset-notice>i {
  margin-top: 2px;
  color: #9a6b4d;
  font-size: 13px
}

.password-reset-notice div {
  display: flex;
  flex-direction: column;
  gap: 3px
}

.password-reset-notice strong {
  color: #5d4037;
  font-size: 11px;
  line-height: 1.4
}

.password-reset-notice span {
  font-size: 10px;
  line-height: 1.55
}

.password-reset-notice-success {
  border-color: #d9e5da;
  background: #f5f9f5
}

.password-reset-notice-success>i {
  color: #5f8062
}

.password-reset-button-link {
  margin-top: 0
}

.password-reset-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid #eee5de;
  color: #9a8a80;
  font-size: 10px;
  line-height: 1.5
}

.password-reset-footer i {
  color: #6b4735;
  font-size: 10px
}

@media(max-width:700px) {

  .auth-page,
  .password-reset-page {
    padding: 28px 14px 45px;
    min-height: calc(100vh - 70px)
  }

  .auth-card,
  .password-reset-card {
    padding: 27px 20px;
    border-radius: 18px
  }

  .auth-card h1,
  .password-reset-card h1 {
    font-size: 25px
  }

  .auth-card-header p,
  .password-reset-message {
    font-size: 12px
  }

  .auth-card .form-grid input,
  .password-reset-field input {
    height: 45px
  }

  .auth-card .btn-primary,
  .password-reset-button {
    height: 46px;
    font-size: 12px
  }

  .password-reset-brand {
    margin-bottom: 21px
  }

  .password-reset-brand img {
    max-width: 145px;
    max-height: 48px
  }

  .password-reset-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 17px;
    font-size: 26px
  }
}

@media(max-width:480px) {

  .auth-page,
  .password-reset-page {
    padding: 22px 12px 35px
  }

  .auth-card,
  .password-reset-card {
    padding: 23px 16px;
    border-radius: 16px
  }

  .auth-card h1,
  .password-reset-card h1 {
    font-size: 23px
  }

  .auth-card-header p,
  .password-reset-message {
    font-size: 11px;
    line-height: 1.6
  }

  .auth-card .form-grid {
    gap: 14px
  }

  .auth-card .form-grid label,
  .password-reset-field label {
    font-size: 10px
  }

  .auth-card .form-grid input,
  .password-reset-field input {
    height: 43px;
    font-size: 11px
  }

  .login-forgot-password {
    font-size: 10px
  }

  .password-reset-brand img {
    max-width: 135px;
    max-height: 44px
  }

  .password-reset-icon {
    width: 58px;
    height: 58px;
    font-size: 23px
  }

  .password-reset-notice {
    padding: 11px 12px
  }

  .password-reset-notice strong {
    font-size: 10px
  }

  .password-reset-notice span {
    font-size: 9px
  }

  .auth-security-note,
  .password-reset-footer {
    margin-top: 18px;
    padding-top: 15px
  }
}

@media(prefers-reduced-motion:reduce) {

  .auth-card .btn-primary,
  .password-reset-button,
  .password-reset-field input,
  .login-forgot-password a {
    transition: none
  }
}

/* ACCOUNT: MY TEAM */

.team-header {
  margin: 40px auto 0
}

.team-header p {
  margin-top: 6px
}

.team-summary {
  margin-top: 24px
}

.team-list-head {
  margin: 10px 0 18px
}

.team-level-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px
}

.team-level-filter label {
  color: #49382f;
  font-size: 13px;
  font-weight: 600
}

.team-level-filter select {
  min-width: 150px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #ded4cc;
  border-radius: 10px;
  background: #fff;
  color: #33251f;
  font: inherit
}

.team-level-filter button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #5d4037;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer
}

.team-list-head h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px
}

.team-list {
  display: grid;
  gap: 14px;
  margin-bottom: 40px
}

.team-tree-root,
.team-tree-children {
  list-style: none;
  padding: 0
}

.team-tree-children {
  display: grid;
  gap: 12px;
  margin: 12px 0 0 28px;
  padding-left: 20px;
  border-left: 2px solid var(--brown-soft)
}

.team-tree-item {
  min-width: 0
}

.team-level {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brown-soft);
  color: var(--brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase
}

.team-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  transition: .2s
}

.team-row:hover {
  box-shadow: 0 12px 30px rgba(122, 75, 50, .08)
}

.team-row.is-inactive {
  border-color: #e8c9b3;
  background: var(--brown-pale)
}

.team-row-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0
}

.team-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brown-soft);
  color: var(--brown);
  font-weight: 800;
  font-size: 16px
}

.team-row-name {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink)
}

.team-row-email {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.team-row-meta {
  min-width: 0
}

.team-row-label {
  margin: 0 0 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted)
}

.team-row-meta p:last-child {
  margin: 0;
  font-size: 13px;
  color: var(--ink)
}

.team-row-spent {
  font-weight: 700;
  color: var(--brown)
}

.status-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase
}

.status-active {
  background: #e5f3ea;
  color: #227a4d
}

.status-inactive {
  background: #fbe7dc;
  color: #a45426
}

.ping-button {
  border: 1px solid var(--brown);
  background: #fff;
  color: var(--brown);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
  font-family: inherit
}

.ping-button:hover {
  background: var(--brown);
  color: #fff
}

.team-row-ok {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap
}

.team-empty {
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 24px;
  margin-bottom: 40px
}

.team-empty p {
  margin: 0 0 6px
}

@media(max-width:1000px) {
  .team-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 12px
  }

  .team-row-identity {
    grid-column: 1/-1
  }

  .team-row-action {
    grid-column: 1/-1;
    justify-self: start
  }
}

@media(max-width:520px) {
  .team-row {
    padding: 16px
  }
}

/* MAIN NAVIGATION */
.main-nav {
  position: relative;
  z-index: 900;
  border-top: 1px solid #eee5de;
  border-bottom: 1px solid #e5dbd3;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 18px rgba(70, 45, 25, .045)
}

.main-nav__inner {
  width: min(1320px, 100%);
  min-height: 58px;
  margin: auto;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px
}

.main-nav__links {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 58px
}

.main-nav__link,
.main-nav__dropdown-trigger {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #66544a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease
}

.main-nav__link i,
.main-nav__dropdown-trigger>i:first-child {
  color: #9a6b4d;
  font-size: 11px;
  transition: color .2s ease
}

.main-nav__link:hover,
.main-nav__dropdown-trigger:hover {
  background: #f7f1ec;
  color: #5d4037
}

.main-nav__link:hover i,
.main-nav__dropdown-trigger:hover>i:first-child {
  color: #6b4735
}

.main-nav__link:focus-visible,
.main-nav__dropdown-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, .12)
}

.main-nav__link.is-active {
  background: #5d4037;
  color: #fff;
  box-shadow: 0 4px 12px rgba(93, 64, 55, .12)
}

.main-nav__link.is-active i {
  color: #eaded5
}

.main-nav__link.is-active:hover {
  background: #422d26;
  color: #fff;
  transform: translateY(-1px)
}

.main-nav__link--store {
  background: transparent;
  color: #66544a;
  box-shadow: none;
  padding: 0 14px
}

.main-nav__link--store i {
  color: #9a6b4d
}

.main-nav__link--store:hover {
  background: #f7f1ec;
  color: #5d4037;
  transform: none
}

.main-nav__link--store:hover i {
  color: #6b4735
}

.main-nav__link--store.is-active {
  background: #5d4037;
  color: #fff;
  box-shadow: 0 4px 12px rgba(93, 64, 55, .12)
}

.main-nav__link--store.is-active i {
  color: #eaded5
}

.main-nav__link--store.is-active:hover {
  background: #422d26;
  color: #fff;
  transform: translateY(-1px)
}

.main-nav__link--store small {
  margin-left: 1px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #f3ebe5;
  color: #8b624b;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .7px
}

.main-nav__link--store.is-active small {
  background: rgba(255, 255, 255, .12);
  color: #eaded5
}

.main-nav__link--admin {
  color: #6b4735
}

.main-nav__link--admin i {
  color: #7a5845
}

.main-nav__link--admin.is-active {
  background: #5d4037;
  color: #fff
}

.main-nav__link--admin.is-active i {
  color: #eaded5
}

.main-nav__link--admin.is-active:hover {
  background: #422d26;
  color: #fff
}

.main-nav__dropdown {
  position: relative;
  height: 58px;
  display: flex;
  align-items: center
}

.main-nav__dropdown-trigger {
  padding: 0 12px
}

.main-nav__dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #f5eee9
}

.main-nav__dropdown-icon i {
  color: #8b624b !important;
  font-size: 10px !important
}

.main-nav__chevron {
  margin-left: 1px;
  color: #a28f83 !important;
  font-size: 8px !important;
  transition: transform .2s ease, color .2s ease !important
}

.main-nav__dropdown.is-open .main-nav__chevron {
  transform: rotate(180deg);
  color: #fff !important
}

.main-nav__dropdown.is-open .main-nav__dropdown-trigger {
  background: #5d4037;
  color: #fff
}

.main-nav__dropdown.is-open .main-nav__dropdown-icon {
  background: rgba(255, 255, 255, .12)
}

.main-nav__dropdown.is-open .main-nav__dropdown-icon i {
  color: #eaded5 !important
}

.main-nav__dropdown.has-active .main-nav__dropdown-trigger {
  background: #5d4037;
  color: #fff;
  box-shadow: 0 4px 12px rgba(93, 64, 55, .12)
}

.main-nav__dropdown.has-active .main-nav__dropdown-icon {
  background: rgba(255, 255, 255, .12)
}

.main-nav__dropdown.has-active .main-nav__dropdown-icon i {
  color: #eaded5 !important
}

.main-nav__dropdown.has-active .main-nav__chevron {
  color: #eaded5 !important
}

.main-nav__dropdown.has-active .main-nav__dropdown-trigger:hover {
  background: #422d26;
  color: #fff
}

.main-nav__dropdown-menu {
  position: absolute;
  top: calc(100% - 3px);
  left: 50%;
  width: 295px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  border: 1px solid #e7ddd5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(55, 38, 27, .14);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease
}

.main-nav__dropdown.is-open .main-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0)
}

.main-nav__dropdown-header {
  padding: 10px 11px 9px
}

.main-nav__dropdown-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #a0785f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.4px
}

.main-nav__dropdown-header strong {
  color: #4b382f;
  font-size: 12px;
  font-weight: 700
}

.main-nav__dropdown-item {
  position: relative;
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5d4037;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease
}

.main-nav__dropdown-item:hover {
  background: #f8f3ef;
  transform: translateX(2px)
}

.main-nav__dropdown-item.is-current {
  background: #f0e5de
}

.main-nav__dropdown-item.is-current .main-nav__item-icon {
  background: #dfcec2;
  color: #6b4735
}

.main-nav__dropdown-item.is-current .main-nav__item-content strong {
  color: #5d4037
}

.main-nav__item-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #f3ebe5;
  color: #79553f;
  font-size: 12px
}

.main-nav__item-content {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px
}

.main-nav__item-content strong {
  color: #49382f;
  font-size: 11px;
  font-weight: 700
}

.main-nav__item-content small {
  overflow: hidden;
  color: #9a8980;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap
}

.main-nav__dropdown-item>i:last-child {
  color: #b09d92;
  font-size: 8px;
  transition: transform .18s ease, color .18s ease
}

.main-nav__dropdown-item:hover>i:last-child,
.main-nav__dropdown-item.is-current>i:last-child {
  color: #6b4735;
  transform: translateX(2px)
}

.main-nav__dropdown-divider {
  height: 1px;
  margin: 7px 5px;
  background: #eee6e0
}

.main-nav__dropdown-logout {
  color: #9b514b
}

.main-nav__dropdown-logout .main-nav__item-icon {
  background: #f9eeee;
  color: #a75c56
}

.main-nav__dropdown-logout .main-nav__item-content strong {
  color: #96504a
}

.main-nav__dropdown-logout:hover {
  background: #fcf4f3
}

.main-nav__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #aa9588;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.4px;
  white-space: nowrap
}

.main-nav__meta-line {
  width: 24px;
  height: 1px;
  background: #d9ccc3
}

.main-nav__meta i {
  color: #9a6b4d;
  font-size: 9px
}

@media(max-width:1100px) {
  .main-nav__inner {
    padding: 0 18px
  }

  .main-nav__link,
  .main-nav__dropdown-trigger {
    padding: 0 9px;
    font-size: 11px
  }

  .main-nav__link--store {
    padding: 0 9px
  }

  .main-nav__meta {
    display: none
  }
}

@media(max-width:1300px) {
  .main-nav {
    display: none
  }

  .main-nav.is-open {
    display: block
  }

  .main-nav__inner {
    display: block;
    padding: 14px 18px 16px
  }

  .main-nav__links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    height: auto;
    padding-top: 8px
  }

  .main-nav.is-open .main-nav__links {
    display: flex
  }

  .main-nav__link,
  .main-nav__dropdown-trigger {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
    height: auto;
    padding: 10px 12px
  }

  .main-nav__chevron {
    margin-left: auto
  }

  .main-nav__dropdown {
    width: 100%;
    height: auto
  }

  .main-nav__dropdown-menu {
    display: none;
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    margin-top: 8px
  }

  .main-nav__dropdown.is-open .main-nav__dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none
  }
}
/* Append to the END of static/css/main.css so these win over any earlier
   .announcement-* rules from the placeholder version. */

/* ---- Filter chips ---- */
.announcement-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.filter-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 16px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--muted);font-size:13px;font-weight:700;transition:.2s}
.filter-chip small{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--pink-soft);color:var(--pink);font-size:11px;font-weight:800}
.filter-chip:hover{border-color:var(--pink);color:var(--pink)}
.filter-chip.active{background:var(--pink);border-color:var(--pink);color:#fff}
.filter-chip.active small{background:rgba(255,255,255,.22);color:#fff}

/* ---- Cards: text-only by default, image column when .has-image ---- */
.announcement-list{display:grid;gap:20px}
.announcement-card{display:grid;grid-template-columns:1fr;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:#fff;transition:.25s}
.announcement-card:hover{box-shadow:var(--shadow)}
.announcement-card.has-image{grid-template-columns:280px 1fr}
.announcement-card.is-urgent{border-color:#e9a3ad}
.announcement-media{background:var(--pink-pale)}
.announcement-media img{width:100%;height:100%;min-height:180px;object-fit:cover}
.announcement-body{padding:24px 26px}
.announcement-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:10px}
.announcement-date{color:var(--muted);font-size:12px;font-weight:700}
.announcement-body h3{margin:0 0 8px;font-family:"Playfair Display",Georgia,serif;font-size:24px}
.announcement-body p{margin:0;color:var(--muted);font-size:15px}

/* ---- Tag pills ---- */
.priority-tag{display:inline-block;padding:5px 11px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.priority-urgent{background:#f8d7da;color:#721c24}
.priority-new_release{background:#d1ecf1;color:#0c5460}
.priority-sale{background:#fde2ee;color:#a1104f}
.priority-promotion{background:#fff3cd;color:#856404}
.priority-back_in_stock{background:#d4edda;color:#155724}
.priority-limited_edition{background:#e6dcf7;color:#4b2a86}
.priority-event{background:#dbe7ff;color:#1f3f8f}
.priority-general{background:#e2e3e5;color:#383d41}

/* ---- Pagination ---- */
.announcement-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:32px;font-size:13px;color:var(--muted)}
.announcement-pagination a{color:var(--pink);font-weight:800}

@media(max-width:700px){
  .announcement-card.has-image{grid-template-columns:1fr}
  .announcement-media img{min-height:0;aspect-ratio:16/9}
  .announcement-body{padding:20px}
}

/* CHECKOUT */
.checkout-page{padding:0;background:#faf8f6}
.checkout-container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.checkout-header{text-align:center;max-width:720px;margin:0 auto 20px}
.checkout-header h1{margin:4px 0 6px;color:#3f2d27;font-family:"Playfair Display",serif;font-size:1.55rem;font-weight:600}
.checkout-header p{margin:0;color:#756760;font-size:1rem;line-height:1.7}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,.85fr);gap:28px;align-items:start}
.checkout-main{display:grid;gap:20px}
.checkout-card,.checkout-summary-card,.checkout-submit-card{background:#fff;border:1px solid #e8ded8;border-radius:18px;box-shadow:0 10px 35px rgba(63,45,39,.06)}
.checkout-card{padding:28px}
.checkout-card-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.checkout-card-header>div{display:flex;align-items:center;gap:13px}
.checkout-step{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#f1e8e3;color:#5d4037;font-size:.75rem;font-weight:800}
.checkout-card-header h2{margin:0;color:#3f2d27;font-family:"Playfair Display",serif;font-size:1.25rem;font-weight:600}
.checkout-change-button,.checkout-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;color:#6b4735;font-size:.78rem;font-weight:800;cursor:pointer}
.checkout-change-button:hover,.checkout-secondary-button:hover{color:#3f2d27}
.checkout-selected-address{padding:18px 19px;border:1px solid #e7ddd7;border-radius:13px;background:#fcfaf9}
.selected-address-content{display:flex;flex-direction:column;gap:4px;color:#756760;font-size:.78rem;line-height:1.5}
.selected-address-content strong{color:#3f2d27;font-size:.9rem}
.selected-address-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}
.selected-address-top>div{display:flex;align-items:center;gap:8px}
.address-label{color:#5d4037;font-size:.82rem;font-weight:800}
.address-badge{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#eee4de;color:#6b4735;font-size:.62rem;font-weight:800;line-height:1.2}
.checkout-empty-address,.checkout-no-selection{display:flex;align-items:center;gap:15px}
.checkout-empty-address-icon,.checkout-no-selection>i{display:flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;border-radius:12px;background:#f1e8e3;color:#6b4735}
.checkout-empty-address strong,.checkout-no-selection strong{display:block;color:#3f2d27;font-size:.88rem}
.checkout-empty-address p,.checkout-no-selection p{margin:3px 0 12px;color:#8a7a72;font-size:.76rem}
.checkout-add-address-button{min-height:39px;padding:0 15px;font-size:.72rem}
.checkout-field{display:flex;flex-direction:column;gap:7px}
.checkout-field--full{grid-column:1/-1}
.checkout-field label{color:#5d4037;font-size:.76rem;font-weight:700}
.checkout-field label>span{color:#a6968d;font-weight:500}
.checkout-field input,.checkout-field textarea{width:100%;box-sizing:border-box;border:1px solid #ddd2ca;border-radius:9px;background:#fff;color:#3f2d27;font:inherit;font-size:.8rem;outline:0;transition:border-color .2s ease,box-shadow .2s ease}
.checkout-field input{height:45px;padding:0 13px}
.checkout-field textarea{padding:12px 13px;resize:vertical;min-height:105px}
.checkout-field input:focus,.checkout-field textarea:focus{border-color:#9a6b4d;box-shadow:0 0 0 3px rgba(154,107,77,.12)}
.checkout-field input[aria-invalid="true"],.checkout-field textarea[aria-invalid="true"]{border-color:#b85d54;box-shadow:0 0 0 3px rgba(184,93,84,.1)}
.checkout-checkbox{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
.checkout-checkbox input{position:fixed;left:-10000px;top:auto;width:1px;height:1px;margin:0;padding:0;border:0;opacity:0;pointer-events:none}
.checkout-checkbox-mark{position:relative;display:flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;margin-top:1px;border:1px solid #cdbfb7;border-radius:5px;background:#fff;transition:.18s}
.checkout-checkbox input:checked+.checkout-checkbox-mark{border-color:#5d4037;background:#5d4037}
.checkout-checkbox input:checked+.checkout-checkbox-mark:after{content:"";width:7px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
.checkout-checkbox input:focus-visible+.checkout-checkbox-mark{box-shadow:0 0 0 3px rgba(93,64,55,.14)}
.checkout-checkbox>span:last-child{display:flex;flex-direction:column;gap:2px}
.checkout-checkbox strong{color:#4b382f;font-size:.76rem;font-weight:700}
.checkout-checkbox small{color:#94847b;font-size:.68rem;line-height:1.4}
.billing-address-section{margin-top:20px}
.checkout-billing-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:13px}
.checkout-billing-heading h3{margin:0 0 3px;color:#4b382f;font-size:.9rem}
.checkout-billing-heading p{margin:0;color:#94847b;font-size:.7rem}
.checkout-optional{color:#9b8b82;font-size:.68rem;font-weight:700}
.checkout-field-error{margin-top:7px;color:#a94442;font-size:.7rem;line-height:1.45}
.checkout-submit-card{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:20px 24px}
.checkout-secure-note{display:flex;align-items:center;gap:11px}
.checkout-secure-note>i{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:10px;background:#f0e8e3;color:#6b4735;font-size:.8rem}
.checkout-secure-note>div{display:flex;flex-direction:column;gap:2px}
.checkout-secure-note strong{color:#4b382f;font-size:.76rem}
.checkout-secure-note span{color:#94847b;font-size:.67rem}
.checkout-submit{min-width:170px}
.checkout-summary-card{position:sticky;top:105px;overflow:hidden}
.checkout-summary-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:25px 25px 20px;border-bottom:1px solid #eee6e1}
.checkout-summary-eyebrow,.checkout-modal-eyebrow{display:block;color:#9a6b4d;font-size:.6rem;font-weight:800;letter-spacing:1.5px}
.checkout-summary-header h2{margin:5px 0 0;color:#3f2d27;font-family:"Playfair Display",serif;font-size:1.35rem}
.checkout-edit-cart{color:#6b4735;font-size:.7rem;font-weight:800}
.checkout-summary-items{display:grid;gap:15px;padding:20px 25px}
.checkout-summary-item{display:flex;align-items:center;justify-content:space-between;gap:12px}
.checkout-summary-product{display:flex;align-items:center;gap:11px;min-width:0}
.checkout-summary-image{position:relative;display:flex;align-items:center;justify-content:center;width:55px;height:55px;min-width:55px;border-radius:10px;background:#f5efeb;overflow:hidden}
.checkout-summary-image img{width:100%;height:100%;object-fit:contain}
.checkout-summary-quantity{position:absolute;top:3px;right:3px;display:flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#5d4037;color:#fff;font-size:.55rem;font-weight:800}
.checkout-summary-product-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.checkout-summary-product-info strong{overflow:hidden;color:#4b382f;font-size:.74rem;text-overflow:ellipsis;white-space:nowrap}
.checkout-summary-product-info span{color:#9a8a80;font-size:.63rem}
.checkout-summary-item-total{white-space:nowrap;color:#5d4037;font-size:.72rem}
.checkout-summary-totals{padding:18px 25px;border-top:1px solid #eee6e1;border-bottom:1px solid #eee6e1}
.checkout-summary-totals>div{display:flex;justify-content:space-between;gap:15px;padding:6px 0;color:#85756d;font-size:.72rem}
.checkout-summary-totals strong{color:#4b382f}
.checkout-summary-totals .checkout-total-row{margin-top:7px;padding-top:13px;border-top:1px solid #eee6e1;color:#4b382f;font-size:.82rem;font-weight:700}
.checkout-total-row strong{color:#5d4037;font-size:1rem}
.checkout-summary-payment{display:flex;align-items:flex-start;gap:10px;padding:18px 25px;background:#fcfaf9}
.checkout-summary-payment>i{color:#6b4735;font-size:.85rem;margin-top:2px}
.checkout-summary-payment div{display:flex;flex-direction:column;gap:3px}
.checkout-summary-payment strong{color:#4b382f;font-size:.72rem}
.checkout-summary-payment span{color:#94847b;font-size:.63rem;line-height:1.45}
.checkout-summary-empty{padding:20px;color:#94847b;font-size:.75rem;text-align:center}

/* CHECKOUT ADDRESS MODAL */
.checkout-modal{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:32px;background:rgba(35,25,21,.68);backdrop-filter:blur(5px);overscroll-behavior:contain;opacity:0;transition:opacity .16s ease}
.checkout-modal[hidden]{display:none}
.checkout-modal.is-open{opacity:1}
.checkout-modal-backdrop{position:absolute;inset:0;cursor:pointer}
.checkout-modal-dialog{position:relative;z-index:1;width:min(700px,100%);height:min(760px,calc(100vh - 64px));max-height:calc(100vh - 64px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.7);border-radius:20px;box-shadow:0 30px 100px rgba(30,20,16,.28);transform:translateY(8px) scale(.985);transition:transform .18s ease}
.checkout-modal.is-open .checkout-modal-dialog{transform:none}
.checkout-modal-dialog.is-form-mode{height:min(820px,calc(100vh - 64px))}
.checkout-modal-header{position:relative;z-index:2;flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 28px 19px;border-bottom:1px solid #eee6e1;background:#fff}
.checkout-modal-header h2{margin:5px 0 4px;color:#3f2d27;font-family:"Playfair Display",serif;font-size:1.4rem;font-weight:600}
.checkout-modal-header p{margin:0;color:#8a7a72;font-size:.76rem;line-height:1.5}
.checkout-modal-close{display:flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;border:0;border-radius:50%;background:#f5efeb;color:#5d4037;cursor:pointer;font-size:.9rem;transition:background-color .18s ease,transform .18s ease}
.checkout-modal-close:hover{background:#ece1db;transform:rotate(3deg)}
.checkout-modal-close:focus-visible,.checkout-back-button:focus-visible,.checkout-add-new-address:focus-visible,.checkout-modal-use:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(93,64,55,.16)}
.checkout-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:22px 28px 24px;overscroll-behavior:contain;scroll-behavior:auto;scrollbar-width:thin;scrollbar-color:#cdbfb7 transparent}
.checkout-modal-body::-webkit-scrollbar{width:7px}
.checkout-modal-body::-webkit-scrollbar-track{background:transparent}
.checkout-modal-body::-webkit-scrollbar-thumb{border-radius:999px;background:#cdbfb7}
.checkout-modal-body::-webkit-scrollbar-thumb:hover{background:#ad988c}
#savedAddressPanel,#newAddressPanel{min-width:0}
.checkout-address-list{display:grid;gap:10px}
.checkout-address-option{position:relative;display:block;padding:16px 50px 16px 17px;border:1px solid #e4d9d3;border-radius:12px;cursor:pointer;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease,transform .18s ease}
.checkout-address-option:hover{border-color:#bda99f;background:#fdfbf9;transform:translateY(-1px)}
.checkout-address-option.is-selected{border-color:#5d4037;background:#fbf8f6;box-shadow:0 0 0 2px rgba(93,64,55,.09)}
.checkout-address-option input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.checkout-address-option-content{display:flex;flex-direction:column;gap:3px;color:#756760;font-size:.76rem;line-height:1.4}
.checkout-address-option-content>span:not(.checkout-address-option-top){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.checkout-address-option-top{display:flex;align-items:center;gap:7px;margin-bottom:4px}
.checkout-address-option-top strong{color:#3f2d27;font-size:.88rem}
.checkout-address-radio{position:absolute;top:50%;right:17px;width:19px;height:19px;border:1.5px solid #cdbfb7;border-radius:50%;transform:translateY(-50%);transition:border-color .18s ease,box-shadow .18s ease}
.checkout-address-option.is-selected .checkout-address-radio{border-color:#5d4037;box-shadow:0 0 0 3px rgba(93,64,55,.08)}
.checkout-address-option.is-selected .checkout-address-radio:after{content:"";position:absolute;inset:4px;border-radius:50%;background:#5d4037}
.checkout-add-new-address{width:100%;display:flex;align-items:center;gap:12px;margin-top:14px;padding:15px;border:1px dashed #cdbfb7;border-radius:12px;background:#fff;color:#5d4037;text-align:left;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,transform .18s ease}
.checkout-add-new-address>i:first-child{display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;border-radius:50%;background:#f0e7e3}
.checkout-add-new-address span{flex:1}
.checkout-add-new-address strong{display:block;font-size:.82rem}
.checkout-add-new-address small{display:block;color:#8a7a72;font-size:.69rem;margin-top:2px}
.checkout-add-new-address>i:last-child{color:#a28f84;font-size:.7rem}
.checkout-add-new-address:hover{border-color:#8a6659;background:#fcfaf9;transform:translateY(-1px)}
.checkout-modal-empty{text-align:center;padding:28px 15px 20px}
.checkout-modal-empty-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:0 auto 12px;border-radius:50%;background:#f2e9e5;color:#5d4037}
.checkout-modal-empty h3{margin:0 0 5px;color:#3f2d27;font-size:1rem}
.checkout-modal-empty p{max-width:420px;margin:0 auto;color:#8a7a72;font-size:.76rem;line-height:1.5}
.checkout-modal-footer{flex:0 0 auto;padding:16px 28px;border-top:1px solid #eee6e1;background:#fcfaf9}
.checkout-modal-footer[hidden]{display:none}
.checkout-modal-use{width:100%;min-height:46px}
.checkout-modal-use:disabled{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none}
.checkout-new-address-panel{min-height:100%}
.checkout-new-address-header{margin-bottom:18px}
.checkout-back-button{display:inline-flex;align-items:center;gap:7px;padding:6px 0;border:0;background:transparent;color:#6b4735;font-size:.76rem;font-weight:800;cursor:pointer}
.checkout-back-button:hover{color:#3f2d27}
.checkout-address-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.checkout-address-options{display:grid;gap:13px;margin-top:20px;padding-top:18px;border-top:1px solid #eee6e1}
.checkout-form-errors{margin-top:14px;padding:12px 14px;border:1px solid #e8c7c2;border-radius:9px;background:#fff5f3;color:#9b3d32;font-size:.76rem;line-height:1.45}
.checkout-form-errors p{margin:0 0 4px}
.checkout-form-errors p:last-child{margin-bottom:0}
.checkout-address-submit{width:100%;margin-top:18px;min-height:46px}
.checkout-address-submit:disabled{opacity:.7;cursor:wait}
.checkout-address-submit-loading{display:inline-flex;align-items:center;gap:8px}
.checkout-alert{padding:15px 18px;margin-bottom:20px;border-radius:10px;font-size:.85rem}
.checkout-alert--error{border:1px solid #e8c7c2;background:#fff5f3;color:#9b3d32}
.checkout-alert p{margin:0 0 4px}
.checkout-alert p:last-child{margin-bottom:0}
body.modal-open{overflow:hidden}

/* CHECKOUT RESPONSIVE */
@media(max-width:900px){
.checkout-layout{grid-template-columns:1fr}
.checkout-summary-card{position:static;grid-row:1}
.checkout-main{grid-row:2}
}
@media(max-width:640px){
.checkout-container{width:min(100% - 24px,1180px)}
.checkout-header{margin-bottom:16px}
.checkout-header h1{font-size:1.4rem}
.checkout-card{padding:20px}
.checkout-submit-card{align-items:stretch;flex-direction:column}
.checkout-submit{width:100%}
.checkout-summary-header,.checkout-summary-items,.checkout-summary-totals,.checkout-summary-payment{padding-left:18px;padding-right:18px}
.checkout-modal{padding:10px}
.checkout-modal-dialog{width:100%;height:calc(100vh - 20px);max-height:calc(100vh - 20px);border-radius:16px}
.checkout-modal-dialog.is-form-mode{height:calc(100vh - 20px)}
.checkout-modal-header{padding:20px 18px 16px}
.checkout-modal-header h2{font-size:1.25rem}
.checkout-modal-header p{font-size:.72rem}
.checkout-modal-body{padding:18px}
.checkout-modal-footer{padding:14px 18px}
.checkout-address-form-grid{grid-template-columns:1fr}
.checkout-field--full{grid-column:auto}
.checkout-billing-heading{align-items:flex-start;flex-direction:column}
.checkout-empty-address,.checkout-no-selection{align-items:flex-start}
}
@media(max-width:420px){
.checkout-modal-close{width:34px;height:34px;min-width:34px}
.checkout-modal-header{gap:12px}
.checkout-address-option{padding:14px 45px 14px 14px}
.checkout-address-option-content{font-size:.72rem}
.checkout-address-option-top strong{font-size:.82rem}
.checkout-add-new-address{padding:13px}
.checkout-modal-use{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
.checkout-modal,.checkout-modal-dialog,.checkout-address-option,.checkout-add-new-address,.checkout-modal-close{transition:none}
}