:root {
  --site-ink: #27313f;
  --site-muted: #667085;
  --site-line: #e6e8df;
  --site-panel: #ffffff;
  --site-soft: #f7f8f3;
  --site-primary: #77a948;
  --site-primary-dark: #4f7d32;
  --site-accent: #e9bf54;
  --site-shadow: 0 16px 42px rgba(39, 49, 63, 0.11);
  --site-shadow-sm: 0 9px 24px rgba(39, 49, 63, 0.08);
  --site-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body.public-polished {
  color: var(--site-ink);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.public-polished .content-wrapper {
  background: linear-gradient(180deg, #fff 0%, #fafbf7 100%);
}

body.public-polished .navbar {
  transition: box-shadow 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(12px);
}

body.public-polished .navbar .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color 0.18s ease, opacity 0.18s ease;
}

body.public-polished .navbar .nav-link::after {
  position: absolute;
  right: 0.65rem;
  bottom: 0.35rem;
  left: 0.65rem;
  height: 2px;
  content: "";
  background: var(--site-primary);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body.public-polished .navbar .nav-link:hover::after,
body.public-polished .navbar .nav-link.public-active::after {
  opacity: 1;
  transform: scaleX(1);
}

body.public-polished .navbar .dropdown-menu {
  border: 1px solid rgba(230, 232, 223, 0.95);
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow-sm);
}

body.public-polished .navbar .dropdown-item {
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

body.public-polished .navbar .dropdown-item:hover,
body.public-polished .navbar .dropdown-item:focus {
  color: var(--site-primary-dark);
  background: #f4f8ef;
}

body.public-polished .navbar-brand img {
  max-height: 52px;
  max-width: 9.5rem;
  width: auto;
  object-fit: contain;
}

body.public-polished .navbar > .container {
  width: 100%;
  max-width: 100vw;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-right: clamp(1rem, 1.8vw, 2rem);
  padding-left: clamp(1rem, 1.8vw, 2rem);
  box-sizing: border-box;
}

body.public-polished .navbar-brand.w-100,
body.public-polished .navbar-other.w-100 {
  width: auto !important;
}

body.public-polished .navbar-brand {
  flex: 0 0 auto;
  margin-right: clamp(0.75rem, 2vw, 1.75rem);
}

body.public-polished .navbar-collapse {
  min-width: 0;
}

body.public-polished .navbar-other {
  flex: 0 0 auto;
}

body.public-polished .navbar-other .navbar-nav {
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.25rem;
}

body.public-polished .navbar-other .language-select {
  margin-right: 0.35rem;
}

body.public-polished .navbar-other .nav-link {
  line-height: inherit;
}

body.public-polished .navbar-other .badge-cart {
  margin-left: 0.12rem;
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  body.public-polished .navbar .nav-link {
    padding-right: 0.38rem !important;
    padding-left: 0.38rem !important;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  body.public-polished .navbar-brand img {
    max-width: 7.5rem;
  }

  body.public-polished .navbar > .container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
}

html[lang="fr"] body.public-polished .navbar .nav-link {
  padding-right: 0.28rem !important;
  padding-left: 0.28rem !important;
  font-size: 0.68rem;
}

body.public-polished .btn {
  position: relative;
  isolation: isolate;
  border-radius: 999px !important;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(39, 49, 63, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.public-polished .btn:hover,
body.public-polished .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--site-shadow-sm);
}

body.public-polished .btn-primary {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent)) !important;
}

body.public-polished .add-to-cart-btn,
body.public-polished .view-album-btn {
  width: 100%;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent)) !important;
  box-shadow: 0 8px 18px rgba(39, 49, 63, 0.08) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}

body.public-polished .add-to-cart-btn:hover,
body.public-polished .view-album-btn:hover {
  transform: translateY(-2px) !important;
  filter: saturate(1.05);
  box-shadow: var(--site-shadow-sm) !important;
}

body.public-polished .btn-secondary {
  border-color: #d9dfcf !important;
  background: #eef3e9 !important;
  color: var(--site-ink) !important;
}

body.public-polished .card,
body.public-polished .pricing.card {
  overflow: hidden;
  border: 1px solid rgba(230, 232, 223, 0.88);
  border-radius: var(--site-radius) !important;
  box-shadow: var(--site-shadow-sm) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.public-polished .card:hover {
  transform: translateY(-4px);
  border-color: rgba(119, 169, 72, 0.3);
  box-shadow: var(--site-shadow) !important;
}

body.public-polished .card-img-top,
body.public-polished figure.card-img-top {
  display: block;
  aspect-ratio: 4 / 3;
  height: auto !important;
  min-height: 210px;
  overflow: hidden;
  background: var(--site-soft);
}

body.public-polished .card-img-top img,
body.public-polished figure.card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.28s ease, filter 0.28s ease;
}

body.public-polished .card-img-top:hover img,
body.public-polished .card-img-top:active img,
body.public-polished figure.card-img-top:hover img {
  transform: scale(1.045) !important;
}

body.public-polished .card-body {
  display: flex;
  flex-direction: column;
}

body.public-polished .card-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

body.public-polished .form-control,
body.public-polished .form-select,
body.public-polished input[type="text"],
body.public-polished input[type="email"],
body.public-polished input[type="password"],
body.public-polished input[type="tel"],
body.public-polished input[type="number"],
body.public-polished textarea,
body.public-polished select {
  border-color: #dce2d5 !important;
  border-radius: var(--site-radius) !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

body.public-polished .form-control:focus,
body.public-polished .form-select:focus,
body.public-polished input:focus,
body.public-polished textarea:focus,
body.public-polished select:focus {
  border-color: rgba(119, 169, 72, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(119, 169, 72, 0.14) !important;
}

body.public-polished footer .newsletter-wrapper .mc-field-group.input-group {
  align-items: stretch;
  gap: 0.65rem;
}

body.public-polished footer .newsletter-wrapper .mc-field-group.input-group > .form-control {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  border-radius: 999px !important;
}

body.public-polished footer .newsletter-wrapper .mc-field-group.input-group > label {
  left: 0;
}

body.public-polished footer .newsletter-wrapper .mc-field-group.input-group > .btn {
  flex: 0 0 auto;
  border-radius: 999px !important;
}

body.public-polished .product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  max-width: 34rem;
  margin: 1.4rem auto 0;
}

body.public-polished .product-detail-cart-form {
  flex: 1 1 15rem;
  max-width: 22rem;
}

body.public-polished .product-detail-video-btn {
  flex: 0 1 12rem;
  min-height: 3rem;
}

body.public-polished .wrapper.bg-light,
body.public-polished .bg-products,
body.public-polished .bg-blog {
  background:
    radial-gradient(circle at 5% 0%, rgba(119, 169, 72, 0.08), transparent 25rem),
    linear-gradient(180deg, #fbfcf8, #f6f8f2) !important;
}

body.public-polished .product-detail-img,
body.public-polished .cart-item-img,
body.public-polished .rounded,
body.public-polished img[src*="/uploads/"] {
  border-radius: var(--site-radius);
}

body.public-polished .amount,
body.public-polished .price,
body.public-polished ins {
  color: var(--site-primary-dark);
  font-weight: 800;
}

body.public-polished del {
  color: #9aa3a0;
}

body.public-polished .badge-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  font-size: 0.7rem;
  box-shadow: 0 4px 10px rgba(233, 191, 84, 0.28);
}

body.public-polished #chat-toggle,
body.public-polished #chat-start,
body.public-polished #chat-send {
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent)) !important;
  box-shadow: 0 12px 28px rgba(39, 49, 63, 0.16) !important;
}

body.public-polished #chat-window {
  border: 1px solid var(--site-line) !important;
  border-radius: var(--site-radius) !important;
  box-shadow: var(--site-shadow) !important;
}

body.public-polished .faq-item {
  padding: 0;
  overflow: hidden;
  background: var(--site-panel);
  border: 1px solid var(--site-line) !important;
  border-radius: var(--site-radius);
  box-shadow: 0 8px 20px rgba(39, 49, 63, 0.05);
}

body.public-polished .faq-item + .faq-item {
  margin-top: 0.75rem;
}

body.public-polished .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
}

body.public-polished .faq-question::after {
  content: "+";
  color: var(--site-primary-dark);
  font-size: 1.25rem;
  font-weight: 800;
}

body.public-polished .faq-item.is-open .faq-question::after {
  content: "-";
}

body.public-polished .faq-answer {
  padding: 0 1.15rem 1.1rem;
  color: var(--site-muted) !important;
}

body.public-polished .public-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

body.public-polished .public-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.public-polished .public-empty-state {
  padding: 2rem;
  text-align: center;
  background: #fff;
  border: 1px dashed #d8dfcf;
  border-radius: var(--site-radius);
  color: var(--site-muted);
}

body.public-polished img.public-img-missing {
  object-fit: contain !important;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8faf4, #eef3e9);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.public-polished *,
  body.public-polished *::before,
  body.public-polished *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 575.98px) {
  body.public-polished footer .newsletter-wrapper .mc-field-group.input-group {
    flex-direction: column;
  }

  body.public-polished footer .newsletter-wrapper .mc-field-group.input-group > .btn,
  body.public-polished footer .newsletter-wrapper .mc-field-group.input-group > .form-control {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  body.public-polished .offcanvas-nav {
    background: #1f2937 !important;
  }

  body.public-polished .offcanvas-nav .offcanvas-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 1.25rem 1.5rem 2rem !important;
    overflow-y: auto !important;
  }

  body.public-polished .offcanvas-nav .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.public-polished .offcanvas-nav .navbar-nav .nav-item {
    display: block !important;
    width: 100%;
  }

  body.public-polished .offcanvas-nav .navbar-nav .nav-link {
    display: flex !important;
    align-items: center !important;
    width: 100%;
    padding: 0.65rem 0 !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: normal !important;
  }

  body.public-polished .offcanvas-nav .navbar-nav .nav-link:hover,
  body.public-polished .offcanvas-nav .navbar-nav .nav-link:focus {
    color: #d8efc6 !important;
  }

  body.public-polished .navbar .nav-link::after {
    display: none;
  }

  body.public-polished .card:hover {
    transform: none;
  }
}

@media (max-width: 991.98px) {
  header .navbar-collapse.offcanvas-nav {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 12000 !important;
    width: min(21rem, 86vw) !important;
    max-width: 86vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    background: #1f2937 !important;
    color: #ffffff !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.35) !important;
  }

  .offcanvas-backdrop {
    z-index: 11990 !important;
  }

  header .navbar-collapse.offcanvas-nav.show,
  header .navbar-collapse.offcanvas-nav.showing {
    transform: none !important;
    visibility: visible !important;
  }

  header .navbar-collapse.offcanvas-nav .offcanvas-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    padding: 1.25rem 1.5rem 0.75rem !important;
  }

  header .navbar-collapse.offcanvas-nav .offcanvas-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: calc(100vh - 5.5rem) !important;
    min-height: 0 !important;
    padding: 0.35rem 1.5rem 1.5rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  header .navbar-collapse.offcanvas-nav .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  header .navbar-collapse.offcanvas-nav .navbar-nav > .nav-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  header .navbar-collapse.offcanvas-nav .navbar-nav > .nav-item > .nav-link {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0.72rem 0 !important;
    color: #ffffff !important;
    font-size: 0.96rem !important;
    line-height: 1.35 !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: normal !important;
    transform: none !important;
  }

  header .navbar-collapse.offcanvas-nav .navbar-nav > .nav-item > .nav-link:hover,
  header .navbar-collapse.offcanvas-nav .navbar-nav > .nav-item > .nav-link:focus {
    color: #d8efc6 !important;
  }

  header .navbar-collapse.offcanvas-nav .offcanvas-footer {
    display: block !important;
    width: 100% !important;
    margin-top: auto !important;
  }
}

@media (max-width: 575.98px) {
  body.public-polished .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  body.public-polished .btn {
    white-space: normal;
  }

  body.public-polished .card-img-top,
  body.public-polished figure.card-img-top {
    min-height: 180px;
  }
}
