/* =========================
 * General
 * ========================= */

:root {
  --primary: #e7481c;
  --primary-dark: #bf3e17;
  --primary-light: #e7481c1a;
  --black: #0f0f10;
  --white: #fff;
  --gray: #747474;

  --font: "Overused Grotesk", sans-serif;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font);
  color: var(--black);
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 0 auto;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

/* =========================
 * Buttons
 * ========================= */

.btn-group {
  gap: 0.5rem 0.75rem;
  flex-wrap: wrap;
}

.btn-group > .btn {
  border-radius: 3rem !important;
  flex: none;
}

.btn-group > .btn-group:not(:last-child) > .btn,
.btn-group > .btn.dropdown-toggle-split:first-child,
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 3rem;
  border-bottom-right-radius: 3rem;
}

.btn-group > .btn-group:not(:first-child) > .btn,
.btn-group > .btn:nth-child(n + 3),
.btn-group > :not(.btn-check) + .btn {
  border-top-left-radius: 3rem;
  border-bottom-left-radius: 3rem;
}

.btn {
  --btn-bg: var(--black);
  --btn-fill: var(--primary);
  position: relative;
  border: none;
  border-radius: 3rem;
  padding: 0.875rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25rem;
  width: fit-content;
  background: transparent;
  color: var(--white);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  height: fit-content;
}

.btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -60%;
  width: 160%;
  height: 200%;
  background: var(--btn-fill);
  border-radius: 50%;
  transform: translate(-50%, 100%);
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.btn:hover::after {
  transform: translate(-50%, 0%);
}

.btn:hover {
  color: var(--white);
  cursor: pointer;
}

button:hover,
[role="button"]:hover,
.btn:hover {
  cursor: pointer;
}

.btn-sm:hover,
.btn-sm:focus,
.btn-sm:active {
  color: var(--white) !important;
}

/* Solid variants */

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-primary::after {
  background: var(--black) !important;
}

.btn-secondary {
  background: #ebebeb;
  color: var(--black);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #434343 !important;
  border-color: #434343 !important;
  color: var(--white) !important;
}

.btn-secondary::after {
  background: var(--black) !important;
}

.btn-white {
  --btn-fill: var(--primary);
  background-color: var(--white);
  border: 1px solid var(--white);
  border-color: var(--white);
  color: var(--black);
}

.btn-white:hover,
.btn-white:focus,
.btn-white:active {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
}

.btn-white svg path {
  transition: fill 0.3s ease;
}

.btn-white:hover svg path,
.btn-white:focus svg path,
.btn-white:active svg path {
  fill: var(--white);
}

.btn-black {
  background-color: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.btn-black:hover,
.btn-black:focus,
.btn-black:active {
  background-color: var(--black);
  border-color: var(--black);
}

.btn-black::after {
  background: var(--primary);
}

.btn-outline-primary {
  color: var(--primary);
  border: 1px solid var(--primary);
  background-color: transparent;
}

.btn-outline-primary:hover {
  color: var(--white) !important;
  border-color: var(--primary) !important;
  background-color: transparent !important;
}

.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
  color: var(--white) !important;
  border-color: var(--primary) !important;
  background-color: var(--primary) !important;
}

.btn-outline-primary:focus-visible {
  color: var(--white) !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(0,0,0,0.12);
}

.btn-outline-primary::after {
  display: block;
  background: var(--primary);
}

.btn-outline-secondary {
  color: var(--black);
  border: 1px solid rgba(15, 15, 16, 0.1);
  background-color: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:active,
.btn-outline-secondary.active {
  color: var(--white) !important;
  border-color: rgba(15, 15, 16, 0.2);
  background-color: var(--white);
}

.btn-outline-secondary:focus {
  //color: var(--white);
  border-color: rgba(15, 15, 16, 0.1);
  //background-color: transparent;
  box-shadow: none;
}

.btn-outline-secondary:focus-visible {
  color: var(--white);
  border-color: rgba(15, 15, 16, 0.2);
  background-color: var(--white);
  box-shadow: 0 0 0 0.25rem rgba(15, 15, 16, 0.12);
}

.btn-outline-secondary::after {
  background: var(--black);
  border: 1px solid #0f0f10;
}

.btn-payment-document.btn,
.btn-payment-document.btn:link,
.btn-payment-document.btn:visited,
.btn-payment-document.btn:hover,
.btn-payment-document.btn:focus,
.btn-payment-document.btn:focus-visible,
.btn-payment-document.btn:active {
  color: var(--black) !important;
  border-color: rgba(15, 15, 16, 0.1) !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.btn-payment-document.btn:hover {
  border-color: rgba(15, 15, 16, 0.2) !important;
}

.btn-payment-document.btn::after,
.btn-payment-document.btn:hover::after,
.btn-payment-document.btn:focus::after,
.btn-payment-document.btn:active::after {
  display: none !important;
  content: none !important;
  transform: none !important;
}


.btn-outline-white {
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline-white:hover,
.btn-outline-white:focus,
.btn-outline-white:active {
  color: var(--black);
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-white::after {
  background: var(--white);
}


.btn-signin {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  margin-top: 0.5rem;
}

.btn-google,
.btn-facebook {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 48px;
}

.btn-google {
  border: 1px solid #d8d8d8;
  background-color: var(--white);
  color: var(--black);
}

.btn-facebook {
  border-color: #1877f2;
  background-color: #1877f2;
  color: #fff;
  gap: 0.25rem;
}

/* Small / extra styles */

.btn-add-review {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.btn-delete-account {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.375rem;
  background-color: #ffe2e3;
  color: #ff383c;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-bottom: 1rem;
  font-size: 1rem;
  /*margin-left: 1rem;*/
}

.btn-delete-account:hover {
  background-color: #ffd0d0;
}

.btn-delete-account svg {
  width: 20px;
  height: 20px;
}

.btn-new-oder-action {
  background-color: transparent;
  border: none;
  color: var(--black);
}

.btn-new-oder-action:hover,
.btn-new-oder-action:focus,
.btn-new-oder-action:focus-visible,
.btn-new-oder-action:active {
  color: var(--black);
  outline: none;
  box-shadow: none;
}

/* =========================
 * Sections – generic
 * ========================= */

.section-padding {
  padding: 2rem 0;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--gray);
}

.section-title:has(+ .section-subtitle) {
  margin-bottom: 0.75rem;
}

/* =========================
 * Back to top
 * ========================= */

#backToTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--primary);
  color: var(--white);
  cursor: pointer;
  font-size: 1.125rem;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease,
    background-color 0.3s ease-in-out;
}

#backToTopBtn:hover {
  background-color: #bf3e17;
}

#backToTopBtn.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

#backToTopBtn svg {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  stroke-width: 2;
}

/* =========================
 * Header (base, secondary, dark)
 * ========================= */

.header {
  background: transparent;
  color: var(--black);
}

.margin-extra{
    padding-top: 91px;
}

.page-home .header {
  //position: absolute;
  //top: 0;
  //left: 0;
  width: 100%;
  z-index: 12000;
  position: fixed;
}

.header{
    width: 100%;
    z-index: 12000;
    position: fixed;
}

.header .navbar,
.header .dropdown,
.header .nav-user-menu {
  position: relative;
  z-index: 12010;
}

.header .dropdown-menu,
.header .nav-user-dropdown {
  z-index: 12020;
}

.header .navbar {
  padding: 1.5rem 0;
}

.header .navbar-brand {
  color: var(--white);
  padding-right: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.header .navbar-brand img {
  max-height: 32px;
}

.header .nav-link {
  color: var(--white);
  transition: color 0.2s ease;
}

.header .nav-link:hover,
.header .nav-link:focus,
.header .nav-link:active {
  color: var(--primary);
}

.header .nav-link.active {
  color: var(--primary) !important;
}

.header .nav-wishlist {
  position: relative;
}

.header .nav-wishlist .nav-wishlist-count {
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 4px;
  bottom: 3px;
}

.header .btn {
  padding: 0.5rem 1rem;
  gap: 0.25rem;
  display: flex;
  align-items: center;
}

/* Header Secondary */

.header.secondary {
  border-bottom: 1px solid #0f0f101a;
  background-color: var(--white);
}

.header.secondary .navbar-brand {
  border-right: 1px solid #0f0f101a;
}

.header.secondary .nav-link {
  color: var(--black);
}

/* Burger icon in secondary header */

.header.secondary .navbar-toggler-icon {
  background: var(--black);
}

.header.secondary .navbar-toggler-icon::before,
.header.secondary .navbar-toggler-icon::after {
  background: var(--black);
}

/* Header Dark */

.header.dark {
  background: #2b2b2b;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.dark .navbar-brand {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.header.dark .nav-link {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.header.dark .nav-link:hover,
.header.dark .nav-link:focus,
.header.dark .nav-link:active {
  color: var(--primary);
}

.header.dark .nav-link.active {
  color: var(--primary);
}

.header.dark .btn-outline-primary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.header.dark .btn-outline-primary:hover,
.header.dark .btn-outline-primary:focus,
.header.dark .btn-outline-primary:active {
  color: var(--black);
  background-color: var(--white);
  border-color: var(--white);
}

.header.dark .btn-white {
  background-color: var(--white);
  color: var(--black);
}

.header.dark .btn-white:hover,
.header.dark .btn-white:focus,
.header.dark .btn-white:active {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
}

/* Dark header user menu colors */

.header.dark .nav-user-btn {
  color: var(--white);
}

.header.dark .nav-user-name {
  color: var(--white);
}

.header.dark .nav-user-verified {
  color: var(--primary);
}

/* Dark header notification count */

.header.dark .nav-notification .nav-notification-count {
  background: var(--primary);
  color: var(--white);
}

/* Dark header separator */

.header.dark .separator-vertical {
  background-color: rgba(255, 255, 255, 0.16);
}

/* Dark header burger */

.header.dark .navbar-toggler-icon {
  background: var(--white);
}

.header.dark .navbar-toggler-icon::before,
.header.dark .navbar-toggler-icon::after {
  background: var(--white);
}

/* Notifications icon */

.header .nav-notification {
  position: relative;
}

.header .nav-notification .nav-notification-count {
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 4px;
  top: 3px;
}

.separator-vertical {
  width: 1px;
  height: 32px;
  background-color: rgba(15, 15, 16, 0.1);
  margin: 0 0.5rem;
}

.nav-user-card-header img{
   border-radius: 50%;
}

/* =========================
 * Hero
 * ========================= */

.hero {
  position: relative;
  background-color: linear-gradient(180deg, #2b2b2b 0%, #1c1c1c 100%);
  background: #2b2b2b;
  color: var(--white);
  min-height: 64rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .hero-header {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 8rem 0 4rem;
}

.hero .hero-header {
  pointer-events: none;
}

.hero .hero-header .hero-copy-layer {
  pointer-events: auto;
}

.hero .hero-header .btn-group,
.hero .hero-header .btn {
  position: relative;
  z-index: 11;
}

.hero h1 {
  font-size: clamp(2.375rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 524px;
  margin-bottom: 2rem;
}

.hero-map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-map > div {
  background: #2b2b2b !important;
}

.hero .gm-fullscreen-control,
.hero .gmnoprint {
  display: none;
}

/* Search area */

.search-area {
  padding-bottom: 6rem;
}

.search-area-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8rem;
  padding: 0.875rem 1rem;
  backdrop-filter: blur(24px);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--white);
  border-radius: 999px;
  padding: 0.875rem 1.25rem;
  min-width: 220px;
  min-height: 56px;
  flex: 1 1 260px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.search-field-select {
  flex: 0 1 200px;
  min-height: 56px;
  background-color: rgba(255, 255, 255, 0.9);
}

.search-icon {
  margin-top: -0.125rem;
}

.search-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--black);
}

.search-field input,
.search-field select {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
  color: #1d1d1d;
  outline: none;
}

.search-field select {
  cursor: pointer;
}

.search-field input::placeholder {
  color: #8a8a8a;
}

.search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-submit svg {
  width: 22px;
  height: 22px;
}

.search-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.search-meta a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.search-meta a:hover,
.search-meta a:focus,
.search-meta a:active {
  color: var(--primary-dark);
}

.hero-header {
  position: relative;
  z-index: 10;
}

/* Scroll indicator */

.scroll-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 4;
  pointer-events: none;
}

.scroll-indicator::before,
.scroll-indicator::after {
  content: "";
  position: absolute;
  bottom: -17px;
  width: 88px;
  height: 58px;
  z-index: 2;
  background-repeat: no-repeat;
  background-size: contain;
}

.scroll-indicator::before {
  left: -47px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="82" height="39" viewBox="0 0 82 39" fill="none"><g transform="translate(82 0) scale(-1 1)"><path d="M33.5 0C47 27.5 66.908 36.9733 82 39H0L33.5 0Z" fill="%23ffffff"/></g></svg>');
}

.scroll-indicator::after {
  right: -47px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="82" height="39" viewBox="0 0 82 39" fill="none"><path d="M33.5 0C47 27.5 66.908 36.9733 82 39H0L33.5 0Z" fill="%23ffffff"/></svg>');
}

.scroll-indicator-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: #6b6b6b;
  padding: 0.85rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.mouse-icon {
  width: 16px;
  height: 24px;
  border: 1px solid #0f0f10;
  border-radius: 12px;
  position: relative;
  display: inline-block;
}

.mouse-icon .wheel {
  width: 1px;
  height: 6px;
  background: var(--primary);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: wheelMove 1.6s ease-in-out infinite;
}

@keyframes wheelMove {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 0.35;
    transform: translate(-50%, 7px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* =========================
 * Map (Google Maps info window, sticky map, etc.)
 * ========================= */

.map-sticky {
  top: 2rem;
  z-index: 2!important;
}

.map-container {
  height: calc(100vh - 4rem);
  min-height: 600px;
}

.gm-usercard {
  position: relative;
  padding: 16px;
  min-width: 240px;
  max-width: min(360px, calc(100vw - 48px));
  color: var(--black);
  //display: none !important;
}

.gm-usercard__head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-right: 34px;
}

.gm-usercard__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
}

.gm-usercard__name {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  line-height: 1.25;
  max-width: 100%;
}

.gm-usercard__info {
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
}

.gm-usercard__name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gm-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 10px;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--white);
  margin-left: 0;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

.gm-usercard__meta {
  font-size: 0.875rem;
  font-weight: 400;
}

.gm-usercard__body {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray);
}

.gm-stars {
  color: var(--primary);
  letter-spacing: 1px;
  margin-right: 4px;
}

.gm-reward {
  margin-top: 4px;
}

.gm-usercard__actions {
  margin-top: 10px;
  display: flex;
  gap: 6px;
}

.gm-usercard__actions .btn {
  height: 36px;
  padding: 0.25rem 0.875rem;
  font-size: 12px;
  border-radius: 3rem;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.gm-usercard__actions .btn::after {
  display: none !important;
}

.gm-usercard__actions .btn-black:hover,
.gm-usercard__actions .btn-black:focus,
.gm-usercard__actions .btn-black:active {
  background-color: #020617;
  border-color: #020617;
  color: #fff;
}

.gm-usercard__actions .btn-outline-secondary:hover,
.gm-usercard__actions .btn-outline-secondary:focus,
.gm-usercard__actions .btn-outline-secondary:active {
  background-color: #111827;
  border-color: #111827;
  color: #fff !important;
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.gm-style .gm-style-iw-tc{
    display: none !important;
}

.gm-style .gm-style-iw-chr,
.gm-style .gm-ui-hover-effect {
  display: none !important;
}

.gm-style .gm-style-iw-d {
  overflow: visible !important;
}

.gm-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 3rem;
  background: transparent;
  line-height: 28px;
  font-size: 18px;
  cursor: pointer;
}

.gm-close:hover {
  background: #e9e9e9;
}

/* =========================
 * Featured buyers
 * ========================= */

.buyer-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buyer-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.buyer-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.buyer-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buyer-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.buyer-card-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.buyer-card-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.buyer-card-badge {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: var(--primary);
}

.buyer-card-badge svg {
  width: 18px;
  height: 18px;
}

.buyer-card-location {
  margin: 0;
  color: var(--gray);
  font-size: 1rem;
}

.buyer-card-rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.buyer-card-stars {
  display: flex;
  gap: 0;
}

.buyer-card-stars svg {
  width: 20px;
  height: 20px;
}

.buyer-card-score {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(15, 15, 16, 0.7);
}

.buyer-card .buyer-card-btn {
  padding: 0.875rem 1.5rem;
}

/* =========================
 * How it works
 * ========================= */

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.how-step .how-step-icon {
  position: relative;
  z-index: 9;
  aspect-ratio: 1/1;
  background: var(--white);
  border-radius: 50%;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.how-step .how-step-icon-image img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.how-step .how-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 500;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  position: absolute;
  left: 0;
  bottom: 0;
}

.how-step h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.how-step p {
  margin: 0;
  color: var(--gray);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  max-width: 248px;
}

.how-steps .col-md-3:not(:last-child) .how-step::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 196px;
  height: 80px;
  transform: translateX(34%);
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='208' height='29' viewBox='0 0 208 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 27.7779C34.5 7.57067 122.5 -20.7195 206.5 27.7779' stroke='%23E7481C' stroke-width='2' stroke-linecap='round' stroke-dasharray='4 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.how-steps .col-md-3:nth-child(even) .how-step::after {
  top: 16px;
  transform: translateX(34%) scaleY(-1);
}

/* =========================
 * About us
 * ========================= */

.about-us {
  position: relative;
  overflow: hidden;
}

.about-us .section-title {
  margin-bottom: 1rem;
}

.about-us .col-md-6:last-child {
  padding-right: 0;
}

.about-us .about-us-image {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 18rem;
  //overflow: hidden;
  height: 42rem;
  width: calc(100% + (100vw - 100%) / 2);
  margin-right: calc((100vw - 100%) / -2);
}

.about-us .about-us-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefits-list .benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.benefits-list .benefit-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.125rem 0 0.5rem;
}

.benefits-list .benefit-item p {
  margin: 0;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.5rem;
}

/* =========================
 * Blog
 * ========================= */

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: var(--black);
}

.blog-card .blog-card-image {
  overflow: hidden;
  aspect-ratio: 3/2;
  border-radius: 0.75rem;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
}

.blog-card .blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card .blog-card-image:hover img,
.blog-card .blog-card-image:focus img,
.blog-card .blog-card-image:active img {
  transform: scale(1.05);
}

.blog-card .blog-card-content {
  padding: 1.5rem 0.75rem 0;
}

.blog-card .blog-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.75rem;
  margin-bottom: 0.5rem;
  min-height: 56px;
  transition: color 0.2s ease;
}

.blog-card .blog-card-title:hover,
.blog-card .blog-card-title:focus,
.footer-bottom.footer-bottom .blog-card .blog-card-title:active {
  color: var(--primary);
}

.blog-card .blog-card-excerpt {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.375rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.blog-card .blog-card-date {
  color: var(--gray);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.blog-card .blog-card-btn {
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.blog-card .blog-card-btn:hover,
.blog-card .blog-card-btn:focus,
.blog-card .blog-card-btn:active {
  color: var(--primary);
}

/* =========================
 * Content Shell (Blog + Policy)
 * ========================= */

.content-shell {
  position: relative;
}

.content-shell .container {
  position: relative;
  z-index: 1;
}

.content-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 18rem;
  background: linear-gradient(180deg, #f7f5f2 0%, rgba(247, 245, 242, 0) 100%);
  pointer-events: none;
}

.content-hero {
  max-width: 50rem;
  margin: 0 auto 2.5rem;
  padding: clamp(1rem, 3vw, 2rem) 0 0.5rem;
}

.content-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: rgba(0, 0, 0, 0.06);
  margin-bottom: 0.8rem;
}

.blog-grid .blog-card-elevated {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  padding: 0.35rem;
  background: #fff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-grid .blog-card-elevated:hover,
.blog-grid .blog-card-elevated:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.blog-grid .blog-card-elevated .blog-card-content {
  padding: 1rem 0.75rem 0.5rem;
}

.content-empty {
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  background: #f6f6f6;
  color: var(--gray);
}

.content-pagination {
  padding-top: 0.5rem;
}

.policy-article {
  max-width: 81rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.policy-body {
  padding: clamp(1.1rem, 3vw, 2.25rem);
  color: #1f2937;
  line-height: 1.72;
}

.policy-body h1,
.policy-body h2,
.policy-body h3,
.policy-body h4 {
  color: #111827;
  margin-top: 1.6rem;
  margin-bottom: 0.7rem;
  line-height: 1.3;
}

.policy-body p,
.policy-body ul,
.policy-body ol {
  margin-bottom: 1rem;
}

.policy-body a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.policy-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.policy-body table th,
.policy-body table td {
  border: 1px solid rgba(17, 24, 39, 0.12);
  padding: 0.55rem 0.65rem;
}

.post-article .post-cover {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

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

.post-body img,
.post-body video,
.post-body iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 767.98px) {
  .content-shell::before {
    height: 13rem;
  }
  .content-hero {
    margin-bottom: 1.5rem;
  }
  .policy-article {
    border-radius: 0.9rem;
  }
}

/* =========================
 * CTA Banner
 * ========================= */

.cta-banner-content {
  background: #e9e9e9;
  color: #121216;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: 2rem;
  overflow: visible;
  margin-bottom: 3rem;
}

.cta-banner-content .row {
  min-height: 21rem;
}

.cta-banner-content .cta-banner-copy {
  max-width: 34rem;
}

.cta-banner-content .cta-banner-title {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 1rem;
  max-width: 30rem;
}

.cta-banner-content .cta-banner-subtitle {
  font-size: 1.25rem;
  line-height: 1.55;
  color: rgba(18, 18, 22, 0.76);
  max-width: 27rem;
  margin: 0 0 2rem;
}

.cta-banner-content .cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cta-banner-content .cta-banner-actions .btn {
  min-width: 8.75rem;
}

.cta-banner-content .cta-banner-secondary {
  background: transparent;
  border: 1px solid rgba(18, 18, 22, 0.42);
  color: #121216;
}

.cta-banner-content .cta-banner-secondary:hover,
.cta-banner-content .cta-banner-secondary:focus {
  background: rgba(18, 18, 22, 0.06);
  border-color: transparent;
  color: var(--white);
}

.cta-banner-content .cta-banner-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 100%;
  height: 100%;
}

.cta-banner-content .cta-banner-image {
  position: absolute;
  right: 9rem !important;
  bottom: -16.87rem;
  display: block;
  width: 122%;
  max-width: 182%;
  height: auto;
  transform: none;
}

/* =========================
 * Footer
 * ========================= */

.footer {
  background: #0e0e0e;
  color: var(--gray);
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

.footer-content {
  padding: 4rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  color: var(--gray);
}

.footer-bottom p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.footer-credits a {
  color: var(--gray);
  text-decoration: underline;
}

.footer-top-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-top-links a {
  text-decoration: none;
  color: #a5a5a5;
  transition: color 0.2s ease;
}

.footer-top-links a:hover,
.footer-top-links a:focus,
.footer-top-links a:active {
  color: var(--primary);
}

.footer-social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}

.footer-social-links a svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  transition: fill 0.2s ease;
}

.footer-social-links a:hover svg,
.footer-social-links a:focus svg,
.footer-social-links a:active svg {
  fill: #bf3e17;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.125rem;
  color: var(--white);
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #888888;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-links a:active {
  color: var(--primary);
}

/* =========================
   Wizard Modal
   ========================= */

.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.wizard-step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #e9ecef;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.wizard-step-label {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.wizard-step.active .wizard-step-number {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0.25rem 0.75rem rgba(231, 72, 28, 0.4);
}

.wizard-step.active .wizard-step-label {
  color: var(--black);
  font-weight: 600;
}

.wizard-step.completed .wizard-step-number {
  background: var(--primary-dark);
  color: var(--white);
}

.wizard-step.completed .wizard-step-label {
  color: var(--primary-dark);
}

.wizard-step-line {
  flex: 1;
  height: 0.125rem;
  background-color: #e9ecef;
  margin: 0 0.5rem;
  position: relative;
  top: -0.75rem;
  min-width: 2rem;
  transition: background-color 0.3s ease;
}

.wizard-step.completed + .wizard-step-line {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.wizard-steps {
  position: relative;
}

.wizard-step-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-step-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-review-summary {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.75rem;
}

.order-review-summary .review-section strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--black);
}

.order-review-summary .review-section p,
.order-review-summary .review-section ul,
.order-review-summary .review-items-list {
  font-size: 0.875rem;
}

.order-review-summary .review-section ul {
  padding-left: 1.25rem;
}

.order-review-summary .review-items-list {
  display: grid;
  gap: 0.5rem;
}

.order-review-summary .review-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.5rem;
}

.order-review-summary .review-item-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

.order-review-summary .review-item-thumb {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid rgba(15, 15, 16, 0.12);
  background: #fff;
}

/* Item photos collapse button - no animations */

.vt-item button[data-bs-toggle="collapse"] {
  transition: background-color 0.2s ease, border-color 0.2s ease;
  color: var(--black);
}

.vt-item button[data-bs-toggle="collapse"]::after {
  display: none;
}

.vt-item button[data-bs-toggle="collapse"]:hover {
  transform: none;
  background-color: #f8f9fa;
  border-color: var(--gray);
  color: var(--black);
}

.vt-item button[data-bs-toggle="collapse"]:focus,
.vt-item button[data-bs-toggle="collapse"]:focus-visible {
  color: var(--black);
  background-color: #f8f9fa;
  border-color: var(--gray);
  outline: none;
  box-shadow: none;
}

.vt-item button[data-bs-toggle="collapse"]:active {
  background-color: #e9ecef;
  color: var(--black);
}

/* Wizard navigation buttons */

#btnWizardPrev:focus,
#btnWizardPrev:focus-visible {
  color: var(--black);
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
}

#btnWizardNext:focus,
#btnWizardNext:focus-visible {
  color: var(--white);
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(231, 72, 28, 0.25);
}

/* =========================
   Newsletter
   ========================= */

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-form input[type="email"] {
  padding: 0.875rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: #171717;
  color: var(--white);
}

.newsletter-form input[type="email"]::placeholder {
  color: #6a6a6a;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(231, 72, 28, 0.25);
}

.newsletter-form .input-group {
  display: flex;
  overflow: hidden;
  border-radius: 0.5rem;
}

.newsletter-form button {
  position: absolute;
  z-index: 99;
  right: 0;
  //top: 50%;
  //transform: translateY(-50%);
  border: none;
  background: #171717;
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
}

/* =========================
 * Sign In
 * ========================= */

.signin-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 400px);
  //padding: 3rem 0;
}

.signin-wrapper {
  background: var(--white);
  border-radius: 1rem;
  padding: 3rem 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 12px 48px rgba(15, 15, 16, 0.08);
}

.signin-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.signin-subtitle {
  text-align: center;
  color: var(--gray);
}

.signin-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.signin-link:hover,
.signin-link:focus,
.signin-link:active {
  color: var(--primary-dark);
}

.signin-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Form elements (global-ish, but used mainly in sign-in / profile) */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: var(--gray);
  font-size: 0.85rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--black);
  font-size: 1rem;
}

.form-control {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(15, 15, 16, 0.1);
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: transparent;
  color: var(--black);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(231, 72, 28, 0.1);
}

.form-control::placeholder {
  color: #a0a0a0;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.form-check {
  /*display: flex;*/
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}

.form-check-input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check-label {
  margin: 0;
  cursor: pointer;
  color: var(--black);
}

.form-forgot-password {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.form-forgot-password:hover,
.form-forgot-password:focus,
.form-forgot-password:active {
  color: var(--primary-dark);
}

/* Divider */

.signin-divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
  color: var(--gray);
  font-size: 1rem;
}

.signin-divider::before,
.signin-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: rgba(15, 15, 16, 0.1);
}

.signin-divider::before {
  left: 0;
}

.signin-divider::after {
  right: 0;
}

.signin-divider span {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 0 0.75rem;
}

/* =========================
 * User Menu in Header
 * ========================= */

.nav-user-menu {
  position: relative;
}

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  color: var(--black);
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
}

.nav-user-btn:hover {
  opacity: 0.8;
}

.nav-user-btn-avatar-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.nav-user-btn-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-user-btn-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.nav-user-name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--black);
}

.nav-user-verified {
  font-size: 0.9375rem;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-user-verified svg {
  width: 14px;
  height: 14px;
}

.nav-user-arrow {
  transition: transform 0.3s ease;
  color: var(--gray);
}

.nav-user-menu.active .nav-user-arrow {
  transform: rotate(180deg);
}

/* Dropdown */

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 15, 16, 0.1);
  min-width: 600px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  padding: 0.375rem;
}

.nav-user-menu.active .nav-user-dropdown {
  opacity: 1;
  z-index: 9999;
  visibility: visible;
  transform: translateY(0);
}

.nav-user-dropdown-row {
  display: flex;
  align-items: stretch;
}

.nav-user-dropdown-col-left {
  flex: 0 0 220px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-user-dropdown-col-right {
  flex: 1;
  background: #f9f9f9;
  border-radius: 1rem;
  padding: 0.75rem;
  margin: 0.375rem;
}

/* Links */

.nav-user-links {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  display: flex;
  flex-direction: column;
}

.nav-user-links li {
  margin-bottom: 0.25rem;
}

.nav-user-links a,
.nav-logout {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.3125rem 0.75rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: background-color 0.2s;
  font-size: 1rem;
}

.nav-user-links a:hover,
.nav-logout:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-user-links a svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.nav-logout svg {
  color: var(--black);
}

.nav-logout {
  margin-top: auto;
  color: var(--black);
  border: none;
}

/* Card inside dropdown */

.nav-user-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.nav-user-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.nav-user-card-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-user-card-info {
  display: flex;
  flex-direction: column;
}

.nav-user-card-name {
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0;
  color: var(--black);
}

.nav-user-card-email {
  font-size: 0.875rem;
  color: var(--gray);
  margin: 0;
}

.nav-user-card-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: auto;
}

.status-text {
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
}

.nav-user-dropdown.dropdown-menu {
  min-width: 360px;
  max-width: min(380px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 1.25rem;
}

.nav-user-dropdown--narrow.dropdown-menu {
  min-width: 360px;
  max-width: min(380px, calc(100vw - 2rem));
}

.nav-user-dropdown .nav-user-card {
  gap: 0.875rem;
}

.nav-user-card-top {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  margin: -0.25rem -0.25rem 0;
  padding: 0.75rem;
  border-radius: 1rem;
  background: #f7f7f8;
}

.nav-user-dropdown .nav-user-card-header {
  min-width: 0;
  min-height: 64px;
  margin-bottom: 0;
}

.nav-user-card-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

.nav-user-online-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #9ca3af;
}

.is-online .nav-user-online-dot {
  background: #16a34a;
}

.nav-user-dropdown .nav-user-card-info {
  min-width: 0;
  gap: 0.0625rem;
}

.nav-user-dropdown .nav-user-card-name,
.nav-user-dropdown .nav-user-card-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-dropdown .nav-user-card-status {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.25rem;
  min-height: 64px;
  margin-bottom: 0;
}

.nav-user-availability-label,
.nav-user-availability-options {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(15, 15, 16, 0.08);
}

.nav-user-availability-label {
  justify-content: center;
  gap: 0.45rem;
  padding: 0.28rem 0.65rem;
  color: var(--black);
  font-size: 0.8125rem;
}

.nav-user-availability-label span {
  font-weight: 700;
}

.nav-user-availability-label strong {
  color: var(--gray);
  font-weight: 500;
}

.nav-user-availability-control {
  display: block;
  cursor: pointer;
}

.nav-user-availability-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-user-availability-options {
  width: 100%;
  padding: 0.1875rem;
  box-shadow: inset 0 0 0 1px rgba(15, 15, 16, 0.02);
}

.nav-user-availability-options span {
  flex: 1;
  min-width: 70px;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: var(--gray);
  font-size: 0.78125rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-user-availability-control input:checked + .nav-user-availability-options .nav-user-availability-visible {
  background: var(--primary);
  color: var(--white);
}

.nav-user-availability-control input:not(:checked) + .nav-user-availability-options .nav-user-availability-hidden {
  background: var(--primary);
  color: var(--white);
}

.nav-user-dropdown .nav-user-links {
  gap: 0;
}

.nav-user-dropdown .nav-user-links li {
  margin-bottom: 0;
}

.nav-user-dropdown .nav-user-links li + li {
  border-top: 1px solid rgba(15, 15, 16, 0.08);
}

.nav-user-dropdown .nav-user-links a {
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.5rem;
  border-radius: 0;
  font-size: 1rem;
}

.nav-user-dropdown .nav-user-links a:hover {
  background: transparent;
}

.nav-user-link-main {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.nav-user-link-chevron {
  color: var(--gray);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
}

.nav-user-dropdown .nav-user-actions {
  display: block;
  margin-top: 0.25rem;
}

.nav-user-dropdown .nav-user-actions form {
  margin: 0;
}

.nav-user-dropdown .nav-logout {
  justify-content: center;
  width: 100%;
  margin-top: 0;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  background: #f0f0f2;
  color: var(--gray);
}

.nav-user-dropdown .nav-logout svg {
  color: currentColor;
}

.nav-user-dropdown .nav-logout:hover {
  background: #e8e8eb;
}

/* Switch */

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #50C878;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* =========================
 * Profile Page
 * ========================= */

.profile-container {
  background: #f8f8f8;
  min-height: calc(100vh - 400px);
  padding: 2rem 0;
}

.profile-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.profile-breadcrumb a {
  color: #0f0f1080;
  text-decoration: none;
  transition: color 0.2s ease;
}

.profile-breadcrumb a:hover,
.profile-breadcrumb a:focus,
.profile-breadcrumb a:active {
  color: var(--primary-dark);
}

.profile-breadcrumb a.active {
  color: var(--black);
}

.breadcrumb-separator {
  width: 10px;
  height: 10px;
  color: #0f0f104d;
  flex-shrink: 0;
}

/* Profile Sidebar */

.profile-sidebar {
  background: var(--white);
  border-radius: 1rem;
  height: fit-content;
  box-shadow: 0 2px 8px rgba(15, 15, 16, 0.04);
}

.profile-menu {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  color: var(--black);
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 0.5rem;
  font-weight: 500;
}

.profile-menu-item svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  flex-shrink: 0;
}

.profile-menu-item:hover,
.profile-menu-item:focus,
.profile-menu-item:active {
  background-color: rgba(15, 15, 16, 0.05);
  color: var(--black);
}

.profile-menu-item.active {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.profile-menu-item.active svg {
  stroke: var(--white);
}

/* Profile main */

.profile-header {
  margin-bottom: 2rem;
}

.profile-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--black);
}

.required {
  color: var(--primary);
}

/* Phone & lang select */

.phone-input {
  display: flex;
  align-items: center;
  border: 1px solid rgba(15, 15, 16, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.phone-input:focus-within {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(231, 72, 28, 0.1);
}

.phone-country-select {
  position: relative;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(15, 15, 16, 0.1);
  background-color: #f8f8f8;
  padding-right: 0.5rem;
}

.country-select {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.875rem 0.75rem;
  border: none;
  background-color: transparent;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  width: auto;
  line-height: 1;
  color: var(--black);
  padding-right: 1.75rem;
}

.country-select:hover,
.country-select:focus {
  outline: none;
}

.country-select-icon {
  position: absolute;
  right: 0.5rem;
  width: 16px;
  height: 16px;
  color: var(--gray);
  pointer-events: none;
  flex-shrink: 0;
}

/* Custom Lang Select & Phone Input */

.phone-input-container {
  display: flex;
  align-items: center;
  border-radius: 0.5rem;
  padding: 4px;
  border: 1px solid #e4e4e4;
  transition: border-color 0.2s;
}

.phone-input-container:focus-within {
  border-color: var(--primary);
}

.lang-select {
  position: relative;
  display: inline-block;
}

.lang-select::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background-color: #e0e0e0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  padding: 0 1rem;
  cursor: pointer;
  color: var(--black);
  font-size: 1rem;
  border-radius: 8px;
}

.lang-btn:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.lang-btn .arrow {
  font-size: 0.75rem;
  color: var(--gray);
  margin-left: 4px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid rgba(15, 15, 16, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 15, 16, 0.15);
  list-style: none;
  padding: 0.5rem;
  margin: 0;
  min-width: 180px;
  z-index: 1000;
  display: none;
}

.lang-select.active .lang-dropdown {
  display: block;
}

.lang-dropdown li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 0.875rem;
  color: var(--black);
  border-radius: 8px;
}

.lang-dropdown li:hover {
  background-color: #f6f6f6;
}

/* Dropdown (global – including vt dropdowns) */

.dropdown-menu {
  border-radius: 0.75rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(15, 15, 16, 0.1);
  padding: 0;
  transform-origin: 100% 0;
  animation: none;
  will-change: transform, opacity;
}

.dropdown-menu.show {
  animation: vtDrop 0.18s ease-out;
}

.dropdown-item {
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  transition: background-color 0.2s ease;
  color: var(--black);
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
  background-color: rgba(231, 72, 28, 0.05);
  color: var(--primary);
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--primary);
  color: var(--white);
}

.dropdown-divider {
  margin: 0;
  border-top: 1px solid rgba(15, 15, 16, 0.1);
}

/* Phone input (right side) */

.phone-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
  padding-left: 0.5rem;
  background-color: var(--white);
}

.phone-prefix {
  font-size: 1rem;
  font-weight: 500;
  color: #0f0f10b2;
  pointer-events: none;
  line-height: 1;
}

.phone-number-input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0.25rem !important;
  font-weight: 500;
  color: var(--black);
  padding: 0.6rem 1rem;
}

.phone-number-input:focus {
  background: transparent !important;
  outline: none;
  box-shadow: none;
  border: none;
}

.phone-number-input::placeholder {
  color: #a0a0a0;
}

/* File upload – unified */

.file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  border: 2px dashed rgba(15, 15, 16, 0.1);
  border-radius: 0.75rem;
  background: #fafafa;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.file-upload:hover {
  border-color: var(--primary);
  background-color: rgba(231, 72, 28, 0.05);
}

.file-upload svg {
  color: var(--gray);
}

.file-upload p {
  margin: 0;
  font-size: 1em;
  color: var(--black);
  margin-top: 0.5rem;
}

.file-upload small {
  color: var(--gray);
  font-size: 0.75rem;
}

.file-upload .text-primary {
  color: var(--primary) !important;
  text-decoration: none;
  font-weight: 500;
}

.file-upload .text-primary:hover {
  text-decoration: underline;
}

/* Profile avatar section */

.profile-avatar-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-avatar-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 15, 16, 0.04);
  text-align: center;
}

.profile-avatar-card h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--black);
}

.profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  box-shadow: 0 4px 12px rgba(15, 15, 16, 0.1);
}

.profile-change-photo {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.profile-change-photo:hover,
.profile-change-photo:focus,
.profile-change-photo:active {
  color: var(--primary-dark);
}

/* Shipping Address cards */

.profile-header-subtitle {
  margin: 0.25rem 0 0;
  color: var(--gray);
}

.address-card {
  background: var(--white);
  border: 1px solid rgba(15, 15, 16, 0.1);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1rem 1rem;
  box-shadow: 0 2px 8px rgba(15, 15, 16, 0.04);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
}

.address-card:hover {
  box-shadow: 0 8px 24px rgba(15, 15, 16, 0.08);
}

.address-card-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.address-card-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.address-card-content {
  flex: 1;
}

.address-card-text {
  margin: 0;
  line-height: 1.5rem;
  color: var(--black);
  font-weight: 500;
}

.address-card-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 15, 16, 0.05);
}

.address-card-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.875rem;
  border: none;
  background: transparent;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0.375rem;
  text-decoration: none;
}

.address-card-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.address-card-btn.btn-edit {
  color: var(--primary);
}

.address-card-btn.btn-edit:hover,
.address-card-btn.btn-edit:focus,
.address-card-btn.btn-edit:active {
  background: rgba(231, 72, 28, 0.1);
  color: var(--primary-dark);
}

.address-card-btn.btn-delete {
  color: #d32f2f;
}

.address-card-btn.btn-delete:hover,
.address-card-btn.btn-delete:focus,
.address-card-btn.btn-delete:active {
  background: rgba(211, 47, 47, 0.1);
  color: #b71c1c;
}

/* Profile Sidebar Mobile Toggle */

.profile-sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
  cursor: pointer;
}

.profile-sidebar-toggle svg {
  transition: transform 0.3s ease;
}

.profile-sidebar.active .profile-sidebar-toggle svg {
  transform: rotate(180deg);
}

@media (max-width: 991.98px) {
  .profile-menu {
    display: none;
    border-top: 1px solid rgba(15, 15, 16, 0.1);
  }

  .profile-sidebar.active .profile-menu {
    display: flex;
  }
}

/* =========================
 * Order Detail & Orders list
 * ========================= */

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1rem;
  color: black;
}

.order-header-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.order-header-left h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 700;
}

.order-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.status-badge span {
  font-size: 10px;
  display: inline-block;
}

.status-badge.status-new {
  background: #fff4e5;
  color: #ff9800;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

.status-badge.status-active {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

.status-badge.status-active span,
.status-badge.status-new span {
  font-size: 8px;
}

.status-badge.active {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  padding: 4px 10px;
  border-radius: 40px;
}

.order-progress {
  font-size: 1rem;
  color: var(--black);
  font-weight: 500;
  background-color: #e4e4e4;
  padding: 0.25rem 0.5rem;
  border-radius: 2rem;
}

.order-header-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.order-header-actions .btn {
  white-space: nowrap;
}

.order-meta {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.order-meta-item {
  display: flex;
  color: #0f0f10b2;
}

.order-meta-label {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.order-meta-value {
  font-size: 1rem;
  font-weight: 400;
}

.order-meta-order-detail {
  padding-top: 0;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
  align-items: center;
}

.order-meta-order-detail .order-meta-item {
  gap: 0.25rem;
}

.order-meta-separator {
  color: #0f0f1066;
}

.order-content {
  margin-bottom: 2rem;
}

.order-section {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 15, 16, 0.04);
}

.order-section-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
}

.order-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.order-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-info-label {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
  min-width: 150px;
}

.order-info-value {
  font-size: 1rem;
  color: var(--black);
  font-weight: 500;
  margin-left: 4rem;
  min-width: 0; 
  flex: 1 1 auto !important;
  line-height: 1.4;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: anywhere
}

/* Budget */

.budget-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.budget-item:last-of-type {
  border-bottom: none;
}

.budget-label {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
}

.budget-value {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
}

.budget-item--changed .budget-label,
.budget-item--changed .budget-value {
  color: #f58220;
  font-weight: 700;
}

.budget-notes {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 0.65rem;
  background: #fafafa;
}

.budget-note-row {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  /* Long unbroken text in the value must not stretch the row outside the card */
  flex-wrap: wrap;
}

.budget-note-label {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 120px;
}

.budget-note-value {
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  /* Notes are prose — always read left-to-right, never right-aligned like amounts */
  text-align: left;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  flex: 1 1 auto;
  /* A long note must not stretch the card — height capped with scroll */
  max-height: 9rem;
  overflow-y: auto;
}

/* Budget/item notes in the order detail — height capped with scroll,
   same principle as the scrollable Negotiation history */
.vt-note-scroll {
  max-height: 9rem;
  overflow-y: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.budget-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-top: 0.5rem;
  border-top: 2px solid rgba(15, 15, 16, 0.1);
  font-weight: 600;
}

.budget-total-label,
.budget-total-value {
  font-size: 1rem;
  color: var(--black);
}

/* Items table */

.order-items-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(15, 15, 16, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.order-items-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: #f8f8f8;
  border-bottom: 1px solid rgba(15, 15, 16, 0.1);
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
}

.order-item-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(15, 15, 16, 0.05);
  align-items: center;
}

.order-item-row:last-child {
  border-bottom: none;
}

.order-item-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.order-section-quantity {
  font-size: 1rem;
  font-weight: 600;
}

.order-item-quantity {
  font-size: 1rem;
  color: var(--gray);
  text-align: right;
  min-width: 60px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* Note */

.order-note {
  font-size: 0.875rem;
  color: var(--gray);
  padding-top: 1rem;
}

.order-note p {
  margin: 0;
}

/* Order card link hover */

.order-card-link {
  display: block;
  transition: transform 0.2s ease;
}

.order-card-link:hover .order-section {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(15, 15, 16, 0.08);
}

.order-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* Orders List */

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  filter: drop-shadow(0 2px 8px rgba(15, 15, 16, 0.08));
}

/* Section cards in the order detail are NOT flex — the header stays top-left
   (with the arrow) and the content is always below it; the flex layout above
   belongs only to cards in the orders list */
.order-section.order-card {
  display: block;
}

/* Cards in one row (Budget breakdown + Basic information) share the same height —
   but only while expanded; a collapsed card shrinks to its header height */
.order-content > [class*="col-"] > .order-section.order-card:has(.collapse.show),
.order-content > [class*="col-"] > .order-section.order-card:has(.collapsing) {
  height: 100%;
}

/* Negotiation history — subtle small button directly in the card header next to the title.
   Title, button and arrow stay on one line (title is flex, no wrapping) */
.order-section-title:has(.vt-history-btn) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.order-section-title .vt-history-btn {
  margin-left: 0;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  vertical-align: middle;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .order-section-title .vt-history-btn {
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
  }
}

/* Order card layout (desktop): first row avatar + name on the left,
   date + price on the right; message on its own row under a subtle divider
   (does not apply to notification cards, they have their own layout) */
@media (min-width: 993px) {
  .order-card:not(.notification-card) .order-card-left {
    width: auto;
  }

  .order-card:not(.notification-card) .order-card-middle {
    flex: 1 1 100%;
    order: 3;
    margin-top: 0.25rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 15, 16, 0.06);
  }
}

.order-card:hover {
  filter: drop-shadow(0 4px 16px rgba(15, 15, 16, 0.12));
}

.order-section-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.order-detail-priority-card {
  border-color: rgba(231, 72, 28, 0.28);
  box-shadow: 0 6px 20px rgba(231, 72, 28, 0.12);
}

.order-detail-priority-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(231, 72, 28, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}

/* Keeps every budget field label on the same baseline, with or without a badge/tooltip icon */
.order-detail-field-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.75rem;
  margin-bottom: 0.25rem;
}

.order-detail-field-label .order-detail-priority-badge {
  margin-left: 0;
  line-height: 1;
}

.order-detail-field-label .info-tooltip-icon {
  margin-left: 0;
}

.order-detail-response-callout {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(231, 72, 28, 0.28);
  border-left: 4px solid var(--primary);
  border-radius: 0.75rem;
  background: #fff8f5;
  box-shadow: 0 4px 16px rgba(15, 15, 16, 0.06);
}

.order-detail-response-label {
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.order-detail-response-text {
  color: var(--black);
  font-weight: 600;
  line-height: 1.45;
  white-space: pre-line;
  /* Long texts without spaces must wrap, not overflow the banner */
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.order-detail-response-time {
  margin-top: 0.35rem;
  color: var(--gray);
  font-size: 0.85rem;
}

.order-detail-message-highlight {
  border-color: rgba(231, 72, 28, 0.35) !important;
  background: #fff8f5 !important;
  box-shadow: 0 3px 12px rgba(231, 72, 28, 0.1);
}

.order-negotiation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.order-negotiation-panel {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 0.75rem;
}

.order-negotiation-panel--proposal {
  background: #fff8f5;
  border-color: rgba(231, 72, 28, 0.24);
}

.order-negotiation-panel--reply {
  background: #fff;
}

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

.order-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 290px;
  flex-shrink: 0;
}

.order-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--black);
  flex-shrink: 0;
}

.order-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.order-card-name {
  font-weight: 600;
  color: var(--black);
  margin: 0;
  font-size: 1rem;
}

.order-card-email {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

.order-card-middle {
  flex: 1;
  min-width: 0;
}

.order-card-request {
  color: var(--black);
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.order-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: rgba(15, 15, 16, 0.05);
  border-radius: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
}

.order-card-badge.new {
  background: rgba(231, 72, 28, 0.1);
  color: var(--primary);
}

.order-card-badge.accepted {
  background: rgba(161, 74, 117, 0.1);
  color: #a14a76;
}

.order-card-badge.active {
  background: rgba(33, 150, 243, 0.1);
  color: #3f88c5;
}

.order-card-badge.completed {
  background: #51cb201a;
  color: #51cb20;
}

.order-card-badge.canceled {
  background: #0f0f101a;
  color: var(--black);
}

.order-card-status {
  font-size: 0.875rem;
  color: var(--primary);
  margin: 0;
}

.status-label {
  display: inline-block;
  font-weight: 500;
  color: var(--primary);
}

.status-label.awaiting {
  color: var(--primary);
}

.status-label.ready {
  color: #a14a76;
}

.status-label.working {
  color: #3f88c5;
}

.order-card-date {
  font-size: 0.875rem;
  color: var(--gray);
  margin: 0;
}

.order-card-right {
  min-width: 100px;
  text-align: right;
  flex-shrink: 0;
}

.order-card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.order-card-info-name {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Order total display in modal */

#newOrderModalLabel {
  font-size: 1.75rem;
}

#budgetDisplay,
.items-header {
  font-size: 1.5rem;
}

.items-header {
  color: black;
}

.order-total-price {
  border-top: 1px solid #0f0f101a;
  padding-top: 1rem;
}

/* Info tooltip icon */

.info-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  cursor: pointer;
}

.info-tooltip-icon svg {
  width: 18px;
  height: 18px;
  color: #0d6efd;
}

/* =========================
 * Public Profile Header & Reviews
 * ========================= */

.public-profile-header {
  background: var(--white);
  padding-bottom: 2rem;
}

.profile-cover {
  height: 300px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #eee;
}

.profile-cover-empty {
  background-color: var(--bs-secondary-bg, #e9ecef);
}

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

.profile-cover-default-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(240px, 64vw);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.18;
}

.profile-header-info {
  position: relative;
}

.profile-avatar-wrapper {
  position: absolute;
  top: -75px;
  left: 0;
  border-radius: 50%;
  padding: 6px;
  background: var(--white);
  z-index: 2;
}

.profile-avatar-large {
  width: 212px;
  height: 212px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-details {
  padding-top: 1rem;
  padding-left: 300px;
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.verified-badge {
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
}

.verified-badge svg {
  fill: var(--primary);
  width: 18px;
  height: 18px;
}

.profile-username {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.profile-bio {
  font-size: 1rem;
  margin-bottom: 1rem;
  max-width: 800px;
  color: var(--black);
}

.profile-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating .stars {
  display: flex;
  color: var(--primary);
}

.rating-score {
  color: var(--gray);
  font-size: 1rem;
}

.profile-meta {
  color: var(--gray);
  font-size: 1rem;
}

.profile-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.profile-main {
  background-color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(15, 15, 16, 0.04);
}

/* Reviews */

.profile-reviews-wrapper {
  padding-top: 4rem;
  border-top: 1px solid #0f0f101a;
}

.review-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(15, 15, 16, 0.1) !important;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.splide-arrows {
  gap: 2.5rem;
}

.custom-prev,
.custom-next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 15, 16, 0.1);
  background: var(--white);
  color: var(--black);
  transition: all 0.2s ease;
}

.custom-prev {
  transform: rotate(180deg);
}

.custom-prev:hover,
.custom-next:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Focus/active states must override the global .btn-light rules (orange border),
   otherwise the arrows flicker black–orange on click */
.custom-prev:focus,
.custom-next:focus,
.custom-prev:focus-visible,
.custom-next:focus-visible,
.custom-prev:active,
.custom-next:active,
.custom-prev.btn-light:focus,
.custom-next.btn-light:focus,
.custom-prev.btn-light:active,
.custom-next.btn-light:active {
  background: var(--black) !important;
  color: var(--white) !important;
  border-color: var(--black) !important;
  box-shadow: none !important;
  outline: none;
}

.custom-prev svg,
.custom-next svg {
  width: 20px;
  height: 20px;
}

/* Star Rating Input */

.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.25rem;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: var(--black);
}

.star-rating-input input:checked ~ label svg,
.star-rating-input label:hover svg,
.star-rating-input label:hover ~ label svg {
  fill: currentColor;
}

/* Reviews Section Utilities */

.reviews-title {
  font-size: 1.5rem;
}

.review-avatar-placeholder {
  width: 40px;
  height: 40px;
}

/* =========================
 * Map Page Filters
 * ========================= */

.dropdown-toggle::after {
  display: none;
}

.text-primary {
  color: var(--primary) !important;
}

.btn.show {
  color: var(--black);
}

.btn-outline-primary.show {
  color: var(--white) !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

/* =========================
 * Notifications dropdown – LIGHT / WHITE
 * ========================= */

.header .notifications-dropdown {
  padding: 0;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15, 15, 16, 0.08);
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.15),
    0 0 0 1px rgba(15, 15, 16, 0.01);
  min-width: 340px;
  width: 500px;
  color: var(--black);
}

.header .notifications-dropdown-inner {
  padding: 0.65rem 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Head */

.header .notifications-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.25rem 0.45rem;
  border-bottom: 1px solid rgba(15, 15, 16, 0.06);
}

.header .notifications-dropdown-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header .notifications-dropdown-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
}

/* Mark all read chip */

.header .notifications-dropdown-mark-read {
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  border: 1px solid rgba(15, 15, 16, 0.08);
  background: rgba(15, 15, 16, 0.02);
  color: var(--gray);
}

.header .notifications-dropdown-mark-read:hover,
.header .notifications-dropdown-mark-read:focus,
.header .notifications-dropdown-mark-read:active {
  background: rgba(15, 15, 16, 0.06);
  /* White color on a light background made the button text look washed out */
  color: var(--black);
}

/* List */

.header .notifications-dropdown-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 0.4rem 0.15rem 0.45rem;
}

/* Notification scroll must not leak into the page (mainpage and app header);
   .vt-notif-list is the older mainpage dropdown without its own scroll */
.header .notifications-dropdown-list,
.header .vt-notif-list {
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Footer */

.header .notifications-dropdown-footer {
  padding-top: 0.45rem;
  margin-top: 0.1rem;
  border-top: 1px solid rgba(15, 15, 16, 0.06);
}

.header .notifications-dropdown-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  background: #f5f5f5;
  border: 1px solid rgba(15, 15, 16, 0.08);
  color: var(--black);
}

.header .notifications-dropdown-all-btn:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* Empty state */

.notifications-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}

.notifications-empty-icon {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

/* Mobile */

@media (max-width: 576px) {
  .header .notifications-dropdown {
    min-width: 100%;
    max-width: 100%;
    right: 0;
    left: auto;
  }

  .header .notifications-dropdown-inner {
    padding-inline: 0.75rem;
  }
}


/* =========================
 * VT Search Modal
 * ========================= */

/* Panel look & feel */
.vt-search-modal .vt-modal-content {
  background: #ffffff;
  color: #0f0f10;
  border-radius: 1.5rem;
  border: none;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.24);
}

/* Header */
.vt-search-modal .vt-modal-header {
  padding: 1rem 1.5rem 0.75rem;
  border: 0;
}

.vt-search-modal .vt-modal-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0;
}

.vt-search-modal .vt-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 15, 16, 0.06);
  opacity: 1;
}

.vt-search-modal .vt-modal-close:hover,
.vt-search-modal .vt-modal-close:focus {
  background: rgba(15, 15, 16, 0.12);
}

/* Body */
.vt-search-modal .vt-modal-body {
  padding: 0 1.5rem 1.5rem;
}

/* Form layout */
.vt-search-modal .vt-modal-form {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Select */
.vt-search-modal .vt-modal-select {
  flex: 0 0 200px;
  max-width: 220px;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  height: 48px;
  border: none;
  background-color: rgba(15, 15, 16, 0.06);
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23232323" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpolyline points="6 9 12 15 18 9"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  background-size: 16px;
  padding-right: 2.75rem;
}

.vt-search-modal .vt-modal-select:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(231, 72, 28, 0.12);
}

/* Input pill */
.vt-search-modal .vt-modal-input {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 48px;
  background: rgba(15, 15, 16, 0.06);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
}

.vt-search-modal .vt-modal-input input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 1.0625rem;
  outline: none;
}

/* Submit button */
.vt-search-modal .vt-modal-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border: none;
}

.vt-search-modal .vt-modal-submit:hover,
.vt-search-modal .vt-modal-submit:focus {
  background: #c53a12;
}

/* Meta */
.vt-search-modal .vt-modal-meta {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: rgba(15, 15, 16, 0.68);
}

/* Popular tags */
.vt-search-modal .vt-modal-recent {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 15, 16, 0.08);
}

.vt-search-modal .vt-modal-recent-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.vt-search-modal .vt-modal-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.vt-search-modal .vt-modal-tag {
  border: none;
  background: rgba(15, 15, 16, 0.08);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.vt-search-modal .vt-modal-tag:hover,
.vt-search-modal .vt-modal-tag:focus {
  background: rgba(15, 15, 16, 0.16);
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
  .vt-search-modal .modal-dialog {
    margin: 0.5rem;
  }

  .vt-search-modal .vt-modal-content {
    border-radius: 0;
    min-height: 100%;
  }

  .vt-search-modal .vt-modal-header,
  .vt-search-modal .vt-modal-body {
    padding: 1.25rem;
  }

  .vt-search-modal .vt-modal-form {
    flex-direction: column;
    align-items: stretch;
  }

  .vt-search-modal .vt-modal-input {
    flex: 1 1 auto;
  }

  .vt-search-modal .vt-modal-submit {
    width: 100%;
  }
}

/* =========================
 * Filepond grid
 * ========================= */

/*
 * FilePond grid.
 *
 * FilePond positions .filepond--item absolutely and derives the column count
 * itself as floor(listWidth / (itemWidth + itemHorizontalMargins)), so the
 * *outer* width of an item has to divide the list width exactly. Two things
 * used to break that and pushed previews outside the grey drop panel:
 * flex/padding on .filepond--list (padding shifts the absolutely positioned
 * items while the column maths still uses the full width) and a plain
 * width: 100% on the item, whose margins then made it wider than the row.
 */
.filepond--root {
  width: 100%;
  max-width: 100%;
}

.filepond--root .filepond--panel-root {
  width: 100%;
}

.filepond--root .filepond--item {
  box-sizing: border-box;
  width: calc(33.333% - 1rem);
  margin: 0.5rem;
}

@media (max-width: 992px) {
  .filepond--root .filepond--item {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 576px) {
  .filepond--root .filepond--item {
    width: calc(100% - 1rem);
  }
}


/* =========================
 * Modal custom styles, range, collapse icons
 * ========================= */

.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  margin-top: -7px;
}

.custom-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: transparent;
  border-radius: 5px;
  border: none;
}

.custom-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.custom-range:active::-webkit-slider-thumb,
.custom-range:focus::-webkit-slider-thumb {
  outline: none;
  background-color: var(--primary-dark) !important;
  box-shadow: none;
}

.custom-range::-moz-range-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: transparent;
  border-radius: 5px;
  border: none;
}

/* Collapse Icon Rotation */
.collapse-toggle-btn svg {
  transition: transform 0.3s ease;
}

.collapse-toggle-btn:not(.collapsed) svg {
  transform: rotate(180deg);
}

/* Misc */

.upload-box {
  border-style: dashed !important;
  background-color: #f8f9fa;
}

.x-small {
  font-size: 0.75rem;
}

/* Modal close button style (bootstrap) */

.modal-header .btn-close {
  background-color: #f6f6f6;
  padding: 0.75rem;
  border-radius: 50%;
}

.modal-header .btn-close:focus {
  box-shadow: none;
}

/* Notifications list */
.notifications-wrapper {
  margin-top: 1.5rem;
}

.notifications-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
}

.notifications-subtitle {
  font-size: 0.9375rem;
  color: var(--gray);
}

/* Zoznam */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Notification card – inspired by .order-card */
.notification-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 15, 16, 0.06);
  text-decoration: none;
  color: var(--black);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

/* Long texts in the notification card must wrap, not overflow the card */
.notification-card .order-card-left,
.notification-card .order-card-middle {
  min-width: 0;
}

.notification-card .order-card-name,
.notification-card .order-card-request {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.notification-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 15, 16, 0.14);
}

/* Icon on the left */
.notification-card-icon {
  flex-shrink: 0;
}

.notification-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  background: rgba(15, 15, 16, 0.04);
}

.icon-order {
  background: rgba(231, 72, 28, 0.08);
}
.icon-message {
  background: rgba(33, 150, 243, 0.08);
}
.icon-status {
  background: rgba(76, 175, 80, 0.08);
}

/* Obsah */
.notification-card-body {
  flex: 1;
  min-width: 0;
}

.notification-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.notification-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  /* A long title without spaces must wrap, not stretch the dropdown */
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.notification-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(231, 72, 28, 0.06);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.notification-card-text {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.4;
  /* Long text without spaces must wrap, not create horizontal scroll */
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Meta info dole */
.notification-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #0f0f1099;
}

.notification-meta-time {
  white-space: nowrap;
}

.notification-meta-order {
  padding-left: 0.75rem;
  border-left: 1px solid rgba(15, 15, 16, 0.12);
}

/* Unread indicator dot */
.notification-dot {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* State – unread / read */
.notification-card.is-unread {
  background: #fff7f4;
  border-color: rgba(231, 72, 28, 0.2);
}

.notification-card.is-read {
  opacity: 0.82;
}

/* Empty state */
.notifications-empty-icon {
  font-size: 2.25rem;
}

.notifications-empty h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
}

/* Mobil */
@media (max-width: 575.98px) {
  .notification-card {
    padding: 0.9rem 1rem;
  }

  .notification-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .notification-meta-order {
    border-left: none;
    padding-left: 0;
  }
}

/* Profile Notifications card – UNREAD = orange border only */
.notification-card.is-unread {
  border: 2px solid var(--primary);
  background-color: var(--white);
}

/* Read – no border, just slightly transparent */
.notification-card.is-read {
  border: 2px solid transparent;
  opacity: 0.9;
}

/* Dropdown items – border indicator on the left */
.notification-dropdown-item,
.notifications-list-dropdown .notification-card {
  border-left: 3px solid transparent;
}

.notification-dropdown-item.is-unread,
.notifications-list-dropdown .notification-card.is-unread {
  border-left-color: var(--primary);
}

/* Nadpis a podnadpis */
.signin-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.signin-subtitle {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 1.75rem;
}

.signin-link {
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
}

.signin-link:hover {
  text-decoration: underline;
}

/* Box around the form and social buttons */
.signin-wrapper {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem 2.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  text-align: left;
}

/* Alerts above the form (info / success) */
.auth-alert {
  border-radius: 999px;
  padding-inline: 1.25rem;
  font-size: 0.9rem;
}

.auth-alert i {
  font-size: 1rem;
}

.alert-primary{
    color: var(--primary);
    background-color: transparent;
    border: none;
    font-size: .875em;
    padding: 0px;
}

/* Black button (Back to homepage) */
.btn-black {
  background-color: #111827;
  color: #ffffff;
  border-radius: 999px;
  border: none;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-black:hover {
  background-color: #020617;
  color: #ffffff;
}

.open-link {
    color: var(--primary);
}


.alert-info{
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(15, 15, 16, 0.04);
}

.review-avatar-placeholder{
    border-radius: 50%;
}

.vt-agreement-note{
    color: var(--primary) !important;
}
.vt-agreement-toggle[aria-pressed="true"]{
    color: var(--white) !important;
}

.vt-agreement-toggle[aria-pressed="true"] {
    border-color: var(--primary) !important;
    background: var(--white) !important;
    color: var(--primary) !important;
}

.qty-badge {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    box-shadow: 0 0 0.25rem rgba(0,0,0,0.15);
    background: var(--primary) !important;
    color: var(--white) !important;
}

/*
 * Bootstrap sizes .modal-body as a flex child of .modal-content. Our modals wrap
 * the header/body/footer in a <form>, so the form is the flex child instead and
 * .modal-body never receives a height to scroll inside — the content just
 * overflows and gets clipped. Making the form the flex column restores it.
 */
.modal-dialog-scrollable .modal-content > form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.modal-dialog-scrollable .modal-content > form > .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-dialog-scrollable .modal-content > form > .modal-header,
.modal-dialog-scrollable .modal-content > form > .modal-footer {
  flex: 0 0 auto;
}
.previous-values-box {
    background: #fffdf7;
}
.previous-values-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.15);
    color: #b45309;
}

  .twitter-typeahead{ width:100% }
  .tt-menu{ width:100%; z-index:2000; background-color:#fff; max-height:300px; overflow-y:auto; }
  .tt-suggestion{ padding:.5rem .75rem; cursor:pointer; }
  .tt-suggestion.tt-cursor{ background:#f6f6f6; }
  #cityResults .city-item{ padding:.25rem 0; border-bottom:1px solid #eee; }

  .form-label.required::after{
    content:" *";
    color:#dc3545;
    margin-left:2px;
  }

  .city-select-wrapper .select2-container--default .select2-selection--single {
  background: #fff;
  border: 2px solid #e3e6ef;
  padding: 0.6rem 1rem;
  min-height: 48px;
  border-radius: 10px;
  transition: .2s all;
  font-size: 1rem;
}

.city-select-wrapper .select2-container--default .select2-selection--single:hover,
.city-select-wrapper .select2-container--default.select2-container--open .select2-selection--single,
.city-select-wrapper .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #5575f7;
  box-shadow: 0 0 0 3px rgba(85,117,247, .22);
}

.city-select-wrapper .select2-dropdown {
  border-radius: 10px !important;
  border: 1px solid #ddd !important;
  box-shadow: 0px 12px 28px rgba(0,0,0,.08);
  overflow: hidden;
}

.city-select-wrapper .select2-search--dropdown .select2-search__field {
  border-radius: 6px;
  padding: .55rem .75rem;
}

.select2-results__option {
  padding: .65rem .75rem;
  font-size: .95rem;
  transition: .15s;
}

.select2-results__option:hover,
.select2-results__option--highlighted {
  background-color: #eef2ff !important;
  color: #1d1d1d !important;
}

.twitter-typeahead {
  width: 100%;
}

.tt-menu {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e4e8f0;
  margin-top: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  overflow: hidden;
  max-height: 260px;
}

.tt-suggestion {
  padding: .65rem .9rem;
  cursor: pointer;
  font-size: .95rem;
  border-bottom: 1px solid #f3f3f3;
}

.tt-suggestion:last-child {
  border-bottom: none;
}

.tt-suggestion:hover,
.tt-suggestion.tt-cursor {
  background-color: #eef2ff;
  color: #111;
}

input[type="text"].form-control,
    .twitter-typeahead input {
      border: 2px solid #e3e6ef;
      border-radius: 10px;
      padding: .6rem .85rem;
      transition: .2s;
}

input[type="text"].form-control:focus,
    .twitter-typeahead input:focus {
      border-color: #5575f7;
      box-shadow: 0 0 0 3px rgba(85,117,247,.22);
      outline: none;
}


.lang-select {
  position: relative;
  display: inline-block;
}

.lang-select .lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: .25rem 0;

  max-height: 220px;
  overflow-y: auto;

  list-style: none;
  z-index: 3000;
  display: none; 
}

.lang-select.active .lang-dropdown {
  display: block;
}

.lang-select .lang-dropdown li {
  padding: .4rem .75rem;
  cursor: pointer;
  font-size: .95rem;
}

.lang-select .lang-dropdown li:hover {
  background-color: #eef2ff;
}

.form-label.required::after{
    content:" *";
    color:#dc3545;
    margin-left:2px;
}

input[type="text"].form-control,
input[type="tel"].form-control,
textarea.form-control {
    border: 2px solid #e3e6ef;
    border-radius: 10px;
    padding: .6rem .85rem;
    transition: .2s;
    font-size: 1rem;
}

input[type="text"].form-control:focus,
input[type="tel"].form-control:focus,
textarea.form-control:focus {
    border-color: #e7481c;
    box-shadow: 0 0 0 3px rgba(231, 72, 28, 0.12);
    outline: none;
}

.city-select-wrapper .select2-container {
    width: 100% !important;
    font-size: 1rem;
}

.city-select-wrapper .select2-container--default .select2-selection--single {
    background: #fff;
    border: 2px solid #e3e6ef;
    padding: 0.6rem 1rem;
    min-height: 48px;
    border-radius: 10px;
    transition: .2s all;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.city-select-wrapper .select2-container--default .select2-selection--single:hover,
.city-select-wrapper .select2-container--default.select2-container--open .select2-selection--single,
.city-select-wrapper .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #e7481c;
    box-shadow: 0 0 0 3px rgba(231, 72, 28, 0.12);
}

.city-select-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    margin: 0;
    line-height: 1.4;
    color: #212529;
}

.city-select-wrapper .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
}

.city-select-wrapper .select2-dropdown {
    z-index: 2050;
    border-radius: 10px !important;
    border: 1px solid #e4e8f0 !important;
    box-shadow: 0 10px 24px rgba(231, 72, 28, 0.12);
    overflow: hidden;
}

.city-select-wrapper .select2-search--dropdown .select2-search__field {
    border-radius: 6px;
    padding: .55rem .75rem;
    border:1px solid #ced4da;
}

.select2-results__option {
    padding: .65rem .75rem;
    font-size: .95rem;
    transition: .15s;
}

.select2-results__option:hover,
.select2-results__option--highlighted {
    background-color: #eef2ff !important;
    color: #1d1d1d !important;
}

.search-wrapper {
  position: relative;
}

.vt-typeahead {
    position: absolute;
    top: auto;
    bottom: auto;
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
    margin-bottom: 8px;
    max-height: 360px;
    overflow: auto;
}

.vt-agreement-toggle {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border:1px solid #d1d5db;
  border-radius:10px;
  padding:6px 10px;
  font-weight:600;
  cursor:pointer;
  user-select:none;
  font-size:11px;
}
.vt-agreement-toggle[aria-pressed="true"] {
  border-color:#10b981;
  background:#ecfdf5;
  color:#065f46;
}
.vt-budget--hidden {
  display:none !important;
}
.vt-agreement-note {
  font-size:13px;
  color:#065f46;
  margin-top:8px;
  display:none;
}
.vt-agreement-note.is-visible {
  display:block;
}

.btn-light{
    color: var(--black);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    border-color: var(--primary) !important;
}

.nav-user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    justify-content: end;
}

.nav-user-actions form {
    margin: 0;
}

.nav-user-actions .nav-logout,
.nav-user-actions .btn-delete-account {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-logout {
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    margin-left: auto;
    padding: 0.375rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    margin-top: 0.75rem;
    font-size: 1rem;
}


.gm-line-label {
  background: rgba(0,0,0,0.6);
  padding: 2px 6px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}

/* Info okno na mape: blokovaný user – upozornenie a tlačidlo pod sebou, na plnú šírku */
.gm-usercard__actions--stacked {
  flex-direction: column;
  gap: 8px;
}
.gm-usercard__actions--stacked .gm-blocked-info {
  font-size: 12px;
  line-height: 1.35;
}
.gm-usercard__actions--stacked .btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
