:root {
  --illova-bg: #efedf0;
  --illova-surface: #ffffff;
  --illova-text: #130f1b;
  --illova-muted: #5c5466;
  --illova-accent: #5e2f4f;
  --illova-accent-soft: #f3dbe7;
  --illova-border: #d4cad6;
  --illova-shadow: 0 14px 30px rgba(18, 12, 25, 0.09);
  --illova-shadow-soft: 0 8px 18px rgba(18, 12, 25, 0.08);
}

html {
  font-size: 16px;
  min-height: 100%;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--illova-text);
  background: radial-gradient(circle at 8% 10%, #f8eef3 0%, transparent 33%),
              radial-gradient(circle at 94% 80%, #f6ebf1 0%, transparent 32%),
              var(--illova-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.app-header {
  border-bottom: 1px solid var(--illova-border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.market-strip {
  border-top: 1px solid #e5dbe4;
  border-bottom: 1px solid #e8dfe8;
  background: rgba(255, 255, 255, 0.9);
  padding-block: 0.5rem 0.56rem;
}

.market-strip .container-xxl {
  row-gap: 0.56rem !important;
  flex-wrap: nowrap !important;
}

.market-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.28rem;
  flex: 1 1 640px;
  width: auto;
  min-width: 0;
  min-height: 48px;
  overflow: visible;
  margin-inline: 0;
  border: 1px solid #bdb0bc;
  border-radius: 999px;
  background: #fff;
  padding: 0.2rem;
}

.market-search-input {
  border-radius: 999px !important;
  min-height: 40px;
  border: 0;
  box-shadow: none !important;
  background: transparent;
  padding-left: 1rem;
  padding-right: 0.75rem;
  font-size: 1rem;
}

.market-search-submit {
  min-height: 38px;
  min-width: 82px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, #5e2f4f, #7a4466);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  position: static;
  margin-right: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 2px 8px rgba(94,47,79,0.28);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.market-search-submit:hover,
.market-search-submit:focus {
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 4px 12px rgba(94,47,79,0.38);
  color: #fff;
}

.market-search:focus-within {
  border-color: #6d4a64;
  box-shadow: 0 0 0 0.2rem rgba(112, 70, 101, 0.12);
}

.market-cats {
  flex: 0 1 auto;
  width: auto;
  max-width: none;
  margin-inline: 0;
}

.market-cats a {
  text-decoration: none;
  color: #5a5166;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.32rem 0.68rem;
  border: 1px solid #ddd2dd;
  border-radius: 999px;
  background: #fcfbfd;
  line-height: 1.2;
}

.market-cats a:hover,
.market-cats a:focus {
  color: #2f2638;
  border-color: #c9bac8;
}

.app-main {
  padding-top: 0.4rem;
}

.app-footer {
  border-top-color: var(--illova-border) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), #fff);
}

.navbar {
  backdrop-filter: blur(8px);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, #c27aa0, #8b4e72) border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(94, 47, 79, 0.18);
  flex-shrink: 0;
}

.brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: contain;
}

.brand-word {
  font-family: "Audiowide", sans-serif;
  letter-spacing: 0.06em;
  font-size: 1.22rem;
  font-weight: 400;
  background: linear-gradient(125deg, #4a1e3a 0%, #7e4068 55%, #b06090 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.nav-link {
  font-weight: 600;
  color: var(--illova-text);
  opacity: 0.82;
  position: relative;
  padding-bottom: 0.36rem;
}

.btn,
.view-all-link,
.auth-title {
  font-family: "Outfit", sans-serif;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: -0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--illova-accent), #7f496c);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  opacity: 1;
  color: var(--illova-accent);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.app-nav-actions .btn {
  min-width: 86px;
}

.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 98px !important;
}

.nav-mini-cart .dropdown-toggle::after {
  display: none;
}

.nav-cart-count {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--illova-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0 0.3rem;
}

.nav-cart-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.nav-cart-icon svg {
  width: 100%;
  height: 100%;
}

.nav-cart-menu {
  width: min(360px, calc(100vw - 1.8rem));
  border: 1px solid #dacfd9;
  border-radius: 12px;
  box-shadow: 0 20px 36px rgba(25, 17, 33, 0.16);
}

.nav-cart-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 0.7rem;
  align-items: center;
}

.nav-cart-item img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e4d7e1;
}

.nav-cart-title {
  font-size: 0.9rem;
  color: #2f2638;
  font-weight: 600;
}

.nav-cart-price {
  color: #6b6078;
  font-size: 0.82rem;
}

.app-dropdown {
  border: 1px solid var(--illova-border);
  border-radius: 14px;
  box-shadow: var(--illova-shadow);
  min-width: 220px;
}

.app-dropdown .dropdown-item {
  font-weight: 600;
}

.btn-illova {
  background: linear-gradient(120deg, var(--illova-accent), #7a4466);
  color: #fff;
  border: 1px solid rgba(94, 47, 79, 0.95);
  box-shadow: 0 10px 24px rgba(94, 47, 79, 0.24);
  font-weight: 700;
}

.btn-illova:hover,
.btn-illova:focus {
  color: #fff;
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.btn-outline-dark {
  border-color: #7f7484;
  color: #302739;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background: #2f2737;
  border-color: #2f2737;
  color: #fff;
}

.hero-shell {
  position: relative;
}

.section-title {
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title-sm {
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-logo-wrap {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(240, 217, 229, 0.6), rgba(255, 255, 255, 0.92));
  padding: 1rem;
  box-shadow: 0 20px 50px rgba(78, 49, 66, 0.1);
  animation: float-up 0.8s ease-out;
}

.hero-logo {
  border-radius: 12px;
  width: 100%;
}

.hero-cta-row .btn {
  min-width: 164px;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-chip-row a {
  text-decoration: none;
  color: #4e435b;
  border: 1px solid #dbcfda;
  background: #fff;
  border-radius: 999px;
  padding: 0.33rem 0.72rem;
  font-weight: 600;
  font-size: 0.86rem;
}

.hero-chip-row a:hover,
.hero-chip-row a:focus {
  color: #2f2638;
  border-color: #c7b6c4;
}

.hero-mosaic {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
  min-height: 320px;
}

.hero-mosaic-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dacdd9;
  box-shadow: 0 14px 26px rgba(24, 15, 31, 0.11);
  display: block;
  position: relative;
}

.hero-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f2ecf2;
}

.hero-mosaic-main {
  min-height: 320px;
}

.home-block {
  border-top: 1px solid #ddd2dc;
  padding-top: 1.55rem;
}

.home-block-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.5));
  border: 1px solid #ddd2dc;
  border-radius: 16px;
  padding: 1.35rem;
}

.hero-mosaic-caption {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.5rem 0.6rem;
  color: #2c2335;
}

.hero-mosaic-caption p {
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: #6c6179;
  text-transform: uppercase;
}

.product-card,
.category-card,
.newsletter-block,
.testimonial-card,
.filter-card,
.summary-card,
.metric-card,
.cart-item {
  background: var(--illova-surface);
  border: 1px solid var(--illova-border);
  border-radius: 14px;
  box-shadow: var(--illova-shadow);
}

.admin-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #6f657d;
}

.admin-table-wrap {
  border-radius: 16px;
}

.admin-table {
  --bs-table-bg: transparent;
}

.admin-table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6a5f77;
  border-bottom: 1px solid #ddcfdb;
  padding-top: 0.45rem;
  padding-bottom: 0.7rem;
}

.admin-table tbody td {
  border-bottom: 1px solid #ece3ea;
  color: #2f2738;
  font-weight: 500;
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8c9d5;
  background: #f7f1f6;
  color: #564b62;
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-form-card {
  border-radius: 16px;
}

.admin-form-grid .form-label {
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #61566e;
  font-weight: 700;
}

.admin-metric-card {
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(246, 238, 244, 0.94));
}

.admin-action-row .btn {
  min-width: 168px;
}

.product-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card h3 {
  color: #21182a;
  font-size: 0.98rem;
  line-height: 1.28;
}

.product-card-body {
  min-height: 195px;
}

.product-short {
  min-height: 34px;
  line-height: 1.35;
}

.product-meta {
  font-size: 0.8rem;
  color: #696175;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.product-rating-stars {
  color: #5d3452;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
}

.product-rating-count {
  color: #756c82;
  font-size: 0.76rem;
}

.product-delivery {
  font-size: 0.77rem;
  color: #4f7f64;
  font-weight: 600;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(39, 24, 35, 0.15);
}

.product-image-wrap {
  aspect-ratio: 5 / 4;
  background: #f7f2f6;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.3;
  z-index: -1;
}

.bg-orb-top {
  width: 220px;
  height: 220px;
  background: #efc2d8;
  top: 60px;
  right: 8%;
}

.bg-orb-bottom {
  width: 260px;
  height: 260px;
  background: #d9c0cf;
  bottom: 80px;
  left: 6%;
}

.about-copy-block {
  max-width: 760px;
  margin: 0 auto;
}

.about-copy-block p {
  font-size: 1.15rem;
  line-height: 1.55;
}

.about-page .about-hero {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(246, 237, 243, 0.92));
}

.about-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6a5f77;
  font-weight: 700;
}

.about-stat-card {
  border: 1px solid #dbcbd8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.72rem;
  height: 100%;
}

.about-stat-value {
  font-size: 1.22rem;
  font-weight: 800;
  color: #3f2438;
}

.about-stat-label {
  font-size: 0.82rem;
  color: #655b73;
}

.about-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.62rem;
  color: #4a4158;
}

.legal-page .legal-block h3 {
  color: #3f344d;
  font-weight: 700;
}

.legal-page .legal-block p {
  color: #544c61;
  line-height: 1.6;
}

.toast-stack {
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 1100;
  width: min(330px, calc(100vw - 2rem));
  display: grid;
  gap: 0.55rem;
}

.app-toast {
  border: 1px solid #ded3dc;
  border-left-width: 3px;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(29, 20, 38, 0.13);
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
}

.app-toast-head {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.55rem;
  flex-shrink: 0;
  margin-top: 0.38rem;
}

.app-toast .toast-body {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--illova-text);
  padding-block: 0.72rem;
}

.app-toast .btn-close {
  opacity: 0.45;
}

.app-toast .btn-close:hover,
.app-toast .btn-close:focus {
  opacity: 0.78;
}

.app-toast-success {
  border-left-color: #1d9f64;
}

.app-toast-success .app-toast-head {
  background: #1d9f64;
}

.app-toast-info {
  border-left-color: #4465d9;
}

.app-toast-info .app-toast-head {
  background: #4465d9;
}

.app-toast-error {
  border-left-color: #cf304b;
}

.app-toast-error .app-toast-head {
  background: #cf304b;
}

.alert {
  border-radius: 12px;
  border: 1px solid #ddd2dc;
  box-shadow: 0 10px 22px rgba(31, 21, 40, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(249, 243, 248, 0.95));
  color: #3c3348;
  font-weight: 500;
}

.alert-success {
  border-left: 3px solid #1d9f64;
}

.alert-warning {
  border-left: 3px solid #d08f2b;
}

.alert-danger {
  border-left: 3px solid #cf304b;
}

.view-all-link {
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 999px;
  padding-inline: 0.95rem;
}

.catalog-head {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #dfd4dd;
}

.catalog-page .row.g-4 {
  --bs-gutter-y: 1.35rem;
}

.catalog-filter {
  position: sticky;
  top: 92px;
}

.catalog-filter-active {
  border-color: #b487a2;
  box-shadow: 0 16px 28px rgba(75, 45, 64, 0.14);
}

.filter-input-active {
  border-color: #ad7898;
  background: #fff8fc;
}

.form-check-input.filter-toggle-active {
  border-color: #8a5c7a;
}

.form-check-input.filter-toggle-active:checked {
  background-color: #6b3a59;
  border-color: #6b3a59;
}

.active-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  border: 1px solid #d8c6d3;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 239, 245, 0.96));
  padding: 0.55rem 0.7rem;
}

.active-filter-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #4c3f57;
}

.active-filter-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #ccb6c6;
  border-radius: 999px;
  background: #f9f0f6;
  color: #532f47;
  font-size: 0.79rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
}

.active-filter-chip-remove {
  text-decoration: none;
}

.active-filter-chip-remove span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid #ba9fb0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  line-height: 1;
}

.active-filter-chip-remove:hover,
.active-filter-chip-remove:focus {
  color: #3f2035;
  border-color: #b792aa;
  background: #f3e3ed;
}

.active-filter-clear {
  margin-left: auto;
  text-decoration: none;
  color: #5b3450;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid #d2bfcb;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  background: #fff;
}

.active-filter-clear:hover,
.active-filter-clear:focus {
  color: #3d1f33;
  border-color: #b89eb0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #ddd1dc;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.55rem 0.7rem;
  position: sticky;
  top: 146px;
  z-index: 8;
}

.catalog-chip-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.catalog-chip-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.catalog-chip-group label {
  border: 1px solid #d8c9d4;
  border-radius: 999px;
  background: #faf6fa;
  color: #4d4259;
  padding: 0.28rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.catalog-chip-group input:checked + label {
  border-color: #895f7b;
  background: #f2e3eb;
  color: #4b1f3b;
}

.catalog-sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.catalog-sort-wrap .form-label {
  font-size: 0.84rem;
  color: #5f556f;
}

.catalog-sort-wrap .form-select {
  min-width: 180px;
}

.count-pill {
  padding: 0.3rem 0.65rem;
  border: 1px solid #d8cad5;
  border-radius: 999px;
  background: #f8f3f7;
  color: #51495d;
  font-weight: 600;
  font-size: 0.9rem;
}

.category-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(248, 241, 246, 0.92));
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(198, 135, 169, 0.2) 0%, rgba(198, 135, 169, 0) 68%);
  top: -50px;
  right: -40px;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(41, 28, 48, 0.13);
}

.category-card h3 {
  position: relative;
  margin-bottom: 1rem;
}

.category-list {
  color: #554c62;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(145deg, #6f3c5d, #a26686);
  display: inline-block;
}

.category-link {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: #4f2a43;
  text-decoration: none;
}

.category-link:hover,
.category-link:focus {
  color: #7f4f6a;
}

.cart-page {
  padding-top: 1.2rem !important;
}

.cart-empty-state {
  border: 1px dashed #caaec0;
  border-radius: 14px;
  background: linear-gradient(145deg, #faf4f8, #f5eef4);
  padding: 1.25rem;
  color: #4f445a;
}

.cart-empty-icon {
  width: 42px;
  height: 42px;
  color: #6e3d5d;
  margin-bottom: 0.65rem;
}

.cart-empty-icon svg {
  width: 100%;
  height: 100%;
}

.quantity-input {
  width: 90px;
}

.order-summary-panel {
  position: sticky;
  top: 88px;
}

.order-summary-panel dt,
.order-summary-panel dd {
  font-size: 1.02rem;
}

.btn-apply-coupon {
  min-width: 76px;
}

.order-note {
  font-size: 0.88rem;
  color: #6a6077;
}

.product-detail-page .row {
  align-items: start;
}

.detail-hero-image {
  width: 100%;
  border: 1px solid #dfd3dd;
  background: #fff;
}

.detail-description {
  color: #4f475a;
  line-height: 1.6;
}

.product-buy-row {
  margin-top: 0.75rem;
}

.detail-tags {
  color: #5b5269;
}

.checkout-page .summary-card {
  border-radius: 16px;
}

.app-footer-inner {
  padding-block: 0.2rem;
}

.app-footer-links a {
  text-decoration: none;
  color: #564d62;
  font-weight: 700;
  padding: 0.24rem 0.56rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.app-footer-links a:hover,
.app-footer-links a:focus {
  color: #2f2638;
  border-color: #d9ccd6;
  background: #f8f1f5;
}

main section.container-xxl {
  margin-bottom: 2.2rem;
}

.form-control,
.form-select,
.form-check-input,
.btn {
  border-radius: 8px;
  transition: all 0.2s ease;
}

.form-control,
.form-select {
  border-color: #d3c8d2;
}

.form-control:focus,
.form-select:focus {
  border-color: #b583a2;
  box-shadow: 0 0 0 0.2rem rgba(153, 93, 129, 0.14);
}

.auth-shell {
  padding-top: 3rem !important;
}

.auth-card {
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(26, 18, 34, 0.12);
}

.auth-title {
  letter-spacing: 0.01em;
}

.auth-card .form-label {
  font-weight: 700;
  color: #3a3344;
}

.auth-card .form-control {
  min-height: 46px;
  background: #fcfbfd;
}

.auth-submit {
  min-height: 46px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.auth-actions {
  gap: 0.75rem;
}

.auth-link-btn {
  text-decoration: none;
  color: #5f3551;
  font-weight: 700;
}

.auth-link-btn:hover,
.auth-link-btn:focus {
  color: #825771;
}

.auth-footnote {
  font-size: 0.95rem;
}

.validation-summary-errors ul {
  margin: 0;
  padding-left: 1.2rem;
}

@keyframes float-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .market-strip .container-xxl {
    flex-wrap: wrap !important;
  }

  .brand-word {
    font-size: 1.12rem;
  }

  .toast-stack {
    top: 0.8rem;
    right: 0.8rem;
    width: calc(100vw - 1.6rem);
  }

  .app-nav-actions {
    margin-top: 0.85rem !important;
  }

  .market-search {
    flex-basis: 100%;
    max-width: 100%;
    width: 100%;
  }

  .market-cats {
    max-width: 100%;
    width: 100%;
  }

  .market-cats a {
    font-size: 0.88rem;
    padding: 0.34rem 0.66rem;
  }

  .hero-mosaic {
    min-height: 280px;
  }

  .market-cats {
    width: 100%;
  }

  .catalog-filter {
    position: static;
  }

  .active-filter-clear {
    margin-left: 0;
  }

  .catalog-toolbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-sort-wrap {
    justify-content: space-between;
  }

  .order-summary-panel {
    position: static;
  }

  .auth-shell {
    padding-top: 1.8rem !important;
  }
}

@media (max-width: 575px) {
  .brand-word {
    font-size: 1rem;
  }

  .market-search {
    min-height: auto;
    padding: 0.18rem;
  }

  .market-search-input {
    min-height: 42px;
    padding-left: 0.58rem;
    padding-right: 0.5rem;
    font-size: 0.92rem;
  }

  .market-search-submit {
    min-height: 34px;
    min-width: 64px;
    padding: 0.28rem 0.64rem;
    font-size: 0.78rem;
  }

  .home-block-surface {
    padding: 1rem;
  }

  .hero-mosaic {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-mosaic-main {
    grid-row: auto;
    min-height: 220px;
  }

  .catalog-sort-wrap {
    flex-wrap: wrap;
  }

  .auth-actions {
    flex-direction: column;
    align-items: stretch !important;
  }
}

/* ── Mobile Bottom Navigation ── */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid #e2d8e1;
  display: flex;
  align-items: stretch;
  height: 62px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 18px rgba(30, 18, 38, 0.1);
}

.mob-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-decoration: none;
  color: #635874;
  font-size: 0.68rem;
  font-weight: 600;
  border: 0;
  background: transparent;
  padding: 0.3rem 0.15rem;
  cursor: pointer;
  transition: color 0.15s ease;
  line-height: 1.1;
}

.mob-nav-item:hover,
.mob-nav-item:focus,
.mob-nav-item.active {
  color: #5e2f4f;
}

.mob-nav-item svg {
  flex-shrink: 0;
}

.mob-nav-cart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mob-nav-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #5e2f4f;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.2rem;
  line-height: 1;
}

/* More drawer */

.mob-more-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1060;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 32px rgba(25, 14, 35, 0.18);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, visibility 0s linear 0.28s;
  padding-bottom: env(safe-area-inset-bottom, 12px);
  max-height: 80vh;
  overflow-y: auto;
}

.mob-more-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, visibility 0s linear 0s;
}

.mob-more-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1055;
  background: rgba(20, 10, 28, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mob-more-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mob-more-inner {
  padding: 0 1.1rem 1rem;
}

.mob-more-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 0.6rem;
  border-bottom: 1px solid #ede3eb;
  margin-bottom: 0.5rem;
}

.mob-more-title {
  font-weight: 700;
  font-size: 1rem;
  color: #2c2035;
}

.mob-more-close {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #d9ccd7;
  background: #f8f1f6;
  color: #3e3348;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mob-more-links {
  display: grid;
  gap: 0.2rem;
}

.mob-more-links a {
  display: block;
  padding: 0.7rem 0.4rem;
  text-decoration: none;
  color: #2f2538;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid #f2eaf0;
}

.mob-more-links a:hover {
  color: #5e2f4f;
}

.mob-more-logout {
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.4rem;
  border: 0;
  background: transparent;
  color: #b03050;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: block;
  border-top: 1px solid #f2eaf0;
}

/* Body padding so content doesn't sit under fixed bottom nav on mobile */
@media (max-width: 991px) {
  body {
    padding-bottom: 62px;
  }

  .app-footer {
    margin-bottom: 0;
  }

  /* General mobile spacing tweaks */
  .hero-shell {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .hero-shell h1 {
    font-size: clamp(1.55rem, 6vw, 2.4rem);
  }

  .hero-cta-row .btn {
    min-width: 140px;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .product-card-body {
    min-height: auto;
  }

  .product-short {
    min-height: auto;
  }

  .about-stat-card {
    padding: 0.6rem;
  }

  .about-stat-value {
    font-size: 1.05rem;
  }

  .admin-form-card {
    padding: 1rem !important;
  }

  .legal-page .summary-card,
  .about-page .summary-card {
    padding: 1.2rem !important;
  }

  .catalog-page .row > .col-lg-3 {
    order: 2;
  }

  .catalog-page .row > .col-lg-9 {
    order: 1;
  }

  .checkout-page .order-summary-panel {
    margin-top: 1rem;
  }
}