:root {
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-title: 'Fraunces', Georgia, serif;
  --bg: #f4fbf7;
  --surface: #ffffff;
  --surface-2: #e9f6ef;
  --text: #123427;
  --muted: #4f6d5f;
  --gold: #1f8a5f;
  --gold-soft: #1b6b49;
  --danger: #be2f2f;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 20px 42px rgba(22, 58, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-body);
  background:
    linear-gradient(170deg, rgba(226, 246, 236, 0.95), rgba(248, 255, 251, 0.98)),
    radial-gradient(circle at 20% 0%, #dff5e9 0%, #f6fdf9 48%, #ffffff 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(31, 138, 95, 0.08), rgba(255, 255, 255, 0.82) 46%),
    url('/images/salon-pattern.svg') center/900px auto repeat;
  pointer-events: none;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  line-height: 1.2;
  margin: 0 0 0.7rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 92vw);
}

.section {
  padding: 4.5rem 0;
}

.section.cart-page {
  padding-top: 1.25rem;
}

.section-sm {
  margin-top: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--gold-soft);
}

.subtle {
  color: #587567;
}

.site-header,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 138, 95, 0.14);
  background: rgba(252, 255, 253, 0.92);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.brand-logo {
  width: clamp(180px, 34vw, 430px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(138, 240, 188, 0.55);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  font-family: var(--font-title);
}

.menu-toggle {
  display: inline-flex;
  border: 1px solid rgba(31, 138, 95, 0.24);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

.site-nav {
  position: fixed;
  inset: 72px 0 auto 0;
  background: rgba(248, 255, 251, 0.98);
  transform: translateY(-120%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
  gap: 0.85rem;
}

.site-nav.open {
  transform: translateY(0);
}

.site-nav a,
.link-btn {
  color: #365848;
  font-size: 0.96rem;
}

.site-nav a.active {
  color: var(--gold-soft);
}

.inline-form {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.link-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hero {
  padding: 5rem 0 3rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(223, 244, 232, 0.62)),
    url('/images/salon-pattern.svg') center/760px auto repeat;
  border-bottom: 1px solid rgba(31, 138, 95, 0.14);
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 7vw, 3.5rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-actions-home {
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
  align-items: center;
}

.hero-actions-home .hero-actions-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  width: 100%;
  justify-content: center;
}

.hero-actions-home > .btn {
  align-self: center;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

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

.btn-gold {
  background: linear-gradient(120deg, #1d8f57, #36c57a);
  color: #f7fffb;
  border-color: rgba(138, 240, 188, 0.3);
}

.btn-dark {
  background: #ebfff3;
  color: #0b2b1f;
}

.btn-ghost {
  border-color: rgba(31, 138, 95, 0.25);
  color: #1c563b;
  background: rgba(255, 255, 255, 0.78);
}

.full {
  width: 100%;
}

.premium-gradient {
  position: relative;
}

.premium-gradient::after {
  content: '';
  position: absolute;
  inset: 10% -10% auto auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(78, 207, 138, 0.26), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.comparison-card {
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(31, 138, 95, 0.15);
}

.side {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.side.damaged {
  background:
    linear-gradient(170deg, rgba(44, 16, 18, 0.62), rgba(24, 10, 10, 0.72)),
    url('/images/hero-damaged.jpg') center/cover no-repeat;
  color: #f5d4d8;
}

.side.healthy {
  background:
    linear-gradient(170deg, rgba(52, 40, 17, 0.55), rgba(24, 18, 11, 0.68)),
    url('/images/hero-healthy.jpg') center/cover no-repeat;
  color: #f7e6bf;
}

.compare-grid,
.cards-4,
.treatments-grid,
.testimonials-grid,
.results-gallery,
.metrics-grid {
  display: grid;
  gap: 1rem;
}

.compare-card,
.info-card,
.treatment-card,
.testimonial-card,
.summary-card,
.product-card,
.order-card,
.address-card,
.metric-card,
.success-card,
.coupon-form {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(234, 247, 240, 0.92));
  border: 1px solid rgba(31, 138, 95, 0.16);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.compare-card.pro {
  border-color: rgba(78, 207, 138, 0.5);
}

.cards-4.contact-info-grid {
  grid-template-columns: 1fr;
}

.contact-info-grid .info-card {
  min-height: 100%;
}

.contact-info-grid .info-card h3,
.contact-info-grid .info-card p {
  overflow-wrap: anywhere;
}

.contact-specialized > h2,
.contact-info-grid .info-card h3 {
  text-align: center;
}

.contact-whatsapp-note {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.contact-whatsapp-note .info-card {
  width: min(100%, 560px);
  text-align: center;
}

.contact-whatsapp-note .info-card p {
  margin-bottom: 1rem;
}

.contact-whatsapp-btn {
  margin-inline: auto;
  gap: 0.55rem;
  min-width: 220px;
}

.contact-whatsapp-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (min-width: 720px) {
  .cards-4.contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.compare-card.drugstore {
  border-color: rgba(190, 47, 47, 0.4);
}

.compare-card ul,
.check-list,
.simple-list {
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.fiber-diagram {
  margin-top: 1rem;
  border-radius: 14px;
  padding: 0.7rem;
  text-align: center;
  font-size: 0.84rem;
}

.deep {
  background: rgba(78, 207, 138, 0.16);
}

.surface {
  background: rgba(190, 47, 47, 0.16);
}

.dark-section {
  background: linear-gradient(180deg, rgba(227, 246, 236, 0.76), rgba(245, 253, 249, 0.9));
}

.scalp-grid,
.featured-product,
.product-detail-grid,
.cart-layout,
.checkout-layout,
.account-section.two-col {
  display: grid;
  gap: 1.5rem;
}

.education-visual,
.product-media,
.detail-image,
.cart-thumb,
.product-image {
  border-radius: var(--radius);
  min-height: 220px;
  border: 1px solid rgba(31, 138, 95, 0.18);
  background:
    linear-gradient(140deg, rgba(223, 244, 232, 0.95), rgba(245, 253, 248, 0.96)),
    url('/images/salon-pattern.svg') center/420px auto repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.education-visual {
  background-image:
    linear-gradient(160deg, rgba(10, 10, 10, 0.28), rgba(10, 10, 10, 0.52));
}

.skin-layers {
  display: grid;
  gap: 0.8rem;
}

.skin-layers span {
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 138, 95, 0.13);
  border-radius: 12px;
}

.price {
  font-size: 1.4rem;
  color: var(--gold-soft);
  font-weight: 700;
}

.products-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.product-card h2 {
  font-size: 1.25rem;
}

.product-image {
  display: block;
}

.stock-out {
  color: #f18a8a;
}

.product-card-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.product-card-actions .inline-form {
  margin: 0;
}

.detail-form input[type='number'],
input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(31, 138, 95, 0.23);
  background: rgba(255, 255, 255, 0.96);
  color: #153728;
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  margin-top: 0.35rem;
}

textarea {
  resize: vertical;
  max-width: 100%;
}

.stack-form,
.checkout-form,
.contact-form {
  display: grid;
  gap: 0.95rem;
}

.checkbox-line {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.checkbox-line input {
  width: auto;
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.checkout-layout {
  align-items: start;
}

.grand-total {
  font-size: 1.2rem;
}

.auth-wrap {
  min-height: 65vh;
}

.auth-card,
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(31, 138, 95, 0.14);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.social-grid {
  display: grid;
  gap: 0.6rem;
}

.orders-list {
  display: grid;
  gap: 0.8rem;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  min-height: 180px;
  margin-bottom: 0.8rem;
}

.ba {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  overflow: hidden;
}

.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #0b0b0b;
}

.ba::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.ba.has-photo {
  color: #fff7e4;
}

.ba.before {
  background: #372020;
}

.ba.after {
  background: #223625;
}

.site-footer {
  border-top: 1px solid rgba(31, 138, 95, 0.16);
  background: linear-gradient(180deg, rgba(247, 255, 251, 0.94), rgba(232, 248, 240, 0.88));
  margin-top: 4rem;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.footer-grid a {
  display: block;
  color: #355d4b;
  margin-bottom: 0.45rem;
}

.footer-powered .powered-name {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--text);
}

.footer-grid a.powered-phone {
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.footer-grid a.footer-powered-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  color: #f3e3bf;
}

.footer-powered-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-brand-logo {
  width: min(420px, 100%);
  height: auto;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.copyright {
  text-align: center;
  margin-top: 2rem;
}

.alert {
  width: min(1120px, 92vw);
  margin: 1rem auto;
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.alert-error {
  background: rgba(190, 47, 47, 0.2);
  border: 1px solid rgba(190, 47, 47, 0.45);
}

.alert-success {
  background: rgba(50, 138, 88, 0.18);
  border: 1px solid rgba(90, 190, 120, 0.4);
}

.alert-info {
  background: rgba(201, 164, 95, 0.2);
  border: 1px solid rgba(231, 204, 147, 0.42);
  color: #f6deb2;
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.55rem;
  z-index: 40;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(22, 58, 41, 0.22);
}

.float-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.float-btn.whatsapp {
  background: #25d366;
}

.float-btn.instagram {
  background: linear-gradient(140deg, #f5ce62, #e96767, #a55eea);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(31, 138, 95, 0.17);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(31, 138, 95, 0.12);
}

.low-stock {
  background: rgba(190, 47, 47, 0.1);
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-main-head {
  text-align: center;
  margin-bottom: 1.2rem;
}

.page-main-head p {
  max-width: 760px;
  margin: 0.55rem auto 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual.reveal,
.education-visual.reveal,
.product-card.reveal,
.result-item.reveal,
.cart-item.reveal,
.detail-image.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.delay-1 {
  transition-delay: 0.1s;
}

.shimmer {
  background: linear-gradient(90deg, #e8f6ee 25%, #ffffff 48%, #e6f3eb 75%);
  background-size: 220% 100%;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (min-width: 800px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    transform: none;
    background: transparent;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 1rem;
  }

  .hero-grid,
  .featured-product,
  .product-detail-grid,
  .cart-layout,
  .checkout-layout,
  .scalp-grid,
  .account-section.two-col {
    grid-template-columns: 1fr 1fr;
  }

  .compare-grid,
  .products-grid,
  .cards-4,
  .treatments-grid,
  .testimonials-grid,
  .metrics-grid,
  .results-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 799px) {
  .brand-logo {
    width: 220px;
  }
}

@media (min-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong {
  line-height: 1;
}

.brand-copy small {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #587567;
  text-transform: uppercase;
}

.site-nav {
  border-top: 1px solid rgba(31, 138, 95, 0.14);
}

.nav-links,
.nav-actions {
  display: grid;
  gap: 0.7rem;
}

.action-pill {
  border: 1px solid rgba(31, 138, 95, 0.2);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  transition: all 0.2s ease;
  font: inherit;
  cursor: pointer;
}

.action-pill strong {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(138, 240, 188, 0.2);
  color: var(--gold-soft);
  font-size: 0.78rem;
}

.action-pill:hover,
.active-pill {
  border-color: rgba(138, 240, 188, 0.6);
  color: var(--gold-soft);
}

.cart-pill {
  justify-content: space-between;
}

.premium-cart-layout {
  align-items: start;
}

.premium-cart-item {
  grid-template-columns: 90px 1fr;
  border-radius: 16px;
  padding: 1rem;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.quantity-form input {
  width: 80px;
}

.coupon-inline {
  display: grid;
  gap: 0.65rem;
}

.delivery-mode-grid {
  display: grid;
  gap: 0.65rem;
}

.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(31, 138, 95, 0.2);
  background: rgba(255, 255, 255, 0.94);
  padding: 0.78rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.delivery-option input {
  width: auto;
  margin-top: 0.2rem;
}

.delivery-option strong {
  display: block;
}

.delivery-option small {
  color: #547263;
}

.delivery-option.selected {
  border-color: rgba(31, 138, 95, 0.56);
  box-shadow: 0 0 0 3px rgba(78, 207, 138, 0.12);
}

.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.enhanced-checkout h2 {
  margin-top: 0.3rem;
}

.saved-address-box {
  border-radius: 14px;
  border: 1px solid rgba(31, 138, 95, 0.15);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.95rem;
  margin-bottom: 1rem;
}

.address-fields {
  display: grid;
  gap: 0.9rem;
}

.payment-method-grid {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.payment-option {
  border: 1px solid rgba(31, 138, 95, 0.18);
  border-radius: 14px;
  padding: 0.9rem;
  display: flex;
  gap: 0.65rem;
  align-items: start;
  background: rgba(255, 255, 255, 0.92);
}

.payment-option input {
  width: auto;
  margin-top: 0.2rem;
}

.payment-option small {
  color: #507466;
  display: block;
  margin-top: 0.24rem;
}

.is-readonly {
  opacity: 0.72;
}

.auth-layout {
  display: grid;
  gap: 1rem;
}

.auth-intro,
.auth-card {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.auth-intro h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.account-hero {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.35rem;
  background: linear-gradient(145deg, rgba(78, 207, 138, 0.16), rgba(255, 255, 255, 0.01));
  display: grid;
  gap: 1rem;
}

.account-kpis {
  display: grid;
  gap: 0.65rem;
}

.account-kpis article {
  border: 1px solid rgba(31, 138, 95, 0.14);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.93);
}

.account-kpis small {
  color: #b8b8b8;
  display: block;
  margin-bottom: 0.25rem;
}

.account-kpis strong {
  font-size: 1.2rem;
}

.premium-orders {
  grid-template-columns: 1fr;
}

.status-badge {
  border-radius: 999px;
  border: 1px solid rgba(138, 240, 188, 0.5);
  color: var(--gold-soft);
  padding: 0.18rem 0.64rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pago {
  border-color: rgba(231, 204, 147, 0.55);
  color: #f3dca9;
}

.status-em_separacao {
  border-color: rgba(231, 204, 147, 0.55);
  color: #f3dca9;
}

.status-enviado {
  border-color: rgba(120, 189, 255, 0.5);
  color: #b9dcff;
}

.status-entregue {
  border-color: rgba(94, 207, 141, 0.55);
  color: #a4f4c6;
}

.status-cancelado {
  border-color: rgba(209, 106, 106, 0.5);
  color: #ffb1b1;
}

.address-grid {
  display: grid;
  gap: 0.7rem;
}

.account-panel-card {
  border-radius: 18px;
  border: 1px solid rgba(31, 138, 95, 0.16);
  background: rgba(255, 255, 255, 0.96);
  padding: 1.2rem;
  display: grid;
  gap: 0.95rem;
}

.profile-field-list {
  display: grid;
  gap: 0.65rem;
}

.profile-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid rgba(31, 138, 95, 0.14);
  border-radius: 14px;
  padding: 0.72rem 0.8rem;
  background: rgba(255, 255, 255, 0.9);
}

.profile-field-row small {
  display: block;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.profile-edit-form {
  margin-top: 0.25rem;
}

.icon-edit-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(31, 138, 95, 0.24);
  background: rgba(255, 255, 255, 0.9);
  color: #1f8a5f;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.icon-edit-link:hover {
  color: #fff;
  background: #1f8a5f;
  border-color: #1f8a5f;
}

.icon-edit-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.address-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

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

.account-address-actions {
  margin-top: 0.35rem;
}

.address-form-card {
  border-radius: 18px;
  border: 1px solid rgba(31, 138, 95, 0.16);
  background: rgba(255, 255, 255, 0.96);
  padding: 1.2rem;
}

.empty-state {
  border-radius: 20px;
  border: 1px dashed rgba(138, 240, 188, 0.5);
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
}

.legal-hero {
  border-radius: 20px;
  border: 1px solid rgba(31, 138, 95, 0.18);
  background: linear-gradient(155deg, rgba(78, 207, 138, 0.23), rgba(255, 255, 255, 0.7));
  padding: 1.8rem;
}

.legal-hero-centered {
  text-align: center;
}

.legal-hero-centered p {
  max-width: 900px;
  margin: 0.55rem auto 0;
}

.legal-page {
  display: grid;
  gap: 1.2rem;
}

.policy-layout {
  display: grid;
  gap: 1.2rem;
}

.policy-content {
  border: 1px solid rgba(31, 138, 95, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  padding: 1.3rem;
  display: grid;
  gap: 1rem;
}

.policy-content h2 {
  margin-top: 0.5rem;
}

.policy-content p,
.policy-content li {
  color: #355e4b;
}

.policy-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.policy-figure {
  min-height: 300px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.25)),
    url('/images/legal-cover.svg') center/cover no-repeat,
    linear-gradient(145deg, #1c1c1c, #0c0c0c);
  display: flex;
  align-items: end;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.policy-figure p {
  margin: 0;
  color: #f1f1f1;
  font-weight: 600;
}

.info-strip {
  padding: 1.4rem 0 0.5rem;
}

.info-strip-card {
  border-radius: 20px;
  border: 1px solid rgba(31, 138, 95, 0.16);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(231, 247, 239, 0.93)),
    url('/images/salon-pattern.svg') center/680px auto repeat;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.info-strip-card h3 {
  margin-bottom: 0.35rem;
}

.info-strip-grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.7rem;
}

.info-strip-grid article {
  border-radius: 14px;
  border: 1px solid rgba(31, 138, 95, 0.15);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.75rem 0.8rem;
}

.info-strip-grid h4 {
  margin-bottom: 0.28rem;
  font-size: 1rem;
}

.info-strip-grid p {
  margin: 0;
}

@media (min-width: 800px) {
  .site-nav {
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

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

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

  .auth-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .account-hero {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .account-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .premium-orders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .coupon-inline {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .delivery-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enhanced-checkout {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .policy-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .policy-figure {
    position: sticky;
    top: 94px;
    min-height: 420px;
  }

  .info-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.admin-main {
  padding-top: 3rem;
}

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

.admin-page-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.admin-page-head p {
  margin: 0;
}

.admin-panel {
  border-radius: 18px;
  border: 1px solid rgba(138, 240, 188, 0.16);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.admin-panel h2,
.admin-panel h3 {
  margin-bottom: 0.6rem;
}

.admin-metrics {
  display: grid;
  gap: 0.9rem;
}

.admin-metric {
  border-radius: 16px;
  border: 1px solid rgba(138, 240, 188, 0.14);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.95rem;
}

.admin-metric h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.admin-metric p {
  margin: 0;
  font-size: 1.36rem;
  color: #e9fff5;
  font-weight: 700;
}

.admin-table td .inline-form {
  flex-wrap: wrap;
}

.table-wrap.admin-table {
  border-color: rgba(138, 240, 188, 0.16);
}

.table-wrap.admin-table table thead th {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #cbe8d8;
  background: rgba(138, 240, 188, 0.07);
}

.table-wrap.admin-table td {
  vertical-align: top;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field > span {
  font-size: 0.84rem;
  color: #e5fff2;
  font-weight: 600;
}

.field-hint {
  font-size: 0.76rem;
  color: #a8cbbb;
  line-height: 1.5;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.86rem;
}

.btn-danger {
  border-color: rgba(209, 106, 106, 0.55);
  color: #ffc8c8;
  background: rgba(209, 106, 106, 0.1);
}

.btn-danger:hover {
  border-color: rgba(209, 106, 106, 0.8);
}

.admin-nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.7rem 0;
}

.admin-brand {
  font-weight: 700;
}

.admin-brand-logo {
  width: clamp(88px, 14vw, 150px);
  height: auto;
  display: block;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-link {
  border: 1px solid rgba(138, 240, 188, 0.18);
  border-radius: 999px;
  padding: 0.44rem 0.78rem;
  color: #d8f5e7;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.admin-link:hover,
.admin-link.active {
  border-color: rgba(138, 240, 188, 0.64);
  color: #f0fff7;
  background: rgba(78, 207, 138, 0.14);
}

.admin-nav-cta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pill-muted {
  border: 1px solid rgba(138, 240, 188, 0.18);
  border-radius: 999px;
  padding: 0.44rem 0.78rem;
  font-size: 0.82rem;
  color: #b9d6c9;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 240, 188, 0.35);
  background: rgba(78, 207, 138, 0.14);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.coupon-guide {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.coupon-guide li {
  color: #cae6d9;
}

.coupon-list {
  display: grid;
  gap: 0.9rem;
}

.coupon-item {
  border-radius: 16px;
  border: 1px solid rgba(138, 240, 188, 0.17);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.coupon-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.status-tag {
  align-self: flex-start;
  line-height: 1;
  white-space: nowrap;
}

.form-grid.cols-2 {
  grid-template-columns: 1fr;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: 'v';
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #c7e6d8;
  pointer-events: none;
  font-size: 0.8rem;
}

select {
  appearance: none;
  background-image: none;
  padding-right: 2.1rem;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: rgba(138, 240, 188, 0.6);
  box-shadow: 0 0 0 3px rgba(78, 207, 138, 0.16);
}

select option {
  background: #ffffff;
  color: #1a3f30;
}

.site-nav a:hover,
.link-btn:hover {
  color: #1e7c53;
}

@media (min-width: 800px) {
  .admin-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-shell.grid-2 {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .form-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Black + Gold theme override */
:root {
  --bg: #070707;
  --surface: #101010;
  --surface-2: #171717;
  --text: #f6e5c3;
  --muted: #d6ba86;
  --gold: #c9a45f;
  --gold-soft: #f2d9a4;
  --card: #101010;
  --shadow: 0 24px 52px rgba(0, 0, 0, 0.46);
}

html,
body {
  background:
    radial-gradient(circle at 16% -4%, rgba(43, 34, 22, 0.86), rgba(8, 8, 8, 1) 45%, #050505 100%),
    #070707;
  color: var(--text);
}

body::before {
  background:
    linear-gradient(120deg, rgba(201, 164, 95, 0.13), rgba(3, 3, 3, 0.9) 44%),
    url('/images/salon-pattern.svg') center/900px auto repeat;
}

h1,
h2,
h3,
h4 {
  color: #f7ddb0;
}

p,
.subtle,
.brand-copy small,
.delivery-option small,
.payment-option small,
.field-hint,
.policy-content p,
.policy-content li,
.footer-grid a,
.copyright {
  color: var(--muted);
}

.eyebrow {
  color: var(--gold-soft);
}

.site-header,
.admin-header {
  border-bottom: 1px solid rgba(201, 164, 95, 0.24);
  background: rgba(7, 7, 7, 0.92);
}

.brand-mark {
  border-color: rgba(201, 164, 95, 0.45);
  color: var(--gold-soft);
}

.menu-toggle {
  border-color: rgba(201, 164, 95, 0.28);
  background: rgba(12, 12, 12, 0.95);
  color: var(--text);
}

.site-nav {
  background: rgba(9, 9, 9, 0.98);
  border-top: 1px solid rgba(201, 164, 95, 0.18);
}

.site-nav a,
.link-btn {
  color: #f1ddba;
}

.site-nav a.active,
.site-nav a:hover,
.link-btn:hover {
  color: var(--gold-soft);
}

.hero::before {
  background:
    linear-gradient(120deg, rgba(8, 8, 8, 0.9), rgba(33, 26, 18, 0.82)),
    url('/images/salon-pattern.svg') center/760px auto repeat;
  border-bottom: 1px solid rgba(201, 164, 95, 0.2);
}

.premium-gradient::after {
  display: none;
}

.btn-gold {
  background: linear-gradient(120deg, #b8904e, #e2c487);
  color: #17120c;
  border-color: rgba(255, 234, 197, 0.4);
}

.btn-dark {
  background: #151515;
  border-color: rgba(201, 164, 95, 0.24);
  color: var(--text);
}

.btn-ghost {
  border-color: rgba(201, 164, 95, 0.36);
  color: var(--gold-soft);
  background: rgba(16, 16, 16, 0.76);
}

.comparison-card {
  border-color: rgba(201, 164, 95, 0.2);
}

.side.damaged {
  background:
    linear-gradient(170deg, rgba(44, 16, 18, 0.62), rgba(24, 10, 10, 0.72)),
    url('/images/hero-damaged.jpg') center/cover no-repeat;
  color: #f5d4d8;
}

.side.healthy {
  background:
    linear-gradient(170deg, rgba(52, 40, 17, 0.55), rgba(24, 18, 11, 0.68)),
    url('/images/hero-healthy.jpg') center/cover no-repeat;
  color: #f7e6bf;
}

.compare-card,
.info-card,
.treatment-card,
.testimonial-card,
.summary-card,
.product-card,
.order-card,
.address-card,
.metric-card,
.success-card,
.coupon-form,
.auth-card,
.contact-form,
.saved-address-box,
.payment-option,
.address-form-card,
.account-panel-card,
.info-strip-grid article,
.account-kpis article,
.delivery-option,
.coupon-item,
.admin-panel,
.admin-metric {
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(11, 11, 11, 0.94));
  border-color: rgba(201, 164, 95, 0.2);
}

.compare-card.pro {
  border-color: rgba(231, 204, 147, 0.45);
}

.compare-card.drugstore {
  border-color: rgba(213, 109, 109, 0.4);
}

.deep {
  background: rgba(201, 164, 95, 0.18);
}

.surface {
  background: rgba(213, 109, 109, 0.16);
}

.dark-section {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.78), rgba(7, 7, 7, 0.92));
}

.education-visual,
.product-media,
.detail-image,
.cart-thumb,
.product-image {
  border: 1px solid rgba(201, 164, 95, 0.25);
  background:
    linear-gradient(140deg, rgba(26, 26, 26, 0.96), rgba(12, 12, 12, 0.98)),
    url('/images/salon-pattern.svg') center/420px auto repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.education-visual {
  background-image:
    linear-gradient(160deg, rgba(10, 10, 10, 0.36), rgba(10, 10, 10, 0.64));
}

.skin-layers span {
  background: rgba(18, 18, 18, 0.94);
  border-color: rgba(201, 164, 95, 0.18);
}

.price,
.status-badge {
  color: var(--gold-soft);
}

.status-badge {
  border-color: rgba(231, 204, 147, 0.45);
}

.stock-out {
  color: #ff9b9b;
}

.detail-form input[type='number'],
input,
textarea,
select {
  border: 1px solid rgba(201, 164, 95, 0.24);
  background: rgba(12, 12, 12, 0.95);
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(231, 204, 147, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 164, 95, 0.16);
}

.action-pill {
  border-color: rgba(201, 164, 95, 0.24);
  background: rgba(14, 14, 14, 0.94);
  color: var(--text);
}

.profile-field-row {
  border-color: rgba(201, 164, 95, 0.2);
  background: rgba(10, 10, 10, 0.7);
}

.icon-edit-link {
  border-color: rgba(201, 164, 95, 0.28);
  background: rgba(18, 18, 18, 0.9);
  color: var(--gold-soft);
}

.icon-edit-link:hover {
  color: #17120c;
  background: linear-gradient(120deg, #b8904e, #e2c487);
  border-color: rgba(231, 204, 147, 0.75);
}

.action-pill strong {
  background: rgba(201, 164, 95, 0.22);
  color: var(--gold-soft);
}

.action-pill:hover,
.active-pill {
  border-color: rgba(231, 204, 147, 0.6);
  color: var(--gold-soft);
}

.delivery-option.selected {
  border-color: rgba(231, 204, 147, 0.6);
  box-shadow: 0 0 0 3px rgba(201, 164, 95, 0.14);
}

.site-footer {
  border-top: 1px solid rgba(201, 164, 95, 0.2);
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.96), rgba(7, 7, 7, 0.94));
}

.ba.after {
  background: #2f2414;
}

.table-wrap {
  border-color: rgba(201, 164, 95, 0.25);
}

th,
td {
  border-bottom: 1px solid rgba(201, 164, 95, 0.16);
}

.table-wrap.admin-table table thead th {
  color: #efe2c8;
  background: rgba(201, 164, 95, 0.12);
}

.admin-link,
.pill-muted {
  border-color: rgba(201, 164, 95, 0.26);
  color: #e9ddc4;
  background: rgba(255, 255, 255, 0.02);
}

.admin-link:hover,
.admin-link.active {
  border-color: rgba(231, 204, 147, 0.66);
  color: #fff3d9;
  background: rgba(201, 164, 95, 0.14);
}

.status-tag {
  border-color: rgba(231, 204, 147, 0.45);
  background: rgba(201, 164, 95, 0.14);
}

.field > span {
  color: #e9ddc3;
}

.coupon-guide li {
  color: #d0c4ad;
}

.alert-success {
  background: rgba(201, 164, 95, 0.16);
  border: 1px solid rgba(201, 164, 95, 0.42);
}

.legal-hero {
  border-color: rgba(201, 164, 95, 0.24);
  background: linear-gradient(155deg, rgba(201, 164, 95, 0.22), rgba(14, 14, 14, 0.9));
}

.policy-content {
  border-color: rgba(201, 164, 95, 0.22);
}

.info-strip-card {
  border-color: rgba(201, 164, 95, 0.24);
  background:
    linear-gradient(140deg, rgba(18, 18, 18, 0.95), rgba(10, 10, 10, 0.95)),
    url('/images/salon-pattern.svg') center/680px auto repeat;
}

.shimmer {
  background: linear-gradient(90deg, #191919 20%, #2f2a22 50%, #151515 80%);
  background-size: 220% 100%;
}

.select-wrap::after {
  color: #ecd7ad;
}

select option {
  background: #111111;
  color: #f5f1e8;
}

.stars {
  display: inline-flex;
  gap: 0.16rem;
  align-items: center;
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.results-strip .testimonial-card {
  text-align: center;
}

.results-strip .stars {
  justify-content: center;
  width: 100%;
}

.results-strip .testimonial-card strong {
  display: block;
  margin-top: 0.25rem;
}

.star {
  line-height: 1;
}

.star.filled {
  color: var(--gold-soft);
}

.star.empty {
  color: rgba(231, 204, 147, 0.28);
}

.social-login {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 164, 95, 0.18);
}

.social-title {
  margin: 0 0 0.65rem;
  color: #e7d9bc;
  font-weight: 600;
}

.social-google-btn {
  min-height: 52px;
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 95, 0.34);
  background: linear-gradient(145deg, rgba(19, 19, 19, 0.96), rgba(11, 11, 11, 0.98));
  color: #f2e4c5;
  padding: 0.58rem 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-google-btn.icon-only {
  width: 56px;
  min-width: 56px;
  padding: 0;
  gap: 0;
}

.social-google-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(231, 204, 147, 0.7);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.google-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

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

.auth-links {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.auth-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.52rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 95, 0.38);
  background: rgba(12, 12, 12, 0.68);
  color: #ecd8b0;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.auth-links a:hover {
  color: #fff1ce;
  border-color: rgba(231, 204, 147, 0.72);
  background: rgba(26, 22, 16, 0.86);
  transform: translateY(-1px);
}

.auth-links p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.52rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 95, 0.2);
  background: rgba(9, 9, 9, 0.45);
  color: #cdbf9e;
}

.auth-links p a {
  min-height: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: #f0ddb4;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.auth-links p a:hover {
  transform: none;
  border: none;
  background: transparent;
  color: #fff2d2;
}

/* Requested polish for header, comparison blocks and legal pages */
.site-header {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.nav-wrap {
  min-height: 84px;
  gap: 1.4rem;
}

.brand {
  gap: 0.78rem;
}

.brand-copy strong {
  font-size: clamp(1.28rem, 2.1vw, 1.52rem);
  line-height: 1.02;
  color: #f5efdf;
}

.brand-copy small {
  letter-spacing: 0.08em;
  color: #bcaf95;
}

.site-nav a {
  padding: 0.45rem 0.62rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(201, 164, 95, 0.12);
}

.nav-actions {
  gap: 0.72rem;
}

.action-pill {
  min-height: 42px;
  padding: 0.56rem 1rem;
  border-radius: 999px;
}

.action-pill.cart-pill {
  min-width: 122px;
}

.comparison-card {
  min-height: clamp(280px, 42vw, 360px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.4);
}

.side {
  align-items: end;
  justify-content: center;
  padding: 2rem 1.2rem;
}

.side span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  width: min(90%, 170px);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.12em;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.compare-grid {
  gap: 1.15rem;
  align-items: stretch;
}

.compare-card {
  padding: 1.4rem 1.3rem;
}

.compare-card h3 {
  margin-bottom: 0.9rem;
}

.compare-card ul {
  gap: 0.62rem;
  margin: 0;
}

.fiber-diagram {
  margin-top: 1.05rem;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 600;
  border: 1px solid rgba(201, 164, 95, 0.2);
}

.skin-layers {
  gap: 0.72rem;
  height: 100%;
  align-content: start;
}

.skin-layers span {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 2.55rem;
  border-radius: 14px;
  font-weight: 600;
  color: #f1e8d2;
}

.skin-layers span::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e9cb94;
  box-shadow: 0 0 0 4px rgba(201, 164, 95, 0.18);
}

.skin-note {
  margin: 0.2rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 164, 95, 0.18);
  background: rgba(12, 12, 12, 0.72);
  color: #ccbfa4;
  line-height: 1.55;
  font-size: 0.92rem;
}

/* Remove qualquer imagem residual do bloco educativo de couro cabeludo */
.education-visual {
  background: linear-gradient(160deg, rgba(11, 11, 11, 0.95), rgba(7, 7, 7, 0.97)) !important;
  background-image: none !important;
}

.skin-layers span {
  background: #0f0f0f !important;
}

.policy-content {
  background: linear-gradient(165deg, rgba(14, 14, 14, 0.97), rgba(8, 8, 8, 0.97)) !important;
  border-color: rgba(201, 164, 95, 0.24) !important;
}

.policy-content h2 {
  color: #f2ddb1;
}

.policy-content p,
.policy-content li,
.policy-content ol li {
  color: #d7c9ae !important;
}

.policy-content ul,
.policy-content ol {
  display: grid;
  gap: 0.45rem;
}

.policy-figure {
  border-color: rgba(201, 164, 95, 0.25);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
}

@media (min-width: 800px) {
  .nav-links {
    gap: 0.25rem;
  }
}

@media (min-width: 800px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.36rem;
    padding: 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 164, 95, 0.2);
    background: linear-gradient(160deg, rgba(18, 18, 18, 0.92), rgba(10, 10, 10, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .nav-links a {
    position: relative;
    min-height: 38px;
    padding: 0.5rem 0.94rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #dfd4c0;
    transition:
      color 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0.36rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(231, 204, 147, 0), rgba(231, 204, 147, 0.9), rgba(231, 204, 147, 0));
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links a:hover {
    color: #fff1cf;
    background: rgba(201, 164, 95, 0.14);
    border-color: rgba(201, 164, 95, 0.36);
    transform: translateY(-1px);
  }

  .nav-links a:hover::after,
  .nav-links a.active::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .nav-links a.active {
    color: #fff3d8;
    background: rgba(201, 164, 95, 0.2);
    border-color: rgba(231, 204, 147, 0.52);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  }
}

@media (min-width: 800px) {
  .results-gallery.pyramid-layout.odd-last .result-item:last-child {
    grid-column: 1 / -1;
    width: min(560px, 100%);
    margin-inline: auto;
  }
}

/* Global pill layout for buttons (excluding plain footer/text links) */
.btn,
.action-pill,
.admin-link,
.menu-toggle,
.social-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 95, 0.44);
  background: linear-gradient(150deg, rgba(25, 25, 25, 0.96), rgba(13, 13, 13, 0.95));
  color: #f3e3bf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-weight: 650;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover,
.action-pill:hover,
.admin-link:hover,
.menu-toggle:hover,
.social-google-btn:hover,
.active-pill,
.admin-link.active {
  color: #fff2d1;
  border-color: rgba(231, 204, 147, 0.74);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.btn-gold,
.btn-dark,
.btn-ghost {
  background: linear-gradient(150deg, rgba(25, 25, 25, 0.96), rgba(13, 13, 13, 0.95));
  color: #f3e3bf;
  border-color: rgba(201, 164, 95, 0.44);
}

.btn-danger {
  border-color: rgba(206, 114, 114, 0.6);
  background: linear-gradient(150deg, rgba(31, 16, 16, 0.96), rgba(18, 10, 10, 0.95));
  color: #ffd2d2;
}

.site-nav {
  border-top: none !important;
}

.auth-feature-grid {
  display: grid;
  gap: 0.68rem;
  margin-top: 1.05rem;
}

.auth-feature-item {
  border: 1px solid rgba(201, 164, 95, 0.2);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: rgba(12, 12, 12, 0.62);
}

.auth-feature-item h3 {
  margin-bottom: 0.32rem;
  font-size: 1.06rem;
}

.auth-feature-item p {
  margin: 0;
  color: #c8bda6;
  line-height: 1.5;
  font-size: 0.94rem;
}

.auth-intro-note {
  margin: 0.92rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(201, 164, 95, 0.22);
  color: #d7c9ad;
  font-size: 0.92rem;
}

@media (max-width: 799px) {
  .nav-wrap {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .site-nav {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    width: 100%;
    border-top: none !important;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.36rem;
    padding: 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 164, 95, 0.2);
    background: linear-gradient(160deg, rgba(18, 18, 18, 0.92), rgba(10, 10, 10, 0.9));
  }

  .nav-links a {
    min-height: 38px;
    padding: 0.5rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #dfd4c0;
  }

  .nav-links a.active {
    color: #fff3d8;
    background: rgba(201, 164, 95, 0.2);
    border-color: rgba(231, 204, 147, 0.52);
  }

  .nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }
}

/* Status palette: active (green), inactive (red), neutral */
.status-tag.is-active,
.status-badge.is-active {
  border-color: rgba(77, 205, 128, 0.74) !important;
  background: rgba(31, 120, 74, 0.28) !important;
  color: #b4f5d1 !important;
}

.status-tag.is-inactive,
.status-badge.is-inactive {
  border-color: rgba(226, 98, 98, 0.74) !important;
  background: rgba(130, 33, 33, 0.3) !important;
  color: #ffc6c6 !important;
}

.status-tag.is-neutral,
.status-badge.is-neutral {
  border-color: rgba(201, 164, 95, 0.45) !important;
  background: rgba(201, 164, 95, 0.14) !important;
  color: #f0ddb4 !important;
}

/* Legal pages: remove side card and centralize text content */
.policy-figure {
  display: none !important;
}

.policy-layout {
  grid-template-columns: minmax(0, 940px) !important;
  justify-content: center;
}

.policy-content {
  width: 100%;
  margin-inline: auto;
}

/* Datepicker dark button (only where input type="date" exists) */
.datepicker-wrap {
  position: relative;
  width: 100%;
}

.datepicker-wrap .flatpickr-input[readonly] {
  width: 100%;
  border: 1px solid rgba(201, 164, 95, 0.24);
  background: rgba(12, 12, 12, 0.95);
  color: var(--text);
  border-radius: 12px;
  padding: 0.72rem 3rem 0.72rem 0.85rem;
  margin-top: 0.35rem;
  font: inherit;
}

.datepicker-btn {
  position: absolute;
  right: 0.6rem;
  top: calc(50% + 0.15rem);
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(201, 164, 95, 0.42);
  background: rgba(20, 20, 20, 0.95);
  color: #f0ddb4;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.datepicker-btn:hover {
  border-color: rgba(231, 204, 147, 0.72);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

.datepicker-btn:active {
  transform: translateY(-50%) scale(0.98);
}

.datepicker-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.flatpickr-calendar {
  background: #0f0f0f;
  border: 1px solid rgba(201, 164, 95, 0.32);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year,
.flatpickr-weekday,
.flatpickr-day {
  color: #f2e5c8;
}

.flatpickr-day.today {
  border-color: rgba(231, 204, 147, 0.7);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: rgba(201, 164, 95, 0.9);
  border-color: rgba(201, 164, 95, 0.9);
  color: #0d0d0d;
}

.flatpickr-day:hover {
  background: rgba(201, 164, 95, 0.18);
}

/* Mobile cleanup: reduce header visual noise and prevent broken nav layout */
@media (max-width: 799px) {
  .nav-wrap {
    align-items: center;
    flex-wrap: wrap;
    row-gap: 0.7rem;
  }

  .menu-toggle {
    display: none !important;
  }

  .site-nav {
    display: flex !important;
    width: 100%;
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(201, 164, 95, 0.2);
    background: linear-gradient(160deg, rgba(16, 16, 16, 0.95), rgba(9, 9, 9, 0.94));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
    gap: 0.75rem;
  }

  .nav-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
    border: none;
    background: transparent;
    padding: 0;
  }

  .nav-links a {
    min-height: 36px;
    padding: 0.48rem 0.72rem;
    font-size: 0.9rem;
    text-align: center;
  }

  .nav-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    width: 100%;
  }

  .nav-actions .inline-form {
    width: 100%;
  }

  .nav-actions .action-pill,
  .nav-actions .inline-form .action-pill {
    width: 100%;
    justify-content: center;
  }

  .nav-actions .cart-pill {
    grid-column: 1 / -1;
  }
}

@media (min-width: 800px) {
  .site-nav {
    display: flex !important;
  }
}

/* Toast notifications for add-to-cart and status messages */
.flash-stack {
  position: fixed;
  top: 88px;
  right: 14px;
  z-index: 120;
  display: grid;
  gap: 0.55rem;
  width: min(92vw, 380px);
}

.toast-alert {
  margin: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast-alert.hide {
  opacity: 0;
  transform: translateY(-8px);
}

/* Pix checkout block */
.pix-box {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 164, 95, 0.3);
  background: rgba(14, 14, 14, 0.7);
  display: grid;
  gap: 0.75rem;
}

.pix-box h2 {
  margin: 0;
}

.pix-qr-wrap {
  display: grid;
  place-items: center;
}

.pix-qr {
  width: min(260px, 100%);
  border-radius: 12px;
  border: 1px solid rgba(201, 164, 95, 0.24);
  background: #ffffff;
  padding: 0.5rem;
}

.pix-copy-label {
  font-weight: 600;
}

.pix-copy-row {
  display: grid;
  gap: 0.55rem;
}

.pix-copy-row textarea {
  min-height: 88px;
  resize: vertical;
  font-family: monospace;
}

@media (min-width: 760px) {
  .pix-copy-row {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

/* Home feedbacks */
.home-review-form {
  margin: 1rem 0 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(201, 164, 95, 0.22);
  border-radius: 16px;
  background: rgba(11, 11, 11, 0.62);
}

.home-review-form textarea {
  resize: vertical;
}

.home-review-cta {
  margin: 1rem 0 1.2rem;
  display: flex;
  justify-content: center;
}

.home-review-trigger {
  min-width: min(280px, 100%);
}

.home-review-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.home-review-modal[hidden] {
  display: none;
}

.home-review-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 4, 4, 0.76);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.home-review-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(201, 164, 95, 0.35);
  padding: 1.2rem;
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.24s ease, transform 0.28s ease;
}

.home-review-modal__dialog h3 {
  margin: 0 0 0.75rem;
}

.home-review-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 95, 0.3);
  background: rgba(16, 16, 16, 0.94);
  color: #f4e6c8;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.home-review-modal__form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.home-review-modal.is-open,
.home-review-modal.is-closing {
  pointer-events: auto;
}

.home-review-modal.is-open {
  opacity: 1;
}

.home-review-modal.is-open .home-review-modal__backdrop {
  opacity: 1;
}

.home-review-modal.is-open .home-review-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .home-review-modal,
  .home-review-modal__backdrop,
  .home-review-modal__dialog {
    transition: none;
  }
}

body.modal-open {
  overflow: hidden;
}

.feedback-hidden {
  display: none;
}

.feedback-more-wrap {
  margin-top: 0.85rem;
  display: flex;
  justify-content: center;
}

.media-source-field {
  gap: 0.45rem;
}

.media-source-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.media-source-toggle.is-active {
  border-color: rgba(231, 204, 147, 0.74);
  color: #fff2d1;
}

.media-source-panel {
  margin-top: 0.2rem;
  display: grid;
  gap: 0.35rem;
}

.media-source-panel.is-hidden {
  display: none;
}

.stock-actions {
  display: grid;
  gap: 0.55rem;
}

/* Mobile menu (hamburger) */
.menu-toggle-icon {
  display: inline-grid;
  gap: 4px;
}

.menu-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-toggle-glyph {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  color: #f3e3bf;
}

@media (max-width: 799px) {
  .site-header .menu-toggle {
    display: inline-flex !important;
    min-width: 42px;
    padding: 0.5rem 0.72rem;
    align-items: center;
    justify-content: center;
    color: #f3e3bf !important;
  }

  .site-header .site-nav {
    display: none !important;
    width: 100%;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(201, 164, 95, 0.2);
    background: linear-gradient(160deg, rgba(16, 16, 16, 0.95), rgba(9, 9, 9, 0.94));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
    gap: 0.75rem;
  }

  .site-header .site-nav.open {
    display: flex !important;
    flex-direction: column;
  }

  .site-header .nav-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
    border: none;
    background: transparent;
    padding: 0;
  }

  .site-header .nav-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    width: 100%;
  }
}

@media (min-width: 800px) {
  .site-header .menu-toggle {
    display: none !important;
  }
}

/* UI polish */
:root {
  --btn-height-uniform: 46px;
  --btn-width-uniform: 148px;
}

.btn,
.action-pill,
.admin-link,
.menu-toggle,
.social-google-btn {
  min-height: var(--btn-height-uniform);
}

.btn {
  min-width: var(--btn-width-uniform);
  padding: 0.68rem 1.2rem;
}

.btn.full {
  min-width: 0;
}

.btn-sm {
  min-height: 40px;
  min-width: 112px;
}

.coupon-inline .btn,
.quantity-form .btn {
  min-width: 132px;
}

.row-between > h1,
.row-between > h2,
.row-between > h3 {
  margin-bottom: 0;
}

.checkout-summary {
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

.delivery-option,
.payment-option {
  min-height: 82px;
}

@media (max-width: 799px) {
  .row-between {
    justify-content: center;
    text-align: center;
  }

  .row-between > .btn,
  .row-between > a.btn {
    width: min(320px, 100%);
  }

  .coupon-inline .btn,
  .quantity-form .btn {
    min-width: 0;
    width: 100%;
  }
}

.account-overview-section,
.account-orders-section {
  gap: 1rem;
}

.account-section-head {
  align-items: center;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(201, 164, 95, 0.16);
}

.account-panel-card p {
  margin: 0.2rem 0;
}

.address-card {
  display: grid;
  gap: 0.2rem;
}

.address-card p {
  margin: 0;
}

.orders-list .order-card {
  display: grid;
  gap: 0.45rem;
}

.admin-panel .simple-list {
  margin: 0;
  padding-left: 1rem;
}

.admin-panel .table-wrap {
  margin-top: 0.4rem;
}

.admin-products-table td {
  vertical-align: middle;
}

.admin-inline-actions .btn,
.admin-inline-actions form .btn {
  min-width: 110px;
}

.admin-empty-state {
  margin: 0.35rem 0;
}

.admin-empty-state h3,
.admin-empty-state p {
  margin: 0;
}

.admin-empty-state p {
  margin-top: 0.35rem;
}

.admin-orders-table td,
.admin-stock-table td {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.order-status-form {
  display: grid;
  gap: 0.45rem;
}

.order-status-form .btn,
.stock-adjust-form .btn {
  min-width: 120px;
}

.stock-adjust-form {
  width: 100%;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(0, 130px) auto;
  align-items: center;
}

.stock-adjust-form input {
  margin-top: 0;
}

@media (max-width: 799px) {
  .stock-adjust-form {
    grid-template-columns: 1fr;
  }
}

