@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Nunito+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #fff2f7;
  --bg-soft: #ffe8f1;
  --panel: #ffffff;
  --ink: #5f5960;
  --ink-strong: #4b454c;
  --muted: #7d737c;
  --line: #e8cfda;
  --brand: #cb839f;
  --accent: #e7b5c8;
  --accent-soft: #ffffff;
  --danger: #b14760;
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 48px rgba(203, 131, 159, 0.2);
}

/* Brand refresh 2026 */
.brand {
  gap: 0 !important;
}

.brand .brand-text {
  display: block !important;
  width: 172px;
  height: 60px;
  background: url("assets/images/brand/logo-jm-sem-fundo.png") left center / contain no-repeat;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  overflow: hidden;
  user-select: none;
}

.footer-top-brand {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.footer-site-logo {
  width: min(176px, 100%);
  height: auto;
  display: block;
}

.footer-brand {
  gap: 0 !important;
}

.footer-brand::before {
  content: "";
  display: block;
  width: 138px;
  height: 46px;
  background: url("assets/images/brand/logo-jm-sem-fundo.png") left center / contain no-repeat;
}

.footer-brand span {
  display: none !important;
}

.about-brand-showcase {
  border: 1px solid #e9dce4;
  border-radius: 18px;
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: 0.95rem;
}

.about-brand-showcase-head {
  display: grid;
  gap: 0.35rem;
}

.about-brand-showcase-head h2,
.about-brand-showcase-head p {
  margin: 0;
}

.about-brand-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-brand-card {
  border: 1px solid #eadbe3;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fcf8fb 100%);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.about-brand-card img {
  width: 100%;
  min-height: 160px;
  max-height: 220px;
  object-fit: contain;
  border: 1px solid #eadbe3;
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
}

.about-brand-card h3,
.about-brand-card p {
  margin: 0;
}

@media (max-width: 980px) {
  .about-brand-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .brand .brand-text {
    width: 138px;
    height: 48px;
  }

  .footer-brand::before {
    width: 124px;
    height: 40px;
  }

  .about-brand-showcase,
  .about-brand-card {
    border-radius: 14px;
  }

  .about-brand-card img {
    min-height: 132px;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fff2f7 0%, #fff7fb 56%, #ffffff 100%);
  color: var(--ink);
  font-family: "Nunito Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

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

.container {
  width: min(1160px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.top-strip {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #ffe9f2 0%, #ffdfe9 100%);
}

.top-strip-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 246, 250, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-main {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.35rem;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.94rem;
  color: var(--ink);
  padding: 0.35rem 0;
  position: relative;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

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

.main-nav a.active {
  color: var(--brand);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.5rem;
}

.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}

.account-link:hover,
.cart-link:hover {
  background: #fff7fb;
  box-shadow: 0 0 0 2px rgba(196, 127, 149, 0.14) inset;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.92rem;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: #fff;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}

.cart-link span {
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.73rem;
}

.rotating-banner {
  display: block;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0.45rem;
}

.rotating-banner .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.rotating-banner-track {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(180px, 28vw, 420px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.rotating-banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.rotating-banner-slide.is-active {
  opacity: 1;
}

.rotating-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 1;
}

.rotating-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(95, 89, 96, 0.35);
  background: rgba(255, 255, 255, 0.6);
}

.rotating-banner-dot.is-active {
  background: #fff;
}

main {
  padding-bottom: 3.5rem;
}

.page-main {
  padding-top: 2.1rem;
}

.hero-home {
  padding: 3rem 0 1.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: center;
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  color: var(--ink-strong);
  letter-spacing: 0.012em;
}

.hero-home h1 {
  margin-top: 0.8rem;
  max-width: 15ch;
  font-size: clamp(1.95rem, 3.8vw, 3.1rem);
  line-height: 1.14;
  font-weight: 700;
}

.hero-copy {
  max-width: 52ch;
  color: var(--muted);
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.62;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
  padding: 0.72rem 1.06rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: 600;
}

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

.btn-solid {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(196, 127, 149, 0.3);
}

.btn-outline {
  background: #fffafb;
  color: var(--ink);
  border-color: var(--brand);
}

.hero-image-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 0.8rem;
  position: relative;
  background: #fff;
}

.hero-image-wrap img {
  width: 100%;
  border-radius: calc(var(--radius-xl) - 10px);
  aspect-ratio: 0.85;
  object-fit: cover;
}

.hero-tag {
  margin: 0;
  position: absolute;
  right: -0.6rem;
  bottom: 1.2rem;
  background: var(--brand);
  color: #fff;
  padding: 0.65rem 0.82rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.35;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.benefits article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.05rem;
  background: #fff;
}

.benefits h2 {
  font-size: 1.35rem;
}

.benefits p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-headline {
  margin-top: 2.4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.section-headline h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.06;
}

.text-link {
  color: var(--ink-strong);
  border-bottom: 1px solid var(--ink-strong);
  font-size: 0.9rem;
}

.category-panels {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.category-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  min-height: 245px;
  box-shadow: 0 8px 20px rgba(168, 114, 136, 0.1);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card span {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(75, 69, 76, 0.86);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  padding: 0.42rem 0.72rem;
  font-weight: 600;
}

.category-card:hover img {
  transform: scale(1.05);
}

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

.product-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(168, 114, 136, 0.18);
}

.product-image {
  position: relative;
}

.product-image img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 0.58rem;
  left: 0.58rem;
  background: #6f6770;
  color: #fff;
  border-radius: 999px;
  font-size: 0.66rem;
  padding: 0.28rem 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.product-badge.launch {
  background: #7e7480;
}

.product-badge.new {
  background: #3f7a5e;
}

.product-badge.best {
  background: #7b5a35;
}

.product-badge.promo {
  background: #ad2f4b;
}

.product-body {
  padding: 0.95rem 0.9rem 1rem;
  display: grid;
  gap: 0.48rem;
  height: 100%;
}

.product-category {
  margin: 0;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #757575;
}

.product-name {
  font-size: 1rem;
  line-height: 1.34;
}

.product-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  min-height: 2.6em;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.product-prices strong {
  font-size: 1.12rem;
  color: var(--ink-strong);
}

.product-prices span {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.78rem;
}

.product-installments {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.product-stock {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2d6a4f;
}

.product-stock.sold-out {
  color: #9a3b35;
}

.product-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.52rem;
}

.product-actions .btn {
  font-size: 0.82rem;
  padding: 0.58rem 0.65rem;
  text-align: center;
  border-radius: 10px;
}

.product-actions .btn-outline {
  background: #fff8fc;
  border-color: #e5cad8;
}

.product-actions .btn-solid {
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(203, 131, 159, 0.33);
}

.product-actions .btn:last-child {
  grid-column: 1 / -1;
}

.product-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.product-name a {
  text-decoration: none;
}

.product-name a:hover {
  text-decoration: underline;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.product-detail-image {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.product-detail-image img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
}

.product-detail-content {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  background: #fff;
}

.product-detail-content h1 {
  margin-top: 0.7rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.product-detail-desc {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.product-detail-price {
  margin: 1rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.product-detail-price strong {
  font-size: 1.7rem;
}

.product-detail-price span {
  color: var(--muted);
  text-decoration: line-through;
}

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

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

.product-thumb {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.product-thumb.active {
  border-color: var(--brand);
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-zoom-trigger {
  cursor: zoom-in;
  padding: 0;
}

.product-detail-block {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.8rem;
}

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

.product-detail-block p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.product-options-grid {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.product-option-field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.product-option-field select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.58rem 0.65rem;
  background: #fff;
  color: var(--ink);
}

.product-shipping-form {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.product-shipping-form input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.62rem 0.7rem;
  background: #fff;
}

.product-shipping-status {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.product-shipping-options {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.product-shipping-option {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.product-shipping-option strong {
  font-size: 0.9rem;
}

.product-shipping-option small {
  color: var(--muted);
}

.product-size-table-wrap {
  overflow-x: auto;
  margin-top: 0.55rem;
}

.product-size-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.product-size-table th,
.product-size-table td {
  border: 1px solid var(--line);
  padding: 0.45rem 0.5rem;
  font-size: 0.85rem;
  text-align: left;
}

.product-size-table th {
  background: #f8f8f8;
  font-weight: 700;
}

.product-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(74, 68, 76, 0.86);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.product-zoom-modal img {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: #fff;
}

.product-zoom-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.statement-banner {
  margin-top: 2.2rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.statement-banner h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.4rem, 2.7vw, 2.3rem);
}

.page-heading {
  display: grid;
  gap: 0.6rem;
  max-width: 72ch;
}

.page-heading h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.page-heading p {
  margin: 0;
  color: var(--muted);
}

.catalog-toolbar {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 0.7rem;
}

.catalog-toolbar label {
  display: grid;
  gap: 0.3rem;
  color: #555;
  font-size: 0.83rem;
}

.catalog-toolbar input,
.catalog-toolbar select,
.checkout-form input,
.checkout-form select,
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.64rem 0.72rem;
  background: #fff;
}

.chip-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.46rem 0.8rem;
  cursor: pointer;
  font-size: 0.82rem;
}

.chip.active,
.chip:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.quick-links-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.quick-links-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.78rem;
  font-size: 0.82rem;
}

.quick-links-row a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.empty-box {
  border: 1px dashed #b9b9b9;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
}

.about-layout {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-layout article {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
}

.about-layout h2 {
  font-size: 1.6rem;
}

.about-layout p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.about-layout aside {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-layout aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.about-stats article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: grid;
  gap: 0.3rem;
}

.about-stats strong {
  font-size: 1.6rem;
  font-family: Calibri, sans-serif;
}

.about-stats span {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-layout {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-cards {
  display: grid;
  gap: 0.7rem;
}

.contact-cards div {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem;
}

.contact-cards h2 {
  font-size: 1.25rem;
}

.contact-cards p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.contact-form label,
.checkout-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: #555;
}

.cart-layout,
.checkout-layout {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  align-items: start;
}

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

.cart-line {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.7rem;
}

.cart-line img {
  width: 112px;
  height: 100%;
  object-fit: cover;
}

.cart-line-body {
  padding: 0.75rem 0.75rem 0.75rem 0;
  display: grid;
  gap: 0.44rem;
}

.cart-line-body h3 {
  font-size: 1rem;
}

.cart-line-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.cart-line-variant {
  color: var(--ink);
  font-weight: 600;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-box button {
  border: 1px solid var(--line);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.remove-btn {
  border: none;
  background: transparent;
  color: var(--danger);
  padding: 0;
  cursor: pointer;
  width: fit-content;
}

.order-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1rem;
  position: sticky;
  top: 112px;
  display: grid;
  gap: 0.55rem;
}

.order-summary h2 {
  font-size: 1.5rem;
}

.order-summary p {
  margin: 0;
  color: #404040;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.order-total {
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.order-total strong {
  display: inline-block;
  transition: color 0.24s ease, transform 0.24s ease;
}

.order-total strong.is-updating {
  animation: checkoutTotalPulse 0.42s ease;
}

@keyframes checkoutTotalPulse {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.04);
    color: var(--ink-strong);
  }
  100% {
    transform: scale(1);
  }
}

.checkout-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

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

.checkout-coupon-note {
  grid-column: 1 / -1;
  margin: -0.1rem 0 0.1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.checkout-coupon-entry {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.4rem;
}

.checkout-coupon-entry > label {
  margin: 0;
}

.checkout-coupon-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.checkout-coupon-controls input {
  flex: 1 1 13rem;
}

.checkout-coupon-controls .btn {
  grid-column: auto;
  min-width: 7.4rem;
}

.checkout-coupon-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.checkout-coupon-status[data-state="success"] {
  color: #2c7a40;
}

.checkout-coupon-status[data-state="error"] {
  color: #a33446;
}

.checkout-auth-lock {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.checkout-auth-lock h2 {
  font-size: 1.5rem;
}

.checkout-auth-lock p {
  margin: 0;
  color: var(--muted);
}

.checkout-shipping-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.checkout-shipping-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.checkout-shipping-options {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.45rem;
}

.shipping-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  cursor: pointer;
}

.shipping-option input {
  margin-top: 0.2rem;
}

.shipping-option-body {
  display: grid;
  gap: 0.14rem;
}

.shipping-option-title {
  font-size: 0.9rem;
}

.shipping-option-meta,
.shipping-option-detail {
  color: var(--muted);
  font-size: 0.84rem;
}

.shipping-option-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: center;
}

.shipping-option-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e9bfd2;
  background: #fff3f8;
  color: #8e4d69;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  font-size: 0.72rem;
}

.shipping-option:has(input:checked) {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand) inset;
}

.shipping-option input:checked + .shipping-option-body .shipping-option-title {
  color: var(--ink-strong);
}

.cart-recovery {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: #fff;
  display: grid;
  gap: 0.55rem;
}

.cart-recovery h2 {
  font-size: 1.45rem;
}

.cart-recovery p {
  margin: 0;
  color: var(--muted);
}

.cart-recovery-form {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cart-recovery-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.83rem;
  color: #555;
}

.cart-recovery-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.64rem 0.72rem;
  background: #fff;
}

.cart-recovery-form button {
  grid-column: 1 / -1;
}

.account-panel,
.account-card,
.legal-content {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.account-panel {
  margin-top: 1.2rem;
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.account-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.account-card {
  padding: 1rem;
}

.account-card h2 {
  font-size: 1.55rem;
}

.account-form {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.55rem;
}

.account-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: #555;
}

.account-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.64rem 0.72rem;
  background: #fff;
}

.account-orders {
  gap: 0.7rem;
}

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

.account-orders-empty {
  margin: 0;
  color: var(--muted);
}

.account-order-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: grid;
  gap: 0.45rem;
}

.account-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.account-order-item header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-new {
  color: #725200;
  background: #fff3d6;
  border: 1px solid #f5d58b;
}

.status-paid {
  color: #1f5d24;
  background: #ddf5e0;
  border: 1px solid #9ddaa5;
}

.status-shipped {
  color: #15436d;
  background: #ddeeff;
  border: 1px solid #9bc3ee;
}

.status-cancelled {
  color: #7b2034;
  background: #fde4ea;
  border: 1px solid #f2b5c2;
}

.account-order-meta,
.account-order-preview {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.account-order-help {
  font-size: 0.82rem;
  font-weight: 700;
}

.legal-content {
  margin-top: 1.2rem;
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.legal-content h2 {
  margin-top: 0.6rem;
  font-size: 1.25rem;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
}

.checkout-summary-items {
  display: grid;
  gap: 0.45rem;
}

.checkout-summary-items p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.thanks-box {
  margin-top: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  background: #fff;
  max-width: 760px;
}

.thanks-box h1 {
  margin-top: 0.6rem;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.thanks-box p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.thanks-order-code {
  font-weight: 700;
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.admin-login-card,
.admin-panel,
.admin-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.admin-login-card {
  margin-top: 1.2rem;
  padding: 1.2rem;
  max-width: 520px;
}

.admin-login-card h2 {
  font-size: 1.7rem;
}

.admin-login-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.admin-login-form {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.admin-login-form label,
.admin-password-form label,
.admin-product-form label,
.admin-customer-form label {
  display: grid;
  gap: 0.32rem;
  color: #555;
  font-size: 0.84rem;
}

.admin-login-form input,
.admin-inline-form input,
.admin-password-form input,
.admin-product-form input,
.admin-customer-form input,
.admin-product-form select,
.admin-product-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.64rem 0.72rem;
  background: #fff;
}

.admin-helper strong {
  color: var(--ink-strong);
}

.admin-panel {
  margin-top: 1.2rem;
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.admin-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-menu-btn {
  border-color: var(--line);
  color: var(--ink-strong);
  background: #fff;
}

.admin-menu-btn.is-active {
  border-color: var(--ink-strong);
  background: var(--ink-strong);
  color: #fff;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-stats article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: grid;
  gap: 0.3rem;
}

.admin-stats strong {
  font-size: 1.65rem;
  font-family: Calibri, sans-serif;
}

.admin-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

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

.admin-section {
  padding: 1rem;
}

.admin-section h3 {
  font-size: 1.45rem;
}

.admin-section p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.admin-inline-form {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.admin-list,
.admin-product-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.admin-empty {
  margin: 0;
  color: var(--muted);
}

.admin-list-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.7rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.admin-list-item p {
  margin: 0.32rem 0 0;
  font-size: 0.82rem;
}

.admin-list-item select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  background: #fff;
}

.admin-order-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.admin-order-label {
  color: var(--muted);
}

.admin-order-label-link {
  color: inherit;
  text-decoration: underline;
}

.admin-order-card {
  display: block;
  padding: 0.95rem 1rem;
}

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

.admin-order-header {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
}

.admin-order-main {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.admin-order-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.admin-order-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: var(--ink-strong);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.admin-order-toggle:hover {
  text-decoration: underline;
}

.admin-order-toggle-hint {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-order-details {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  display: grid;
  gap: 0.85rem;
}

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

.admin-order-detail-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  background: #fff;
  display: grid;
  gap: 0.35rem;
}

.admin-order-detail-card h4 {
  margin: 0;
  font-size: 0.92rem;
}

.admin-order-detail-card p {
  margin: 0;
  font-size: 0.82rem;
}

.admin-order-items {
  display: grid;
  gap: 0.5rem;
}

.admin-order-item-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfbfc;
  padding: 0.65rem 0.75rem;
}

.admin-order-item-row strong,
.admin-order-item-row p {
  margin: 0;
}

.admin-order-item-row p + p {
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .admin-order-header {
    flex-direction: column;
  }

  .admin-order-actions {
    width: 100%;
  }

  .admin-order-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-customer-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-product {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-product img {
    width: 100%;
    height: 180px;
  }
}

.admin-password-form {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.admin-customer-form {
  display: grid;
  gap: 0.7rem;
}

.admin-customer-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-product-editor {
  display: grid;
  gap: 0.75rem;
}

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

.admin-full-row {
  grid-column: 1 / -1;
}

.admin-input-note {
  margin: -0.2rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.admin-input-note.has-file {
  color: var(--ink-strong);
}

.admin-variant-section {
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  display: grid;
  gap: 0.6rem;
  background: #fcfcfc;
}

.admin-variant-section h4 {
  margin: 0;
  font-size: 1.05rem;
}

.admin-variant-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-variant-list {
  display: grid;
  gap: 0.5rem;
}

.admin-variant-row {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.55rem;
  display: grid;
  grid-template-columns: 1fr 1fr 120px auto;
  gap: 0.5rem;
  align-items: end;
}

.admin-variant-row label {
  font-size: 0.78rem;
  color: #686868;
}

.admin-variant-remove {
  white-space: nowrap;
  padding-inline: 0.7rem;
}

.admin-variant-add {
  justify-self: start;
}

.admin-size-table-editor {
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  display: grid;
  gap: 0.6rem;
  background: #fcfcfc;
}

.admin-size-table-editor h4 {
  margin: 0;
  font-size: 1.05rem;
}

.admin-size-table-editor p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-size-table-grid {
  overflow-x: auto;
}

.admin-size-table-grid table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
}

.admin-size-table-grid th,
.admin-size-table-grid td {
  border: 1px solid var(--line);
  padding: 0.42rem;
  vertical-align: top;
}

.admin-size-table-grid th {
  background: #f8f8f8;
  font-weight: 600;
}

.admin-size-table-grid input {
  width: 100%;
}

.admin-size-table-grid .admin-size-col-head {
  display: grid;
  gap: 0.3rem;
}

.admin-size-table-grid .admin-size-col-remove {
  width: 100%;
}

.admin-size-row-actions {
  width: 94px;
}

.admin-size-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.admin-flags label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

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

.admin-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  flex-wrap: wrap;
}

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

.admin-mini-stats {
  margin: 0.55rem 0 0.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
}

.admin-mini-stats article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem;
  background: #fff;
  display: grid;
  gap: 0.2rem;
}

.admin-mini-stats strong {
  font-size: 1rem;
  color: var(--ink-strong);
}

.admin-mini-stats span {
  font-size: 0.76rem;
  color: var(--muted);
}

.admin-dashboard-summary {
  margin: 0.55rem 0 0.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
}

.admin-dashboard-summary article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  background: #fff;
  display: grid;
  gap: 0.2rem;
}

.admin-dashboard-summary strong {
  font-size: 1.05rem;
  color: var(--ink-strong);
}

.admin-dashboard-summary span {
  font-size: 0.78rem;
  color: var(--muted);
}

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

.admin-dashboard-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  background: #fff;
  display: grid;
  gap: 0.75rem;
}

.admin-dashboard-panel-head {
  display: grid;
  gap: 0.2rem;
}

.admin-dashboard-panel-head h4,
.admin-dashboard-panel-head p {
  margin: 0;
}

.admin-dashboard-product {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
  background: #fff;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.admin-dashboard-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.admin-dashboard-product-body {
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}

.admin-dashboard-product-body strong,
.admin-dashboard-product-body p {
  margin: 0;
}

.admin-home-form {
  margin-top: 0.8rem;
}

.admin-home-form h4 {
  margin: 0.2rem 0 0;
  font-size: 1.02rem;
}

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

.admin-home-card {
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  background: #fcfcfc;
  display: grid;
  gap: 0.5rem;
}

.admin-home-card h5 {
  margin: 0;
  font-size: 0.95rem;
}

.admin-home-card label {
  font-size: 0.78rem;
  color: #686868;
}

@media (max-width: 900px) {
  .admin-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .admin-mini-stats {
    grid-template-columns: 1fr;
  }
}

.admin-product-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.admin-product-item img {
  width: 96px;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
}

.admin-product-body {
  padding: 0.65rem 0;
}

.admin-product-category {
  margin: 0;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7a7a7a;
}

.admin-product-body h4 {
  margin: 0.25rem 0;
  font-size: 1rem;
}

.admin-product-price {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 700;
}

.admin-product-price span {
  margin-left: 0.32rem;
  color: #808080;
  text-decoration: line-through;
  font-weight: 400;
}

.admin-product-meta {
  margin: 0.38rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.admin-product-actions {
  padding-right: 0.65rem;
  display: grid;
  gap: 0.4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #ffe9f2 0%, #fff6fa 100%);
  margin-top: 2.6rem;
}

.footer-top-row {
  padding: 1.4rem 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.footer-top-brand p {
  margin: 0.45rem 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.46rem 0.82rem;
}

.footer-top-nav a {
  display: inline-flex;
  margin-top: 0;
  font-size: 0.86rem;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.footer-top-nav a:hover {
  border-bottom-color: var(--brand);
  color: var(--brand);
}

.footer-bottom-row {
  padding: 0.88rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

.footer-bottom-row a {
  display: inline-flex;
  margin-top: 0;
  color: var(--ink);
  font-size: 0.86rem;
}

.footer-bottom-row a:hover {
  color: var(--brand);
}

.footer-grid {
  padding: 2rem 0 1.4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 1rem;
}

.site-footer h2 {
  font-size: 1.4rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-footer h3 {
  font-size: 1.15rem;
}

.site-footer p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.site-footer a {
  display: block;
  margin-top: 0.4rem;
  color: var(--ink);
  font-size: 0.87rem;
  overflow-wrap: anywhere;
}

.footer-copy {
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 0.78rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.79rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%) translateY(150%);
  background: #5f5961;
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  z-index: 80;
  transition: transform 0.24s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid #1f9f4f;
  background: #25d366;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(8, 120, 50, 0.35);
}

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

@media (max-width: 1040px) {
  .hero-grid,
  .product-detail-layout,
  .about-layout,
  .contact-layout,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

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

  .order-summary {
    position: static;
  }

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

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

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

  .admin-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-main {
    min-height: auto;
    padding: 0.68rem 0 0.82rem;
    row-gap: 0.6rem;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "menu menu";
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    display: inline-flex;
    grid-area: menu;
    justify-self: start;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
  }

  .account-link,
  .cart-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .cart-link span {
    min-width: 22px;
    height: 22px;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    gap: 0.7rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 1rem;
    max-height: calc(100vh - 136px);
    overflow-y: auto;
    box-shadow: 0 14px 30px rgba(94, 74, 84, 0.16);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 0.45rem 0;
  }

  .rotating-banner-track {
    min-height: clamp(130px, 42vw, 240px);
  }

  .top-strip-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.18rem 0.9rem;
    overflow: visible;
    white-space: normal;
    text-align: center;
    min-height: auto;
    padding: 0.38rem 0.9rem;
    line-height: 1.35;
  }

  .top-strip-inner span {
    display: inline-flex;
    align-items: center;
  }

  .benefits,
  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

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

  .product-shipping-form {
    grid-template-columns: 1fr;
  }

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

  .cart-recovery-form {
    grid-template-columns: 1fr;
  }

  .admin-product-form {
    grid-template-columns: 1fr;
  }

  .admin-product-item {
    grid-template-columns: 1fr;
  }

  .admin-product-item img {
    width: 100%;
    min-height: 200px;
  }

  .admin-product-body,
  .admin-product-actions {
    padding: 0 0.7rem 0.7rem;
  }

  .admin-variant-section,
  .admin-size-table-editor {
    padding: 0.72rem;
  }

  .admin-size-table-grid th,
  .admin-size-table-grid td {
    padding: 0.36rem;
  }

  .admin-size-table-grid input {
    min-height: 40px;
  }
}

.about-founders {
  margin: 0 0 2rem;
  padding: 1.35rem;
  border-radius: 20px;
  border: 1px solid #ebdfe4;
  background: linear-gradient(180deg, #fff 0%, #fdf9fb 100%);
}

.about-founders h2 {
  margin: 0 0 0.35rem;
  color: #251e26;
}

.about-founders > p {
  margin: 0 0 1rem;
  color: #685f67;
}

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

.founder-card {
  border: 1px solid #e8dce2;
  border-radius: 16px;
  background: #fff;
  padding: 0.75rem;
  text-align: center;
}

.founder-card img,
.founder-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  object-fit: cover;
}

.founder-photo-placeholder {
  display: grid;
  place-items: center;
  background: var(--jm-rose-soft);
  color: var(--jm-rose-dark);
  font-weight: 700;
}

.founder-card h3 {
  margin: 0.68rem 0 0.2rem;
  color: #251e26;
  font-size: 1.06rem;
}

.founder-card span {
  color: #746b74;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .about-founders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .about-founders-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1160px, calc(100% - 1.2rem));
  }

  .hero-home {
    padding: 1.55rem 0 1rem;
  }

  .hero-home h1 {
    max-width: none;
    font-size: clamp(1.8rem, 8.6vw, 2.35rem);
    line-height: 1.08;
  }

  .hero-copy {
    margin-top: 0.85rem;
    font-size: 1.02rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.78rem 1rem;
  }

  .hero-image-wrap {
    padding: 0.58rem;
    border-radius: 20px;
  }

  .hero-tag {
    right: 0.35rem;
    bottom: 0.5rem;
    padding: 0.45rem 0.58rem;
    font-size: 0.7rem;
  }

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

  .section-headline {
    align-items: start;
    flex-direction: column;
  }

  .page-main {
    padding-top: 1.35rem;
  }

  .top-strip-inner {
    gap: 0.1rem 0.75rem;
    font-size: 0.7rem;
  }

  .rotating-banner {
    display: none;
  }

  .statement-banner {
    flex-direction: column;
    align-items: start;
  }

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

  .footer-top-row {
    flex-direction: column;
    gap: 0.8rem;
  }

  .footer-top-nav {
    justify-content: flex-start;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-actions .btn:last-child {
    grid-column: auto;
  }

  .admin-panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-panel-head .btn {
    width: 100%;
    text-align: center;
  }

  .admin-inline-form {
    grid-template-columns: 1fr;
  }

  .admin-menu {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-menu-btn {
    width: 100%;
    text-align: center;
  }

  .account-order-item header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-list-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-list-item select {
    width: 100%;
  }

  .admin-order-actions {
    width: 100%;
  }

  .admin-order-actions .btn,
  .admin-order-actions select {
    width: 100%;
  }

  .admin-form-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .admin-variant-row {
    grid-template-columns: 1fr;
  }

  .admin-variant-remove {
    width: 100%;
    text-align: center;
  }

  .admin-variant-add {
    width: 100%;
    text-align: center;
  }

  .admin-size-table-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-size-table-actions .btn {
    width: 100%;
    text-align: center;
  }

  .admin-size-table-grid table {
    min-width: 380px;
  }

  .admin-size-table-grid th,
  .admin-size-table-grid td {
    padding: 0.32rem;
  }

  .admin-size-table-grid input {
    padding: 0.5rem 0.55rem;
    font-size: 0.82rem;
  }

  .admin-size-table-grid .btn {
    padding: 0.44rem 0.55rem;
    font-size: 0.75rem;
  }

  .admin-size-row-actions {
    width: 74px;
  }

  .contact-form,
  .checkout-form,
  .checkout-auth-lock,
  .order-summary,
  .admin-panel,
  .admin-section {
    padding: 0.88rem;
  }

  .product-size-table {
    min-width: 460px;
  }

  .product-zoom-modal {
    padding: 1rem;
  }

  .contact-cards h2 {
    font-size: 1.1rem;
  }

  .whatsapp-float {
    right: 0.7rem;
    bottom: 0.7rem;
    min-height: 42px;
    padding: 0.62rem 0.82rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 500px) {
  .brand-text {
    display: none;
  }

  .header-main {
    padding: 0.58rem 0 0.68rem;
    row-gap: 0.48rem;
    column-gap: 0.55rem;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "menu menu";
  }

  .brand {
    justify-self: start;
  }

  .header-actions {
    justify-self: end;
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .menu-toggle {
    width: 100%;
    justify-content: center;
    padding: 0.56rem 0.8rem;
  }

  .account-link,
  .cart-link {
    min-height: 34px;
    padding: 0.45rem 0.64rem;
    font-size: 0.77rem;
  }

  .cart-link span {
    min-width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }

  .top-strip-inner span:nth-child(3) {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-panels {
    grid-template-columns: 1fr;
  }

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

  .product-options-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-actions .btn:last-child {
    grid-column: auto;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .cart-line img {
    width: 100%;
    height: 220px;
  }

  .admin-size-table-grid table {
    min-width: 330px;
  }

  .admin-size-row-actions {
    width: 66px;
  }
}

/* ---------- rose clean refinement ---------- */
:root {
  --bg: #fff8fb;
  --bg-soft: #fff2f7;
  --panel: #ffffff;
  --ink: #433743;
  --ink-strong: #312630;
  --muted: #7e6d7a;
  --line: #ecd9e4;
  --brand: #ca8ea8;
  --accent: #ebc8d8;
  --accent-soft: #fff6fb;
  --danger: #b0465d;
  --shadow-soft: 0 14px 32px rgba(180, 128, 154, 0.14);
}

body {
  background: linear-gradient(180deg, #fff7fb 0%, #fff3f8 44%, #fffdfd 100%);
}

body::before {
  background:
    radial-gradient(700px 360px at 92% 0%, rgba(234, 184, 206, 0.28), transparent 72%),
    radial-gradient(620px 300px at 4% 6%, rgba(252, 214, 230, 0.4), transparent 70%);
}

.top-strip {
  border-bottom: none;
  background: linear-gradient(90deg, #cb8ca6 0%, #b97595 100%);
}

.top-strip-inner {
  min-height: 40px;
  color: #fff6fa;
  letter-spacing: 0.03em;
  font-size: 0.75rem;
  text-transform: none;
  font-weight: 700;
}

.site-header {
  background: rgba(255, 251, 254, 0.92);
  border-bottom: 1px solid rgba(160, 124, 143, 0.22);
  box-shadow: 0 10px 26px rgba(168, 121, 147, 0.12);
}

.header-main {
  min-height: 84px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}

.brand-text {
  color: #3f2f3a;
  letter-spacing: 0.02em;
}

.main-nav {
  gap: 1.08rem;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.main-nav a {
  border-radius: 0;
  padding: 0.32rem 0;
  color: #5f5060;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.main-nav a::after {
  display: block;
  bottom: -0.06rem;
  height: 2px;
  background: var(--brand);
}

.main-nav a:hover,
.main-nav a.active {
  color: #3d303a;
  background: transparent;
  transform: none;
}

.menu-toggle,
.account-link,
.cart-link {
  border-radius: 999px;
}

.menu-toggle,
.account-link {
  border-color: var(--line);
  color: #554756;
  background: #fff;
}

.cart-link {
  border-color: #bb7f9a;
  color: #7e4762;
  background: #fff;
}

.cart-link span {
  background: #bc7d99;
}

.menu-toggle:hover,
.account-link:hover,
.cart-link:hover {
  background: #fff4fa;
  box-shadow: none;
}

.kicker {
  color: #8d7483;
  font-size: 0.73rem;
}

.hero-home {
  padding: 3rem 0 1.7rem;
}

.hero-grid {
  gap: 1.4rem;
}

.hero-grid > div:first-child {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.hero-home h1 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.08;
}

.hero-copy {
  color: #6f5f6b;
  line-height: 1.58;
}

.btn {
  border-radius: 12px;
  font-weight: 700;
}

.btn-solid {
  background: linear-gradient(135deg, #d39ab2 0%, #b97695 100%);
  box-shadow: 0 12px 24px rgba(186, 122, 151, 0.26);
}

.btn-outline {
  border-color: #c796ad;
  background: #fff;
  color: #7a4a66;
}

.hero-image-wrap {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0.7rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.hero-tag {
  right: 0.5rem;
  bottom: 0.7rem;
  border-radius: 10px;
  background: rgba(61, 48, 58, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.benefits article,
.category-card,
.product-card,
.product-detail-image,
.product-detail-content,
.product-detail-block,
.about-layout article,
.contact-cards div,
.contact-form,
.cart-line,
.order-summary,
.checkout-form,
.checkout-auth-lock,
.cart-recovery,
.account-panel,
.account-card,
.legal-content,
.thanks-box,
.admin-login-card,
.admin-panel,
.admin-section,
.admin-list-item,
.admin-product-item,
.admin-home-card,
.admin-variant-row,
.admin-variant-section,
.admin-size-table-editor,
.shipping-option,
.product-shipping-option,
.product-thumb,
.account-order-item {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.benefits article:hover,
.product-card:hover {
  box-shadow: 0 18px 34px rgba(180, 128, 154, 0.2);
}

.section-headline {
  margin-top: 2.45rem;
}

.section-headline h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
}

.text-link {
  color: #6b4b61;
  border-bottom-color: rgba(107, 75, 97, 0.45);
}

.category-card {
  border-radius: 16px;
  min-height: 250px;
}

.category-card::before {
  background: linear-gradient(180deg, rgba(29, 21, 29, 0.05) 38%, rgba(29, 21, 29, 0.58) 100%);
}

.category-card span {
  background: rgba(40, 29, 37, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-grid {
  gap: 0.95rem;
}

.product-card {
  border-radius: 16px;
}

.product-badge {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.product-actions .btn-outline {
  border-color: #d7b4c4;
}

.product-actions .btn-solid {
  box-shadow: 0 9px 18px rgba(184, 120, 148, 0.25);
}

.catalog-toolbar input,
.catalog-toolbar select,
.checkout-form input,
.checkout-form select,
.contact-form input,
.contact-form textarea,
.account-form input,
.cart-recovery-form input,
.admin-login-form input,
.admin-inline-form input,
.admin-password-form input,
.admin-product-form input,
.admin-product-form select,
.admin-product-form textarea {
  border-color: #e2ccda;
  border-radius: 11px;
  background: #fff;
}

.catalog-toolbar input:focus,
.catalog-toolbar select:focus,
.checkout-form input:focus,
.checkout-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.account-form input:focus,
.cart-recovery-form input:focus,
.admin-login-form input:focus,
.admin-inline-form input:focus,
.admin-password-form input:focus,
.admin-product-form input:focus,
.admin-product-form select:focus,
.admin-product-form textarea:focus {
  border-color: #be7f9b;
  box-shadow: 0 0 0 3px rgba(190, 127, 155, 0.16);
}

.chip,
.quick-links-row a {
  border-color: #dfc5d4;
  color: #6b5664;
  background: #fff;
}

.chip.active,
.chip:hover {
  border-color: #be7f9b;
  background: linear-gradient(135deg, #d39ab2 0%, #bc7d9a 100%);
}

.quick-links-row a:hover {
  border-color: #be7f9b;
  color: #6f4660;
}

.statement-banner {
  border: 1px solid #e7cddc;
  background: linear-gradient(145deg, #fff5fa 0%, #fce9f2 100%);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  border-top: 1px solid #e7cddc;
  background: linear-gradient(180deg, #fff4fa 0%, #fce9f2 100%);
}

.footer-top-row {
  border-bottom-color: #e7cddc;
}

.site-footer h2,
.site-footer h3,
.footer-brand span,
.footer-top-nav a,
.footer-bottom-row a,
.site-footer a {
  color: #4a3b47;
}

.footer-top-brand p,
.site-footer p,
.footer-copy {
  color: #7e6b77;
}

.footer-copy {
  border-top-color: #e7cddc;
}

.footer-top-nav a:hover,
.footer-bottom-row a:hover,
.site-footer a:hover {
  color: #9d5f7c;
}

.toast {
  background: #4a3643;
  box-shadow: 0 12px 28px rgba(84, 57, 73, 0.26);
}

.whatsapp-float {
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-home,
.benefits,
.section-headline,
.category-panels,
.product-grid,
.statement-banner,
.page-heading,
.catalog-toolbar,
.about-layout,
.contact-layout,
.cart-layout,
.checkout-layout,
.account-grid,
.legal-content,
.thanks-box,
.admin-panel {
  animation: none;
}

@media (max-width: 860px) {
  .top-strip-inner {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
  }

  .main-nav {
    left: 0.4rem;
    right: 0.4rem;
    border: 1px solid #e3cbda;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(170, 118, 144, 0.16);
    padding: 0.65rem;
    gap: 0.18rem;
  }

  .main-nav a,
  .main-nav a.active,
  .main-nav a:hover {
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.9rem;
    padding: 0.58rem 0.68rem;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.active,
  .main-nav a:hover {
    background: #fdf1f7;
  }
}

@media (max-width: 680px) {
  .hero-home {
    padding: 1.58rem 0 1rem;
  }

  .hero-grid > div:first-child {
    border-radius: 18px;
  }

  .hero-home h1 {
    font-size: clamp(1.9rem, 8.2vw, 2.45rem);
  }

  .hero-image-wrap {
    padding: 0.56rem;
    border-radius: 18px;
  }
}

/* ---------- ambro-like layout refinement ---------- */
body {
  font-family: "Nunito Sans", "Segoe UI", "Helvetica Neue", sans-serif;
}

h1,
h2,
h3 {
  font-family: "Nunito Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  letter-spacing: 0.01em;
}

.brand-text {
  display: none;
}

.brand-mark {
  width: clamp(110px, 17vw, 156px);
  height: 38px;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-strip {
  overflow: hidden;
}

.top-strip-inner {
  justify-content: center;
  gap: 1.6rem;
  white-space: nowrap;
  font-size: 0.72rem;
}

.top-strip-inner span {
  position: relative;
  padding-right: 1.2rem;
}

.top-strip-inner span::after {
  content: "|";
  position: absolute;
  right: 0.35rem;
  top: 0;
  color: rgba(255, 255, 255, 0.55);
}

.top-strip-inner span:last-child::after {
  content: "";
}

.header-main {
  min-height: auto;
  row-gap: 0.72rem;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "menu brand actions"
    "nav nav nav";
  padding: 0.75rem 0 0.82rem;
}

.brand {
  grid-area: brand;
  justify-self: center;
}

.menu-toggle {
  display: inline-flex;
  grid-area: menu;
  justify-self: start;
  min-height: 34px;
  padding: 0.44rem 0.72rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.header-actions {
  grid-area: actions;
  gap: 0.38rem;
}

.account-link,
.cart-link {
  min-height: 34px;
  padding: 0.44rem 0.68rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.main-nav {
  grid-area: nav;
  justify-self: center;
  gap: 1.12rem;
  width: 100%;
  max-width: 1080px;
  justify-content: center;
}

.main-nav a {
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  font-weight: 800;
}

.rotating-banner-track {
  min-height: clamp(220px, 32vw, 430px);
  border: 0;
}

.hero-home {
  padding: 2.4rem 0 1.2rem;
}

.hero-grid {
  gap: 1rem;
}

.hero-grid > div:first-child {
  border-radius: 12px;
}

.hero-home h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
}

.section-headline .kicker,
.page-heading .kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.section-headline h2,
.page-heading h1 {
  font-weight: 800;
}

.category-card {
  border-radius: 10px;
  min-height: 280px;
}

.product-card {
  border-radius: 12px;
}

.site-footer h2,
.site-footer h3 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "menu brand actions";
    row-gap: 0;
    padding: 0.64rem 0 0.68rem;
  }

  .menu-toggle {
    min-height: 32px;
    padding: 0.42rem 0.62rem;
    font-size: 0.71rem;
  }

  .main-nav {
    top: calc(100% + 0.26rem);
    max-width: none;
    justify-content: flex-start;
  }

  .brand-mark {
    width: 112px;
    height: 33px;
  }

  .account-link,
  .cart-link {
    min-height: 32px;
    padding: 0.4rem 0.56rem;
    font-size: 0.69rem;
  }
}

@media (max-width: 680px) {
  .top-strip-inner {
    justify-content: flex-start;
    overflow-x: auto;
    padding-inline: 0.6rem;
  }

  .brand-mark {
    width: 104px;
    height: 30px;
  }
}

@media (max-width: 500px) {
  .brand-mark {
    width: 90px;
    height: 26px;
  }

  .top-strip-inner {
    font-size: 0.67rem;
    gap: 1rem;
  }
}

/* Ambro-style visual override */
:root {
  --ambro-black: #0f0009;
  --ambro-gray: #626262;
  --ambro-line: #ededed;
  --ambro-magenta: #ca007b;
  --ambro-bg: #ffffff;
}

body {
  background: var(--ambro-bg) !important;
  color: var(--ambro-black) !important;
  font-family: "Poppins", "Nunito Sans", "Segoe UI", sans-serif !important;
}

.container {
  width: min(1220px, calc(100% - 2rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff !important;
  border-bottom: 1px solid var(--ambro-line) !important;
  backdrop-filter: none;
}

.top-strip {
  background: var(--ambro-black) !important;
  border-bottom: 0 !important;
  color: #fff;
  overflow: hidden;
}

.top-strip-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  width: max-content;
}

.top-strip-inner.is-marquee {
  animation: ambroTicker 28s linear infinite;
}

.top-strip-inner span {
  position: relative;
  padding-right: 1.2rem;
}

.top-strip-inner span::after {
  content: "|";
  position: absolute;
  right: 0.35rem;
  top: 0;
  color: rgba(255, 255, 255, 0.52);
}

@keyframes ambroTicker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333%);
  }
}

.header-main {
  min-height: auto;
  row-gap: 0.75rem;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "menu brand actions"
    "nav nav nav";
  padding: 0.65rem 0 0;
}

.brand {
  grid-area: brand;
  justify-self: center;
}

.brand-text {
  display: none;
}

.brand-mark {
  width: clamp(132px, 18vw, 198px);
  height: clamp(28px, 4vw, 44px);
  border: 0;
  background: transparent;
  padding: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-toggle {
  grid-area: menu;
  justify-self: start;
  border: 1px solid var(--ambro-line);
  border-radius: 0;
  min-height: 34px;
  padding: 0.5rem 0.74rem;
  color: var(--ambro-black);
  background: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 600;
}

.menu-toggle:hover {
  border-color: var(--ambro-black);
}

.main-nav {
  grid-area: nav;
  justify-self: center;
  width: 100%;
  max-width: 1220px;
  gap: 0;
  border-top: 1px solid var(--ambro-line);
}

.main-nav a {
  padding: 1rem 1.22rem;
  font-size: 0.74rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ambro-black);
}

.main-nav a::after {
  bottom: 0;
  height: 1px;
  border-radius: 0;
  background: var(--ambro-black);
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--ambro-black);
}

.header-actions {
  grid-area: actions;
  gap: 0.7rem;
}

.account-link {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: url("assets/icons/account.svg") center / 21px no-repeat;
  text-indent: -999px;
  overflow: hidden;
  white-space: nowrap;
}

.cart-link {
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0;
  color: var(--ambro-black);
  gap: 0.32rem;
}

.cart-link::before {
  content: "";
  width: 23px;
  height: 23px;
  display: block;
  background: url("assets/icons/cart.svg") center / contain no-repeat;
}

.cart-link span {
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.64rem;
  background: var(--ambro-black);
  color: #fff;
}

.rotating-banner {
  margin-top: 0;
}

.rotating-banner .container {
  width: 100%;
  max-width: none;
}

.rotating-banner-track {
  min-height: clamp(210px, 38vw, 580px);
  border: 0;
  background: #fff;
}

.rotating-banner-slide {
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.rotating-banner-slide.is-active {
  opacity: 1;
}

.rotating-banner-dots {
  bottom: 1rem;
}

.rotating-banner-dot {
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  background: transparent;
}

.rotating-banner-dot.is-active {
  background: #fff;
}

.hero-home,
.benefits,
.statement-banner {
  display: none !important;
}

.section-headline {
  margin-top: 3.6rem;
  margin-bottom: 1.4rem;
  align-items: flex-end;
}

.section-headline .kicker {
  display: none;
}

.section-headline h2 {
  margin: 0;
  color: var(--ambro-black);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0;
}

.showcase-sub {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--ambro-gray);
}

.text-link {
  color: var(--ambro-black);
  border-bottom: 1px solid var(--ambro-black);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  font-weight: 600;
}

.ambro-category-panels,
.category-panels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.category-card {
  border: 1px solid var(--ambro-line);
  border-radius: 0;
  min-height: clamp(220px, 31vw, 420px);
  overflow: hidden;
}

.category-card::before {
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.45));
}

.category-card span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

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

.product-card {
  border: 1px solid var(--ambro-line);
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.product-card:hover {
  transform: none;
  border-color: #dbdbdb;
  box-shadow: none;
}

.product-image {
  border-radius: 0;
  border-bottom: 1px solid var(--ambro-line);
}

.product-body {
  padding: 0.9rem;
}

.product-category,
.product-desc {
  display: none;
}

.product-name {
  text-align: center;
  min-height: 2.7em;
  margin-bottom: 0.38rem;
}

.product-name a {
  color: var(--ambro-black);
  font-size: 0.86rem;
  font-weight: 500;
}

.product-prices {
  justify-content: center;
  gap: 0.48rem;
}

.product-prices strong {
  color: var(--ambro-black);
  font-size: 1.02rem;
}

.product-prices span {
  color: #9d9d9d;
  font-size: 0.8rem;
}

.product-stock,
.product-installments {
  text-align: center;
  color: var(--ambro-gray);
  font-size: 0.72rem;
}

.product-actions {
  margin-top: 0.65rem;
  gap: 0.46rem;
}

.btn {
  min-height: 34px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  font-weight: 600;
}

.btn-solid {
  background: var(--ambro-black);
  border-color: var(--ambro-black);
  color: #fff;
}

.btn-solid:hover {
  background: var(--ambro-magenta);
  border-color: var(--ambro-magenta);
}

.btn-outline {
  color: var(--ambro-black);
  border-color: var(--ambro-black);
  background: #fff;
}

.btn-outline:hover {
  color: #fff;
  background: var(--ambro-black);
}

.trust-row {
  margin-top: 3.2rem;
  border-top: 1px solid var(--ambro-line);
  border-bottom: 1px solid var(--ambro-line);
  background: #fafafa;
}

.trust-row-track {
  min-height: 80px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.trust-row article {
  text-align: center;
}

.trust-row strong {
  display: block;
  color: var(--ambro-black);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-row span {
  display: block;
  margin-top: 0.26rem;
  color: var(--ambro-gray);
  font-size: 0.74rem;
}

.home-story {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.home-story-media {
  border: 1px solid var(--ambro-line);
}

.home-story-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.home-story-copy {
  border: 1px solid var(--ambro-line);
  padding: clamp(1.1rem, 2.3vw, 2rem);
  display: grid;
  align-content: center;
}

.home-story-copy .kicker {
  margin: 0;
  color: var(--ambro-magenta);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.home-story-copy h2 {
  margin: 0.65rem 0 0;
  color: var(--ambro-black);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.25;
}

.home-story-copy p {
  margin: 0.8rem 0 0;
  color: var(--ambro-gray);
  font-size: 0.92rem;
}

.home-story-copy .hero-actions {
  margin-top: 1.1rem;
}

.home-story-tag {
  margin-top: 1.1rem;
  color: var(--ambro-black) !important;
  font-size: 0.76rem !important;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.site-footer {
  margin-top: 3.8rem;
  border-top: 1px solid var(--ambro-line);
  background: #f8f8f8;
  color: var(--ambro-black);
}

.site-footer h2,
.site-footer h3 {
  color: var(--ambro-black);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.site-footer a,
.site-footer p {
  color: var(--ambro-gray);
}

.footer-brand {
  gap: 0;
}

.footer-brand img {
  width: 130px;
  height: 36px;
  object-fit: contain;
}

.footer-brand span {
  display: none;
}

.footer-bottom-row {
  border-top: 1px solid var(--ambro-line);
}

.footer-copy {
  border-top: 1px solid var(--ambro-line);
  color: #777;
}

.page-main {
  padding-top: 2.2rem;
}

.page-heading h1 {
  color: var(--ambro-black);
  font-weight: 600;
}

.page-heading p {
  color: var(--ambro-gray);
}

.catalog-toolbar {
  border: 1px solid var(--ambro-line);
  border-radius: 0;
  background: #fff;
}

.catalog-toolbar input,
.catalog-toolbar select,
.checkout-layout input,
.checkout-layout select,
.checkout-layout textarea,
.contact-grid input,
.contact-grid textarea,
.account-panel input,
.account-panel select,
.account-panel textarea {
  border-radius: 0;
  border: 1px solid var(--ambro-line);
  background: #fff;
}

.chip {
  border-radius: 0;
  border: 1px solid var(--ambro-line);
  background: #fff;
  color: var(--ambro-black);
}

.chip.active,
.chip:hover {
  background: var(--ambro-black);
  border-color: var(--ambro-black);
  color: #fff;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ambro-category-panels,
  .category-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-story {
    grid-template-columns: 1fr;
  }

  .home-story-media img {
    min-height: 320px;
  }
}

@media (max-width: 860px) {
  .header-main {
    grid-template-areas: "menu brand actions";
    row-gap: 0;
    padding: 0.58rem 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -86vw;
    width: 86vw;
    max-width: 360px;
    height: 100vh;
    border-top: 0;
    border-right: 1px solid var(--ambro-line);
    padding: 4.6rem 1.1rem 1.2rem;
    background: #fff;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    transition: left 0.23s ease;
    overflow-y: auto;
  }

  .main-nav.open {
    left: 0;
    box-shadow: 0 0 0 120vmax rgba(15, 0, 9, 0.42);
  }

  .main-nav a,
  .main-nav a.active,
  .main-nav a:hover {
    width: 100%;
    padding: 0.95rem 0.2rem;
    border-bottom: 1px solid var(--ambro-line);
    color: var(--ambro-black);
    font-size: 0.76rem;
  }

  .main-nav a::after {
    display: none;
  }

  .top-strip-inner {
    min-height: 38px;
    font-size: 0.66rem;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 1.2rem);
  }

  .ambro-category-panels,
  .category-panels {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scroll-snap-type: x mandatory;
  }

  .category-card {
    min-width: 44vw;
    min-height: 220px;
    scroll-snap-align: start;
  }

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

  .trust-row-track {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.6rem 0;
  }

  .trust-row article {
    padding: 0.44rem 0;
  }

  .section-headline {
    margin-top: 2.2rem;
    margin-bottom: 1rem;
  }

  .showcase-sub {
    font-size: 0.8rem;
  }

  .text-link {
    font-size: 0.62rem;
  }

  .home-story {
    margin-top: 2.3rem;
  }

  .home-story-copy .hero-actions {
    grid-template-columns: 1fr;
  }
}
/* Final visual alignment with reference screenshots */
:root {
  --jm-rose: #b86f86;
  --jm-rose-dark: #a65f76;
  --jm-rose-soft: #eee6eb;
  --jm-gray-100: #f0f0f0;
  --jm-gray-200: #e3e3e3;
  --jm-gray-500: #666666;
  --jm-black: #120710;
}

html,
body {
  background: #ffffff !important;
}

body {
  color: var(--jm-black) !important;
}

.site-header {
  background: #fff !important;
  border-bottom: 1px solid var(--jm-gray-200) !important;
}

.top-strip {
  background: #000 !important;
}

.top-strip-inner {
  color: #fff !important;
  font-weight: 600;
}

.top-strip-inner.is-marquee {
  animation-duration: 56s;
}

.brand-mark {
  display: none !important;
}

.brand-text {
  display: inline-block !important;
  color: var(--jm-rose);
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.header-main {
  padding: 0.9rem 0 0;
  row-gap: 0.1rem;
}

.main-nav {
  justify-content: center;
}

.main-nav a {
  color: var(--jm-black) !important;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  padding: 1rem 1.3rem;
}

.main-nav a::after {
  background: var(--jm-rose) !important;
}

.header-actions {
  gap: 0.42rem;
}

.search-link,
.account-link,
.cart-link {
  width: 38px;
  min-height: 38px;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-link img,
.account-link::before,
.cart-link::before {
  width: 27px;
  height: 27px;
}

.search-link img {
  display: block;
  object-fit: contain;
}

.account-link {
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
}

.account-link::before {
  content: "";
  display: block;
  background: url("assets/icons/account.svg") center / contain no-repeat;
}

.cart-link {
  gap: 0;
  font-size: 0;
}

.cart-link::before {
  content: "";
  display: block;
  background: url("assets/icons/cart.svg") center / contain no-repeat;
}

.cart-link span {
  margin-left: -0.2rem;
  min-width: 25px;
  height: 25px;
  font-size: 0.7rem;
  background: var(--jm-rose) !important;
}

.showcase-title {
  margin-top: 2.6rem;
}

.showcase-title h2 {
  font-size: clamp(1.5rem, 2.3vw, 2.3rem);
}

.showcase-sub {
  color: var(--jm-gray-500) !important;
  font-size: 1rem;
}

.ambro-categories-wrap {
  margin-top: 1.2rem;
  padding: 1.8rem 0 2.6rem;
  background: var(--jm-gray-100);
}

.ambro-categories-wrap .showcase-title {
  margin-top: 0;
}

.ambro-categories-wrap .text-link {
  display: none;
}

.ambro-category-panels,
.category-panels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.category-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  min-height: auto !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.78rem;
}

.category-card::before {
  display: none !important;
}

.category-card img {
  width: clamp(120px, 14vw, 220px);
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  object-fit: cover;
}

.category-card span {
  position: static !important;
  color: #5f5f5f !important;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.product-grid {
  gap: 1.25rem;
}

.product-card {
  border: 1px solid #d9d9d9 !important;
  border-radius: 26px !important;
  box-shadow: none !important;
}

.product-card:hover {
  transform: none !important;
}

.product-badge {
  display: none;
}

.product-image {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 1rem 1rem 0;
}

.product-image img {
  border-radius: 20px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.product-body {
  padding: 0.7rem 1rem 1rem;
}

.product-category,
.product-desc,
.product-stock {
  display: none;
}

.product-name {
  min-height: 2.5em;
  margin-bottom: 0.65rem;
}

.product-name a {
  color: var(--jm-black) !important;
  font-size: 1.04rem;
  font-weight: 500;
  text-decoration: none !important;
}

.product-prices-main {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.product-prices-main strong {
  color: var(--jm-black) !important;
  font-size: 2rem;
  font-weight: 700;
}

.product-prices-main small {
  color: var(--jm-black);
  font-size: 0.72rem;
  font-weight: 500;
}

.product-prices-main .old-price {
  color: #8b8b8b !important;
  margin-left: 0.3rem;
}

.product-installments {
  margin-top: 0.45rem;
  color: #232323 !important;
  font-size: 0.9rem;
}

.product-actions {
  grid-template-columns: 1fr !important;
  margin-top: 0.85rem;
}

.product-actions .btn-outline {
  display: none !important;
}

.product-actions .btn-solid {
  width: 100%;
  min-height: 58px;
  border-radius: 999px !important;
  background: var(--jm-rose) !important;
  border-color: var(--jm-rose) !important;
  color: #fff !important;
  font-size: 1.03rem;
  text-transform: none;
  letter-spacing: 0;
}

.product-actions .btn-solid:hover {
  background: var(--jm-rose-dark) !important;
  border-color: var(--jm-rose-dark) !important;
}

.trust-row {
  background: #fff;
  border-top-color: var(--jm-gray-200);
  border-bottom-color: var(--jm-gray-200);
}

.trust-row strong {
  color: var(--jm-black);
}

.trust-row span {
  color: var(--jm-gray-500);
}

.home-story-copy .kicker {
  color: var(--jm-rose) !important;
}

.btn-solid {
  background: var(--jm-rose) !important;
  border-color: var(--jm-rose) !important;
}

.btn-outline {
  border-color: var(--jm-rose) !important;
  color: var(--jm-rose) !important;
}

/* Product page */
.product-detail-layout {
  gap: 1.8rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.product-detail-image,
.product-detail-content,
.product-detail-block,
.product-thumb,
.product-option-field select,
.product-shipping-form input,
.product-shipping-form .btn {
  border-color: #dfdfdf !important;
  border-radius: 22px !important;
}

.product-detail-content {
  padding: 1.25rem;
}

.product-detail-content .kicker {
  color: var(--jm-gray-500);
  font-size: 0.95rem;
}

.product-detail-content h1 {
  color: var(--jm-black);
  font-size: clamp(2rem, 3.6vw, 3.55rem);
}

.product-detail-price strong {
  color: var(--jm-black);
  font-size: 2rem;
}

.product-detail-content .hero-actions {
  grid-template-columns: 1fr;
}

.product-detail-content .hero-actions .btn-solid {
  border-radius: 999px !important;
  min-height: 62px;
  font-size: 1.15rem;
  text-transform: none;
}

.product-detail-content .hero-actions .btn-outline {
  border-radius: 999px !important;
}

/* Footer layout by JS */
.site-footer {
  padding: 0 !important;
  margin-top: 3.6rem;
  border: 0 !important;
  background: #f2f2f2 !important;
}

.ambro-newsletter {
  background: var(--jm-rose-soft);
  padding: 3rem 0;
}

.ambro-newsletter-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.ambro-newsletter-icon {
  font-size: 2.2rem;
  color: var(--jm-rose);
}

.ambro-newsletter h2 {
  margin: 0.55rem 0 0;
  color: var(--jm-black);
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  font-weight: 700;
}

.ambro-newsletter p {
  margin: 0.45rem 0 0;
  color: #595959;
  font-size: 1.05rem;
}

.ambro-newsletter-form {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
}

.ambro-newsletter-form input,
.ambro-newsletter-form button {
  min-height: 56px;
  border-radius: 999px;
  border: 1px solid #d7d7d7;
  padding: 0 1.1rem;
  font-size: 1.05rem;
}

.ambro-newsletter-form button {
  background: var(--jm-rose);
  border-color: var(--jm-rose);
  color: #fff;
  font-weight: 600;
  padding-inline: 1.9rem;
}

.ambro-footer-main {
  padding: 2.6rem 0 0;
}

.ambro-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1fr auto;
  gap: 2rem;
}

.ambro-footer-grid h3 {
  margin: 0 0 0.75rem;
  color: var(--jm-black);
  font-size: 1.1rem;
}

.ambro-footer-grid a,
.ambro-footer-grid p {
  display: block;
  margin: 0.38rem 0;
  color: #5f5f5f;
  font-size: 0.95rem;
  text-decoration: none;
}

.ambro-footer-grid a:hover {
  color: var(--jm-rose);
}

.ambro-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ambro-payment-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  background: #fff;
  color: #4f4f4f;
  font-size: 0.8rem;
  padding: 0 0.62rem;
}

.security-title {
  margin-top: 1rem !important;
}

.ambro-social a {
  font-size: 1rem;
  font-weight: 600;
}

.ambro-footer-copy {
  margin: 1.8rem 0 0;
  border-top: 1px solid #dddddd;
  padding: 0.95rem 1rem;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
}

@media (max-width: 1000px) {
  .ambro-category-panels,
  .category-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 860px) {
  .brand-text {
    font-size: 1.95rem;
  }

  .search-link,
  .account-link,
  .cart-link {
    width: 33px;
    min-height: 33px;
  }

  .main-nav a {
    font-size: 0.88rem;
  }

  .ambro-newsletter-form {
    grid-template-columns: 1fr;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ambro-category-panels,
  .category-panels {
    display: flex;
    overflow-x: auto;
    gap: 0.8rem;
    padding-bottom: 0.3rem;
  }

  .category-card {
    min-width: 38vw;
  }

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

  .product-image {
    padding: 0.72rem 0.72rem 0;
  }

  .product-name a {
    font-size: 0.95rem;
  }

  .product-actions .btn-solid {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .ambro-footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* No-logo + rose tuning */
.brand,
.brand-mark,
.brand-text {
  display: none !important;
}

.footer-brand img {
  display: none !important;
}

.header-main {
  grid-template-columns: auto 1fr auto !important;
  grid-template-areas: "menu nav actions" !important;
  align-items: center;
  padding: 0.62rem 0 !important;
}

.main-nav {
  border-top: 0 !important;
  justify-self: center;
}

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

:root {
  --jm-rose: #b07a8c;
  --jm-rose-dark: #9d6879;
  --jm-rose-soft: #efe7eb;
  --ambro-magenta: var(--jm-rose);
}

.btn-solid,
.product-actions .btn-solid,
.ambro-newsletter-form button,
.cart-link span {
  background: var(--jm-rose) !important;
  border-color: var(--jm-rose) !important;
}

.btn-solid:hover,
.product-actions .btn-solid:hover,
.ambro-newsletter-form button:hover {
  background: var(--jm-rose-dark) !important;
  border-color: var(--jm-rose-dark) !important;
}

.home-story-copy .kicker,
.ambro-newsletter-icon,
.main-nav a::after,
.ambro-footer-grid a:hover {
  color: var(--jm-rose) !important;
}

@media (max-width: 860px) {
  .header-main {
    grid-template-areas: "menu nav actions" !important;
  }

  .menu-toggle {
    display: inline-flex !important;
  }
}

/* JM final adjustments */
.top-strip {
  background: #12000d !important;
  border-bottom: 0 !important;
}

.top-strip-inner span {
  color: #ffffff !important;
}

body,
button,
input,
select,
textarea {
  font-family: "Poppins", "Nunito Sans", "Segoe UI", sans-serif !important;
}

.brand {
  display: inline-flex !important;
  grid-area: brand !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.brand-text {
  display: block !important;
  font-family: "Cormorant Garamond", "Times New Roman", serif !important;
  font-size: clamp(1.45rem, 2.3vw, 2.35rem) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  color: var(--jm-rose) !important;
  white-space: nowrap !important;
}

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

.header-main {
  grid-template-columns: auto 1fr auto !important;
  grid-template-areas: "brand nav actions" !important;
  align-items: center !important;
  column-gap: 1.2rem !important;
}

.main-nav {
  grid-area: nav !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  max-height: none !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
  justify-self: center !important;
  display: flex !important;
  gap: 2.3rem !important;
}

.main-nav a {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #18121a !important;
}

.main-nav a::after {
  background: var(--jm-rose) !important;
}

.category-card span {
  display: block !important;
  text-align: center !important;
  font-size: 1.05rem !important;
  background: transparent !important;
  border: 0 !important;
  color: #666 !important;
  font-weight: 700 !important;
}

.category-card:hover span {
  color: #4f4f4f !important;
}

.ambro-categories-wrap {
  background: #efefef !important;
}

.ambro-category-panels,
.category-panels {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  overflow-x: auto !important;
  gap: 1.2rem !important;
  padding: 0.25rem 0 0.7rem !important;
  scrollbar-width: none;
}

.ambro-category-panels::-webkit-scrollbar,
.category-panels::-webkit-scrollbar {
  display: none;
}

.category-card {
  width: 170px !important;
  min-width: 170px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.65rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.category-card::before {
  display: none !important;
}

.category-card img {
  width: 170px !important;
  height: 170px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

@media (max-width: 860px) {
  .header-main {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "brand actions"
      "nav nav" !important;
    row-gap: 0.45rem !important;
  }

  .brand-text {
    font-size: clamp(1.2rem, 5.8vw, 1.75rem) !important;
  }

  .main-nav {
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-y: hidden !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 1.45rem !important;
    padding: 0.35rem 0 0.2rem !important;
    border-top: 1px solid #eee4e9 !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    font-size: 0.96rem !important;
  }

  .header-actions {
    gap: 0.35rem !important;
  }

  .account-link,
  .cart-link {
    padding: 0.45rem 0.62rem !important;
    font-size: 0.78rem !important;
  }

  .category-card {
    width: 130px !important;
    min-width: 130px !important;
  }

  .category-card img {
    width: 130px !important;
    height: 130px !important;
  }

  .category-card span {
    font-size: 0.92rem !important;
  }
}

/* Trust cards aligned to reference */
.trust-row {
  margin-top: 3rem !important;
  padding: 2.8rem 0 !important;
  background: #efefef !important;
  border: 0 !important;
}

.trust-row-title {
  margin: 0 0 1.35rem;
  text-align: center;
  color: var(--jm-black);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  font-weight: 700;
}

.trust-row-track {
  min-height: auto !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.1rem !important;
  align-items: stretch !important;
}

.trust-card {
  background: #f3f3f3;
  border-radius: 22px;
  padding: 1.6rem 1.35rem 1.45rem;
  text-align: left !important;
}

.trust-card-icon {
  width: 44px;
  height: 44px;
  color: var(--jm-rose);
  margin-bottom: 0.8rem;
}

.trust-card h3 {
  margin: 0;
  color: var(--jm-black);
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.22;
}

.trust-card p {
  margin: 0.45rem 0 0;
  color: #666;
  font-size: clamp(0.85rem, 1vw, 0.96rem);
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .trust-row-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .trust-row {
    padding: 2rem 0 !important;
  }

  .trust-row-title {
    margin-bottom: 1rem;
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .trust-row-track {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }

  .trust-card {
    border-radius: 18px;
    padding: 1.2rem 1rem 1.1rem;
  }

  .trust-card h3 {
    font-size: 1rem;
  }

  .trust-card p {
    font-size: 0.9rem;
  }
}

/* Header icons + rose tone reference */
:root {
  --jm-rose: #b58497;
  --jm-rose-dark: #9f6d81;
  --jm-rose-soft: #efe4e9;
}

.brand-mark {
  display: inline-flex !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 999px !important;
  padding: 2px !important;
  background: conic-gradient(from 0deg, #f4c100, #ff5a2d, #e12793, #f4c100) !important;
  border: 0 !important;
}

.brand-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 999px !important;
  border: 2px solid #f4ecef !important;
}

.brand-text {
  font-size: clamp(1.2rem, 1.95vw, 1.9rem) !important;
}

.header-actions {
  gap: 0.42rem !important;
}

.icon-link,
.search-link,
.account-link,
.cart-link {
  width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.search-link img,
.account-link::before,
.cart-link::before {
  width: 29px !important;
  height: 29px !important;
  filter: brightness(0) saturate(100%) !important;
}

.account-link {
  font-size: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden;
}

.cart-link span {
  margin-left: -0.15rem !important;
  min-width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
  background: var(--jm-rose) !important;
  color: #fff !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 860px) {
  .brand-mark {
    width: 43px !important;
    height: 43px !important;
    min-width: 43px !important;
  }

  .brand-text {
    font-size: clamp(1rem, 4.8vw, 1.35rem) !important;
  }
}

/* Footer ambro-like */
.site-footer {
  margin-top: 3.1rem !important;
  background: #efefef !important;
  border-top: 1px solid #e1e1e1 !important;
}

.footer-ambro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 2.2rem;
  padding: 2.7rem 0 2rem;
}

.footer-ambro-col h3 {
  margin: 0 0 0.8rem;
  color: #111;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-ambro-hint {
  margin: -0.25rem 0 0.65rem;
  color: #6e6e6e;
  font-size: 0.82rem;
  font-weight: 500;
}

.footer-ambro-contact-item {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  margin: 0.5rem 0;
  color: #505862 !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-ambro-icon {
  color: var(--jm-rose);
  font-size: 1.12rem;
  line-height: 1;
}

.footer-ambro-links a {
  display: block;
  margin: 0.43rem 0;
  color: #505862 !important;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-ambro-links a:hover,
.footer-ambro-contact-item:hover {
  color: var(--jm-rose) !important;
}

.footer-ambro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.footer-ambro-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #d2d2d2;
  border-radius: 8px;
  background: #fff;
  color: #4f4f4f;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0 0.72rem;
}

.footer-ambro-security-title {
  margin-top: 1.1rem !important;
}

.footer-ambro-social {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.6rem;
}

.footer-ambro-social a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--jm-rose) !important;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
}

.footer-ambro-social a svg {
  width: 24px;
  height: 24px;
}

.footer-meta {
  border-top: 1px solid #dfdfdf;
  padding: 0.92rem 1rem 1.05rem;
  text-align: center;
}

.footer-copy {
  margin: 0;
  color: #6b6b6b !important;
  font-size: 0.84rem;
}

.footer-credit {
  margin: 0.35rem 0 0;
  color: #6b6b6b !important;
  font-size: 0.84rem;
}

.footer-credit a {
  color: #8d5f76 !important;
  font-weight: 700;
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #6e4357 !important;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .footer-ambro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-ambro-social {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .footer-ambro-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 2rem 0 1.4rem;
  }

  .footer-ambro-col h3 {
    font-size: 1.02rem;
  }
}

/* Menu typography and spacing aligned to reference */
.header-main {
  column-gap: 1.55rem !important;
}

.main-nav {
  gap: clamp(1.35rem, 2.7vw, 2.4rem) !important;
}

.main-nav a {
  font-family: "Poppins", "Nunito Sans", "Segoe UI", sans-serif !important;
  font-size: clamp(1.02rem, 1.2vw, 1.18rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.005em !important;
  line-height: 1.2 !important;
  padding: 0.28rem 0 !important;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 1.3rem !important;
  }

  .main-nav a {
    font-size: 1rem !important;
  }
}

@media (max-width: 860px) {
  .main-nav {
    gap: 1.05rem !important;
    padding: 0.4rem 0 0.2rem !important;
  }

  .main-nav a {
    font-size: 0.96rem !important;
    font-weight: 500 !important;
    padding: 0.18rem 0 !important;
  }
}

/* Header final: centered categories + Ambro-like icon drawings */
.header-main {
  grid-template-columns: auto 1fr auto !important;
  grid-template-areas: "brand nav actions" !important;
  align-items: center !important;
  column-gap: clamp(0.75rem, 1.5vw, 1.6rem) !important;
}

.brand {
  grid-area: brand !important;
  justify-self: start !important;
}

.main-nav {
  grid-area: nav !important;
  justify-self: center !important;
  width: 100% !important;
  max-width: 940px !important;
  display: flex !important;
  justify-content: center !important;
  gap: clamp(1rem, 2.2vw, 1.95rem) !important;
  white-space: nowrap !important;
}

.main-nav a {
  color: #59545b !important;
  font-size: clamp(0.86rem, 1vw, 0.98rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.header-actions {
  grid-area: actions !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center;
  gap: 0.3rem !important;
}

.search-link,
.account-link,
.cart-link {
  width: 40px !important;
  min-height: 40px !important;
}

.cart-link {
  width: auto !important;
  min-width: 68px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.16rem !important;
}

.search-link img,
.account-link::before,
.cart-link::before {
  width: 30px !important;
  height: 30px !important;
  display: block !important;
  object-fit: contain !important;
}

.account-link::before {
  content: "" !important;
  background: url("assets/icons/account.svg") center / contain no-repeat !important;
}

.cart-link::before {
  content: "" !important;
  background: url("assets/icons/cart.svg") center / contain no-repeat !important;
  flex: 0 0 29px !important;
}

.cart-link span {
  margin-left: 0 !important;
  min-width: 32px !important;
  height: 32px !important;
  background: var(--jm-rose) !important;
  font-size: 0.95rem !important;
}

@media (max-width: 860px) {
  .header-main {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "brand actions"
      "nav nav" !important;
  }

  .main-nav {
    justify-content: flex-start !important;
    gap: 1.1rem !important;
  }

  .main-nav a {
    font-size: 0.9rem !important;
  }

  .cart-link {
    min-width: 62px !important;
  }

  .cart-link::before {
    flex-basis: 27px !important;
  }

  .cart-link span {
    min-width: 30px !important;
    height: 30px !important;
    font-size: 0.88rem !important;
  }
}

/* Home bubbles: match Ambro-style strip */
.ambro-categories-wrap {
  background: #efefef !important;
  margin-top: 1.1rem !important;
  padding: 2.35rem 0 1.9rem !important;
}

.ambro-categories-wrap .section-headline,
.ambro-categories-wrap .showcase-title {
  display: none !important;
}

.ambro-categories-wrap .category-panels,
.ambro-categories-wrap .ambro-category-panels {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 1.1rem !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 0 !important;
  scrollbar-width: none;
}

.ambro-categories-wrap .category-panels::-webkit-scrollbar,
.ambro-categories-wrap .ambro-category-panels::-webkit-scrollbar {
  display: none;
}

.ambro-categories-wrap .category-card {
  width: 170px !important;
  min-width: 170px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.78rem !important;
}

.ambro-categories-wrap .category-card::before {
  display: none !important;
}

.ambro-categories-wrap .category-card img {
  width: 170px !important;
  height: 170px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}

.ambro-categories-wrap .category-card span {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  text-align: center !important;
  color: #666666 !important;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem) !important;
  font-weight: 600 !important;
  line-height: 1.22 !important;
}

@media (max-width: 860px) {
  .ambro-categories-wrap {
    padding: 1.15rem 0 0.95rem !important;
  }

  .ambro-categories-wrap .category-panels,
  .ambro-categories-wrap .ambro-category-panels {
    justify-content: flex-start !important;
    gap: 0.95rem !important;
  }

  .ambro-categories-wrap .category-card {
    width: 120px !important;
    min-width: 120px !important;
    gap: 0.58rem !important;
  }

  .ambro-categories-wrap .category-card img {
    width: 120px !important;
    height: 120px !important;
  }

  .ambro-categories-wrap .category-card span {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
  }
}

/* Checkout empty state: fix spacing and button overlap */
.checkout-summary-items .empty-box {
  border: 1px dashed #bfb8bc !important;
  border-radius: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 1.45rem 1rem !important;
  display: grid !important;
  gap: 0.5rem !important;
  text-align: center !important;
}

.checkout-summary-items .empty-box h3 {
  margin: 0 !important;
  color: #352f37 !important;
  font-size: clamp(1.15rem, 2vw, 1.35rem) !important;
  line-height: 1.25 !important;
}

.checkout-summary-items .empty-box p {
  margin: 0 !important;
  display: block !important;
  color: #6f6770 !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
}

.checkout-summary-items .empty-box .btn {
  margin: 0.1rem auto 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px !important;
  padding: 0.72rem 1.45rem !important;
  border-radius: 10px !important;
  font-size: 0.93rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

/* Mobile lock: top strip must stay one-line + nav horizontal */
@media (max-width: 860px) {
  .top-strip {
    overflow: hidden !important;
  }

  .top-strip-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    min-height: 38px !important;
    max-height: 38px !important;
    overflow: hidden !important;
    padding: 0 0.6rem !important;
    gap: 0.95rem !important;
    line-height: 1 !important;
  }

  .top-strip-inner.is-marquee {
    animation: ambroTicker 70s linear infinite !important;
    animation-play-state: running !important;
  }

  .top-strip-inner span {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    white-space: nowrap !important;
  }

  .main-nav {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    max-height: none !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    border: 0 !important;
    border-top: 1px solid #eee4e9 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.35rem 0 0.2rem !important;
    gap: 1rem !important;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    width: auto !important;
    flex: 0 0 auto !important;
    padding: 0.18rem 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
}

/* Top strip loop: 3 ofertas + espaço preto + reinício */
@keyframes jmTickerLoop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.top-strip-inner.is-marquee {
  width: max-content !important;
  min-width: 0 !important;
  animation: jmTickerLoop 56s linear infinite !important;
  animation-play-state: running !important;
}

.top-strip-inner .top-strip-gap {
  display: inline-flex !important;
  flex: 0 0 10rem !important;
  min-width: 10rem !important;
  padding: 0 !important;
  margin: 0 !important;
}

.top-strip-inner .top-strip-gap::after {
  content: "" !important;
}

@media (max-width: 860px) {
  .top-strip-inner.is-marquee {
    animation-duration: 68s !important;
  }

  .top-strip-inner .top-strip-gap {
    flex-basis: 6rem !important;
    min-width: 6rem !important;
  }
}

/* Header nav compact: smaller text + tighter spacing */
.main-nav {
  gap: clamp(0.7rem, 1.35vw, 1.2rem) !important;
}

.main-nav a {
  font-size: clamp(0.78rem, 0.9vw, 0.88rem) !important;
  padding: 0.08rem 0 !important;
}

@media (max-width: 860px) {
  .main-nav {
    gap: 0.82rem !important;
  }

  .main-nav a {
    font-size: 0.78rem !important;
  }
}

/* Mobile hard-fix: prevent vertical menu and keep ticker moving */
@media (max-width: 860px) {
  .top-strip-inner {
    width: max-content !important;
    min-width: 0 !important;
    will-change: transform;
  }

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

  .main-nav,
  .main-nav.open {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    height: auto !important;
    max-width: none !important;
    border-right: 0 !important;
    box-shadow: none !important;
    transition: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .main-nav a,
  .main-nav a.active,
  .main-nav a:hover {
    width: auto !important;
    flex: 0 0 auto !important;
    border-bottom: 0 !important;
    padding: 0.18rem 0 !important;
    background: transparent !important;
  }
}

/* Mobile nav: no clipping (wrap instead of cut) */
@media (max-width: 860px) {
  .main-nav,
  .main-nav.open {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.3rem 0.85rem !important;
    overflow: visible !important;
    white-space: normal !important;
    padding: 0.36rem 0 0.3rem !important;
  }

  .main-nav a,
  .main-nav a.active,
  .main-nav a:hover {
    width: auto !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
  }
}

/* About page: cleaner layout and hierarchy */
.about-page {
  display: grid;
  gap: 1.15rem;
}

.about-page-heading {
  margin-bottom: 0.1rem;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.about-intro-card,
.about-timeline-card,
.about-voices article {
  border: 1px solid #e9dce4;
  border-radius: 18px;
  background: #ffffff;
  padding: 1rem;
}

.about-intro-card h2,
.about-timeline-card h2,
.about-voices h2 {
  margin: 0;
  color: #241e25;
  font-size: 1.15rem;
  line-height: 1.2;
}

.about-intro-card p,
.about-timeline-card p,
.about-voices p {
  margin: 0.55rem 0 0;
  color: #665f66;
  font-size: 0.95rem;
  line-height: 1.58;
}

.about-timeline {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
  align-items: stretch;
}

.about-timeline-card ol {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.52rem;
  color: #665f66;
}

.about-timeline-photo {
  border: 1px solid #e9dce4;
  border-radius: 18px;
  overflow: hidden;
}

.about-timeline-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

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

.about-founders {
  margin-bottom: 0.2rem;
}

.about-founders-grid {
  gap: 0.85rem;
}

.founder-card {
  border-radius: 14px;
  padding: 0.62rem;
}

.founder-card h3 {
  font-size: 1rem;
}

.founder-card span {
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-timeline,
  .about-voices {
    grid-template-columns: 1fr;
  }

  .about-timeline-photo img {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .about-intro-card,
  .about-timeline-card,
  .about-voices article,
  .about-founders {
    border-radius: 14px;
    padding: 0.85rem;
  }

  .about-intro-card h2,
  .about-timeline-card h2,
  .about-voices h2 {
    font-size: 1.02rem;
  }

  .about-intro-card p,
  .about-timeline-card p,
  .about-voices p {
    font-size: 0.9rem;
  }
}

/* Mobile menu final (hamburger style) */
.menu-toggle {
  display: none !important;
}

.menu-toggle .menu-bars {
  display: grid;
  gap: 4px;
}

.menu-toggle .menu-bars span {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--jm-rose);
  display: block;
}

@media (max-width: 860px) {
  .header-main {
    grid-template-columns: auto 1fr auto !important;
    grid-template-areas:
      "menu brand actions"
      "nav nav nav" !important;
    align-items: center !important;
    row-gap: 0 !important;
    column-gap: 0.55rem !important;
    padding: 0.52rem 0 0 !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    grid-area: menu !important;
    width: 56px !important;
    min-height: 40px !important;
    border: 1px solid #e3dbe0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .brand {
    grid-area: brand !important;
    justify-self: start !important;
  }

  .header-actions {
    grid-area: actions !important;
    justify-self: end !important;
  }

  .main-nav,
  .main-nav.open {
    grid-area: nav !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    height: auto !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border: 0 !important;
    border-top: 1px solid #ddd9dd !important;
    border-bottom: 1px solid #ddd9dd !important;
    border-radius: 0 !important;
    background: #f5f5f6 !important;
    box-shadow: none !important;
    transition: none !important;
    overflow: visible !important;
    padding: 0.7rem 0.35rem 0.72rem !important;
    display: none !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem 1rem !important;
    white-space: normal !important;
  }

  .main-nav.open {
    display: flex !important;
  }

  .main-nav a,
  .main-nav a.active,
  .main-nav a:hover {
    width: auto !important;
    flex: 0 0 auto !important;
    border: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-size: 0.9rem !important;
    color: #5f5961 !important;
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
  }

  .main-nav a::after {
    display: none !important;
  }
}

/* Mobile section: Por que escolher a JM */
.jm-mobile-why {
  display: none;
}

@media (max-width: 860px) {
  .jm-mobile-why {
    display: block !important;
    background: #efefef !important;
    padding: 1.25rem 0 1.55rem !important;
  }

  .jm-mobile-why-title {
    margin: 0 0 0.9rem !important;
    text-align: center !important;
    color: #110913 !important;
    font-size: clamp(1.65rem, 7.2vw, 2.2rem) !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
  }

  .jm-mobile-why-track {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.72rem !important;
  }

  .jm-mobile-why-card {
    background: #f1f1f1 !important;
    border-radius: 16px !important;
    padding: 0.9rem 0.82rem 0.88rem !important;
    min-height: 154px !important;
  }

  .jm-mobile-why-icon {
    width: 34px !important;
    height: 34px !important;
    color: var(--jm-rose) !important;
    margin-bottom: 0.5rem !important;
  }

  .jm-mobile-why-card h3 {
    margin: 0 !important;
    color: #17101a !important;
    font-size: 0.99rem !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  .jm-mobile-why-card p {
    margin: 0.34rem 0 0 !important;
    color: #59515d !important;
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }

  .trust-row {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .jm-mobile-why-title {
    font-size: clamp(1.3rem, 9vw, 1.9rem) !important;
  }

  .jm-mobile-why-track {
    grid-template-columns: 1fr !important;
    gap: 0.62rem !important;
  }

  .jm-mobile-why-card {
    min-height: 0 !important;
  }

  .jm-mobile-why-card h3 {
    font-size: 1.02rem !important;
  }

  .jm-mobile-why-card p {
    font-size: 0.9rem !important;
  }
}

/* Footer payment/security logos */
.footer-ambro-col-payment h3,
.footer-ambro-col-payment .footer-ambro-security-title {
  text-transform: none !important;
}

.footer-payment-logos {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 74px));
  gap: 0.52rem !important;
  justify-content: start !important;
  align-items: center !important;
}

.footer-logo-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 74px !important;
  height: 38px !important;
  border: 1px solid #d5d5dc !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.footer-logo-badge img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.footer-security-logos {
  display: flex !important;
  align-items: center !important;
  gap: 0.62rem !important;
  flex-wrap: wrap !important;
}

.footer-logo-badge.is-security {
  width: 128px !important;
  height: 56px !important;
  border-radius: 8px !important;
}

.footer-ambro-social {
  align-items: flex-start !important;
  align-content: flex-start !important;
}

.footer-ambro-social a {
  width: 34px !important;
  height: 34px !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

@media (max-width: 980px) {
  .footer-payment-logos {
    grid-template-columns: repeat(4, minmax(0, 74px));
    justify-content: center !important;
  }

  .footer-security-logos {
    justify-content: center !important;
  }
}

@media (max-width: 640px) {
  .footer-ambro-grid {
    gap: 1.55rem !important;
  }

  .footer-ambro-col-payment {
    order: 1;
    text-align: center !important;
  }

  .footer-ambro-col-social {
    order: 2;
    display: flex !important;
    justify-content: center !important;
    gap: 1.1rem !important;
    margin-top: 0.15rem !important;
  }

  .footer-ambro-col-contact {
    order: 3;
  }

  .footer-ambro-col-links {
    order: 4;
  }

  .footer-payment-logos {
    grid-template-columns: repeat(3, minmax(0, 74px));
    justify-content: center !important;
  }

  .footer-logo-badge.is-security {
    width: 136px !important;
    height: 58px !important;
  }

  .footer-security-logos {
    justify-content: center !important;
  }

  .footer-ambro-col-social a {
    font-size: 1.95rem !important;
  }
}

/* Mobile categories: show all items in one row like desktop */
@media (max-width: 860px) {
  .ambro-categories-wrap .category-panels,
  .ambro-categories-wrap .ambro-category-panels {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0.34rem !important;
    justify-content: stretch !important;
    overflow: visible !important;
    padding: 0 0.22rem !important;
  }

  .ambro-categories-wrap .category-card {
    width: 100% !important;
    min-width: 0 !important;
    flex: initial !important;
    gap: 0.36rem !important;
  }

  .ambro-categories-wrap .category-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  .ambro-categories-wrap .category-card span {
    font-size: 0.8rem !important;
    line-height: 1.12 !important;
    white-space: normal !important;
  }
}

@media (max-width: 560px) {
  .ambro-categories-wrap .category-panels,
  .ambro-categories-wrap .ambro-category-panels {
    gap: 0.26rem !important;
    padding: 0 0.15rem !important;
  }

  .ambro-categories-wrap .category-card span {
    font-size: 0.73rem !important;
    line-height: 1.08 !important;
  }
}

/* Mobile menu: side drawer with vertical options */
.mobile-nav-overlay {
  display: none;
}

@media (max-width: 860px) {
  .header-main {
    grid-template-columns: auto 1fr auto !important;
    grid-template-areas: "menu brand actions" !important;
    column-gap: 0.55rem !important;
    row-gap: 0 !important;
    padding: 0.52rem 0 !important;
  }

  .brand {
    grid-area: brand !important;
    justify-self: start !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    grid-area: menu !important;
  }

  .header-actions {
    grid-area: actions !important;
    justify-self: end !important;
  }

  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(21, 11, 20, 0.42);
    opacity: 0;
    pointer-events: none;
    z-index: 1290;
    transition: opacity 0.24s ease;
  }

  body.mobile-nav-open .mobile-nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .main-nav,
  .main-nav.open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(82vw, 320px) !important;
    max-width: min(82vw, 320px) !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 4.7rem 1rem 1.2rem !important;
    border: 0 !important;
    border-right: 1px solid #ddd7dc !important;
    border-radius: 0 !important;
    background: #f5f5f6 !important;
    box-shadow: 0 18px 36px rgba(18, 7, 17, 0.18) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    white-space: normal !important;
    transform: translateX(-106%) !important;
    transition: transform 0.24s ease !important;
    z-index: 1300 !important;
  }

  .main-nav.open {
    transform: translateX(0) !important;
  }

  .main-nav a,
  .main-nav a.active,
  .main-nav a:hover {
    width: 100% !important;
    flex: 0 0 auto !important;
    border: 0 !important;
    border-bottom: 1px solid #e1dce1 !important;
    padding: 0.68rem 0 !important;
    margin: 0 !important;
    white-space: normal !important;
    text-align: left !important;
    font-size: 1rem !important;
    line-height: 1.24 !important;
    color: #544e57 !important;
    text-decoration: none !important;
    background: transparent !important;
  }

  .main-nav a::after {
    display: none !important;
  }
}
