/* =========================================================
   VYEDI LOGIN / CUSTOMER ACCOUNT
   Desktop + Mobile
========================================================= */

:root {
  --primary: #9b4d20;
  --primary-dark: #713514;
  --gold: #c89532;

  --dark: #2b211b;
  --text: #40342d;
  --muted: #796d64;

  --light: #fffaf2;
  --cream: #f8f0e5;
  --white: #ffffff;

  --border: #eadfce;
  --green: #47734f;
  --red: #a44235;
  --logo_circle: #fdfcf8;

  --shadow: 0 18px 45px rgba(75, 48, 28, 0.09);

  --radius: 18px;
}

/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;

  background: var(--light);

  color: var(--text);

  line-height: 1.6;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================================================
   COMMON
========================================================= */

.container {
  width: min(1240px, calc(100% - 40px));

  margin-inline: auto;
}

.hidden {
  display: none !important;
}

.eyebrow {
  display: inline-block;

  color: var(--gold);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 2.5px;

  margin-bottom: 9px;
}

.primary-button {
  border: none;

  background: var(--primary);

  color: white;

  padding: 13px 22px;

  border-radius: 9px;

  font-weight: 700;

  transition: 0.25s ease;

  display: inline-flex;

  align-items: center;

  justify-content: center;
}

.primary-button:hover {
  background: var(--primary-dark);

  transform: translateY(-2px);
}

.small-button {
  padding: 10px 17px;

  font-size: 13px;
}

.secondary-button {
  border: 1px solid var(--border);

  background: white;

  color: var(--dark);

  padding: 11px 18px;

  border-radius: 9px;

  font-weight: 700;
}

.text-button {
  border: none;

  background: transparent;

  color: var(--primary);

  font-weight: 700;
}

.danger-button {
  border: 1px solid #e7c7c2;

  background: #fff6f4;

  color: var(--red);

  padding: 12px 18px;

  border-radius: 9px;

  font-weight: 700;

  margin-top: 25px;
}

/* =========================================================
   ANNOUNCEMENT
========================================================= */

.announcement {
  height: 35px;

  overflow: hidden;

  background: var(--dark);

  color: white;

  font-size: 11px;

  letter-spacing: 0.4px;
}

.announcement-track {
  display: flex;

  width: max-content;

  animation: announcementMove 30s linear infinite;
}

.announcement-content {
  display: flex;

  align-items: center;

  gap: 55px;

  padding: 8px 50px;
}

@keyframes announcementMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   HEADER
========================================================= */

.header {
  background: rgba(255, 255, 255, 0.97);

  border-bottom: 1px solid var(--border);

  position: relative;

  z-index: 100;
}

.header-container {
  width: min(1380px, calc(100% - 40px));

  margin: auto;

  min-height: 82px;

  display: flex;

  align-items: center;

  gap: 32px;
}

.logo img {
  width: 105px;

  height: auto;
}

.navigation {
  display: flex;

  align-items: center;

  gap: 22px;

  flex: 1;
}

.navigation > a,
.nav-dropdown > a {
  font-size: 13px;

  font-weight: 700;

  color: var(--dark);

  transition: 0.2s ease;

  white-space: nowrap;
}

.navigation a:hover {
  color: var(--primary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;

  gap: 5px;

  align-items: center;
}

.dropdown-menu {
  position: absolute;

  top: calc(100% + 18px);

  left: 50%;

  transform: translateX(-50%) translateY(8px);

  width: 235px;

  background: white;

  border: 1px solid var(--border);

  border-radius: 12px;

  box-shadow: var(--shadow);

  padding: 10px;

  opacity: 0;

  visibility: hidden;

  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;

  visibility: visible;

  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;

  padding: 10px 12px;

  border-radius: 8px;

  font-size: 13px;
}

.dropdown-menu a:hover {
  background: var(--cream);

  color: var(--primary);
}

.header-actions {
  display: flex;

  align-items: center;

  gap: 10px;
}

.header-icon {
  width: 40px;

  height: 40px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  background: var(--cream);

  position: relative;

  font-size: 17px;

  transition: 0.2s ease;
}

.header-icon:hover,
.account-active {
  background: #f2dfcc;

  transform: translateY(-2px);
}

.cart-icon span {
  position: absolute;

  top: -4px;

  right: -4px;

  width: 18px;

  height: 18px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  background: var(--primary);

  color: white;

  font-size: 9px;

  font-weight: 800;
}

.mobile-menu-button {
  display: none;

  border: none;

  background: var(--cream);

  width: 40px;

  height: 40px;

  border-radius: 10px;
}

/* =========================================================
   MOBILE HEADER
========================================================= */

.mobile-delivery,
.mobile-shortcuts {
  display: none;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
  border-bottom: 1px solid var(--border);

  background: #fffdf9;
}

.breadcrumb .container {
  min-height: 46px;

  display: flex;

  align-items: center;

  gap: 10px;

  font-size: 12px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb strong {
  color: var(--primary);
}

/* =========================================================
   LOGIN
========================================================= */

.login-screen {
  min-height: calc(100vh - 163px);

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 60px 20px;

  background: radial-gradient(circle at top, #fffdf9, var(--light));
}

.login-card {
  width: min(470px, 100%);

  background: white;

  border: 1px solid var(--border);

  border-radius: 24px;

  padding: 42px;

  box-shadow: var(--shadow);

  text-align: center;
}

.login-logo {
  width: 120px;

  height: 120px;

  border-radius: 100%;

  background: var(--logo_circle);

  display: grid;

  place-items: center;

  margin: 0 auto 22px;

  border: 1px solid var(--border);
}

.login-logo img {
  width: 80px;
}

.login-card h1 {
  color: var(--dark);

  font-size: 32px;

  line-height: 1.2;

  margin-bottom: 12px;
}

.login-card h1 span {
  color: var(--primary);
}

.login-card > p {
  color: var(--muted);

  font-size: 14px;

  margin-bottom: 28px;
}

.form-group {
  text-align: left;

  margin-bottom: 18px;
}

.form-group label {
  display: block;

  font-size: 12px;

  font-weight: 700;

  color: var(--dark);

  margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
  width: 100%;

  border: 1px solid var(--border);

  background: #fffdf9;

  padding: 12px 13px;

  border-radius: 9px;

  outline: none;

  color: var(--dark);

  transition: 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);

  box-shadow: 0 0 0 3px rgba(155, 77, 32, 0.08);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 48px;
}

.password-field button {
  position: absolute;

  right: 8px;

  top: 50%;

  transform: translateY(-50%);

  border: none;

  background: transparent;

  cursor: pointer;
}

.login-options {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin: 5px 0 20px;

  font-size: 12px;
}

.login-options label {
  display: flex;

  align-items: center;

  gap: 6px;
}

.login-options button {
  border: none;

  background: transparent;

  color: var(--primary);

  font-weight: 700;
}

.login-card .primary-button {
  width: 100%;
}

.divider {
  display: flex;

  align-items: center;

  gap: 15px;

  margin: 25px 0;

  color: #b2a79f;

  font-size: 10px;

  font-weight: 800;
}

.divider::before,
.divider::after {
  content: "";

  height: 1px;

  background: var(--border);

  flex: 1;
}

.create-account-button {
  width: 100%;

  border: 1px solid var(--primary);

  background: white;

  color: var(--primary);

  padding: 12px;

  border-radius: 9px;

  font-weight: 700;
}

.create-account-button:hover {
  background: var(--cream);
}

.login-demo {
  font-size: 10px !important;

  color: #aaa !important;

  margin: 18px 0 0 !important;
}

/* =========================================================
   ACCOUNT PAGE
========================================================= */

.account-page {
  padding: 45px 0 90px;

  min-height: calc(100vh - 160px);

  background: var(--light);
}

.account-welcome {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  margin-bottom: 28px;
}

.account-welcome h1 {
  color: var(--dark);

  font-size: 36px;

  line-height: 1.15;
}

.account-welcome h1 span {
  color: var(--primary);
}

.account-welcome p {
  color: var(--muted);

  margin-top: 5px;
}

.logout-button {
  border: 1px solid var(--border);

  background: white;

  color: var(--red);

  padding: 11px 18px;

  border-radius: 9px;

  font-weight: 700;
}

/* =========================================================
   STATS
========================================================= */

.account-stats {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;

  margin-bottom: 28px;
}

.stat-card {
  background: white;

  border: 1px solid var(--border);

  border-radius: 15px;

  padding: 18px;

  display: flex;

  align-items: center;

  gap: 14px;
}

.stat-icon {
  width: 46px;

  height: 46px;

  border-radius: 12px;

  display: grid;

  place-items: center;

  background: var(--cream);

  font-size: 20px;
}

.stat-card strong {
  display: block;

  color: var(--dark);

  font-size: 22px;

  line-height: 1.1;
}

.stat-card div span {
  font-size: 11px;

  color: var(--muted);
}

/* =========================================================
   DASHBOARD
========================================================= */

.dashboard-layout {
  display: grid;

  grid-template-columns: 235px 1fr;

  gap: 24px;

  align-items: start;
}

.account-sidebar {
  background: white;

  border: 1px solid var(--border);

  border-radius: 16px;

  padding: 9px;

  position: sticky;

  top: 20px;
}

.account-tab {
  width: 100%;

  border: none;

  background: transparent;

  text-align: left;

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 12px;

  border-radius: 9px;

  color: var(--muted);

  font-size: 13px;

  font-weight: 700;

  transition: 0.2s ease;
}

.account-tab span {
  width: 24px;

  text-align: center;
}

.account-tab:hover {
  background: var(--cream);

  color: var(--primary);
}

.account-tab.active {
  background: var(--primary);

  color: white;
}

.account-content {
  min-width: 0;
}

.account-section {
  display: none;
}

.account-section.active {
  display: block;

  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;

    transform: translateY(5px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 22px;
}

.section-heading h2 {
  color: var(--dark);

  font-size: 27px;

  line-height: 1.2;
}

.section-heading p {
  color: var(--muted);

  font-size: 13px;

  margin-top: 5px;
}

/* =========================================================
   OVERVIEW
========================================================= */

.overview-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;

  margin-bottom: 22px;
}

.overview-card {
  border: 1px solid var(--border);

  background: white;

  border-radius: 15px;

  padding: 20px;

  text-align: left;

  transition: 0.25s ease;
}

.overview-card:hover {
  transform: translateY(-3px);

  box-shadow: var(--shadow);

  border-color: #dcc6ac;
}

.overview-card > span {
  display: block;

  font-size: 25px;

  margin-bottom: 9px;
}

.overview-card strong {
  display: block;

  color: var(--dark);

  font-size: 16px;
}

.overview-card small {
  display: block;

  color: var(--muted);

  margin: 4px 0 10px;

  font-size: 12px;
}

.overview-card b {
  color: var(--primary);

  font-size: 11px;
}

/* =========================================================
   CONTENT CARD
========================================================= */

.content-card {
  background: white;

  border: 1px solid var(--border);

  border-radius: 16px;

  padding: 22px;

  margin-bottom: 20px;
}

.card-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 15px;
}

.card-header h3 {
  color: var(--dark);

  font-size: 20px;
}

/* =========================================================
   ORDER CARDS
========================================================= */

.order-card {
  border: 1px solid var(--border);

  border-radius: 13px;

  background: white;

  padding: 18px;

  margin-bottom: 14px;
}

.order-card:last-child {
  margin-bottom: 0;
}

.order-top {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 15px;

  padding-bottom: 14px;

  border-bottom: 1px solid var(--border);
}

.order-number {
  color: var(--dark);

  font-weight: 800;

  font-size: 14px;
}

.order-date {
  color: var(--muted);

  font-size: 11px;
}

.order-status {
  display: inline-flex;

  padding: 5px 9px;

  border-radius: 20px;

  background: #eef6ef;

  color: var(--green);

  font-size: 10px;

  font-weight: 800;
}

.order-products {
  padding: 14px 0;
}

.order-product {
  display: flex;

  justify-content: space-between;

  gap: 15px;

  font-size: 12px;

  margin-bottom: 7px;
}

.order-product span:first-child {
  color: var(--text);
}

.order-product span:last-child {
  font-weight: 700;
}

.order-bottom {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding-top: 12px;

  border-top: 1px solid var(--border);
}

.order-total {
  font-size: 15px;

  font-weight: 800;

  color: var(--dark);
}

.empty-state {
  text-align: center;

  background: white;

  border: 1px dashed var(--border);

  border-radius: 16px;

  padding: 50px 20px;
}

.empty-state > div {
  font-size: 38px;

  margin-bottom: 10px;
}

.empty-state h3 {
  color: var(--dark);

  margin-bottom: 5px;
}

.empty-state p {
  color: var(--muted);

  font-size: 13px;

  margin-bottom: 18px;
}

/* =========================================================
   NOTES
========================================================= */

.note-editor,
.address-editor {
  background: white;

  border: 1px solid var(--border);

  border-radius: 15px;

  padding: 20px;

  margin-bottom: 20px;
}

.notes-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;
}

.note-card {
  position: relative;

  background: #fffdf8;

  border: 1px solid var(--border);

  border-radius: 15px;

  padding: 20px;

  min-height: 180px;
}

.note-card h3 {
  color: var(--dark);

  font-size: 17px;

  margin-bottom: 7px;

  padding-right: 30px;
}

.note-card p {
  color: var(--muted);

  font-size: 13px;

  white-space: pre-wrap;
}

.note-date {
  display: block;

  color: #a99d93;

  font-size: 10px;

  margin-top: 15px;
}

.delete-note {
  position: absolute;

  right: 14px;

  top: 14px;

  border: none;

  background: transparent;

  color: #ad6c60;

  font-size: 15px;
}

/* =========================================================
   PROFILE
========================================================= */

.profile-avatar {
  width: 78px;

  height: 78px;

  border-radius: 50%;

  background: var(--primary);

  color: white;

  display: grid;

  place-items: center;

  font-size: 27px;

  font-weight: 800;

  margin-bottom: 25px;
}

.form-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 16px;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

.editor-actions {
  display: flex;

  justify-content: flex-end;

  gap: 10px;

  margin-top: 15px;
}

/* =========================================================
   ADDRESS
========================================================= */

.addresses-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;
}

.address-card {
  position: relative;

  background: white;

  border: 1px solid var(--border);

  border-radius: 15px;

  padding: 20px;
}

.address-card h3 {
  color: var(--dark);

  margin-bottom: 7px;
}

.address-card p {
  color: var(--muted);

  font-size: 12px;

  white-space: pre-line;
}

.address-delete {
  position: absolute;

  top: 15px;

  right: 15px;

  border: none;

  background: transparent;

  color: var(--red);
}

/* =========================================================
   SETTINGS
========================================================= */

.settings-list {
  background: white;

  border: 1px solid var(--border);

  border-radius: 15px;
}

.setting-row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding: 18px;

  border-bottom: 1px solid var(--border);

  cursor: pointer;
}

.setting-row:last-child {
  border-bottom: none;
}

.setting-row strong {
  display: block;

  color: var(--dark);

  font-size: 14px;
}

.setting-row small {
  display: block;

  color: var(--muted);

  font-size: 11px;
}

.setting-row input {
  accent-color: var(--primary);

  width: 18px;

  height: 18px;
}

/* =========================================================
   TOAST
========================================================= */

.toast {
  position: fixed;

  left: 50%;

  bottom: 30px;

  transform: translate(-50%, 80px);

  background: var(--dark);

  color: white;

  padding: 12px 20px;

  border-radius: 9px;

  font-size: 12px;

  opacity: 0;

  transition: 0.3s ease;

  z-index: 1000;

  pointer-events: none;
}

.toast.show {
  opacity: 1;

  transform: translate(-50%, 0);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
  position: fixed;

  top: 0;

  right: -100%;

  width: min(330px, 90%);

  height: 100vh;

  background: white;

  z-index: 999;

  padding: 65px 25px;

  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.12);

  transition: 0.3s ease;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu img {
  width: 90px;

  margin-bottom: 35px;
}

.mobile-menu a {
  display: block;

  padding: 14px 0;

  border-bottom: 1px solid var(--border);

  color: var(--dark);

  font-weight: 700;
}

.mobile-menu-close {
  position: absolute;

  right: 18px;

  top: 18px;

  border: none;

  background: var(--cream);

  width: 36px;

  height: 36px;

  border-radius: 50%;

  font-size: 23px;
}

/* =========================================================
   MOBILE BOTTOM NAV
========================================================= */

.mobile-bottom-nav {
  display: none;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
  .navigation {
    gap: 13px;
  }

  .header-container {
    gap: 17px;
  }

  .account-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
  }

  .container {
    width: min(100% - 24px, 620px);
  }

  /* HEADER */

  .announcement {
    height: 30px;

    font-size: 9px;
  }

  .announcement-content {
    gap: 25px;

    padding: 7px 25px;
  }

  .header-container {
    min-height: 58px;

    padding: 0 12px;

    justify-content: space-between;
  }

  .logo img {
    width: 82px;
  }

  .navigation {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-icon {
    width: 35px;

    height: 35px;

    font-size: 14px;
  }

  .header-actions .header-icon:first-child {
    display: none;
  }

  .mobile-menu-button {
    display: grid;

    place-items: center;

    font-size: 18px;
  }

  /* MOBILE DELIVERY */

  .mobile-delivery {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

    padding: 8px 14px;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    font-size: 10px;

    background: #fffdf9;
  }

  .mobile-delivery strong {
    color: var(--primary);
  }

  /* SHORTCUTS */

  .mobile-shortcuts {
    display: flex;

    overflow-x: auto;

    gap: 10px;

    padding: 9px 12px;

    scrollbar-width: none;
  }

  .mobile-shortcuts::-webkit-scrollbar {
    display: none;
  }

  .mobile-shortcuts a {
    min-width: 62px;

    text-align: center;

    flex: 0 0 auto;
  }

  .mobile-shortcuts span {
    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    background: var(--cream);

    border-radius: 50%;

    margin: auto;

    font-size: 15px;
  }

  .mobile-shortcuts small {
    display: block;

    font-size: 8px;

    color: var(--muted);

    margin-top: 3px;
  }

  /* BREADCRUMB */

  .breadcrumb .container {
    min-height: 38px;

    font-size: 10px;
  }

  /* LOGIN */

  .login-screen {
    min-height: calc(100vh - 240px);

    padding: 25px 12px 35px;
  }

  .login-card {
    padding: 28px 20px;

    border-radius: 18px;
  }

  .login-card h1 {
    font-size: 27px;
  }

  /* ACCOUNT */

  .account-page {
    padding: 25px 0 90px;
  }

  .account-welcome {
    align-items: flex-start;

    flex-direction: column;

    margin-bottom: 20px;
  }

  .account-welcome h1 {
    font-size: 27px;
  }

  .logout-button {
    width: 100%;
  }

  /* STATS */

  .account-stats {
    grid-template-columns: repeat(2, 1fr);

    gap: 9px;
  }

  .stat-card {
    padding: 13px;

    gap: 9px;
  }

  .stat-icon {
    width: 37px;

    height: 37px;

    font-size: 16px;
  }

  .stat-card strong {
    font-size: 18px;
  }

  .stat-card div span {
    font-size: 9px;
  }

  /* DASHBOARD */

  .dashboard-layout {
    display: block;
  }

  .account-sidebar {
    position: static;

    display: flex;

    overflow-x: auto;

    gap: 5px;

    margin-bottom: 18px;

    scrollbar-width: none;
  }

  .account-sidebar::-webkit-scrollbar {
    display: none;
  }

  .account-tab {
    flex: 0 0 auto;

    width: auto;

    padding: 9px 12px;

    font-size: 10px;

    gap: 5px;
  }

  .account-tab span {
    width: auto;
  }

  /* SECTION */

  .section-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 10px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  /* OVERVIEW */

  .overview-grid {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  .overview-card {
    padding: 16px;
  }

  /* NOTES */

  .notes-grid {
    grid-template-columns: 1fr;
  }

  /* PROFILE */

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full-width {
    grid-column: auto;
  }

  /* ADDRESSES */

  .addresses-grid {
    grid-template-columns: 1fr;
  }

  /* ORDERS */

  .order-top {
    flex-direction: column;
  }

  .order-bottom {
    align-items: flex-start;

    flex-direction: column;
  }

  /* MOBILE BOTTOM */

  .mobile-bottom-nav {
    display: flex;

    position: fixed;

    left: 9px;

    right: 9px;

    bottom: 9px;

    height: 60px;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(15px);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: 0 12px 35px rgba(60, 35, 20, 0.18);

    z-index: 500;

    align-items: center;

    justify-content: space-around;
  }

  .mobile-bottom-nav a {
    position: relative;

    flex: 1;

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 2px;

    color: #8d8178;

    font-size: 17px;

    transition: 0.2s ease;
  }

  .mobile-bottom-nav a small {
    font-size: 8px;

    font-weight: 700;
  }

  .mobile-bottom-nav a.active {
    color: var(--primary);
  }

  .mobile-bottom-nav a:active {
    transform: scale(0.88);
  }

  .mobile-bottom-nav a.active::before {
    content: "";

    position: absolute;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--gold);

    top: 6px;
  }
}

/* =========================================================
   VYEDI LOGIN
========================================================= */

.login-screen {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 60px 20px;

  background: #faf8f5;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
  width: 100%;
  max-width: 430px;

  padding: 42px 38px;

  background: #ffffff;

  border: 1px solid #e8dfd6;

  border-radius: 18px;

  box-shadow:
    0 18px 50px rgba(55, 38, 25, 0.08);
}


/* =========================================================
   LOGO
========================================================= */

.login-logo {
  display: flex;
  justify-content: center;

  margin-bottom: 24px;
}

.login-logo img {
  width: 82px;
  height: auto;

  display: block;
}


/* =========================================================
   EYEBROW
========================================================= */

.login-card .eyebrow {
  display: block;

  margin-bottom: 10px;

  text-align: center;

  color: #9a7655;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 1.8px;
}


/* =========================================================
   HEADING
========================================================= */

.login-card h1 {
  margin: 0;

  text-align: center;

  color: #2d211c;

  font-size: 32px;
  line-height: 1.2;

  font-weight: 500;
}

.login-card h1 span {
  display: block;

  color: #9a7655;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.login-description {
  max-width: 360px;

  margin: 16px auto 30px;

  text-align: center;

  color: #756960;

  font-size: 13px;

  line-height: 1.7;
}


/* =========================================================
   FORM
========================================================= */

#loginForm {
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;

  margin-bottom: 8px;

  color: #3b2d25;

  font-size: 13px;
  font-weight: 600;
}


/* =========================================================
   LABEL ROW
========================================================= */

.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 8px;
}

.form-label-row label {
  margin-bottom: 0;
}


/* =========================================================
   INPUTS
========================================================= */

.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;

  min-height: 48px;

  box-sizing: border-box;

  padding: 13px 14px;

  background: #fff;

  border: 1px solid #dcd1c7;

  border-radius: 8px;

  outline: none;

  color: #2d211c;

  font-family: inherit;
  font-size: 14px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
  border-color: #a17b57;

  box-shadow:
    0 0 0 3px rgba(161, 123, 87, 0.10);
}

.form-group input::placeholder {
  color: #aaa09a;
}


/* =========================================================
   PASSWORD
========================================================= */

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 48px !important;
}

.password-toggle {
  position: absolute;

  top: 50%;
  right: 5px;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-50%);

  border: 0;

  background: transparent;

  color: #766a62;

  cursor: pointer;
}

.password-toggle:hover {
  color: #2d211c;
}

.password-eye {
  font-size: 16px;
}


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.forgot-password-button {
  padding: 0;

  border: 0;

  background: transparent;

  color: #92704f;

  font-family: inherit;

  font-size: 12px;

  cursor: pointer;
}

.forgot-password-button:hover {
  color: #5f422c;

  text-decoration: underline;
}


/* =========================================================
   LOGIN OPTIONS
========================================================= */

.login-options {
  display: flex;
  align-items: center;

  margin-top: -4px;
  margin-bottom: 20px;
}

.remember-me {
  display: flex !important;

  align-items: center;

  gap: 8px;

  margin: 0 !important;

  color: #6f655f !important;

  font-size: 12px !important;
  font-weight: 400 !important;

  cursor: pointer;
}

.remember-me input {
  width: 15px;
  height: 15px;

  margin: 0;

  accent-color: #92704f;

  cursor: pointer;
}


/* =========================================================
   PRIMARY LOGIN BUTTON
========================================================= */

.login-submit-button {
  position: relative;

  width: 100%;
  min-height: 50px;

  border: 0;

  border-radius: 8px;

  background: #3c2b22;

  color: #ffffff;

  font-family: inherit;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.login-submit-button:hover {
  background: #2d211c;

  box-shadow:
    0 7px 20px rgba(45, 33, 28, 0.14);

  transform: translateY(-1px);
}

.login-submit-button:active {
  transform: translateY(0);
}

.login-submit-button:disabled {
  opacity: 0.7;

  cursor: not-allowed;

  transform: none;
}


/* =========================================================
   LOADING
========================================================= */

.button-loader {
  display: inline-flex;

  align-items: center;

  gap: 4px;
}

.button-loader span {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #ffffff;

  animation: loginLoader 0.8s infinite ease-in-out;
}

.button-loader span:nth-child(2) {
  animation-delay: 0.12s;
}

.button-loader span:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes loginLoader {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}


/* =========================================================
   SOCIAL DIVIDER
========================================================= */

.social-login-divider {
  position: relative;

  display: flex;
  align-items: center;

  margin: 26px 0 18px;

  color: #a49a92;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 1.2px;

  text-align: center;
}

.social-login-divider::before,
.social-login-divider::after {
  content: "";

  flex: 1;

  height: 1px;

  background: #e7dfd8;
}

.social-login-divider span {
  padding: 0 12px;
}


/* =========================================================
   SOCIAL LOGIN BUTTONS
========================================================= */

.social-login-button {
  width: 100%;
  min-height: 49px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 11px;

  margin-bottom: 11px;

  padding: 12px 18px;

  border-radius: 8px;

  font-family: inherit;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}


/* =========================================================
   GOOGLE
========================================================= */

.google-login-button {
  background: #ffffff;

  border: 1px solid #d8cec5;

  color: #2d211c;
}

.google-login-button:hover {
  background: #fdfaf7;

  border-color: #b9aa9e;

  box-shadow:
    0 5px 16px rgba(50, 35, 25, 0.07);

  transform: translateY(-1px);
}


/* =========================================================
   APPLE
========================================================= */

.apple-login-button {
  background: #000000;

  border: 1px solid #000000;

  color: #ffffff;
}

.apple-login-button:hover {
  background: #1c1c1e;

  border-color: #1c1c1e;

  box-shadow:
    0 5px 16px rgba(0, 0, 0, 0.16);

  transform: translateY(-1px);
}

.apple-login-button:active,
.google-login-button:active {
  transform: translateY(0);
}


/* =========================================================
   SOCIAL ICON
========================================================= */

.social-login-icon {
  width: 20px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.social-login-icon svg {
  display: block;
}


/* =========================================================
   CREATE ACCOUNT
========================================================= */

.create-account-section {
  margin-top: 25px;

  padding-top: 23px;

  border-top: 1px solid #e9e1da;

  text-align: center;
}

.create-account-section p {
  margin: 0 0 10px;

  color: #776d66;

  font-size: 12px;
}

.create-account-button {
  width: 100%;

  min-height: 46px;

  padding: 11px 18px;

  background: #ffffff;

  border: 1px solid #bda993;

  border-radius: 8px;

  color: #634a36;

  font-family: inherit;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.create-account-button:hover {
  background: #fffaf5;

  border-color: #92704f;
}


/* =========================================================
   LOGIN MESSAGE
========================================================= */

.login-message {
  margin-bottom: 18px;

  padding: 11px 13px;

  border-radius: 7px;

  font-size: 12px;

  line-height: 1.5;
}

.login-message.error {
  background: #fff4f3;

  border: 1px solid #efd1ce;

  color: #9b4038;
}

.login-message.success {
  background: #f3faf5;

  border: 1px solid #cfe5d4;

  color: #397044;
}

.login-message.info {
  background: #f6f8fa;

  border: 1px solid #dbe2e8;

  color: #52616d;
}


/* =========================================================
   TERMS
========================================================= */

.login-legal {
  margin: 22px auto 0;

  max-width: 350px;

  text-align: center;

  color: #aaa19b;

  font-size: 10px;

  line-height: 1.6;
}

.login-legal a {
  color: #806246;

  text-decoration: none;
}

.login-legal a:hover {
  text-decoration: underline;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

  .login-screen {
    min-height: 100vh;

    padding: 30px 15px;
  }

  .login-card {
    padding: 32px 22px;

    border-radius: 14px;
  }

  .login-card h1 {
    font-size: 28px;
  }

  .login-description {
    font-size: 12px;

    margin-bottom: 25px;
  }

  .social-login-button {
    min-height: 48px;
  }
}
/* =========================================================
   ACCOUNT SIDEBAR CLICK FIX
   Prevent announcement overlay from covering account tabs
========================================================= */

.account-page,
.account-container,
.account-layout,
.account-sidebar {
  position: relative;
}

.account-sidebar {
  z-index: 20;
}

.account-tab {
  position: relative;
  z-index: 21;
  pointer-events: auto;
}

.announcement-content {
  pointer-events: none;
}


/* =========================================================
   FIX: ANNOUNCEMENT CAROUSEL MUST NOT BLOCK ACCOUNT CLICKS
========================================================= */

.announcement-track {
  pointer-events: none;
}


/* =========================================================
   FIX: ANNOUNCEMENT BAR MUST NOT BLOCK ACCOUNT SIDEBAR
========================================================= */

.announcement {
  pointer-events: none;
}

.announcement-track,
.announcement-content {
  pointer-events: none;
}

.order-return-area {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfaf8;
}

.order-return-area > strong {
  display: block;
  margin-bottom: 5px;
}

.order-return-note,
.order-return-status {
  margin: 5px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.order-return-countdown {
  margin: 8px 0;
  color: #76502d;
  font-size: 12px;
  font-weight: 700;
}

.order-return-button {
  margin-top: 6px;
}

.vyedi-return-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
}

.vyedi-return-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 18px;
  overflow-y: auto;
  background: rgb(0 0 0 / 55%);
}

.vyedi-return-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 60px rgb(0 0 0 / 22%);
}

.vyedi-return-dialog h2 {
  margin: 0 35px 10px 0;
}

.vyedi-return-dialog p,
.vyedi-return-dialog small {
  line-height: 1.5;
}

.vyedi-return-dialog label {
  display: block;
  margin: 15px 0 6px;
  font-weight: 700;
}

.vyedi-return-dialog textarea,
.vyedi-return-dialog input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
}

.vyedi-return-dialog textarea {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
}

.vyedi-return-dialog input[type="file"] {
  padding: 8px 0;
}

.vyedi-return-dialog small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.vyedi-return-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.vyedi-return-error {
  color: #a32121;
  font-size: 13px;
}

@media (max-width: 520px) {
  .order-card {
    padding: 13px;
  }

  .order-product-image-link,
  .order-product-image,
  .order-product-placeholder {
    width: 58px;
    height: 58px;
    max-width: 58px;
    max-height: 58px;
    flex-basis: 58px;
  }

  .order-product-info {
    gap: 9px;
  }

  .vyedi-return-dialog {
    padding: 19px;
  }
}

/* VYEDI COMPACT ORDER THUMBNAILS */
.order-product {
  align-items: flex-start;
  gap: 12px;
}

.order-product-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.order-product-image-link,
.order-product-image,
.order-product-placeholder {
  display: block;
  width: 76px;
  height: 76px;
  min-width: 76px;
  min-height: 76px;
  max-width: 76px;
  max-height: 76px;
  flex: 0 0 76px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 8px;
}

.order-product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}

.order-product-info > div {
  min-width: 0;
}

.order-product-name {
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .order-product-image-link,
  .order-product-image,
  .order-product-placeholder {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    max-width: 58px;
    max-height: 58px;
    flex-basis: 58px;
  }

  .order-product-info {
    gap: 9px;
  }
}
