:root {
  --white: #fffdfb;
  --ivory: #fff8f5;
  --blush-bar: #e5aaa9;
  --blush: #dc8f99;
  --blush-deep: #d56f82;
  --rose: #b77a73;
  --charcoal: #252323;
  --muted: #6d625f;
  --line: #eadbd4;
  --danger: #a34e54;
  --font-heading: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 251, 0.24), rgba(255, 248, 245, 0.34) 42rem, rgba(255, 253, 251, 0.38)),
    url("/brand/optimized/satin-background.webp") center top / cover fixed,
    var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  line-height: 1.5;
}

#root {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.24), transparent 26rem),
    linear-gradient(90deg, rgba(255, 253, 251, 0.2), rgba(255, 253, 251, 0.44) 42%, rgba(255, 253, 251, 0.22));
  min-height: 100vh;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

.announcement {
  background: var(--blush-bar);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 0.42rem 1rem;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  background: rgba(255, 253, 251, 0.82);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-shell,
.section-shell,
.footer-grid,
.footer-bottom {
  margin: 0 auto;
  max-width: 1200px;
  width: min(100% - 48px, 1200px);
}

.nav-shell {
  align-items: center;
  display: flex;
  gap: 2.4rem;
  justify-content: space-between;
  min-height: 118px;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  flex: 0 0 122px;
  justify-content: center;
}

.site-header .brand-mark {
  flex: 0 0 182px;
}

.brand-mark img {
  border: 0;
  border-radius: 0;
  height: 122px;
  max-width: none;
  object-fit: contain;
  width: 122px;
}

.site-header .brand-mark img {
  height: 118px;
  width: 182px;
}

.brand-mark span {
  display: none;
}

.nav-links {
  align-items: center;
  display: flex;
  flex: 1;
  gap: clamp(1.55rem, 3vw, 3rem);
  justify-content: center;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.icon-button,
.cart-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--charcoal);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 34px;
}

.account-action {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 44px;
}

.cart-button span {
  align-items: center;
  background: var(--blush);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.55rem;
  font-weight: 800;
  height: 15px;
  justify-content: center;
  min-width: 15px;
  position: absolute;
  right: -6px;
  top: -5px;
}

.account-button img {
  border: 1px solid rgba(184, 122, 112, 0.28);
  border-radius: 999px;
  height: 28px;
  object-fit: cover;
  width: 28px;
}

.account-name {
  color: #8f3f47;
  display: block;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  max-width: 64px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.shop-now-button {
  align-items: center;
  background:
    linear-gradient(135deg, #f2b8bf 0%, #c66e78 48%, #9f4c56 100%);
  border: 1px solid rgba(255, 238, 221, 0.72);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(117, 51, 57, 0.18);
  color: #fff;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  letter-spacing: 0;
  overflow: hidden;
  padding: 0 1.8rem;
  position: relative;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.shop-now-button::before,
.primary-button::before,
.add-cart-button::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  content: "";
  inset: 0 auto 0 -55%;
  pointer-events: none;
  position: absolute;
  transform: skewX(-18deg);
  transition: left 360ms ease;
  width: 45%;
}

.shop-now-button:hover,
.primary-button:hover,
.add-cart-button:hover:not(:disabled) {
  box-shadow: 0 16px 30px rgba(117, 51, 57, 0.23);
  transform: translateY(-1px);
}

.shop-now-button:hover::before,
.primary-button:hover::before,
.add-cart-button:hover:not(:disabled)::before {
  left: 115%;
}

.mobile-menu-button {
  display: none;
}

.header-search-panel {
  border-top: 1px solid rgba(184, 122, 112, 0.16);
  padding: 0 1rem 1rem;
}

.header-search-field {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 0.65rem;
  margin: 0 auto;
  max-width: 560px;
  min-height: 46px;
  padding: 0 0.95rem;
}

.header-search-field svg {
  color: var(--rose);
  flex: 0 0 auto;
}

.header-search-field input {
  background: transparent;
  border: 0;
  color: var(--charcoal);
  flex: 1;
  min-width: 0;
  outline: 0;
}

.header-search-field input::placeholder {
  color: rgba(109, 98, 95, 0.72);
}

.header-search-field button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  padding: 0;
  width: 30px;
}

.hero-section {
  align-items: center;
  background:
    linear-gradient(105deg, rgba(255, 253, 251, 0.28) 0%, rgba(255, 248, 245, 0.5) 42%, rgba(245, 223, 216, 0.3) 100%),
    linear-gradient(90deg, rgba(255, 253, 251, 0.16), rgba(255, 253, 251, 0.48) 34%, rgba(255, 253, 251, 0.16) 74%);
  display: grid;
  gap: 2.4rem;
  grid-template-columns: minmax(360px, 0.72fr) minmax(680px, 1.28fr);
  min-height: 520px;
  overflow: hidden;
  padding: 0 max(80px, calc((100vw - 1200px) / 2));
}

.hero-copy {
  max-width: 430px;
  padding-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  color: var(--blush-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 500;
}

h1 {
  font-size: clamp(3.65rem, 5.4vw, 5.25rem);
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin-bottom: 1.15rem;
}

h1 span {
  color: #df8f99;
  display: block;
  font-style: italic;
}

h2 {
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 0;
}

.hero-subtitle {
  color: #2f2b2b;
  font-size: 1.03rem;
  line-height: 1.55;
  max-width: 395px;
}

.hero-actions {
  display: flex;
  gap: 1.1rem;
  margin: 1.75rem 0 1.7rem;
}

.primary-button,
.secondary-button,
.ghost-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0;
  min-height: 40px;
  min-width: 186px;
  overflow: hidden;
  padding: 0.8rem 1.25rem;
  position: relative;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.primary-button {
  background:
    linear-gradient(135deg, #f5bcc2 0%, #d3717f 45%, #a64f5b 100%);
  border: 1px solid rgba(255, 239, 222, 0.82);
  box-shadow: 0 16px 34px rgba(113, 48, 55, 0.22);
  color: #fff;
}

.secondary-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 241, 235, 0.72));
  border: 1px solid rgba(167, 84, 76, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 26px rgba(117, 51, 57, 0.12);
  color: #8f3f47;
}

.secondary-button:hover {
  border-color: rgba(143, 63, 71, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 16px 30px rgba(117, 51, 57, 0.17);
  transform: translateY(-1px);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.65rem;
}

.trust-badges span {
  align-items: center;
  color: #3e3836;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 800;
  gap: 0.45rem;
  text-transform: uppercase;
}

.trust-badges svg,
.benefit-card svg {
  color: var(--blush-deep);
}

.hero-visual {
  align-self: end;
  margin-left: auto;
  position: relative;
  width: min(54vw, 760px);
}

.hero-slider {
  aspect-ratio: 4 / 3;
  margin-left: auto;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-slider::after {
  background:
    radial-gradient(circle at 50% 50%, transparent 52%, rgba(248, 225, 221, 0.18) 78%, rgba(248, 225, 221, 0.42) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-products-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  position: absolute;
  transform: scale(1.015);
  transition: opacity 700ms ease, transform 3000ms ease;
  width: 100%;
}

.hero-products-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-dots {
  bottom: 14px;
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 5;
}

.hero-dots span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(143, 63, 71, 0.22);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(62, 34, 34, 0.18);
  height: 8px;
  transition: background 180ms ease, transform 180ms ease;
  width: 8px;
}

.hero-dots span.is-active {
  background: var(--blush-deep);
  transform: scale(1.18);
}

.benefits-strip {
  background: rgba(250, 239, 236, 0.66);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 max(80px, calc((100vw - 1200px) / 2));
}

.benefit-card {
  align-items: center;
  border-right: 1px solid rgba(184, 122, 112, 0.18);
  display: flex;
  gap: 1.15rem;
  min-height: 104px;
  padding: 1.15rem 1.35rem;
}

.benefit-card:first-child {
  border-left: 1px solid rgba(184, 122, 112, 0.18);
}

.benefit-card h3 {
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.62rem;
  margin-bottom: 0;
}

.product-section,
.reviews-section,
.about-section {
  background: rgba(255, 253, 251, 0.56);
  padding: 2.3rem 0 1.3rem;
  scroll-margin-top: 132px;
}

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

.shop-filter-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 245, 0.9));
  border: 1px solid rgba(184, 122, 112, 0.2);
  border-radius: 8px;
  margin: 0 auto 1.45rem;
  padding: clamp(0.9rem, 2vw, 1.15rem);
}

.shop-filter-header {
  align-items: end;
  border-bottom: 1px solid rgba(184, 122, 112, 0.18);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.95rem;
  padding-bottom: 0.85rem;
}

.shop-filter-header h3 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 0.95;
  margin: 0;
}

.shop-filter-header span {
  background: rgba(213, 111, 130, 0.1);
  border: 1px solid rgba(213, 111, 130, 0.18);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.38rem 0.68rem;
  white-space: nowrap;
}

.category-filter-grid {
  display: flex;
  gap: 1.35rem;
  margin: 0 -0.25rem;
  overflow-x: auto;
  padding: 0.35rem 0.25rem 0.7rem;
  scrollbar-width: none;
}

.category-filter-card {
  background: transparent;
  border: 0;
  color: var(--charcoal);
  cursor: pointer;
  display: grid;
  flex: 0 0 92px;
  gap: 0.48rem;
  justify-items: center;
  padding: 0.1rem 0 0;
  text-align: center;
  transition: color 180ms ease, transform 180ms ease;
}

.category-filter-card:hover {
  color: #8f3f47;
  transform: translateY(-4px);
}

.category-filter-grid::-webkit-scrollbar {
  display: none;
}

.category-filter-image {
  border-radius: 999px;
  box-shadow: none;
  display: block;
  height: 82px;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
  width: 82px;
}

.category-filter-card:hover .category-filter-image {
  box-shadow:
    0 16px 28px rgba(106, 64, 59, 0.13),
    0 5px 12px rgba(181, 98, 93, 0.11);
  transform: scale(1.06);
}

.category-filter-image img {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.category-filter-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  max-width: 110px;
  white-space: nowrap;
}

.category-filter-card.is-all-filter {
  align-self: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 246, 0.88));
  border: 1px solid rgba(220, 177, 171, 0.58);
  border-radius: 999px;
  box-shadow:
    0 12px 24px rgba(91, 56, 53, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  flex-basis: auto;
  padding: 0.72rem 1.05rem 0.68rem;
}

.category-filter-card.is-all-filter:hover {
  box-shadow:
    0 16px 30px rgba(91, 56, 53, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.category-filter-card.is-active {
  color: #8f3f47;
  transform: translateY(-2px);
}

.category-filter-card.is-all-filter.is-active {
  background:
    linear-gradient(135deg, #e99cab, #b95663);
  border-color: rgba(181, 98, 93, 0.52);
  color: #fff;
}

.category-filter-card.is-active .category-filter-image {
  box-shadow:
    0 20px 38px rgba(106, 64, 59, 0.2),
    0 7px 16px rgba(181, 98, 93, 0.18);
}

.category-filter-card.is-active .category-filter-label {
  color: inherit;
}

.subcategory-filter-row,
.brand-filter-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.subcategory-filter-row span,
.brand-filter-row span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  margin-right: 0.1rem;
  text-transform: uppercase;
}

.brand-filter-row {
  border-top: 1px solid rgba(184, 122, 112, 0.14);
  flex-wrap: nowrap;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  overflow-x: auto;
  padding: 0.9rem 0.25rem 0.62rem;
  scrollbar-color: rgba(181, 98, 93, 0.42) rgba(184, 122, 112, 0.1);
  scrollbar-width: thin;
}

.brand-filter-row::-webkit-scrollbar {
  height: 7px;
}

.brand-filter-row::-webkit-scrollbar-track {
  background: rgba(184, 122, 112, 0.1);
  border-radius: 999px;
}

.brand-filter-row::-webkit-scrollbar-thumb {
  background: rgba(181, 98, 93, 0.42);
  border-radius: 999px;
}

.brand-filter-row > span {
  flex: 0 0 auto;
}

.subcategory-filter-row button,
.brand-filter-row button {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(184, 122, 112, 0.22);
  border-radius: 999px;
  color: #7a3430;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0 0.78rem;
  text-transform: uppercase;
}

.brand-logo-button {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 244, 243, 0.96) 38%, rgba(255, 255, 255, 0.98) 62%, rgba(242, 226, 224, 0.9) 100%);
  border-radius: 16px;
  box-shadow:
    0 16px 30px rgba(106, 64, 59, 0.11),
    0 5px 12px rgba(181, 98, 93, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -10px 24px rgba(188, 142, 136, 0.08);
  display: grid;
  flex: 0 0 122px;
  gap: 0.18rem;
  justify-items: center;
  min-height: 66px;
  padding: 0.55rem 0.7rem;
  position: relative;
  overflow: hidden;
}

.brand-logo-button::before {
  background:
    linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, 0.86) 42%, rgba(233, 198, 199, 0.36) 52%, transparent 74%);
  content: "";
  inset: 0;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
}

.brand-logo-button > * {
  position: relative;
  z-index: 1;
}

.brand-logo-button img {
  display: block;
  filter: saturate(1.02) contrast(1.08);
  height: auto;
  image-rendering: auto;
  max-height: 30px;
  max-width: 96px;
  object-fit: contain;
  transform: translateZ(0);
  width: auto;
}

.brand-logo-button .brand-logo-text {
  color: var(--charcoal);
  display: block;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo-button small {
  color: var(--muted);
  display: block;
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subcategory-filter-row button.is-active {
  background: #2f2b29;
  border-color: #2f2b29;
  color: #fff;
}

.brand-logo-button.is-active {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(252, 239, 238, 0.96) 42%, rgba(255, 255, 255, 0.98) 68%, rgba(232, 184, 190, 0.82));
  border-color: rgba(181, 98, 93, 0.46);
  color: #8f3f47;
  box-shadow:
    0 18px 36px rgba(106, 64, 59, 0.2),
    0 6px 14px rgba(181, 98, 93, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -12px 28px rgba(181, 98, 93, 0.1);
}

.brand-logo-button.is-active .brand-logo-text,
.brand-logo-button.is-active small {
  color: #8f3f47;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.empty-products-message {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  color: var(--muted);
  margin: 0 auto;
  max-width: 560px;
  padding: 1.2rem 1.4rem;
  text-align: center;
}

.product-card,
.review-card,
.admin-card,
.admin-login-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.product-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 247, 0.94));
  border: 2px solid rgba(255, 253, 251, 0.92);
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 253, 251, 0.78),
    0 18px 38px rgba(73, 45, 43, 0.08),
    0 3px 10px rgba(184, 122, 112, 0.08);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card:hover {
  border-color: rgba(255, 253, 251, 0.96);
  box-shadow:
    inset 0 0 0 2px rgba(255, 253, 251, 0.86),
    0 26px 50px rgba(73, 45, 43, 0.13),
    0 8px 18px rgba(184, 122, 112, 0.12);
  transform: translateY(-3px);
}

.product-card.is-sold-out {
  opacity: 0.72;
}

.product-image-wrap {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(135deg, #fffaf8, #faebe7);
  border-bottom: 1px solid rgba(184, 122, 112, 0.12);
  overflow: hidden;
  position: relative;
}

.product-image-wrap::after {
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-45%);
  transition: opacity 180ms ease, transform 520ms ease;
}

.product-card:hover .product-image-wrap::after {
  opacity: 1;
  transform: translateX(45%);
}

.wishlist-button {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(184, 122, 112, 0.2);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(80, 43, 43, 0.12);
  color: #8f3f47;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 0.6rem;
  top: 0.6rem;
  width: 34px;
  z-index: 3;
}

.wishlist-button svg {
  fill: transparent;
  transition: fill 160ms ease, transform 160ms ease;
}

.wishlist-button.is-active {
  background: #fff4f5;
  border-color: rgba(213, 111, 130, 0.46);
  box-shadow: 0 12px 26px rgba(213, 111, 130, 0.18);
  color: var(--blush-deep);
}

.wishlist-button.is-active svg {
  fill: currentColor;
}

.product-badge {
  align-items: center;
  background: rgba(255, 226, 232, 0.92);
  border: 1px solid rgba(213, 111, 130, 0.22);
  border-radius: 999px;
  box-sizing: border-box;
  box-shadow: 0 10px 22px rgba(106, 64, 59, 0.1);
  color: #9a3f49;
  display: inline-grid;
  font-size: 0.58rem;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  left: 0.72rem;
  line-height: 0;
  min-width: 0;
  padding: 0 0.62rem;
  place-items: center;
  position: absolute;
  text-transform: uppercase;
  top: 0.72rem;
  transform: translateY(-1px);
  z-index: 3;
}

.product-badge.new {
  background: rgba(255, 223, 229, 0.94);
}

.product-badge.limited {
  background: rgba(255, 235, 220, 0.94);
  border-color: rgba(190, 117, 78, 0.22);
  color: #9a4e38;
}

.product-badge.exclusive {
  background: rgba(246, 226, 245, 0.94);
  border-color: rgba(143, 76, 128, 0.2);
  color: #7c3f69;
}

.product-image-wrap img {
  aspect-ratio: 1.35 / 1;
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transition: transform 320ms ease;
  width: 100%;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.025);
}

.product-image-wrap .product-brand-logo,
.stock,
.product-actions .quantity-control {
  display: none;
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.58rem;
  padding: 0.88rem 0.95rem 1rem;
}

.product-category {
  display: none;
}

.product-content h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.15;
  margin-bottom: 0.16rem;
  text-transform: uppercase;
}

.product-content p {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
  margin-bottom: 0;
}

.product-rating {
  align-items: center;
  color: #7a3430;
  display: flex;
  font-size: 0.76rem;
  gap: 0.3rem;
  line-height: 1;
  margin-top: 0.45rem;
}

.product-rating small {
  color: var(--muted);
  font-size: 0.66rem;
}

.product-meta,
.subtotal-row,
.cart-row,
.admin-table-heading,
.form-actions,
.admin-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.product-meta strong,
.subtotal-row strong {
  font-size: 0.84rem;
}

.total-row {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.total-row strong {
  color: #8f3f47;
  font-size: 1rem;
}

.discount-row strong,
.promo-message.success {
  color: #577463;
}

.promo-message {
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 800;
  margin: -0.25rem 0 0;
  padding: 0.55rem 0.7rem;
}

.promo-message.success {
  background: rgba(87, 116, 99, 0.12);
}

.promo-message.error {
  background: rgba(163, 78, 84, 0.1);
  color: var(--danger);
}

.success-modal-layer {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1.25rem;
  position: fixed;
  z-index: 120;
}

.success-modal-backdrop {
  backdrop-filter: blur(10px);
  background: rgba(41, 38, 35, 0.38);
  border: 0;
  inset: 0;
  position: absolute;
}

.success-modal {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 245, 0.96));
  border: 1px solid rgba(184, 122, 112, 0.28);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(41, 38, 35, 0.22);
  max-width: 520px;
  padding: clamp(1.55rem, 4vw, 2.2rem);
  position: relative;
  text-align: center;
  width: min(100%, 520px);
  z-index: 1;
}

.success-modal h2 {
  font-size: clamp(2rem, 4vw, 2.65rem);
  margin-bottom: 0.85rem;
}

.success-modal p:not(.section-eyebrow) {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 auto 1.4rem;
  max-width: 420px;
}

.success-modal .primary-button {
  min-width: 190px;
}

.success-instapay-panel {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

.success-instapay-panel > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.success-instapay-panel > p strong {
  color: var(--charcoal);
}

.success-instapay-note {
  background: rgba(255, 244, 246, 0.82);
  border: 1px dashed rgba(143, 63, 71, 0.24);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
}

.success-modal-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(184, 122, 112, 0.26);
  border-radius: 999px;
  color: var(--charcoal);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  width: 34px;
}

.auth-modal-layer {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1.25rem;
  position: fixed;
  z-index: 130;
}

.auth-modal-backdrop {
  backdrop-filter: blur(10px);
  background: rgba(41, 38, 35, 0.4);
  border: 0;
  inset: 0;
  position: absolute;
}

.auth-modal {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 245, 0.96));
  border: 1px solid rgba(184, 122, 112, 0.28);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(41, 38, 35, 0.24);
  max-width: 440px;
  padding: clamp(1.55rem, 4vw, 2.2rem);
  position: relative;
  width: min(100%, 440px);
  z-index: 1;
}

.auth-modal h2 {
  font-size: clamp(2rem, 4vw, 2.55rem);
  margin-bottom: 0.75rem;
}

.auth-intro {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.15rem;
}

.auth-provider-list {
  display: grid;
  gap: 0.7rem;
}

.auth-provider-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(184, 122, 112, 0.22);
  border-radius: 999px;
  color: var(--charcoal);
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.7rem;
  min-height: 46px;
  padding: 0 1rem;
  width: 100%;
}

.auth-provider-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.provider-logo-wrap {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.provider-logo {
  display: block;
  height: 18px;
  width: 18px;
}

.apple-provider-logo {
  height: 19px;
  width: 19px;
}

.account-summary {
  align-items: center;
  background: rgba(255, 248, 245, 0.7);
  border: 1px solid rgba(184, 122, 112, 0.2);
  border-radius: 8px;
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
}

.account-summary img,
.account-summary > span {
  border-radius: 999px;
  flex: 0 0 46px;
  height: 46px;
  width: 46px;
}

.account-summary img {
  object-fit: cover;
}

.account-summary > span {
  align-items: center;
  background: var(--blush);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
}

.account-summary strong,
.account-summary small {
  display: block;
}

.account-summary small {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 0.1rem;
  overflow-wrap: anywhere;
}

.customer-dashboard-layer {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1.25rem;
  position: fixed;
  z-index: 132;
}

.customer-dashboard-backdrop {
  backdrop-filter: blur(12px);
  background: rgba(41, 38, 35, 0.42);
  border: 0;
  inset: 0;
  position: absolute;
}

.customer-dashboard {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 245, 0.94));
  border: 1px solid rgba(184, 122, 112, 0.3);
  border-radius: 10px;
  box-shadow: 0 32px 86px rgba(41, 38, 35, 0.26);
  max-height: min(86vh, 840px);
  max-width: 1040px;
  overflow: auto;
  padding: clamp(1.2rem, 3vw, 2rem);
  position: relative;
  width: min(100%, 1040px);
  z-index: 1;
}

.customer-dashboard-header {
  align-items: end;
  border-bottom: 1px solid rgba(184, 122, 112, 0.18);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
}

.customer-dashboard-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.95;
  margin-bottom: 0.55rem;
}

.customer-dashboard-header p:not(.section-eyebrow) {
  color: var(--muted);
  margin-bottom: 0;
}

.customer-signout {
  gap: 0.45rem;
  min-width: 132px;
}

.customer-account-summary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.customer-account-summary article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 244, 0.78));
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(106, 64, 59, 0.08);
  display: grid;
  gap: 0.25rem;
  min-height: 116px;
  padding: 0.85rem;
}

.customer-account-summary svg {
  color: #8f3f47;
}

.customer-account-summary span,
.customer-order-meta em,
.customer-order-status-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.customer-account-summary strong {
  color: var(--charcoal);
  font-size: 1.55rem;
  line-height: 1;
}

.customer-account-summary small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.customer-dashboard-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(260px, 0.84fr) minmax(0, 1.16fr);
}

.account-tools-grid {
  border-top: 1px solid rgba(184, 122, 112, 0.18);
  margin-top: 1rem;
  padding-top: 1rem;
}

.customer-orders-panel,
.tracking-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  padding: 1rem;
}

.mini-panel-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.mini-panel-heading h3 {
  font-size: 1.45rem;
  line-height: 1;
  margin: 0;
}

.mini-panel-heading > span {
  background: rgba(213, 111, 130, 0.1);
  border: 1px solid rgba(213, 111, 130, 0.18);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.62rem;
  white-space: nowrap;
}

.customer-order-list {
  display: grid;
  gap: 0.65rem;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.customer-order-card {
  background: rgba(255, 248, 245, 0.74);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  color: var(--charcoal);
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem;
  text-align: left;
}

.customer-order-card.is-active {
  background:
    linear-gradient(180deg, rgba(255, 249, 246, 0.96), rgba(249, 231, 229, 0.86));
  border-color: rgba(181, 98, 93, 0.46);
  box-shadow: 0 16px 34px rgba(106, 64, 59, 0.14);
}

.customer-order-card span,
.customer-order-card strong {
  font-weight: 900;
}

.customer-order-card small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.customer-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.customer-order-meta em {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(184, 122, 112, 0.16);
  border-radius: 999px;
  padding: 0.2rem 0.46rem;
  text-transform: none;
}

.account-empty-state {
  background: rgba(255, 248, 245, 0.76);
  border: 1px dashed rgba(184, 122, 112, 0.24);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  margin: 0;
  padding: 1rem;
}

.reorder-button {
  gap: 0.4rem;
  min-height: 36px;
  min-width: 122px;
  padding: 0 0.9rem;
}

.tracking-current-card {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(213, 111, 130, 0.12), rgba(255, 248, 245, 0.78));
  border: 1px solid rgba(213, 111, 130, 0.2);
  border-radius: 8px;
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.95rem;
}

.tracking-current-card svg {
  color: #8f3f47;
  flex: 0 0 auto;
}

.tracking-current-card strong,
.tracking-current-card span {
  display: block;
}

.tracking-current-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.tracking-map {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
  position: relative;
}

.tracking-map::before {
  background: rgba(184, 122, 112, 0.2);
  content: "";
  height: 2px;
  left: 12%;
  position: absolute;
  right: 12%;
  top: 20px;
}

.tracking-map-step {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  position: relative;
  text-align: center;
  z-index: 1;
}

.tracking-map-step span {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(184, 122, 112, 0.28);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.tracking-map-step strong {
  font-size: 0.72rem;
  line-height: 1.15;
}

.tracking-map-step.is-complete span {
  background: #577463;
  border-color: #577463;
  color: #fff;
}

.tracking-map-step.is-current span {
  box-shadow: 0 0 0 6px rgba(87, 116, 99, 0.12);
}

.customer-order-status-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.customer-order-status-grid article {
  background: rgba(255, 248, 245, 0.72);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 0.28rem;
  padding: 0.75rem;
}

.customer-order-status-grid strong {
  color: var(--charcoal);
  font-size: 0.88rem;
  line-height: 1.25;
}

.tracking-order-summary {
  border-top: 1px solid rgba(184, 122, 112, 0.18);
  display: grid;
  gap: 0.55rem;
  padding-top: 0.85rem;
}

.tracking-order-summary h4 {
  font-size: 0.78rem;
  margin: 0;
  text-transform: uppercase;
}

.tracking-order-summary div {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.82rem;
  gap: 1rem;
  justify-content: space-between;
}

.tracking-order-summary div:last-child {
  border-top: 1px solid rgba(184, 122, 112, 0.16);
  color: var(--charcoal);
  font-weight: 900;
  padding-top: 0.55rem;
}

.customer-payment-proof-form {
  border-top: 1px solid rgba(184, 122, 112, 0.16);
  display: grid;
  gap: 0.65rem;
  padding-top: 0.85rem;
}

.customer-payment-proof-form h4 {
  font-size: 0.78rem;
  margin: 0;
  text-transform: uppercase;
}

.customer-payment-proof-form input {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 122, 112, 0.24);
  border-radius: 7px;
  color: var(--charcoal);
  font: inherit;
  min-height: 42px;
  padding: 0.7rem 0.8rem;
}

.customer-payment-proof-form .secondary-button {
  min-width: 0;
  width: 100%;
}

.customer-payment-proof-form p {
  color: #8f3f47;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0;
}

.customer-payment-proof-form small,
.customer-payment-proof-form a {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.customer-payment-proof-form a {
  color: #8f3f47;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.customer-payment-note {
  align-items: center;
  background: rgba(87, 116, 99, 0.08);
  border: 1px solid rgba(87, 116, 99, 0.16);
  border-radius: 8px;
  color: #577463;
  display: flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
}

.wishlist-mini-grid,
.saved-address-list {
  display: grid;
  gap: 0.65rem;
}

.wishlist-mini-card,
.saved-address-card {
  align-items: center;
  background: rgba(255, 248, 245, 0.72);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 56px 1fr auto;
  padding: 0.65rem;
}

.saved-address-card {
  grid-template-columns: 1fr auto;
}

.wishlist-mini-card img {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
  width: 56px;
}

.wishlist-mini-card strong,
.wishlist-mini-card span,
.saved-address-card strong,
.saved-address-card span {
  display: block;
}

.wishlist-mini-card span,
.saved-address-card span {
  color: var(--muted);
  font-size: 0.76rem;
}

.wishlist-mini-card button,
.saved-address-card button {
  background: transparent;
  border: 0;
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 900;
}

.address-book-form {
  border-top: 1px solid rgba(184, 122, 112, 0.16);
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
}

.address-book-form .secondary-button {
  min-width: 0;
  width: 100%;
}

.customer-support-panel {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 248, 245, 0.88), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 10px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 1rem;
}

.customer-support-panel h3 {
  font-size: 1.3rem;
  line-height: 1;
  margin: 0 0 0.35rem;
}

.customer-support-panel p {
  color: var(--muted);
  font-size: 0.84rem;
  margin: 0;
  max-width: 580px;
}

.customer-support-panel a {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(143, 63, 71, 0.24);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 0.9rem;
  text-decoration: none;
}

.product-modal-layer {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1.25rem;
  position: fixed;
  z-index: 125;
}

.product-modal-backdrop {
  backdrop-filter: blur(12px);
  background: rgba(41, 38, 35, 0.42);
  border: 0;
  inset: 0;
  position: absolute;
}

.product-modal {
  background: rgba(255, 253, 251, 0.98);
  border: 1px solid rgba(184, 122, 112, 0.32);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(41, 38, 35, 0.24);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  height: min(86vh, 820px);
  max-height: 86vh;
  max-width: 980px;
  overflow: hidden;
  position: relative;
  width: min(70vw, 980px);
  z-index: 1;
}

.product-modal-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 122, 112, 0.28);
  border-radius: 999px;
  color: var(--charcoal);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  width: 36px;
  z-index: 2;
}

.product-modal-media {
  background: #f6e5df;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.product-modal-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-gallery-arrow {
  align-items: center;
  background: rgba(255, 253, 251, 0.86);
  border: 1px solid rgba(184, 122, 112, 0.28);
  border-radius: 999px;
  color: var(--charcoal);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
}

.product-gallery-arrow.previous {
  left: 0.9rem;
}

.product-gallery-arrow.next {
  right: 0.9rem;
}

.product-gallery-dots {
  bottom: 0.9rem;
  display: flex;
  gap: 0.4rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.product-gallery-dots button {
  background: rgba(255, 253, 251, 0.72);
  border: 1px solid rgba(143, 63, 71, 0.38);
  border-radius: 999px;
  height: 8px;
  padding: 0;
  width: 8px;
}

.product-gallery-dots button.is-active {
  background: #8f3f47;
}

.product-modal-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  scrollbar-gutter: stable;
}

.product-modal-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.product-modal-description {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.35rem;
}

.product-modal-meta {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding: 0.9rem 0;
}

.product-modal-meta strong {
  color: #8f3f47;
  font-size: 1.15rem;
}

.product-modal-meta span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-modal-long-description {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.product-modal-long-description p {
  margin-bottom: 0.8rem;
}

.product-modal-long-description p:last-child {
  margin-bottom: 0;
}

.product-modal-reviews {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  padding: 1rem 0;
}

.product-modal-review-head {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.product-modal-review-head h3 {
  font-size: 1.15rem;
  line-height: 1.1;
}

.product-modal-review-head span,
.muted-note {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-modal-review-list {
  display: grid;
  gap: 0.65rem;
}

.product-modal-review-list article {
  background: rgba(255, 250, 248, 0.82);
  border: 1px solid rgba(214, 170, 165, 0.42);
  border-radius: 14px;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
}

.product-modal-review-list p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.product-modal-review-list strong {
  color: var(--charcoal);
  font-size: 0.78rem;
}

.product-review-form {
  display: grid;
  gap: 0.65rem;
}

.review-form-row {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-review-form label {
  color: var(--charcoal);
  display: grid;
  font-size: 0.76rem;
  font-weight: 900;
  gap: 0.32rem;
}

.product-review-form input,
.product-review-form select,
.product-review-form textarea {
  background: rgba(255, 253, 251, 0.9);
  border: 1px solid rgba(184, 122, 112, 0.3);
  border-radius: 12px;
  color: var(--charcoal);
  font: inherit;
  min-height: 42px;
  padding: 0.75rem 0.85rem;
}

.product-review-form textarea {
  min-height: 92px;
  resize: vertical;
}

.product-modal-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.product-modal-actions .quantity-control {
  border: 1px solid rgba(184, 122, 112, 0.26);
  border-radius: 999px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  min-height: 42px;
  overflow: hidden;
}

.product-modal-actions .quantity-control button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--charcoal);
  display: inline-flex;
  justify-content: center;
}

.product-modal-actions .quantity-control span {
  align-items: center;
  color: var(--charcoal);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
}

.product-actions {
  align-items: center;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(0, 1fr) 46px;
  margin-top: auto;
}

.add-cart-button {
  align-items: center;
  background:
    linear-gradient(135deg, #f3b5bd 0%, #cd6d79 48%, #a14d58 100%);
  border: 1px solid rgba(255, 238, 221, 0.76);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 12px 22px rgba(113, 48, 55, 0.18);
  color: #fff;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0;
  min-height: 34px;
  overflow: hidden;
  padding: 0 0.9rem;
  position: relative;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  width: 100%;
}

.share-product-button {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 244, 0.9));
  border: 1px solid rgba(184, 122, 112, 0.28);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 10px 20px rgba(73, 45, 43, 0.08);
  color: #9a3f49;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 46px;
}

.product-share-wrap {
  position: relative;
}

.product-share-menu {
  background: rgba(255, 253, 251, 0.98);
  border: 1px solid rgba(184, 122, 112, 0.22);
  border-radius: 10px;
  bottom: calc(100% + 0.5rem);
  box-shadow: 0 18px 44px rgba(41, 38, 35, 0.18);
  display: grid;
  gap: 0.15rem;
  min-width: 154px;
  padding: 0.45rem;
  position: absolute;
  right: 0;
  z-index: 12;
}

.product-share-menu button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--charcoal);
  display: flex;
  font-size: 0.74rem;
  font-weight: 800;
  gap: 0.45rem;
  padding: 0.5rem 0.55rem;
  text-align: left;
  white-space: nowrap;
}

.product-share-menu button:hover {
  background: rgba(213, 111, 130, 0.09);
  color: #8f3f47;
}

.add-cart-button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.55;
}

.sold-text,
.form-error {
  color: var(--danger);
}

.about-section {
  background:
    linear-gradient(rgba(255, 253, 251, 0.82), rgba(255, 253, 251, 0.86)),
    url("/brand/optimized/merida-logo-clean.webp") center / 300px no-repeat;
}

.about-layout {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.9fr 1fr;
}

.about-section p,
.review-card p,
.site-footer p,
.admin-header p {
  color: var(--muted);
}

.about-layout p:last-child {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.reviews-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, 1fr);
}

.review-card,
.admin-card,
.admin-login-card {
  padding: 1.4rem;
}

.stars {
  color: var(--rose);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.site-footer {
  background: #292623;
  color: #fff;
  padding: 4rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
}

.footer-brand img,
.site-footer .brand-mark img {
  height: auto;
  object-fit: contain;
  width: 220px;
}

.site-footer h3 {
  margin-bottom: 0.9rem;
}

.site-footer a {
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  margin-top: 2.6rem;
  padding-top: 1.2rem;
}

.cart-layer {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 100;
}

.cart-layer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-backdrop {
  background: rgba(41, 38, 35, 0.34);
  border: 0;
  inset: 0;
  position: absolute;
}

.cart-drawer {
  background: var(--white);
  box-shadow: -24px 0 60px rgba(41, 38, 35, 0.16);
  height: 100%;
  max-width: 480px;
  overflow-y: auto;
  padding: 1.4rem;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 220ms ease;
  width: min(100%, 480px);
}

.cart-layer.is-open .cart-drawer {
  transform: translateX(0);
}

.drawer-header,
.admin-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.drawer-header h2 {
  font-size: 2.7rem;
}

.cart-items {
  display: grid;
  gap: 1rem;
}

.cart-item {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 96px 1fr;
}

.cart-item img {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 96px;
  object-fit: cover;
  width: 96px;
}

.quantity-control {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  min-height: 38px;
  overflow: hidden;
}

.quantity-control button {
  align-items: center;
  background: #fff;
  border: 0;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 34px;
}

.remove-button,
.table-actions button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--danger);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.25rem;
}

.empty-cart {
  background: var(--ivory);
  border: 1px dashed var(--line);
  border-radius: 4px;
  padding: 1rem;
}

.checkout-form {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
}

label {
  display: grid;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.4rem;
}

input,
textarea,
select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--charcoal);
  outline: 0;
  padding: 0.85rem 0.9rem;
  width: 100%;
}

.checkout-button {
  width: 100%;
}

.checkout-form .checkout-button + .checkout-button {
  margin-top: 0.25rem;
}

.payment-method-fieldset {
  border: 1px solid rgba(214, 170, 165, 0.72);
  border-radius: 10px;
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0.9rem;
}

.payment-method-fieldset legend {
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0 0.35rem;
}

.payment-method-grid {
  display: grid;
  gap: 0.65rem;
}

.payment-method-option {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(214, 170, 165, 0.58);
  border-radius: 9px;
  cursor: pointer;
  display: grid;
  gap: 0.25rem;
  grid-template-columns: auto 1fr;
  padding: 0.75rem 0.8rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.payment-method-option:hover,
.payment-method-option.is-selected {
  border-color: rgba(143, 63, 71, 0.45);
  box-shadow: 0 14px 30px rgba(143, 63, 71, 0.12);
  transform: translateY(-1px);
}

.payment-method-option input {
  accent-color: #b95663;
  margin-top: 0.18rem;
  width: auto;
}

.payment-method-option span {
  color: var(--charcoal);
  font-weight: 900;
}

.payment-method-option small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  grid-column: 2;
  line-height: 1.45;
}

.payment-method-note {
  background: rgba(255, 244, 246, 0.82);
  border: 1px dashed rgba(143, 63, 71, 0.25);
  border-radius: 8px;
  color: #8f3f47;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  padding: 0.75rem 0.85rem;
}

.instapay-checkout-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 245, 0.82));
  border: 1px solid rgba(184, 122, 112, 0.2);
  border-radius: 10px;
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
}

.instapay-checkout-card > p:first-child {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.5;
  margin: 0;
}

.instapay-checkout-card > p:first-child strong {
  color: var(--charcoal);
}

.instapay-detail-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.instapay-detail-grid div {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(184, 122, 112, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.62rem 0.7rem;
}

.instapay-detail-grid span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.instapay-detail-grid strong {
  color: var(--charcoal);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.instapay-detail-grid button,
.instapay-open-button {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(143, 63, 71, 0.24);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 900;
  gap: 0.32rem;
  justify-content: center;
  min-height: 38px;
  padding: 0 0.72rem;
  text-decoration: none;
  text-transform: uppercase;
}

.instapay-detail-grid button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.instapay-open-button {
  min-height: 42px;
  width: 100%;
}

.admin-login-page,
.admin-page {
  background: var(--ivory);
  min-height: 100vh;
}

.admin-login-page {
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.admin-login-card {
  display: grid;
  gap: 1rem;
  max-width: 430px;
  text-align: center;
  width: 100%;
}

.admin-login-card img {
  height: 96px;
  justify-self: center;
  object-fit: contain;
  width: 96px;
}

.admin-page {
  padding: clamp(1.2rem, 3vw, 2.5rem);
}

.admin-header {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 241, 0.9));
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto 1rem;
  max-width: 1360px;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.admin-header h1 {
  line-height: 0.95;
  margin-bottom: 0.55rem;
}

.admin-header p:not(.section-eyebrow) {
  max-width: 650px;
}

.sync-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  margin: 0.65rem 0 0;
  padding: 0.4rem 0.72rem;
}

.sync-status.idle,
.sync-status.saving {
  background: rgba(213, 111, 130, 0.1);
  color: #8f3f47;
}

.sync-status.saved {
  background: rgba(87, 116, 99, 0.12);
  color: #577463;
}

.sync-status.error {
  background: rgba(163, 78, 84, 0.1);
  color: var(--danger);
}

.admin-layout {
  align-items: start;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(320px, 420px) 1fr;
  margin: 0 auto;
  max-width: 1360px;
}

.admin-dashboard-summary,
.admin-workspace {
  margin: 0 auto 1.4rem;
  max-width: 1360px;
}

.admin-role-pill {
  background: rgba(255, 244, 246, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  margin-top: 0.8rem;
  padding: 0.42rem 0.75rem;
  text-transform: uppercase;
}

.admin-dashboard-summary {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-dashboard-summary article {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 0.22rem;
  min-height: 112px;
  padding: 1rem;
}

.admin-dashboard-summary span,
.admin-dashboard-summary small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-dashboard-summary span {
  text-transform: uppercase;
}

.admin-dashboard-summary strong {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.admin-workspace {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.admin-workspace h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.95;
  margin: 0;
}

.admin-section {
  margin: 1.4rem auto 0;
  max-width: 1360px;
}

.admin-workspace-note {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0.45rem 0 0;
}

.category-admin-grid {
  display: grid;
  gap: 1.2rem;
}

.category-admin-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.category-admin-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 249, 247, 0.98), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 76px 1fr;
  padding: 0.85rem;
}

.category-admin-card img {
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(111, 74, 67, 0.13);
  height: 76px;
  object-fit: cover;
  width: 76px;
}

.category-admin-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}

.category-admin-card p {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0 0 0.55rem;
}

.category-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
}

.category-chip-row span {
  background: rgba(255, 244, 246, 0.92);
  border: 1px solid rgba(213, 111, 130, 0.16);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.28rem 0.48rem;
}

.category-chip-row strong {
  color: var(--charcoal);
  margin-left: 0.16rem;
}

.admin-crm-shell {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: 220px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1360px;
}

.admin-sidebar {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 0.32rem;
  padding: 0.7rem;
  position: sticky;
  top: 1rem;
}

.admin-sidebar button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.68rem 0.72rem;
  text-align: left;
}

.admin-sidebar button.is-active {
  background: linear-gradient(135deg, #e99cab, #b95663);
  color: #fff;
  box-shadow: 0 12px 24px rgba(181, 98, 93, 0.16);
}

.admin-section-content {
  min-width: 0;
}

.admin-coming-soon {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  padding: 1.2rem;
}

.crm-module {
  display: grid;
  gap: 1rem;
}

.crm-module-heading {
  align-items: end;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.2rem;
}

.crm-module-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  margin: 0 0 0.55rem;
}

.crm-module-heading p:not(.section-eyebrow) {
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

.crm-analytics-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.crm-analytics-grid article,
.crm-table-card,
.crm-profile-panel,
.crm-roadmap-note {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(73, 45, 43, 0.06);
}

.crm-analytics-grid article {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem;
}

.crm-analytics-grid span,
.crm-toolbar,
.crm-detail-list dt,
.crm-mini-table small,
.crm-note-list small,
.crm-timeline small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-analytics-grid strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
}

.crm-opportunity-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 246, 0.88)),
    var(--card);
  border: 1px solid rgba(184, 122, 112, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(143, 63, 71, 0.08);
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.crm-opportunity-heading {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.crm-opportunity-heading h3 {
  font-size: 1.7rem;
  line-height: 0.95;
  margin: 0.15rem 0 0.25rem;
}

.crm-opportunity-heading p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
  max-width: 760px;
}

.crm-opportunity-heading .secondary-button {
  flex: 0 0 auto;
  min-height: 40px;
  white-space: nowrap;
}

.crm-opportunity-metrics {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.crm-opportunity-metrics article {
  background: rgba(255, 253, 251, 0.82);
  border: 1px solid rgba(214, 170, 165, 0.45);
  border-radius: 14px;
  display: grid;
  gap: 0.22rem;
  padding: 0.85rem;
}

.crm-opportunity-metrics span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-opportunity-metrics strong {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
}

.crm-opportunity-list {
  display: grid;
  gap: 0.65rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.crm-opportunity-list > article {
  align-items: center;
  background: rgba(255, 248, 245, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.85rem;
}

.crm-opportunity-list h4 {
  font-size: 1.08rem;
  line-height: 1.05;
  margin: 0.35rem 0 0.2rem;
}

.crm-opportunity-list p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}

.crm-opportunity-list small {
  color: #8f3f47;
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  margin-top: 0.32rem;
  text-transform: uppercase;
}

.crm-opportunity-priority {
  background: rgba(255, 244, 245, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.3rem 0.55rem;
  text-transform: uppercase;
}

.crm-opportunity-priority.high {
  background: rgba(181, 98, 93, 0.12);
}

.crm-opportunity-priority.medium {
  background: rgba(233, 156, 171, 0.16);
}

.crm-opportunity-priority.low {
  background: rgba(87, 116, 99, 0.12);
  border-color: rgba(87, 116, 99, 0.22);
  color: #3f654d;
}

.crm-opportunity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.crm-opportunity-actions a,
.crm-opportunity-actions button {
  background: rgba(255, 244, 245, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0.58rem 0.75rem;
  text-transform: uppercase;
}

.crm-opportunity-actions button:first-child {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border-color: transparent;
  color: #fff;
}

.crm-toolbar {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) 220px 220px auto;
  text-transform: none;
}

.crm-toolbar input,
.crm-toolbar select {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 42px;
  padding: 0 0.8rem;
}

.crm-toolbar .secondary-button {
  min-height: 42px;
  white-space: nowrap;
}

.crm-advanced-filters {
  background: rgba(255, 248, 245, 0.72);
  border: 1px solid rgba(214, 170, 165, 0.42);
  border-radius: 12px;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  margin-top: -0.2rem;
  padding: 0.75rem;
}

.crm-advanced-filters label {
  color: var(--muted);
  display: grid;
  font-size: 0.62rem;
  font-weight: 900;
  gap: 0.3rem;
  text-transform: uppercase;
}

.crm-advanced-filters input,
.crm-advanced-filters select {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 38px;
  padding: 0 0.65rem;
}

.crm-advanced-filters button {
  align-self: end;
  background: #fffdfb;
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 900;
  min-height: 38px;
  padding: 0 0.85rem;
  text-transform: uppercase;
}

.crm-advanced-filters .crm-filter-toggle {
  align-items: center;
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0 0.65rem;
}

.crm-advanced-filters .crm-filter-toggle input {
  min-height: auto;
  padding: 0;
}

.crm-segment-studio {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 246, 0.88)),
    var(--card);
  border: 1px solid rgba(184, 122, 112, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(143, 63, 71, 0.08);
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.crm-segment-studio-head {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.crm-segment-studio-head h3 {
  font-size: 1.65rem;
  line-height: 0.95;
  margin: 0.15rem 0 0.25rem;
}

.crm-segment-studio-head p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
  max-width: 760px;
  text-transform: none;
}

.crm-segment-studio-head > span {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.38rem 0.65rem;
  text-transform: uppercase;
}

.crm-segment-studio-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
}

.crm-segment-save-form {
  background: rgba(255, 253, 251, 0.82);
  border: 1px solid rgba(214, 170, 165, 0.45);
  border-radius: 14px;
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
}

.crm-segment-save-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.68rem;
  font-weight: 900;
  gap: 0.35rem;
  text-transform: uppercase;
}

.crm-segment-save-form input {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  min-height: 40px;
  padding: 0.62rem 0.72rem;
  text-transform: none;
}

.crm-segment-save-form button,
.crm-segment-actions button {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(181, 98, 93, 0.16);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 38px;
  padding: 0 0.85rem;
  text-transform: uppercase;
}

.crm-segment-save-form small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crm-saved-segment-list {
  display: grid;
  gap: 0.65rem;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.crm-saved-segment-list article {
  align-items: center;
  background: rgba(255, 248, 245, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.85rem;
}

.crm-saved-segment-list article.is-active {
  background: #fff1f3;
  border-color: rgba(181, 98, 93, 0.4);
  box-shadow: inset 4px 0 0 #b5625d;
}

.crm-saved-segment-list strong {
  font-family: var(--serif);
  font-size: 1.08rem;
}

.crm-saved-segment-list small {
  color: var(--muted);
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.crm-saved-segment-list p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0.35rem 0 0;
}

.crm-segment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.crm-segment-actions button {
  background: rgba(255, 244, 245, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.25);
  box-shadow: none;
  color: #8f3f47;
}

.crm-segment-actions button:first-child {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border-color: transparent;
  color: #fff;
}

.crm-workbench {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.55fr);
}

.crm-table-scroll {
  overflow-x: auto;
}

.crm-pagination {
  align-items: center;
  border-bottom: 1px solid rgba(184, 122, 112, 0.14);
  color: var(--muted);
  display: flex;
  font-size: 0.68rem;
  font-weight: 900;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0.9rem 0.75rem;
  text-transform: uppercase;
}

.crm-pagination div {
  display: inline-flex;
  gap: 0.45rem;
}

.crm-pagination button {
  background: rgba(255, 244, 245, 0.9);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.45rem 0.72rem;
  text-transform: uppercase;
}

.crm-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.crm-customer-table {
  border-collapse: collapse;
  min-width: 1040px;
  width: 100%;
}

.crm-customer-table th,
.crm-customer-table td {
  border-bottom: 1px solid rgba(184, 122, 112, 0.14);
  padding: 0.82rem;
  text-align: left;
  vertical-align: middle;
}

.crm-customer-table th {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-customer-table tr.is-selected {
  background: rgba(255, 244, 245, 0.78);
}

.crm-customer-table td strong,
.crm-customer-table td small {
  display: block;
}

.crm-customer-table td small {
  color: var(--muted);
  font-size: 0.68rem;
}

.crm-customer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.4rem;
}

.crm-customer-badges b {
  background: rgba(255, 226, 232, 0.82);
  border: 1px solid rgba(181, 98, 93, 0.2);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.25rem 0.42rem;
  text-transform: uppercase;
}

.crm-customer-table td button,
.crm-customer-table td a,
.crm-profile-actions a,
.crm-profile-actions button,
.crm-note-form button {
  background: rgba(255, 244, 245, 0.9);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 900;
  margin: 0.12rem;
  padding: 0.42rem 0.62rem;
  text-transform: uppercase;
}

.crm-tier-badge {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}

.crm-tier-badge.vip {
  background: #2f2b29;
  border-color: #2f2b29;
  color: #fff;
}

.crm-tier-badge.gold {
  background: rgba(207, 162, 82, 0.16);
  border-color: rgba(207, 162, 82, 0.34);
  color: #8a5d16;
}

.crm-tier-badge.silver {
  background: rgba(148, 151, 157, 0.14);
  border-color: rgba(148, 151, 157, 0.28);
  color: #555961;
}

.crm-profile-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  position: sticky;
  top: 1rem;
}

.crm-profile-header {
  align-items: start;
  display: flex;
  justify-content: space-between;
}

.crm-profile-header h3 {
  font-size: 2rem;
  line-height: 0.95;
  margin: 0 0 0.55rem;
}

.crm-profile-header button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 32px;
  width: 32px;
}

.crm-profile-actions,
.crm-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.crm-profile-stats article {
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  flex: 1 1 135px;
  gap: 0.15rem;
  padding: 0.75rem;
}

.crm-profile-stats span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-tabs-grid {
  display: grid;
  gap: 0.85rem;
}

.crm-profile-section-nav {
  background: rgba(255, 248, 245, 0.86);
  border: 1px solid rgba(214, 170, 165, 0.48);
  border-radius: 14px;
  display: flex;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
  overflow-x: auto;
  padding: 0.45rem;
}

.crm-profile-section-nav button {
  background: #fffdfb;
  border: 1px solid rgba(181, 98, 93, 0.18);
  border-radius: 999px;
  color: #8f3f47;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 900;
  min-height: 32px;
  padding: 0 0.72rem;
  text-transform: uppercase;
}

.crm-tabs-grid section {
  border-top: 1px solid rgba(184, 122, 112, 0.14);
  padding-top: 0.85rem;
  scroll-margin-top: 1rem;
}

.crm-tabs-grid h4 {
  font-size: 0.84rem;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.crm-detail-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.crm-detail-list div,
.crm-mini-table article,
.crm-note-list article,
.crm-timeline article {
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem;
}

.crm-detail-list dd {
  margin: 0.1rem 0 0;
}

.crm-insight-list {
  display: grid;
  gap: 0.55rem;
}

.crm-next-action-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.crm-next-action-list article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 244, 246, 0.88)),
    var(--card);
  border: 1px solid rgba(181, 98, 93, 0.18);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(143, 63, 71, 0.08);
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
}

.crm-next-action-list strong {
  color: var(--charcoal);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1;
  margin: 0.35rem 0 0.18rem;
}

.crm-next-action-list p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

.crm-action-priority {
  background: rgba(255, 244, 245, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.3rem 0.55rem;
  text-transform: uppercase;
}

.crm-action-priority.high {
  background: rgba(181, 98, 93, 0.14);
}

.crm-action-priority.medium {
  background: rgba(233, 156, 171, 0.16);
}

.crm-next-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.crm-next-action-buttons a,
.crm-next-action-buttons button {
  background: rgba(255, 244, 245, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.66rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0.52rem 0.68rem;
  text-transform: uppercase;
}

.crm-insight-list article {
  background: linear-gradient(135deg, rgba(255, 244, 246, 0.92), rgba(255, 253, 251, 0.86));
  border: 1px solid rgba(214, 170, 165, 0.48);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(143, 63, 71, 0.08);
  display: grid;
  gap: 0.28rem;
  padding: 0.78rem;
}

.crm-insight-list strong {
  color: #8f3f47;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.crm-insight-list p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.crm-edit-form {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crm-edit-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.66rem;
  font-weight: 900;
  gap: 0.32rem;
  text-transform: uppercase;
}

.crm-edit-form input,
.crm-edit-form select,
.crm-edit-form textarea {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 38px;
  padding: 0.55rem 0.65rem;
  text-transform: none;
}

.crm-edit-form textarea {
  min-height: 78px;
  resize: vertical;
}

.crm-edit-form button {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(181, 98, 93, 0.18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 42px;
  padding: 0 1rem;
  text-transform: uppercase;
}

.crm-edit-form button,
.crm-wide-field {
  grid-column: 1 / -1;
}

.crm-checkbox-field {
  align-items: center;
  display: flex !important;
  flex-direction: row;
  gap: 0.5rem !important;
}

.crm-checkbox-field input {
  min-height: auto;
  width: auto;
}

.crm-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.crm-tag-list span {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}

.crm-coupon-form {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.crm-coupon-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.66rem;
  font-weight: 900;
  gap: 0.32rem;
  text-transform: uppercase;
}

.crm-coupon-form input {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 38px;
  padding: 0.55rem 0.65rem;
  text-transform: none;
}

.crm-coupon-form button {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(181, 98, 93, 0.18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  grid-column: 1 / -1;
  min-height: 42px;
  padding: 0 1rem;
  text-transform: uppercase;
}

.crm-support-form {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crm-support-form label,
.crm-support-case-controls label {
  color: var(--muted);
  display: grid;
  font-size: 0.66rem;
  font-weight: 900;
  gap: 0.32rem;
  text-transform: uppercase;
}

.crm-support-form input,
.crm-support-form select,
.crm-support-form textarea,
.crm-support-case-controls select,
.crm-support-case-controls textarea {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 38px;
  padding: 0.55rem 0.65rem;
  text-transform: none;
}

.crm-support-form textarea,
.crm-support-case-controls textarea {
  min-height: 76px;
  resize: vertical;
}

.crm-support-form button {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(181, 98, 93, 0.18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  grid-column: 1 / -1;
  min-height: 42px;
  padding: 0 1rem;
  text-transform: uppercase;
}

.crm-support-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.crm-support-list > article {
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
}

.crm-support-list p {
  color: var(--muted);
  margin: 0;
}

.crm-support-case-head {
  align-items: start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.crm-support-case-head strong {
  font-family: var(--serif);
  font-size: 1.02rem;
}

.crm-support-case-head small {
  color: var(--muted);
  display: block;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.support-status {
  background: rgba(255, 244, 245, 0.95);
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}

.support-status.resolved,
.support-status.closed {
  background: rgba(87, 116, 99, 0.12);
  border-color: rgba(87, 116, 99, 0.22);
  color: #3f654d;
}

.support-status.urgent,
.support-status.open {
  background: rgba(181, 98, 93, 0.12);
  color: #8f3f47;
}

.crm-support-case-controls {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crm-loyalty-summary {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.75rem;
}

.crm-loyalty-summary article {
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
}

.crm-loyalty-summary span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-loyalty-summary strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
}

.crm-loyalty-form {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crm-loyalty-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.66rem;
  font-weight: 900;
  gap: 0.32rem;
  text-transform: uppercase;
}

.crm-loyalty-form input,
.crm-loyalty-form select {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 38px;
  padding: 0.55rem 0.65rem;
  text-transform: none;
}

.crm-loyalty-form button {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(181, 98, 93, 0.18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  grid-column: 1 / -1;
  min-height: 42px;
  padding: 0 1rem;
  text-transform: uppercase;
}

.crm-abandoned-cart {
  display: grid;
  gap: 0.75rem;
}

.crm-abandoned-cart-summary {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.crm-abandoned-cart-summary article {
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
}

.crm-abandoned-cart-summary span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-abandoned-cart-summary strong {
  font-family: var(--serif);
  font-size: 1rem;
}

.crm-mini-table,
.crm-note-list,
.crm-timeline {
  display: grid;
  gap: 0.5rem;
}

.crm-wishlist-grid {
  display: grid;
  gap: 0.5rem;
}

.crm-wishlist-grid article {
  align-items: center;
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 48px 1fr;
  padding: 0.5rem;
}

.crm-wishlist-grid img,
.crm-wishlist-placeholder {
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  width: 48px;
}

.crm-wishlist-placeholder {
  background: linear-gradient(135deg, rgba(233, 151, 161, 0.24), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(214, 170, 165, 0.48);
}

.crm-empty-note {
  background: #fff8f5;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  margin: 0;
  padding: 0.75rem;
}

.crm-note-form {
  display: grid;
  gap: 0.5rem;
}

.crm-note-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 86px;
  padding: 0.7rem;
  resize: vertical;
}

.crm-note-form button {
  justify-self: start;
}

.crm-note-status {
  color: #8f3f47;
  font-size: 0.72rem;
  font-weight: 800;
}

.crm-roadmap-note {
  color: var(--muted);
  padding: 0.85rem 1rem;
}

.marketing-crm {
  display: grid;
  gap: 1rem;
}

.marketing-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
}

.marketing-grid.lower {
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
}

.marketing-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(73, 45, 43, 0.06);
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.marketing-card-heading {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.marketing-card-heading h3 {
  font-size: 1.55rem;
  line-height: 0.95;
  margin: 0;
}

.marketing-card-heading span {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  flex: 0 0 auto;
  font-size: 0.66rem;
  font-weight: 900;
  padding: 0.36rem 0.62rem;
  text-transform: uppercase;
}

.audience-readiness-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 242, 0.88)),
    var(--card);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(143, 63, 71, 0.07);
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.audience-readiness-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-readiness-grid article {
  background: rgba(255, 248, 245, 0.78);
  border: 1px solid rgba(184, 122, 112, 0.16);
  border-radius: 12px;
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
}

.audience-readiness-grid span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.audience-readiness-grid strong {
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1;
}

.audience-readiness-note {
  background: #fff8f5;
  border: 1px dashed rgba(214, 170, 165, 0.78);
  border-radius: 12px;
  color: #8f3f47;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  padding: 0.75rem 0.85rem;
}

.segment-list,
.recipient-list {
  display: grid;
  gap: 0.55rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.segment-preset-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segment-preset-grid button {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 246, 0.86)),
    var(--card);
  border: 1px solid rgba(181, 98, 93, 0.2);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(73, 45, 43, 0.07);
  color: var(--ink);
  display: grid;
  gap: 0.42rem;
  min-height: 132px;
  padding: 0.95rem;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.segment-preset-grid button:hover {
  border-color: rgba(181, 98, 93, 0.42);
  box-shadow: 0 22px 42px rgba(181, 98, 93, 0.13);
  transform: translateY(-2px);
}

.segment-preset-grid strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1;
}

.segment-preset-grid small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: none;
}

.segment-preset-grid span {
  align-self: end;
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.62rem;
  font-weight: 900;
  justify-self: start;
  padding: 0.34rem 0.58rem;
  text-transform: uppercase;
}

.segment-list button,
.recipient-list article {
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  text-align: left;
}

.segment-list button.is-active {
  background: #fff1f3;
  border-color: rgba(181, 98, 93, 0.36);
  box-shadow: inset 3px 0 0 #b5625d;
}

.segment-list strong,
.recipient-list strong {
  font-family: var(--serif);
  font-size: 1rem;
}

.segment-list small,
.recipient-list small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.segment-form,
.campaign-form {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.segment-form label,
.campaign-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.66rem;
  font-weight: 900;
  gap: 0.32rem;
  text-transform: uppercase;
}

.segment-form input,
.segment-form select,
.campaign-form input,
.campaign-form select,
.campaign-form textarea {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 38px;
  padding: 0.55rem 0.65rem;
  text-transform: none;
}

.campaign-form textarea {
  min-height: 118px;
  resize: vertical;
}

.campaign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.campaign-actions button {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(181, 98, 93, 0.14);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
  min-height: 38px;
  padding: 0 0.85rem;
  text-transform: uppercase;
}

.segment-form button {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(181, 98, 93, 0.18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 42px;
  padding: 0 1rem;
  text-transform: uppercase;
}

.segment-form .segment-delete-button {
  background: transparent;
  border: 1px solid rgba(143, 63, 71, 0.28);
  box-shadow: none;
  color: #8f3f47;
}

.recipient-list article {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.recipient-list article div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.recipient-list a {
  background: rgba(255, 244, 245, 0.9);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.42rem 0.62rem;
  text-transform: uppercase;
}

.campaign-history-list {
  display: grid;
  gap: 0.6rem;
  max-height: 420px;
  overflow-y: auto;
}

.campaign-history-list article {
  align-items: center;
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 0.75rem;
}

.campaign-history-list strong {
  font-family: var(--serif);
  font-size: 1rem;
}

.campaign-history-list small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.campaign-status {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}

.campaign-status.sent {
  background: rgba(87, 116, 99, 0.12);
  border-color: rgba(87, 116, 99, 0.22);
  color: #3f654d;
}

.permission-note {
  background: #fff8f5;
  border: 1px dashed rgba(181, 98, 93, 0.3);
  border-radius: 8px;
  color: #9f3d4c;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.7rem;
}

.crm-command-center {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 244, 0.88)),
    radial-gradient(circle at top right, rgba(221, 138, 151, 0.16), transparent 34%);
  border: 1px solid rgba(184, 122, 112, 0.2);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(143, 63, 71, 0.08);
  display: grid;
  gap: 1rem;
  margin: 0 auto 1.35rem;
  max-width: 1360px;
  padding: 1.2rem;
}

.crm-command-header,
.crm-panel-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.crm-command-header h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.95;
  margin: 0;
}

.crm-command-header p {
  color: var(--muted);
  margin: 0.35rem 0 0;
  max-width: 720px;
}

.crm-command-status {
  color: #8f3f47 !important;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-alert-summary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.crm-alert-summary article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem;
}

.crm-alert-summary span,
.crm-alert-summary small,
.crm-alert-card span,
.crm-alert-actions small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-alert-summary strong {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 0.95;
}

.crm-command-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.crm-alert-panel {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 9px;
  padding: 1rem;
}

.crm-panel-heading {
  border-bottom: 1px solid rgba(184, 122, 112, 0.18);
  margin-bottom: 0.8rem;
  padding-bottom: 0.75rem;
}

.crm-panel-heading h3 {
  font-size: 1.25rem;
  margin: 0;
}

.crm-panel-heading span {
  background: rgba(255, 238, 241, 0.9);
  border: 1px solid rgba(181, 98, 93, 0.2);
  border-radius: 999px;
  color: #9f3d4c;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.35rem 0.65rem;
  text-transform: uppercase;
}

.crm-panel-heading button,
.crm-alert-actions button,
.crm-today-list button {
  background: linear-gradient(135deg, #e99aa8, #b95061);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.55rem 0.8rem;
  text-transform: uppercase;
}

.crm-alert-list,
.crm-today-list {
  display: grid;
  gap: 0.7rem;
}

.crm-alert-card,
.crm-today-list article {
  background: rgba(255, 252, 250, 0.92);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-left: 5px solid rgba(181, 98, 93, 0.35);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.85rem;
}

.crm-alert-card.priority-high {
  border-left-color: #b95061;
}

.crm-alert-card.priority-medium {
  border-left-color: #d88979;
}

.crm-alert-card.priority-low {
  border-left-color: #577463;
}

.crm-alert-card h4,
.crm-today-list h4 {
  font-size: 1rem;
  margin: 0.15rem 0;
}

.crm-alert-card p,
.crm-today-list p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0;
}

.crm-alert-actions {
  align-items: end;
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.crm-today-list article {
  align-items: center;
  border-left-color: rgba(181, 98, 93, 0.22);
}

.crm-today-list article > div {
  display: grid;
  gap: 0.12rem;
  grid-template-columns: auto minmax(0, 1fr);
}

.crm-today-list article span {
  align-items: center;
  background: rgba(255, 238, 241, 0.9);
  border: 1px solid rgba(181, 98, 93, 0.18);
  border-radius: 999px;
  color: #9f3d4c;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  grid-row: span 2;
  height: 2rem;
  justify-content: center;
  margin-right: 0.55rem;
  min-width: 2rem;
  padding: 0 0.45rem;
}

.crm-today-list p {
  grid-column: 2;
}

.backup-history-card {
  margin-top: 1rem;
}

.backup-history-card .admin-table td[data-label="Type"],
.backup-history-card .admin-table td[data-label="Status"] {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-page button:disabled,
.admin-page input:disabled,
.admin-page select:disabled,
.admin-page textarea:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.staff-security-page {
  display: grid;
  gap: 1rem;
}

.staff-security-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
}

.role-list,
.audit-log-list,
.staff-user-list {
  display: grid;
  gap: 0.6rem;
}

.role-list article,
.audit-log-list article,
.staff-user-list article {
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
}

.role-list strong,
.audit-log-list strong,
.staff-user-list strong {
  font-family: var(--serif);
  font-size: 1rem;
  text-transform: capitalize;
}

.role-list p {
  color: var(--muted);
  margin: 0.22rem 0 0;
}

.audit-log-list {
  max-height: 560px;
  overflow-y: auto;
}

.audit-log-list article {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.audit-log-list span,
.audit-log-list small,
.staff-user-list span,
.staff-user-list small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-account-form {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-account-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 0.35rem;
  text-transform: uppercase;
}

.staff-account-form input,
.staff-account-form select {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: 700 0.88rem var(--serif);
  min-height: 42px;
  padding: 0.65rem 0.75rem;
}

.staff-form-wide,
.staff-form-actions {
  grid-column: 1 / -1;
}

.staff-form-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.staff-form-actions button,
.staff-user-list button {
  background: linear-gradient(135deg, #efa1ae 0%, #b84f5f 100%);
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 36px;
  padding: 0.6rem 1rem;
  text-transform: uppercase;
}

.staff-form-actions .secondary-button {
  background: #fff8f5;
  border: 1px solid rgba(181, 98, 93, 0.35);
  color: #9f3d4c;
}

.staff-user-list article {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
}

.staff-user-list article > div:last-child {
  display: flex;
  gap: 0.45rem;
  justify-content: flex-end;
}

.reviews-admin-page {
  display: grid;
  gap: 1rem;
}

.finance-dashboard {
  display: grid;
  gap: 1rem;
}

.finance-followup-list {
  display: grid;
  gap: 0.65rem;
}

.finance-followup-list article {
  align-items: center;
  background: rgba(255, 250, 248, 0.82);
  border: 1px solid rgba(214, 170, 165, 0.42);
  border-radius: 14px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.85rem;
}

.finance-followup-list strong {
  font-family: var(--serif);
  font-size: 1.06rem;
}

.finance-followup-list small {
  color: var(--muted);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  margin-top: 0.18rem;
  text-transform: uppercase;
}

.finance-followup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.finance-followup-actions a {
  background: rgba(255, 244, 245, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.64rem;
  font-weight: 900;
  min-height: 32px;
  padding: 0.48rem 0.66rem;
  text-transform: uppercase;
}

.finance-followup-list b {
  color: #8f3f47;
}

.loyalty-dashboard {
  display: grid;
  gap: 1rem;
}

.loyalty-customer-list,
.loyalty-transaction-list {
  display: grid;
  gap: 0.65rem;
}

.loyalty-settings-form {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.loyalty-settings-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 0.35rem;
}

.loyalty-settings-form input {
  background: rgba(255, 253, 251, 0.92);
  border: 1px solid rgba(214, 170, 165, 0.5);
  border-radius: 12px;
  color: var(--charcoal);
  font: inherit;
  min-height: 42px;
  padding: 0.75rem 0.85rem;
}

.loyalty-settings-form button {
  grid-column: 1 / -1;
}

.loyalty-customer-list article,
.loyalty-transaction-list article {
  align-items: center;
  background: rgba(255, 250, 248, 0.78);
  border: 1px solid rgba(214, 170, 165, 0.42);
  border-radius: 14px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.8rem;
}

.loyalty-customer-list div,
.loyalty-transaction-list div {
  display: grid;
  gap: 0.2rem;
}

.loyalty-customer-list span,
.loyalty-transaction-list span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.loyalty-customer-list b,
.loyalty-transaction-list b {
  color: #8f3f47;
  font-size: 0.9rem;
}

.admin-export-page {
  display: grid;
  gap: 1rem;
}

.admin-export-grid {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-export-grid .marketing-card {
  align-content: start;
  display: grid;
  gap: 1rem;
}

.support-dashboard {
  display: grid;
  gap: 1rem;
}

.support-heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.support-escalation-board {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 242, 0.86)),
    var(--card);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(143, 63, 71, 0.07);
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.support-escalation-heading {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.support-escalation-heading h3 {
  font-size: 1.45rem;
  line-height: 1;
  margin: 0.12rem 0 0.25rem;
}

.support-escalation-heading p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
  max-width: 700px;
}

.support-escalation-heading > span {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.34rem 0.62rem;
  text-transform: uppercase;
}

.support-escalation-list {
  display: grid;
  gap: 0.65rem;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.support-escalation-list > article {
  align-items: center;
  background: rgba(255, 248, 245, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.82rem;
}

.support-escalation-list h4 {
  font-size: 1.03rem;
  line-height: 1.05;
  margin: 0.35rem 0 0.22rem;
}

.support-escalation-list p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

.support-escalation-badge {
  background: rgba(255, 244, 245, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.3rem 0.55rem;
  text-transform: uppercase;
}

.support-escalation-badge.urgent,
.support-escalation-badge.overdue {
  background: rgba(181, 98, 93, 0.14);
}

.support-escalation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  justify-content: flex-end;
}

.support-escalation-actions a {
  background: rgba(255, 244, 245, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0.58rem 0.75rem;
  text-transform: uppercase;
}

.support-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.support-filter-row button {
  background: rgba(255, 253, 251, 0.88);
  border: 1px solid rgba(214, 170, 165, 0.52);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  min-height: 36px;
  padding: 0 0.9rem;
  text-transform: uppercase;
}

.support-filter-row button.is-active {
  background: linear-gradient(135deg, #ed9aa9, #b85463);
  border-color: transparent;
  color: #fff;
}

.support-case-board {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-case-card {
  background: rgba(255, 253, 251, 0.9);
  border: 1px solid rgba(214, 170, 165, 0.5);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(143, 63, 71, 0.08);
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.support-case-card-head {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.support-case-card h3 {
  font-size: 1.1rem;
  line-height: 1.15;
  margin-top: 0.4rem;
}

.support-case-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.support-case-card-head > strong {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.68rem;
  padding: 0.35rem 0.65rem;
  text-transform: uppercase;
}

.support-resolution {
  background: #fff8f5;
  border: 1px dashed rgba(214, 170, 165, 0.7);
  border-radius: 12px;
  padding: 0.75rem;
}

.support-resolution span {
  color: #8f3f47;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.support-case-controls {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-case-controls label {
  color: var(--muted);
  display: grid;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 0.35rem;
}

.support-case-controls select {
  background: rgba(255, 253, 251, 0.94);
  border: 1px solid rgba(214, 170, 165, 0.52);
  border-radius: 12px;
  color: var(--charcoal);
  font: inherit;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
}

.support-case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.support-case-actions a,
.support-case-actions span {
  background: rgba(255, 244, 245, 0.9);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0.58rem 0.75rem;
  text-align: center;
  text-transform: uppercase;
}

.support-case-actions span {
  background: rgba(255, 253, 251, 0.9);
  color: var(--muted);
}

.inventory-dashboard {
  display: grid;
  gap: 1rem;
}

.inventory-alert-list {
  display: grid;
  gap: 0.85rem;
}

.inventory-alert-list > article {
  align-items: center;
  background: rgba(255, 253, 251, 0.92);
  border: 1px solid rgba(214, 170, 165, 0.5);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(143, 63, 71, 0.07);
  display: grid;
  gap: 1rem;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  padding: 0.85rem;
}

.inventory-alert-list img {
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  width: 74px;
}

.inventory-alert-list h3 {
  font-size: 1.05rem;
  line-height: 1.1;
}

.inventory-alert-list p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}

.inventory-issue-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.inventory-issue-row span {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.66rem;
  font-weight: 900;
  padding: 0.3rem 0.55rem;
  text-transform: uppercase;
}

.inventory-issue-row span.is-clear {
  background: rgba(232, 241, 234, 0.95);
  border-color: rgba(78, 119, 91, 0.24);
  color: #4e775b;
}

.inventory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.inventory-actions button {
  background: rgba(255, 244, 245, 0.9);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0 0.75rem;
  text-transform: uppercase;
}

.automation-dashboard {
  display: grid;
  gap: 1rem;
}

.automation-task-list {
  display: grid;
  gap: 0.85rem;
}

.automation-task-list > article {
  background: rgba(255, 253, 251, 0.92);
  border: 1px solid rgba(214, 170, 165, 0.5);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(143, 63, 71, 0.07);
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.2fr) auto;
  padding: 1rem;
}

.automation-task-list span {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 900;
  margin-bottom: 0.42rem;
  padding: 0.3rem 0.55rem;
  text-transform: uppercase;
}

.automation-task-list h3 {
  font-size: 1.12rem;
  line-height: 1.1;
}

.automation-task-list p,
.automation-task-list blockquote {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.automation-task-list blockquote {
  background: #fff8f5;
  border: 1px dashed rgba(214, 170, 165, 0.72);
  border-radius: 12px;
  margin: 0;
  padding: 0.75rem;
}

.automation-task-actions {
  align-content: start;
  display: grid;
  gap: 0.45rem;
}

.automation-task-actions a {
  background: rgba(255, 244, 245, 0.9);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0.58rem 0.75rem;
  text-align: center;
  text-transform: uppercase;
}

.automation-task-actions button,
.support-filter-row button:disabled {
  background: rgba(255, 253, 251, 0.88);
  border: 1px solid rgba(214, 170, 165, 0.52);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0.58rem 0.75rem;
  text-align: center;
  text-transform: uppercase;
}

.automation-task-actions button:last-child {
  background: rgba(232, 241, 234, 0.95);
  border-color: rgba(78, 119, 91, 0.24);
  color: #4e775b;
}

.support-filter-row button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.reviews-admin-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
}

.review-admin-form {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-admin-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.66rem;
  font-weight: 900;
  gap: 0.32rem;
  text-transform: uppercase;
}

.review-admin-form input,
.review-admin-form select,
.review-admin-form textarea {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 38px;
  padding: 0.55rem 0.65rem;
  text-transform: none;
}

.review-admin-form textarea {
  min-height: 120px;
  resize: vertical;
}

.review-admin-form button {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(181, 98, 93, 0.18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  grid-column: 1 / -1;
  min-height: 42px;
  padding: 0 1rem;
  text-transform: uppercase;
}

.review-list {
  display: grid;
  gap: 0.65rem;
  max-height: 640px;
  overflow-y: auto;
}

.review-list > article {
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
}

.review-list-head {
  align-items: start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.review-list-head strong {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.review-list-head small {
  color: var(--muted);
  display: block;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-status {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}

.review-status.approved {
  background: rgba(87, 116, 99, 0.12);
  border-color: rgba(87, 116, 99, 0.22);
  color: #3f654d;
}

.review-status.rejected {
  background: rgba(47, 43, 41, 0.08);
  border-color: rgba(47, 43, 41, 0.14);
  color: #4f4743;
}

.review-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.review-status-actions button {
  background: rgba(255, 244, 245, 0.9);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.42rem 0.62rem;
  text-transform: uppercase;
}

.review-status-actions button:disabled {
  opacity: 0.45;
}

.crm-analytics-page {
  display: grid;
  gap: 1rem;
}

.crm-analytics-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.crm-report-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crm-health-board {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 242, 0.88)),
    var(--card);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(143, 63, 71, 0.07);
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.crm-health-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.crm-health-grid article {
  background: rgba(255, 248, 245, 0.82);
  border: 1px solid rgba(184, 122, 112, 0.16);
  border-radius: 14px;
  display: grid;
  gap: 0.28rem;
  min-height: 128px;
  padding: 0.9rem;
}

.crm-health-grid article.good {
  border-color: rgba(87, 116, 99, 0.22);
}

.crm-health-grid article.warning {
  border-color: rgba(214, 170, 165, 0.52);
}

.crm-health-grid article.danger {
  background: rgba(255, 244, 245, 0.9);
  border-color: rgba(181, 98, 93, 0.34);
}

.crm-health-grid span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-health-grid strong {
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1;
}

.crm-health-grid p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
}

.crm-bar-list {
  display: grid;
  gap: 0.75rem;
}

.crm-bar-list article {
  display: grid;
  gap: 0.35rem;
}

.crm-bar-list article > div:first-child {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.crm-bar-list strong {
  font-family: var(--serif);
  font-size: 1rem;
}

.crm-bar-list span {
  color: #8f3f47;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-bar-track {
  background: rgba(255, 244, 245, 0.95);
  border: 1px solid rgba(181, 98, 93, 0.14);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.crm-bar-track span {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.crm-top-customer-list {
  display: grid;
  gap: 0.6rem;
}

.crm-top-customer-list article {
  align-items: center;
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  padding: 0.75rem;
}

.crm-top-customer-list article > span {
  align-items: center;
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.crm-top-customer-list strong {
  font-family: var(--serif);
  font-size: 1.08rem;
}

.crm-top-customer-list small {
  color: var(--muted);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crm-top-customer-list b {
  color: #8f3f47;
}

.admin-settings-grid {
  align-items: start;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-width: 0;
}

.admin-settings-dashboard {
  display: grid;
  gap: 1.1rem;
}

.settings-health-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.settings-health-grid article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 242, 0.84)),
    var(--card);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(112, 57, 57, 0.08);
  display: grid;
  gap: 0.2rem;
  min-height: 118px;
  padding: 1rem;
}

.settings-health-grid span,
.settings-health-grid small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.settings-health-grid strong {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.settings-control-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.settings-check-list {
  display: grid;
  gap: 0.65rem;
}

.settings-check-list article {
  align-items: center;
  background: rgba(255, 250, 248, 0.82);
  border: 1px solid rgba(214, 170, 165, 0.42);
  border-radius: 14px;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.85rem;
}

.settings-check-list strong,
.settings-policy-card strong {
  font-family: var(--serif);
  font-size: 1.08rem;
}

.settings-check-list p,
.settings-policy-card p {
  color: var(--muted);
  margin: 0.24rem 0 0;
}

.settings-check-list span,
.settings-policy-card span,
.settings-tier-grid span {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.2);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 900;
  justify-content: center;
  padding: 0.32rem 0.6rem;
  text-transform: uppercase;
}

.settings-policy-card {
  background: rgba(255, 250, 248, 0.82);
  border: 1px solid rgba(214, 170, 165, 0.42);
  border-radius: 16px;
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.settings-policy-card span {
  justify-self: start;
}

.settings-rule-list {
  color: var(--muted);
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.1rem;
  text-transform: none;
}

.settings-rule-list li::marker {
  color: #b5625d;
}

.settings-tier-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-form {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.product-taxonomy-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.product-taxonomy-grid label:last-child {
  grid-column: 1 / -1;
}

.shipping-admin-card,
.promo-admin-card {
  display: grid;
  gap: 1rem;
  min-width: 0;
  overflow: hidden;
}

.order-tracking-card {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.order-tracking-actions {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.order-tracking-actions > span {
  background: rgba(87, 116, 99, 0.12);
  border: 1px solid rgba(87, 116, 99, 0.18);
  border-radius: 999px;
  color: #577463;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.34rem 0.65rem;
  white-space: nowrap;
}

.refresh-orders-button {
  gap: 0.42rem;
  min-height: 36px;
  min-width: 112px;
  padding: 0 0.85rem;
}

.order-table-wrap {
  max-height: 520px;
  overflow-y: auto;
}

.admin-order-metrics {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-order-metrics article {
  background: rgba(255, 248, 245, 0.72);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 0.25rem;
  min-height: 92px;
  padding: 0.85rem;
}

.admin-order-metrics span,
.admin-order-metrics small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-order-metrics strong {
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1;
}

.order-risk-board {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 242, 0.82)),
    var(--card);
  border: 1px solid rgba(184, 122, 112, 0.18);
  border-radius: 16px;
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.order-risk-heading {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.order-risk-heading h3 {
  font-size: 1.45rem;
  line-height: 1;
  margin: 0.15rem 0 0.22rem;
}

.order-risk-heading p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
  max-width: 720px;
}

.order-risk-heading > span {
  background: #fff4f5;
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.34rem 0.62rem;
  text-transform: uppercase;
}

.order-risk-list {
  display: grid;
  gap: 0.65rem;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.order-risk-list > article {
  align-items: center;
  background: rgba(255, 248, 245, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.82rem;
}

.order-risk-list h4 {
  font-size: 1.03rem;
  line-height: 1.05;
  margin: 0.35rem 0 0.22rem;
}

.order-risk-list p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

.order-risk-list small {
  color: #8f3f47;
  display: block;
  font-size: 0.66rem;
  font-weight: 900;
  margin-top: 0.28rem;
  text-transform: uppercase;
}

.order-risk-priority {
  background: rgba(255, 244, 245, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.22);
  border-radius: 999px;
  color: #8f3f47;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.3rem 0.55rem;
  text-transform: uppercase;
}

.order-risk-priority.high {
  background: rgba(181, 98, 93, 0.14);
}

.order-risk-priority.medium {
  background: rgba(233, 156, 171, 0.16);
}

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

.order-risk-actions a {
  background: rgba(255, 244, 245, 0.92);
  border: 1px solid rgba(181, 98, 93, 0.25);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0.58rem 0.75rem;
  text-transform: uppercase;
}

.order-admin-table {
  min-width: 1320px;
}

.order-customer-cell {
  display: grid;
  gap: 0.12rem;
}

.order-customer-cell small {
  color: var(--muted);
  font-size: 0.72rem;
}

.tracking-select-label {
  gap: 0.35rem;
  min-width: 220px;
}

.tracking-select-label span {
  color: #8f3f47;
  font-size: 0.72rem;
  font-weight: 900;
}

.tracking-select-label select {
  min-height: 38px;
  padding: 0.55rem 0.7rem;
}

.payment-select-label {
  min-width: 190px;
}

.payment-proof-editor {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.55rem;
  min-width: 220px;
}

.payment-proof-editor input {
  background: rgba(255, 253, 251, 0.9);
  border: 1px solid rgba(214, 170, 165, 0.5);
  border-radius: 10px;
  color: var(--charcoal);
  font: inherit;
  font-size: 0.76rem;
  min-height: 34px;
  padding: 0.5rem 0.6rem;
}

.payment-proof-editor div {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  justify-content: space-between;
}

.payment-proof-editor a,
.payment-proof-editor span,
.payment-proof-editor small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.payment-proof-editor small {
  overflow-wrap: anywhere;
}

.payment-proof-editor button {
  background: rgba(255, 244, 246, 0.9);
  border: 1px solid rgba(143, 63, 71, 0.26);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.68rem;
  font-weight: 900;
  min-height: 30px;
  padding: 0 0.7rem;
  text-transform: uppercase;
}

.shipping-admin-card .table-wrap {
  max-height: 436px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.shipping-admin-card .table-wrap::-webkit-scrollbar {
  width: 8px;
}

.shipping-admin-card .table-wrap::-webkit-scrollbar-track {
  background: rgba(184, 122, 112, 0.08);
  border-radius: 999px;
}

.shipping-admin-card .table-wrap::-webkit-scrollbar-thumb {
  background: rgba(181, 98, 93, 0.35);
  border-radius: 999px;
}

.shipping-form,
.promo-form {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto;
}

.promo-form {
  align-items: end;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.shipping-form-actions,
.promo-form-actions {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.shipping-form-actions .primary-button,
.shipping-form-actions .ghost-button,
.promo-form-actions .primary-button,
.promo-form-actions .ghost-button {
  min-width: 132px;
}

.promo-form-actions .primary-button,
.promo-form-actions .ghost-button {
  font-size: 0.62rem;
  min-height: 44px;
  min-width: 0;
  padding: 0 0.95rem;
  width: 100%;
}

.promo-form-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  justify-self: stretch;
}

.promo-table td small {
  color: var(--muted);
  display: block;
  font-size: 0.66rem;
  margin-top: 0.2rem;
}

.promo-admin-card .admin-table-heading {
  align-items: start;
}

.promo-admin-card .admin-table-heading span {
  background: rgba(213, 111, 130, 0.1);
  border: 1px solid rgba(213, 111, 130, 0.2);
  border-radius: 999px;
  color: #8f3f47;
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 0.2rem;
  padding: 0.34rem 0.65rem;
  white-space: nowrap;
}

.promo-admin-card .table-wrap {
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.check-row {
  align-items: center;
  display: flex;
  gap: 0.6rem;
}

.check-row input {
  width: auto;
}

.marketing-check {
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
}

.image-upload-field {
  gap: 0.55rem;
}

.upload-dropzone {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 244, 240, 0.72));
  border: 1px dashed rgba(181, 98, 93, 0.48);
  border-radius: 8px;
  color: #8f3f47;
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  min-height: 104px;
  overflow: hidden;
  padding: 1rem;
  position: relative;
  text-align: center;
}

.upload-dropzone strong {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.upload-dropzone small,
.form-note,
.image-preview span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.upload-dropzone input {
  cursor: pointer;
  inset: 0;
  opacity: 0;
  position: absolute;
}

.image-preview {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(184, 122, 112, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 84px 1fr;
  padding: 0.7rem;
}

.image-preview img {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
  width: 84px;
}

.gallery-preview-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-preview-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(184, 122, 112, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.gallery-preview-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.gallery-preview-item button {
  background: transparent;
  border: 0;
  color: var(--danger);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.45rem;
  width: 100%;
}

.table-wrap {
  overflow-x: auto;
}

.table-card {
  display: grid;
  gap: 1rem;
}

.admin-table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}

.admin-table thead {
  background: rgba(255, 248, 245, 0.92);
  position: sticky;
  top: 0;
  z-index: 1;
}

.shipping-table,
.promo-table {
  min-width: 560px;
}

.category-health-table {
  min-width: 860px;
}

.promo-table {
  min-width: 820px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem;
  text-align: left;
}

.table-thumb {
  border-radius: 4px;
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.stock-toggle {
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.4rem 0.6rem;
}

.stock-toggle.in {
  background: #577463;
}

.stock-toggle.out {
  background: var(--danger);
}

@media (min-width: 721px) and (max-width: 1040px) {
  .nav-shell,
  .section-shell,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 40px, 1200px);
  }

  .nav-shell {
    gap: 1.2rem;
    min-height: 106px;
  }

  .brand-mark {
    flex-basis: 104px;
  }

  .brand-mark img {
    height: 104px;
    width: 104px;
  }

  .site-header .brand-mark {
    flex-basis: 150px;
  }

  .site-header .brand-mark img {
    height: 98px;
    width: 150px;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.61rem;
  }

  .nav-actions {
    gap: 0.55rem;
  }

  .shop-now-button {
    height: 42px;
    padding: 0 1rem;
  }

  .hero-section {
    gap: 2rem;
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
    min-height: 430px;
    padding: 0 max(32px, calc((100vw - 960px) / 2));
  }

  .hero-visual {
    width: min(100%, 560px);
  }

  h1 {
    font-size: clamp(3rem, 5vw, 4.2rem);
  }

  .benefits-strip {
    padding: 0 max(32px, calc((100vw - 960px) / 2));
  }

  .benefit-card {
    padding: 1rem 0.8rem;
  }

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

@media (max-width: 720px) {
  html,
  body,
  #root {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background:
      linear-gradient(180deg, rgba(255, 253, 251, 0.42), rgba(255, 248, 245, 0.54) 42rem, rgba(255, 253, 251, 0.5)),
      url("/brand/optimized/satin-background.webp") center top / auto 760px repeat-y,
      var(--white);
  }

  #root {
    background: linear-gradient(90deg, rgba(255, 253, 251, 0.28), rgba(255, 253, 251, 0.48) 52%, rgba(255, 253, 251, 0.28));
  }

  .site-header {
    backdrop-filter: none;
    background: rgba(255, 253, 251, 0.96);
  }

  .nav-shell,
  .section-shell,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 32px, 1200px);
  }

  .nav-shell {
    justify-content: center;
    min-height: 86px;
    position: relative;
  }

  .brand-mark {
    flex: 0 0 92px;
  }

  .brand-mark img {
    height: 92px;
    width: 92px;
  }

  .site-header .brand-mark {
    flex-basis: 132px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
  }

  .site-header .brand-mark img {
    height: 86px;
    width: 132px;
  }

  .nav-links {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 1rem 2rem 1.4rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .nav-links.is-open {
    display: flex;
  }

  .mobile-menu-button {
    display: inline-flex;
    left: 0;
    position: absolute;
  }

  .desktop-icon,
  .shop-now-button {
    display: none;
  }

  .search-toggle-button {
    position: absolute;
    right: 84px;
  }

  .account-action {
    position: absolute;
    right: 42px;
  }

  .account-button {
    height: 30px;
    width: 34px;
  }

  .account-name {
    font-size: 0.52rem;
    max-width: 52px;
  }

  .cart-button {
    position: absolute;
    right: 0;
  }

  .header-search-panel {
    padding: 0 16px 0.85rem;
  }

  .hero-section {
    background:
      linear-gradient(180deg, rgba(255, 253, 251, 0.24), rgba(255, 247, 244, 0.44) 52%, rgba(255, 253, 251, 0.36) 100%),
      linear-gradient(90deg, rgba(255, 253, 251, 0.12), rgba(255, 253, 251, 0.38) 58%);
    gap: 0.8rem;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1.15rem 0 1.45rem;
    text-align: center;
  }

  .hero-visual {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
    order: 2;
    width: 100vw;
  }

  .hero-slider {
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    margin-left: 0;
    margin-right: 0;
  }

  .hero-slider::after {
    display: none;
  }

  .hero-products-image {
    transform: none;
    transition: opacity 420ms ease;
    width: 100%;
  }

  .hero-products-image.is-active {
    transform: none;
  }

  .hero-copy {
    justify-self: center;
    max-width: 340px;
    order: 1;
    padding: 0 24px;
  }

  .hero-copy .section-eyebrow,
  .trust-badges {
    display: none;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1.03;
    margin-bottom: 0.65rem;
  }

  h2 {
    font-size: 1.42rem;
  }

  .hero-subtitle {
    font-size: 0.86rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 275px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.1rem auto 0;
    max-width: 235px;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }

  .secondary-button {
    background: rgba(255, 255, 255, 0.72);
  }

  .benefits-strip {
    border-top: 0;
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }

  .benefit-card,
  .benefit-card:first-child {
    border-left: 0;
    border-right: 0;
  }

  .benefit-card {
    border-bottom: 1px solid rgba(184, 122, 112, 0.18);
    gap: 0.8rem;
    justify-content: center;
    min-height: 86px;
    padding: 0.8rem 0.7rem;
  }

  .benefit-card p {
    display: none;
  }

  .product-section,
  .reviews-section,
  .about-section {
    padding: 2.2rem 0;
    scroll-margin-top: 108px;
  }

  .product-grid {
    display: flex;
    gap: 0.85rem;
    margin-left: 0;
    overflow-x: auto;
    padding: 0 0.85rem 0.6rem 0.85rem;
    scroll-snap-type: x mandatory;
    width: 100%;
  }

  .product-card {
    flex: 0 0 72%;
    min-width: 230px;
    scroll-snap-align: start;
  }

  .product-modal-layer {
    padding: 0.85rem;
  }

  .product-modal {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: 88dvh;
    overflow-y: auto;
    width: min(100%, 420px);
  }

  .product-modal-media img {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .product-modal-content {
    max-height: none;
    min-height: auto;
    overflow: visible;
    padding: 1.15rem;
  }

  .product-modal-content h2 {
    font-size: 2rem;
  }

  .product-modal-description {
    font-size: 0.9rem;
  }

  .review-form-row {
    grid-template-columns: 1fr;
  }

  .product-image-wrap img {
    aspect-ratio: 1.04 / 1;
    object-fit: cover;
  }

  .product-content {
    gap: 0.5rem;
    padding: 0.7rem 0.75rem 0.85rem;
  }

  .product-content h3 {
    font-size: 0.76rem;
  }

  .product-content p {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .product-rating {
    display: none;
  }

  .product-meta strong {
    font-size: 0.72rem;
  }

  .add-cart-button {
    display: inline-flex;
    font-size: 0.58rem;
    min-height: 34px;
    padding: 0 0.55rem;
  }

  .product-actions {
    gap: 0.45rem;
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  .share-product-button {
    border-radius: 12px;
    height: 34px;
    width: 38px;
  }

  .product-share-menu {
    min-width: 140px;
  }

  .about-layout,
  .reviews-grid,
  .footer-grid,
  .form-grid,
  .product-taxonomy-grid,
  .admin-dashboard-summary,
  .admin-layout,
  .admin-settings-grid,
  .settings-health-grid,
  .settings-control-grid,
  .shipping-form,
  .promo-form {
    grid-template-columns: 1fr;
  }

  .admin-page {
    padding: 0.9rem;
  }

  .admin-crm-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: flex;
    overflow-x: auto;
    position: static;
  }

  .admin-sidebar button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .crm-module-heading,
  .crm-toolbar,
  .crm-workbench,
  .marketing-grid,
  .marketing-grid.lower {
    grid-template-columns: 1fr;
  }

  .crm-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .crm-module-heading {
    align-items: stretch;
    display: grid;
  }

  .crm-analytics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-readiness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-opportunity-heading {
    display: grid;
  }

  .crm-opportunity-metrics,
  .crm-opportunity-list > article {
    grid-template-columns: 1fr;
  }

  .crm-opportunity-actions {
    justify-content: flex-start;
  }

  .crm-analytics-grid-wide,
  .crm-report-grid {
    grid-template-columns: 1fr;
  }

  .crm-health-grid {
    grid-template-columns: 1fr;
  }

  .crm-toolbar {
    grid-template-columns: 1fr;
  }

  .crm-advanced-filters {
    grid-template-columns: 1fr;
  }

  .crm-profile-panel {
    position: static;
  }

  .crm-edit-form {
    grid-template-columns: 1fr;
  }

  .crm-coupon-form {
    grid-template-columns: 1fr;
  }

  .crm-support-form,
  .crm-support-case-controls {
    grid-template-columns: 1fr;
  }

  .crm-loyalty-summary,
  .crm-loyalty-form,
  .loyalty-settings-form,
  .crm-abandoned-cart-summary {
    grid-template-columns: 1fr;
  }

  .crm-support-case-head {
    display: grid;
  }

  .support-escalation-heading,
  .support-escalation-list > article {
    display: grid;
    grid-template-columns: 1fr;
  }

  .support-escalation-actions {
    justify-content: flex-start;
  }

  .admin-export-grid,
  .support-case-board,
  .support-case-controls,
  .inventory-alert-list > article,
  .automation-task-list > article,
  .crm-segment-studio-grid,
  .crm-saved-segment-list article,
  .segment-preset-grid,
  .segment-form,
  .campaign-form,
  .recipient-list article {
    grid-template-columns: 1fr;
  }

  .crm-segment-studio-head {
    display: grid;
  }

  .crm-segment-actions {
    justify-content: flex-start;
  }

  .campaign-history-list article {
    grid-template-columns: 1fr;
  }

  .staff-security-grid,
  .staff-account-form,
  .staff-user-list article,
  .settings-check-list article,
  .finance-followup-list article,
  .audit-log-list article,
  .reviews-admin-grid,
  .review-admin-form {
    grid-template-columns: 1fr;
  }

  .review-list-head {
    display: grid;
  }

  .recipient-list article div:last-child {
    justify-content: flex-start;
  }

  .crm-top-customer-list article {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .crm-top-customer-list b {
    grid-column: 2;
  }

  .admin-header {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .admin-header h1 {
    font-size: 2.35rem;
    margin-bottom: 0.45rem;
  }

  .admin-header p:not(.section-eyebrow) {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .admin-actions {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-actions .secondary-button,
  .admin-actions .ghost-button {
    min-width: 0;
  }

  .customer-dashboard-layer {
    align-items: end;
    padding: 0.65rem;
  }

  .customer-dashboard {
    max-height: 88vh;
    padding: 1rem;
  }

  .customer-dashboard-header,
  .mini-panel-heading {
    align-items: stretch;
    display: grid;
  }

  .customer-dashboard-header h2 {
    font-size: 2rem;
  }

  .customer-signout,
  .reorder-button {
    min-width: 0;
    width: 100%;
  }

  .customer-account-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-dashboard-grid,
  .tracking-map {
    grid-template-columns: 1fr;
  }

  .customer-order-status-grid {
    grid-template-columns: 1fr;
  }

  .account-tools-grid {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
  }

  .customer-order-list {
    max-height: 240px;
  }

  .tracking-map {
    gap: 0.55rem;
  }

  .tracking-map::before {
    bottom: 24px;
    height: auto;
    left: 21px;
    right: auto;
    top: 18px;
    width: 2px;
  }

  .tracking-map-step {
    align-items: center;
    display: flex;
    gap: 0.7rem;
    justify-items: start;
    text-align: left;
  }

  .tracking-map-step span {
    flex: 0 0 42px;
  }

  .wishlist-mini-card,
  .saved-address-card {
    grid-template-columns: 46px 1fr;
  }

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

  .wishlist-mini-card button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .customer-support-panel {
    align-items: stretch;
    display: grid;
  }

  .customer-support-panel a {
    justify-content: center;
  }

  .shop-filter-panel {
    border-radius: 6px;
    margin-bottom: 1rem;
    padding: 0.78rem;
  }

  .product-section .section-heading {
    margin-bottom: 0.9rem;
  }

  .product-section .section-heading h2 {
    font-size: 2rem;
    line-height: 0.98;
  }

  .shop-filter-header {
    align-items: start;
    border-bottom: 0 !important;
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    padding-bottom: 0;
  }

  .shop-filter-header h3 {
    font-size: 1.35rem;
  }

  .shop-filter-header span {
    font-size: 0.66rem;
    justify-self: start;
    padding: 0.3rem 0.58rem;
  }

  .category-filter-grid {
    gap: 0.82rem;
    border-bottom: 0;
    margin: 0 -0.78rem 0.2rem;
    padding: 0.74rem 0.78rem 0.88rem;
  }

  .category-filter-card {
    flex-basis: 74px;
    min-height: 0;
    padding: 0;
  }

  .category-filter-card.is-all-filter {
    align-self: start;
    flex-basis: auto;
    margin-top: 1.18rem;
    padding: 0.56rem 0.82rem 0.52rem;
  }

  .category-filter-image {
    height: 68px;
    width: 68px;
  }

  .category-filter-label {
    font-size: 0.68rem;
    max-width: 82px;
  }

  .subcategory-filter-row,
  .brand-filter-row {
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.42rem;
    margin-left: -0.78rem;
    margin-right: -0.78rem;
    overflow-x: auto;
    padding: 0 0.78rem 0.18rem;
  }

  .subcategory-filter-row span,
  .brand-filter-row span {
    flex: 0 0 auto;
    font-size: 0.62rem;
  }

  .subcategory-filter-row button,
  .brand-filter-row button {
    flex: 0 0 auto;
    font-size: 0.62rem;
    min-height: 32px;
    padding: 0 0.65rem;
    white-space: nowrap;
  }

  .brand-filter-row {
    border-top: 0 !important;
    padding-bottom: 0.6rem;
    padding-top: 1.15rem;
    scrollbar-width: none;
  }

  .brand-filter-row::-webkit-scrollbar {
    display: none;
  }

  .brand-filter-row .brand-logo-button {
    border-radius: 13px;
    flex-basis: 88px;
    min-height: 50px;
    padding: 0.42rem 0.5rem;
  }

  .brand-logo-button img {
    max-height: 22px;
    max-width: 74px;
  }

  .brand-logo-button .brand-logo-text {
    font-size: 0.7rem;
  }

  .brand-logo-button small {
    font-size: 0.46rem;
  }

  .admin-dashboard-summary {
    gap: 0.7rem;
    margin-bottom: 1rem;
  }

  .admin-dashboard-summary article {
    align-items: center;
    grid-template-columns: 1fr auto;
    min-height: 0;
    padding: 0.85rem;
  }

  .admin-dashboard-summary strong {
    grid-row: span 2;
  }

  .admin-workspace {
    margin-bottom: 0.65rem;
  }

  .admin-workspace h2 {
    font-size: 1.8rem;
  }

  .admin-card,
  .admin-login-card {
    border-radius: 8px;
    padding: 1rem;
  }

  .product-form {
    gap: 0.85rem;
    position: static;
  }

  .product-form h2,
  .admin-table-heading h2 {
    font-size: 1.45rem;
  }

  label {
    font-size: 0.76rem;
  }

  input,
  textarea,
  select {
    border-radius: 8px;
    font-size: 16px;
    padding: 0.78rem 0.85rem;
  }

  .form-actions {
    display: grid;
    gap: 0.65rem;
  }

  .shipping-form-actions,
  .promo-form-actions {
    display: grid;
    gap: 0.65rem;
  }

  .shipping-form-actions .primary-button,
  .shipping-form-actions .ghost-button,
  .promo-form-actions .primary-button,
  .promo-form-actions .ghost-button {
    min-width: 0;
    width: 100%;
  }

  .admin-table-heading {
    align-items: end;
    gap: 1rem;
  }

  .table-wrap {
    overflow: visible;
  }

  .shipping-admin-card .table-wrap {
    max-height: 560px;
    overflow-y: auto;
    padding-right: 0.25rem;
  }

  .order-table-wrap {
    max-height: 620px;
    overflow-y: auto;
  }

  .admin-order-metrics {
    grid-template-columns: 1fr;
  }

  .order-risk-heading,
  .order-risk-list > article {
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-risk-actions {
    justify-content: flex-start;
  }

  .order-tracking-actions {
    align-items: stretch;
    display: grid;
  }

  .refresh-orders-button {
    min-width: 0;
    width: 100%;
  }

  .tracking-select-label {
    min-width: 0;
    width: 100%;
  }

  .admin-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tbody {
    display: grid;
    gap: 0.85rem;
  }

  .admin-table tr {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(184, 122, 112, 0.22);
    border-radius: 8px;
    overflow: hidden;
    padding: 0.85rem;
  }

  .admin-table td {
    align-items: center;
    border-bottom: 0;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.45rem 0;
    text-align: right;
  }

  .admin-table td::before {
    color: var(--muted);
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }

  .admin-table td[data-label="Image"] {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 0;
  }

  .admin-table td[data-label="Image"]::before {
    display: none;
  }

  .admin-table td[data-label="Name"] {
    color: var(--charcoal);
    font-size: 1rem;
    font-weight: 800;
    justify-content: flex-start;
    padding-top: 0.7rem;
    text-align: left;
  }

  .admin-table td[data-label="Name"]::before {
    display: none;
  }

  .admin-table td[data-label="Actions"] {
    display: block;
    padding-bottom: 0;
  }

  .admin-table td[data-label="Actions"]::before {
    display: none;
  }

  .table-thumb {
    border-radius: 8px;
    height: 132px;
    width: 100%;
  }

  .stock-toggle {
    min-height: 34px;
    min-width: 92px;
  }

  .table-actions {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 1fr 1fr;
  }

  .table-actions button {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(184, 122, 112, 0.28);
    border-radius: 999px;
    color: #8f3f47;
    justify-content: center;
    min-height: 38px;
  }

  .about-layout {
    text-align: center;
  }

  .cart-drawer {
    padding: 1rem;
  }

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

  .cart-item img {
    height: 82px;
    width: 82px;
  }
}

.crm-edit-form button,
.crm-coupon-form button,
.crm-support-form button,
.crm-loyalty-form button,
.crm-note-form button,
.crm-segment-save-form button,
.segment-form button,
.campaign-actions button,
.loyalty-settings-form button,
.review-admin-form button {
  background: linear-gradient(135deg, #e995a5 0%, #b85463 100%) !important;
  border: 1px solid rgba(181, 98, 93, 0.25) !important;
  box-shadow: 0 16px 30px rgba(181, 98, 93, 0.2) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 1px rgba(92, 38, 45, 0.18);
}

.crm-edit-form button:hover,
.crm-coupon-form button:hover,
.crm-support-form button:hover,
.crm-loyalty-form button:hover,
.crm-note-form button:hover,
.crm-segment-save-form button:hover,
.segment-form button:hover,
.campaign-actions button:hover,
.loyalty-settings-form button:hover,
.review-admin-form button:hover {
  filter: saturate(1.04);
  transform: translateY(-1px);
}

.segment-form .segment-delete-button {
  background: rgba(255, 248, 245, 0.94) !important;
  border: 1px solid rgba(143, 63, 71, 0.32) !important;
  box-shadow: none !important;
  color: #8f3f47 !important;
  text-shadow: none;
}

@media (max-width: 900px) {
  .crm-command-header,
  .crm-panel-heading,
  .crm-alert-card,
  .crm-today-list article {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .crm-command-header,
  .crm-panel-heading {
    display: grid;
  }

  .crm-alert-summary,
  .crm-command-grid {
    grid-template-columns: 1fr;
  }

  .crm-alert-actions {
    align-items: start;
    justify-items: start;
  }
}
