/* ========================================
   ROSASTORE — LIGHT & SOOTHING 2026
   ======================================== */

/* --- Base --- */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 19px;
}

@media (max-width: 640px) {
  html { font-size: 17px; }
}

#category-scroll {
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-behavior: smooth !important;
  overscroll-behavior-x: contain !important;
  touch-action: pan-x pan-y !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 12px 0 16px 8px !important;
  min-height: calc(var(--circle-size, 90px) + 60px);
}
#category-scroll::-webkit-scrollbar { display: none !important; }
#category-scroll > a {
  flex-shrink: 0 !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#category-scroll > a:hover {
  transform: scale(1.08) translateY(-4px);
}
#category-scroll > a:hover span:first-child {
  box-shadow: 0 8px 30px rgba(116, 139, 94, 0.25) !important;
  border-color: #d6adad !important;
}
#category-scroll > a:hover img {
  transform: scale(1.1);
}
#category-scroll > a img {
  transition: transform 0.4s ease;
}

/* --- Category grid hover (expanded mode) --- */
#category-grid {
  padding: 8px 0 !important;
}
#category-grid > a {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#category-grid > a:hover {
  transform: scale(1.08) translateY(-4px);
}
#category-grid > a:hover span:first-child {
  box-shadow: 0 8px 30px rgba(116, 139, 94, 0.25) !important;
  border-color: #d6adad !important;
}
#category-grid > a:hover img {
  transform: scale(1.1);
}
#category-grid > a img {
  transition: transform 0.4s ease;
}

#category-toggle-btn:hover {
  color: #8b6b66 !important;
}

/* --- Selection --- */
::selection {
  background: #edd8d880;
  color: #4a3e3b;
}

/* --- Scrollbar discrète --- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #edd8d8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #e0bebe; }

/* --- Focus visible --- */
:focus-visible {
  outline: 2px solid #d6adad;
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Hero Slider --- */
#hero-slider {
  scrollbar-width: none;
}
#hero-slider::-webkit-scrollbar { display: none; }

.hero-slide {
  height: var(--slider-h, 380px);
  background: #faf6f6;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 640px) {
  .hero-slide {
    height: min(var(--slider-h, 380px), 260px);
  }
}

/* --- Scrollbar hide utility --- */
.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* --- Number input clean --- */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* --- WhatsApp float --- */
.wa-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}
.wa-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}
@media (max-width: 640px) {
  .wa-float-btn { width: 48px; height: 48px; bottom: 16px; right: 16px; }
}

/* --- Toast --- */
.toast-stack {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9995;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.toast-item {
  background: #5f4e4a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast-item.toast-show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Checkout animations --- */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
.checkout-step.slide-next { animation: slideInRight 0.35s ease; }
.checkout-step.slide-prev { animation: slideInLeft 0.35s ease; }

/* --- Carrousels produits --- */
.home-carousel-item {
  width: calc((100% - (var(--vc, 4) - 1) * 20px) / var(--vc, 4));
}
@media (max-width: 767px) {
  .home-carousel-item { width: 60%; }
}
@media (max-width: 480px) {
  .home-carousel-item { width: 75%; }
}

/* --- Marquee --- */
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation-name: marquee-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  white-space: nowrap;
  padding: 0 0.5rem;
}
.marquee-sep {
  opacity: 0.3;
  padding: 0 0.75rem;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Fade in up --- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeSlideUp 0.5s ease both;
  animation-delay: var(--delay, 0s);
}

/* --- Section separator --- */
.section-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, #f3e6e6, transparent);
  margin: 0 auto;
  max-width: 120px;
}

/* --- Skeleton loading --- */
.skeleton {
  background: linear-gradient(90deg, #f4f0f0 25%, #e6e9e0 50%, #f4f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.8s ease-in-out infinite;
  border-radius: 12px;
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Badge pop animation --- */
@keyframes badgePop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* ========================================
   INTERACTIVE ELEMENTS — 2026 TRENDS
   ======================================== */

/* --- Custom Select --- */
.custom-select {
  position: relative;
  cursor: pointer;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  background: #faf6f6;
  border: 1.5px solid #f3e6e6;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  color: #6b5551;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.custom-select-trigger:hover {
  border-color: #e0bebe;
  background: #f7ecec;
}
.custom-select.open .custom-select-trigger {
  border-color: #d6adad;
  box-shadow: 0 0 0 3px rgba(148, 168, 122, 0.15);
}
.custom-select-trigger .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #d6adad;
  flex-shrink: 0;
}
.custom-select.open .custom-select-trigger .chevron {
  transform: rotate(180deg);
}
.custom-select-trigger .placeholder {
  color: #c9b0ac;
}

/* Dropdown panel */
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #f3e6e6;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(47, 59, 36, 0.08), 0 2px 8px rgba(47, 59, 36, 0.04);
  padding: 6px;
  z-index: 50;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 280px;
  overflow-y: auto;
}
.custom-select.open .custom-select-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Search inside dropdown */
.custom-select-search {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #f3e6e6;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  margin-bottom: 4px;
  background: #faf6f6;
  color: #6b5551;
  transition: border-color 0.2s;
}
.custom-select-search:focus {
  border-color: #d6adad;
}
.custom-select-search::placeholder {
  color: #c9b0ac;
}

/* Options */
.custom-select-options {
  max-height: 220px;
  overflow-y: auto;
}
.custom-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 15px;
  color: #6b5551;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.custom-select-option:hover {
  background: #faf6f6;
}
.custom-select-option.selected {
  background: #f3e6e6;
  font-weight: 600;
  color: #5f4e4a;
}
.custom-select-option .check-icon {
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}
.custom-select-option.selected .check-icon {
  opacity: 1;
  transform: scale(1);
}

/* --- Input Fields --- */
.input-field {
  width: 100%;
  padding: 14px 18px;
  background: white;
  border: 1.5px solid #f3e6e6;
  border-radius: 9999px;
  font-size: 15px;
  color: #6b5551;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.input-field::placeholder {
  color: #c9b0ac;
}
.input-field:hover {
  border-color: #edd8d8;
}
.input-field:focus {
  border-color: #d6adad;
  box-shadow: 0 0 0 4px rgba(148, 168, 122, 0.1);
  background: #fdfefe;
}
.input-field-light {
  background: #faf6f6;
  border-color: transparent;
}
.input-field-light:focus {
  background: white;
  border-color: #d6adad;
  box-shadow: 0 0 0 4px rgba(148, 168, 122, 0.1);
}
textarea.input-field {
  border-radius: 20px;
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: #8b6b66;
  color: white;
  border: none;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-primary:hover {
  background: #6e5651;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(90, 109, 68, 0.25);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: #6b5551;
  border: 1.5px solid #f3e6e6;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #faf6f6;
  border-color: #edd8d8;
}

/* --- City Grid Tags --- */
.city-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border: 1.5px solid #f3e6e6;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #a88b86;
  background: white;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.city-grid-item:hover {
  border-color: #e0bebe;
  color: #6b5551;
  background: #faf6f6;
}
.city-grid-item.selected {
  border-color: #8b6b66;
  background: #f3e6e6;
  color: #5f4e4a;
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(90, 109, 68, 0.1);
  transform: scale(1.02);
}

/* --- Quantity Stepper --- */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #f3e6e6;
  border-radius: 9999px;
  overflow: hidden;
  background: #faf6f6;
}
.qty-stepper button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a88b86;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
}
.qty-stepper button:hover {
  background: #f3e6e6;
  color: #6b5551;
}
.qty-stepper button:active {
  transform: scale(0.9);
}
.qty-stepper .qty-value {
  width: 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #5f4e4a;
  border-left: 1px solid #f3e6e6;
  border-right: 1px solid #f3e6e6;
  padding: 8px 0;
}

/* --- Tags / Pills --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}
.tag-outline {
  border: 1.5px solid #f3e6e6;
  color: #a88b86;
  background: transparent;
}
.tag-outline:hover {
  border-color: #e0bebe;
  color: #6b5551;
}
.tag-outline.active {
  border-color: #8b6b66;
  background: #f3e6e6;
  color: #5f4e4a;
}
.tag-filled {
  border: none;
  background: #faf6f6;
  color: #8b6b66;
}
.tag-filled:hover {
  background: #f3e6e6;
}

/* --- Floating Label Input --- */
.floating-label-group {
  position: relative;
}
.floating-label-group input,
.floating-label-group textarea {
  width: 100%;
  padding: 18px 18px 8px;
  background: #faf6f6;
  border: 1.5px solid transparent;
  border-radius: 16px;
  font-size: 15px;
  color: #6b5551;
  outline: none;
  transition: all 0.3s ease;
}
.floating-label-group textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
  padding-top: 24px;
  padding-bottom: 8px;
}
.floating-label-group input:focus,
.floating-label-group textarea:focus {
  background: white;
  border-color: #d6adad;
  box-shadow: 0 0 0 3px rgba(148, 168, 122, 0.1);
}
.floating-label-group label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #c9b0ac;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-label-group textarea ~ label {
  top: 20px;
}
.floating-label-group input:focus + label,
.floating-label-group input:not(:placeholder-shown) + label,
.floating-label-group textarea:focus + label,
.floating-label-group textarea:not(:placeholder-shown) + label {
  top: 10px;
  transform: translateY(0);
  font-size: 10px;
  font-weight: 600;
  color: #d6adad;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Pagination Dots --- */
.pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f3e6e6;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}
.pagination-dot.active {
  width: 24px;
  border-radius: 9999px;
  background: #8b6b66;
}

/* --- Step Indicators --- */
.step-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-indicator.pending {
  background: #faf6f6;
  color: #c9b0ac;
  border: 1.5px solid #f3e6e6;
}
.step-indicator.active {
  background: #8b6b66;
  color: white;
  box-shadow: 0 0 0 4px rgba(90, 109, 68, 0.15);
  transform: scale(1.1);
}
.step-indicator.done {
  background: #e0bebe;
  color: white;
}

/* --- Accordion --- */
.accordion-item {
  border-bottom: 1px solid #f3e6e6;
}
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #6b5551;
  transition: color 0.2s;
}
.accordion-trigger:hover {
  color: #8b6b66;
}
.accordion-trigger .accordion-chevron {
  width: 18px;
  height: 18px;
  color: #e0bebe;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-item.open .accordion-trigger .accordion-chevron {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}
.accordion-item.open .accordion-content {
  max-height: 500px;
  padding-bottom: 16px;
}

/* --- Notification Badge --- */
.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #8b6b66;
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  animation: badgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Page transitions --- */
.page-enter {
  animation: pageSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes pageSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Nav dropdown hover transitions (parent categories) --- */
.nav-cat-panel {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-cat-panel.hidden {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}
.nav-cat-panel:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}

/* Chevron rotation on open */
.nav-cat-chevron,
.nav-subcat-chevron {
  transition: transform 0.2s ease;
}
.rotate-180 {
  transform: rotate(180deg);
}

/* --- Header nav: main links smaller, dropdown smaller --- */





/* ===== Modern Header block 2026-11-19 ===== */
/* ===== Modern Header — info bar, flyouts, search, drawer (2026-11-19) ===== */

/* --- Top info bar (marquee) --- */
.info-bar {
  background: linear-gradient(90deg, #6b5551 0%, #6b5551 50%, #6b5551 100%);
  color: rgba(255,255,255,0.92);
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.info-bar-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: info-marquee linear infinite;
  animation-play-state: running;
}
.info-bar:hover .info-bar-track { animation-play-state: paused; }
.info-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0 0.25rem;
}
.info-bar-icon { font-size: 13px; line-height: 1; }
.info-bar-dot { opacity: 0.35; padding: 0 1rem; }
@keyframes info-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Header shell --- */
.site-header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 238, 218, 0.9);
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-link img { width: auto; display: block; }
.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #7a5e5a;
  letter-spacing: -0.02em;
}
.brand-text em {
  font-style: italic;
  font-weight: 600;
  color: #c49595;
}

/* --- Search pill --- */
.search-pill {
  display: none;
  align-items: center;
  gap: 0.45rem;
  background: #f9f3f3;
  border: 1px solid #f3e6e6;
  border-radius: 9999px;
  padding: 0.45rem 0.9rem;
  min-width: 180px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.search-pill--sm { min-width: 150px; }
@media (min-width: 1024px) {
  .search-pill { display: inline-flex; }
}
.search-pill:hover { border-color: #e5cfcf; }
.search-pill:focus-within {
  background: #fff;
  border-color: #c49595;
  box-shadow: 0 0 0 3px rgba(138, 154, 107, 0.18);
}
.search-pill .search-icon {
  width: 15px;
  height: 15px;
  color: #c4a8a4;
  flex-shrink: 0;
}
.search-pill input {
  background: transparent;
  outline: none;
  border: 0;
  font-size: 0.875rem;
  color: #6b5551;
  width: 100%;
  min-width: 0;
}
.search-pill input::placeholder { color: #b5c09a; }

/* --- Icon buttons (cart / wishlist) --- */
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  color: #6b5551;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover {
  background: #f7ecec;
  color: #7a5e5a;
  transform: translateY(-1px);
}
.icon-btn:active { transform: translateY(0); }
.icon-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9999px;
  background: #c49595;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.icon-badge.hidden { display: none; }

/* --- Hamburger --- */
.hamburger-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hamburger-btn:hover { background: #f7ecec; }
.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #6b5551;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Desktop nav + flyout --- */
.main-nav {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(232, 238, 218, 0.85);
  font-size: 13px;
  font-weight: 600;
  color: #a88b86;
}
.main-nav--inline {
  display: none;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  justify-content: center;
  flex: 1;
}
@media (min-width: 768px) {
  .main-nav { display: flex; }
  .main-nav--inline { display: flex; }
}
.main-nav-link {
  color: #a88b86;
  padding: 0.45rem 0.15rem;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
  position: relative;
}
.main-nav-link:hover {
  color: #7a5e5a;
  background: rgba(238, 242, 226, 0.85);
}
.main-nav-link::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  bottom: 2px;
  height: 2px;
  background: #c49595;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav-link:hover::after { transform: scaleX(1); }

.nav-cat-item { position: relative; }
.nav-cat-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #a88b86;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 0.25rem;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-cat-trigger:hover,
.nav-cat-item:hover > .nav-cat-trigger {
  color: #7a5e5a;
  background: rgba(238, 242, 226, 0.85);
}
.nav-cat-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.22s ease;
}
.nav-cat-item:hover .nav-cat-chevron,
.nav-cat-trigger[aria-expanded="true"] .nav-cat-chevron {
  transform: rotate(180deg);
}

/* N1 panel — fade + slide */
.nav-cat-panel {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  max-height: none;
  overflow: visible;
  background: #fff;
  border: 1px solid #f3e6e6;
  border-radius: 16px;
  box-shadow: 0 18px 40px -12px rgba(72, 88, 64, 0.22), 0 4px 12px rgba(72, 88, 64, 0.06);
  padding: 0.5rem;
  margin-top: 0.35rem;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 50;
}
.nav-cat-panel:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.nav-cat-voir {
  display: block;
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.25rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c49595;
  background: #faf6f6;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-cat-voir:hover { background: #f7ecec; color: #7a5e5a; }

.nav-plain-link,
.nav-subcat-link,
.nav-subsub-link {
  display: block;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.nav-plain-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b5551;
}
.nav-plain-link:hover {
  background: #f9f0f0;
  color: #6b5551;
  padding-left: 1rem;
}

/* N2 + flyout N3 */
.nav-subcat-item {
  border-radius: 12px;
  position: relative;
}
.nav-subcat-item:hover { background: #faf6f6; }
.nav-subcat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  padding-right: 0.35rem;
}
.nav-subcat-link {
  flex: 1;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b5551;
}
.nav-subcat-link:hover { color: #6b5551; }
.nav-subcat-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: #c4a8a4;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-subcat-trigger:hover { background: #f3e6e6; color: #7a5e5a; }
.nav-subcat-chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.22s ease;
}
.nav-subcat-trigger[aria-expanded="true"] .nav-subcat-chevron {
  transform: rotate(90deg);
}

/* Flyout N3 — slides from the right of N2 */
.nav-subcat-panel {
  position: absolute;
  left: calc(100% + 4px);
  top: -4px;
  min-width: 200px;
  max-width: 260px;
  background: #fff;
  border: 1px solid #f3e6e6;
  border-radius: 14px;
  box-shadow: 0 16px 36px -10px rgba(72, 88, 64, 0.25);
  padding: 0.45rem;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.nav-subcat-panel:not(.hidden) {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
/* keep N2 panel visible while flyout open */
.nav-subcat-item:hover > .nav-subcat-panel,
.nav-subcat-item:focus-within > .nav-subcat-panel {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.nav-subcat-voir {
  display: block;
  padding: 0.45rem 0.7rem;
  margin-bottom: 0.2rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c49595;
  border-radius: 8px;
  background: #faf6f6;
}
.nav-subcat-voir:hover { background: #f7ecec; color: #7a5e5a; }
.nav-subsub-link {
  padding: 0.4rem 0.7rem;
  font-size: 0.8125rem;
  color: #8b7a76;
}
.nav-subsub-link:hover {
  background: #f9f0f0;
  color: #6b5551;
  padding-left: 0.85rem;
}

/* --- Mobile drawer --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.mobile-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(86vw, 340px);
  background: #fff;
  z-index: 9999;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  box-shadow: 16px 0 48px rgba(0,0,0,0.18);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #f3e6e6;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.mobile-drawer-nav { padding: 0.65rem 0.75rem 2rem; }
.mobile-root-link {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  font-weight: 600;
  color: #6b5551;
  transition: background 0.15s ease;
}
.mobile-root-link:hover { background: #f9f0f0; }
.mobile-row {
  display: flex;
  align-items: center;
  border-radius: 12px;
}
.mobile-row:hover { background: #faf6f6; }
.mobile-row-link {
  flex: 1;
  padding: 0.7rem 0.85rem;
  font-weight: 600;
  color: #6b5551;
  font-size: 0.9375rem;
}
.mobile-row--sub .mobile-row-link,
.mobile-row-link--sub {
  font-weight: 500;
  font-size: 0.875rem;
  color: #8b7a76;
  padding-left: 1.5rem;
}
.mobile-row-link--subsub {
  font-size: 0.8125rem;
  color: #a88b86;
  padding-left: 2.25rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.mobile-cat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #c4a8a4;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.mobile-cat-toggle:hover { background: #f3e6e6; }
.mobile-cat-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.mobile-cat-chevron--sm { width: 14px; height: 14px; }
.mobile-cat-toggle[aria-expanded="true"] .mobile-cat-chevron {
  transform: rotate(180deg);
}
/* N2/N3 accordion panels — height animation via max-height */
.mobile-cat-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-left: 1rem;
  padding-left: 0.75rem;
  border-left: 2px solid #f3e6e6;
  transition: max-height 0.32s ease, opacity 0.22s ease, margin 0.22s ease;
}
.mobile-cat-panel.is-open {
  max-height: 2000px;
  opacity: 1;
  margin-bottom: 0.35rem;
}
/* legacy hidden class still accepted (JS toggles is-open; keep hidden as fallback) */
.mobile-cat-panel.hidden {
  max-height: 0;
  opacity: 0;
}
.mobile-drawer-foot {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f3e6e6;
}

/* closed state must win even without :not(.hidden) surprises */
.nav-cat-panel.hidden,
.nav-subcat-panel.hidden {
  opacity: 0 !important;
  transform: translateY(-6px);
  pointer-events: none !important;
  visibility: hidden !important;
}
.nav-subcat-panel.hidden {
  transform: translateX(-8px);
}
.mobile-cat-panel.hidden,
.mobile-cat-panel:not(.is-open) {
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden;
}
.mobile-cat-panel.is-open {
  max-height: 2400px !important;
  opacity: 1 !important;
}

/* no ugly scrollbar on category panels */
.nav-cat-panel, .nav-subcat-panel { scrollbar-width: thin; scrollbar-color: #e5cfcf transparent; }
.nav-cat-panel::-webkit-scrollbar, .nav-subcat-panel::-webkit-scrollbar { width: 6px; }
.nav-cat-panel::-webkit-scrollbar-thumb, .nav-subcat-panel::-webkit-scrollbar-thumb { background: #e5cfcf; border-radius: 3px; }


/* ===== Nav size = Accueil + hover/focus vert khfif (2026-11-19) ===== */
.main-nav-link,
.nav-cat-trigger {
  font-size: 15.58px !important; /* = Accueil */
  font-weight: 600;
  font-family: inherit;
}
.nav-cat-trigger:hover,
.nav-cat-trigger:focus-visible,
.nav-cat-item:hover > .nav-cat-trigger,
.main-nav-link:hover,
.main-nav-link:focus-visible {
  color: #3d6b4f !important;
  background: rgba(187, 220, 196, 0.28);
  box-shadow: 0 0 0 3px rgba(140, 200, 160, 0.28), 0 2px 10px rgba(90, 160, 110, 0.18);
  outline: none;
}
.nav-cat-trigger:focus-visible,
.main-nav-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(140, 200, 160, 0.45);
}

/* ===== Nouveautés cinematic slider ===== */
/* ===== Nouveautés full-bleed cinematic slider ===== */
.nv-section { margin: 0; padding: 0; width: 100%; }
.nv-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr 148px;
  width: 100%;
  min-height: min(72vh, 680px);
  height: min(72vh, 680px);
  border-radius: 0;
  overflow: hidden;
  background: #f4f1ea;
  outline: none;
  isolation: isolate;
}
.nv-stage:focus-visible { box-shadow: inset 0 0 0 3px rgba(140,200,160,.45); }

.nv-skeleton { display: contents; }
.nv-sk-img { background: linear-gradient(90deg, #f3e6e6 25%, #f9f3f3 50%, #f3e6e6 75%); background-size: 200% 100%; animation: nv-shimmer 1.2s infinite; min-height: 100%; }
.nv-sk-text { padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; gap: 0.9rem; justify-content: center; background: #f7f0ef; }
.nv-sk-line { display: block; height: 14px; border-radius: 6px; background: #e5dfd4; animation: nv-shimmer 1.2s infinite; }
@keyframes nv-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.nv-panel { position: relative; min-width: 0; min-height: 0; }
.nv-panel--img {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f0ef 0%, #f1e6e5 100%);
}
.nv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.nv-img--base { z-index: 1; }
.nv-img--next { z-index: 2; opacity: 0; transform: scale(1.06); }
.nv-img--next.is-revealing {
  opacity: 1; transform: scale(1);
  transition: opacity .75s cubic-bezier(.65,0,.35,1), transform .75s cubic-bezier(.65,0,.35,1);
}
.nv-mask {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: #3d3230; opacity: 0; clip-path: inset(0 100% 0 0);
}
.nv-mask.is-sweeping { animation: nv-sweep .75s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes nv-sweep {
  0% { opacity: .3; clip-path: inset(0 100% 0 0); }
  45% { opacity: .18; clip-path: inset(0 0 0 0); }
  100% { opacity: 0; clip-path: inset(0 0 0 100%); }
}
.nv-badge {
  position: absolute; z-index: 5; top: 1.1rem; left: 1.1rem;
  background: rgba(255,255,255,.94); color: #3d6b4f;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 0.4rem 0.75rem; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.nv-arrow {
  position: absolute; z-index: 5; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(26,31,22,.35); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(6px);
  transition: background .15s ease, opacity .15s ease;
  opacity: .85;
}
.nv-arrow svg { width: 20px; height: 20px; }
.nv-arrow:hover { background: rgba(26,31,22,.55); opacity: 1; }
.nv-arrow--prev { left: 1rem; }
.nv-arrow--next { right: 1rem; }
.nv-arrow:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(140,200,160,.6); }
.nv-index {
  position: absolute; z-index: 5; left: 1.25rem; bottom: 1rem;
  color: rgba(255,255,255,.92); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-shadow: 0 1px 8px rgba(0,0,0,.35);
  font-variant-numeric: tabular-nums;
}

.nv-panel--text {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #f9f7f2 0%, #f5eeee 100%);
  border-left: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}
.nv-tint { position: absolute; inset: 0; opacity: .07; pointer-events: none; mix-blend-mode: multiply; transition: background .4s ease; background: transparent; }
.nv-text-block {
  position: relative; z-index: 1;
  padding: clamp(1.75rem, 5vw, 4.5rem);
  width: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.nv-cat { margin: 0 0 0.55rem; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c49595; }
.nv-name {
  margin: 0 0 0.75rem;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #3d3230;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 600;
}
.nv-desc {
  margin: 0 0 1.1rem;
  font-size: 16px;
  line-height: 1.65;
  color: #6b5551;
  opacity: 0.82;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 38ch;
}
.nv-price-row { margin-bottom: 1.35rem; }
.nv-price { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; color: #5f4e4a; }
.nv-cta {
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  background: #7a5e5a; color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 600;
  padding: 14px 32px; border-radius: 999px;
  transition: background .15s ease, transform .15s ease;
}
.nv-cta:hover { background: #6b5551; transform: translateY(-1px); }
.nv-cta:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(140,200,160,.55); }

.nv-empty, .nv-error {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 320px; color: #8b7a76; font-size: 15px; padding: 2rem; text-align: center;
}
.nv-error button {
  border: 1px solid #f3e6e6; background: #fff; border-radius: 999px;
  padding: 0.45rem 1rem; font-weight: 600; color: #7a5e5a; cursor: pointer;
}
.nv-panel[hidden], .nv-skeleton[hidden], .nv-empty[hidden], .nv-error[hidden] { display: none !important; }

/* text stagger */
.nv-text-block.is-out [data-nv-field] {
  opacity: 0; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
}
.nv-text-block.is-in [data-nv-field] {
  opacity: 1; transform: translateY(0);
  transition: opacity .4s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1);
}
.nv-text-block.is-in [data-nv-field="cat"] { transition-delay: 0ms; }
.nv-text-block.is-in [data-nv-field="name"] { transition-delay: 60ms; }
.nv-text-block.is-in [data-nv-field="desc"] { transition-delay: 120ms; }
.nv-text-block.is-in .nv-price-row { transition-delay: 180ms; }
.nv-text-block.is-in [data-nv-field="cta"] { transition-delay: 240ms; }
.nv-text-block [data-nv-field], .nv-text-block .nv-price-row {
  opacity: 1; transform: translateY(0);
}

@media (max-width: 768px) {
  .nv-stage {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .nv-panel--img { min-height: min(58vw, 340px); aspect-ratio: 4/3; }
  .nv-text-block { padding: 1.5rem 1.25rem 1.75rem; min-height: 0; }
  .nv-name { font-size: clamp(26px, 7vw, 36px); }
  .nv-desc { max-width: none; font-size: 15px; -webkit-line-clamp: 3; }
  .nv-arrow { width: 40px; height: 40px; }
}
@media (min-width: 1024px) {
  .nv-stage.has-rail { grid-template-columns: 1.3fr 1fr auto; }
  .nv-rail {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  padding: 1rem 0.75rem;
  background: #f5eeee;
  border-left: 1px solid rgba(0,0,0,0.04);
  overflow-y: auto;
  max-height: 100%;
}
  .nv-rail-btn {
    width: 64px; height: 80px; border-radius: 10px; overflow: hidden;
    border: 2px solid transparent; padding: 0; cursor: pointer; background: #f3e6e6;
    opacity: .65; transition: opacity .15s ease, border-color .15s ease;
  }
  .nv-rail-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .nv-rail-btn.is-active { opacity: 1; border-color: #7a5e5a; }
  .nv-rail-btn:hover { opacity: 1; }
}
.nv-rail { display: none; }

@media (prefers-reduced-motion: reduce) {
  .nv-img--next, .nv-img--next.is-revealing { transition: opacity .2s ease !important; transform: none !important; }
  .nv-mask, .nv-mask.is-sweeping { animation: none !important; opacity: 0 !important; }
  .nv-text-block.is-out [data-nv-field],
  .nv-text-block.is-in [data-nv-field] { transition: opacity .2s ease !important; transform: none !important; transition-delay: 0ms !important; }
  .nv-sk-img, .nv-sk-line { animation: none !important; }
}


/* ===== Category section head — centered modern 2026 ===== */
.cat-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
}
.cat-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c49595;
  opacity: 0;
  transform: translateY(10px);
  animation: catRise 0.6s cubic-bezier(.22,1,.36,1) 0.1s forwards;
}
.cat-title {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: #3d3230;
  letter-spacing: -0.02em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(14px);
  animation: catRise 0.7s cubic-bezier(.22,1,.36,1) 0.18s forwards;
}
.cat-sep {
  width: 56px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #c49595, transparent);
  margin: 0.35rem 0 0.25rem;
  opacity: 0;
  transform: scaleX(0.4);
  animation: catSep 0.7s cubic-bezier(.22,1,.36,1) 0.32s forwards;
}
.cat-all {
  font-size: 13px;
  font-weight: 600;
  color: #c49595;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  opacity: 0;
  transform: translateY(8px);
  animation: catRise 0.6s cubic-bezier(.22,1,.36,1) 0.42s forwards;
}
.cat-all:hover {
  background: #f7ecec;
  color: #7a5e5a;
}
.cat-all span {
  display: inline-block;
  transition: transform 0.2s ease;
}
.cat-all:hover span {
  transform: translateX(3px);
}
@keyframes catRise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes catSep {
  to { opacity: 1; transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-kicker, .cat-title, .cat-sep, .cat-all {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== Related product rail (cinematic) ===== */
.nv-stage {
  /* keep existing; rail adds 4th column via class */
}
.nv-stage.has-rail {
  grid-template-columns: 1.25fr 1fr 200px;
}
.nv-rail {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.1rem 0.85rem;
  background: linear-gradient(180deg, #f5eeee 0%, #f1e6e5 100%);
  border-left: 1px solid rgba(0,0,0,0.04);
  overflow-y: auto;
  max-height: min(58vh, 560px);
}
.nv-stage.has-rail .nv-rail {
  display: flex;
}
.nv-rail[hidden] {
  display: none !important;
}
.nv-rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
  border-radius: 14px;
  transition: background 0.15s ease, transform 0.15s ease;
  min-height: 44px;
}
.nv-rail-item:hover {
  background: rgba(255,255,255,0.55);
  transform: translateY(-1px);
}
.nv-rail-item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(140,200,160,.5);
}
.nv-rail-item.is-active {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 4px 14px rgba(72,88,64,0.12);
}
.nv-rail-thumb {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: #ebe0df;
  border: 2px solid transparent;
  flex-shrink: 0;
}
.nv-rail-item.is-active .nv-rail-thumb {
  border-color: #7a5e5a;
}
.nv-rail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nv-rail-price {
  font-size: 14px;
  font-weight: 700;
  color: #6b5551;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nv-rail-item.is-active .nv-rail-price {
  color: #5f4e4a;
}
@media (max-width: 1023px) {
  .nv-stage.has-rail {
    grid-template-columns: 1fr;
  }
  .nv-rail {
    display: flex !important;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    border-left: 0;
    border-top: 1px solid rgba(0,0,0,0.04);
    padding: 0.75rem 0.85rem;
    gap: 0.55rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .nv-rail-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 72px;
  }
  .nv-rail-thumb {
    width: 52px;
    height: 52px;
  }
}


/* ===== Black-hole promotion (rail → hero) ===== */
.nv-panel--img {
  transform-origin: center center;
}
.nv-img--base.is-bh-collapse {
  transform: scale(0.15);
  opacity: 0;
  filter: blur(6px) brightness(0.35);
  transition:
    transform 0.16s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.16s cubic-bezier(0.65, 0, 0.35, 1),
    filter 0.16s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
}
.nv-img--next.is-bh-in {
  opacity: 1;
  transform: scale(1.06);
  clip-path: circle(0% at 50% 50%);
  transition:
    clip-path 0.30s cubic-bezier(0.65, 0, 0.35, 1),
    transform 0.30s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.2s ease;
  z-index: 2;
}
.nv-img--next.is-bh-in.is-revealing {
  clip-path: circle(150% at 50% 50%);
  transform: scale(1);
}
/* legacy sweep still available for non-promo if needed */
.nv-mask.is-bh-circle {
  background: radial-gradient(circle at 50% 50%, rgba(10,12,8,0.55) 0%, rgba(10,12,8,0.15) 45%, transparent 70%);
  opacity: 1;
  clip-path: circle(0% at 50% 50%);
  animation: nv-bh-hole 0.30s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  z-index: 3;
}
@keyframes nv-bh-hole {
  0% { clip-path: circle(0% at 50% 50%); opacity: 0.85; }
  55% { clip-path: circle(80% at 50% 50%); opacity: 0.35; }
  100% { clip-path: circle(150% at 50% 50%); opacity: 0; }
}
/* rail: exactly 3 compact items */
.nv-rail {
  gap: 1.1rem;
  justify-content: center;
}
.nv-rail-item {
  padding: 0.55rem 0.5rem;
}
.nv-rail-thumb {
  width: 64px;
  height: 64px;
}
.nv-rail-price {
  font-size: 12px;
}
@media (prefers-reduced-motion: reduce) {
  .nv-img--base.is-bh-collapse {
    transition: opacity 0.2s ease !important;
    transform: none !important;
    filter: none !important;
  }
  .nv-img--next.is-bh-in,
  .nv-img--next.is-bh-in.is-revealing {
    clip-path: none !important;
    transform: none !important;
    transition: opacity 0.2s ease !important;
  }
  .nv-mask.is-bh-circle { animation: none !important; opacity: 0 !important; }
}


/* ===== Compact header for 14" laptops ===== */
.site-header .max-w-6xl { padding-top: 0.55rem; padding-bottom: 0.45rem; }
.site-header .main-nav {
  gap: 0.1rem 1rem;
  margin-top: 0.35rem;
  padding-top: 0.4rem;
}
.site-header .main-nav-link,
.site-header .nav-cat-trigger {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  font-size: 14.5px !important;
}
.site-header .search-pill { min-width: 150px; padding-top: 0.35rem; padding-bottom: 0.35rem; }
.site-header .icon-btn { width: 34px; height: 34px; }

/* Category section: tighter + circles guaranteed visible */
.cat-section,
section:has(> .cat-head) {
  padding-top: 1.1rem !important;
  padding-bottom: 1.25rem !important;
}
.cat-head { margin-bottom: 1rem !important; gap: 0.2rem; }
.cat-title { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.cat-sep { margin: 0.2rem 0 0.15rem; }

/* slightly smaller circles on medium heights */
@media (max-height: 900px) {
  #category-scroll a { width: min(var(--circle-size, 90px), 84px) !important; }
  #category-scroll a > span:first-child {
    width: min(var(--circle-size, 90px), 84px) !important;
    height: min(var(--circle-size, 90px), 84px) !important;
  }
}
@media (max-height: 800px) {
  .nv-stage { min-height: min(42vh, 400px) !important; height: min(42vh, 400px) !important; }
  .nv-text-block { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .nv-name { font-size: clamp(24px, 3vw, 36px); }
}


/* 14" laptop: force circles fully visible */
.cat-head { margin-bottom: 0.55rem !important; }
.cat-title { font-size: clamp(1.25rem, 2vw, 1.65rem) !important; }
.cat-kicker { font-size: 10px; }
.cat-sep { width: 40px; margin: 0.15rem 0 0.1rem; }
section:has(> .cat-head) {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
@media (max-height: 820px) {
  .nv-stage { min-height: min(44vh, 420px) !important; height: min(44vh, 420px) !important; }
  #category-scroll a,
  #category-scroll a > span:first-child {
    width: 76px !important;
    height: 76px !important;
  }
  #category-scroll a > span:last-child { margin-top: 6px !important; font-size: 11px !important; }
  #category-scroll { gap: 12px !important; }
  .site-header .main-nav-link,
  .site-header .nav-cat-trigger { font-size: 14px !important; padding-top: 0.22rem; padding-bottom: 0.22rem; }
  .site-header .max-w-6xl { padding-top: 0.4rem; padding-bottom: 0.35rem; }
}


/* final nudge for 768px height */
@media (max-height: 820px) {
  .nv-stage { min-height: min(40vh, 380px) !important; height: min(40vh, 380px) !important; }
  .cat-head { margin-bottom: 0.35rem !important; }
  #category-scroll { gap: 10px !important; padding-bottom: 4px !important; }
  #category-scroll a,
  #category-scroll a > span:first-child {
    width: 72px !important;
    height: 72px !important;
  }
}


/* modern rail polish */
.nv-rail-item {
  border-radius: 18px;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 2px 10px rgba(72,88,64,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.nv-rail-item:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(72,88,64,0.14);
  background: rgba(255,255,255,0.75);
}
.nv-rail-item.is-active {
  transform: scale(1.05);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 28px rgba(72,88,64,0.18);
  border-color: rgba(72,88,64,0.25);
}
.nv-rail-thumb {
  box-shadow: 0 4px 14px rgba(72,88,64,0.16);
  border: 2px solid rgba(255,255,255,0.9);
}
.nv-rail-item.is-active .nv-rail-thumb {
  border-color: #7a5e5a;
  box-shadow: 0 6px 18px rgba(72,88,64,0.28);
}


/* ===== Glass morphism slider panels ===== */
.nv-panel--img {
  background: linear-gradient(145deg, #2a2f28 0%, #3d3230 100%);
}
.nv-panel--img::before {
  content: "";
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.14) 0%, transparent 42%, transparent 58%, rgba(255,255,255,0.06) 100%);
  mix-blend-mode: soft-light;
}
/* old opaque text bg REMOVED — use transparent glass at .nv-panel--text first block */
.nv-stage {
  box-shadow: 0 24px 70px rgba(74,62,59,0.14), 0 2px 0 rgba(255,255,255,0.35) inset;
}

/* ===== Flash / speed-light entrance from bottom ===== */
.nv-img--base.is-flash-out {
  transform: translateY(-18%) scale(0.96);
  opacity: 0;
  filter: blur(4px) brightness(1.25);
  transition:
    transform 0.16s cubic-bezier(0.55, 0, 1, 0.45),
    opacity 0.16s ease,
    filter 0.16s ease;
  z-index: 1;
}
.nv-img--next.is-flash-in {
  transform: translateY(42%) scale(1.04);
  opacity: 0;
  z-index: 2;
}
.nv-img--next.is-flash-in.is-revealing {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.22s ease;
}
/* light streak across panel */
.nv-mask.is-flash-streak {
  opacity: 1;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,0.0) 35%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.0) 65%,
    transparent 100%
  );
  clip-path: none;
  animation: nv-flash-streak 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 5;
  mix-blend-mode: screen;
}
@keyframes nv-flash-streak {
  0% { transform: translateX(-120%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-img--base.is-flash-out,
  .nv-img--next.is-flash-in,
  .nv-img--next.is-flash-in.is-revealing {
    transition: opacity 0.2s ease !important;
    transform: none !important;
    filter: none !important;
  }
  .nv-mask.is-flash-streak { animation: none !important; opacity: 0 !important; }
}


/* ===== R→L speed object (rail → under text → hero) + product glow ===== */
.nv-stage.is-r2l-active .nv-panel--text {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    -18px 0 42px -22px var(--nv-glow, rgba(139,107,102,0.55));
}
.nv-panel--img.is-r2l-host,
.nv-panel--img {
  /* glow driven by --nv-glow from JS sampleTint */
}

/* incoming: start at RIGHT edge (rail side), slide LEFT under text, land in hero */
.nv-img--next.is-r2l-in {
  transform: translateX(55%) scale(0.92);
  opacity: 0;
  filter: brightness(1.35) saturate(1.2);
  z-index: 2;
  will-change: transform, opacity, filter;
}
.nv-img--next.is-r2l-in.is-revealing {
  transform: translateX(0) scale(1);
  opacity: 1;
  filter: brightness(1) saturate(1);
  transition:
    transform 0.34s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.2s ease,
    filter 0.34s ease;
}

/* outgoing exits left faster */
.nv-img--base.is-r2l-out {
  transform: translateX(-28%) scale(0.97);
  opacity: 0;
  filter: blur(3px) brightness(0.85);
  transition:
    transform 0.15s cubic-bezier(0.6, 0, 0.9, 0.4),
    opacity 0.15s ease,
    filter 0.15s ease;
  z-index: 1;
}

/* speed streak: light bar races right→left across whole stage (incl. text) */
.nv-mask.is-r2l-streak {
  z-index: 6;
  opacity: 1;
  clip-path: none;
  mix-blend-mode: screen;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 38%,
    color-mix(in srgb, var(--nv-glow, #9ec97a) 55%, white) 47%,
    var(--nv-glow, #9ec97a) 50%,
    color-mix(in srgb, var(--nv-glow, #9ec97a) 55%, white) 53%,
    transparent 62%,
    transparent 100%
  );
  animation: nv-r2l-streak 0.38s cubic-bezier(0.3, 0, 0.2, 1) forwards;
}
@keyframes nv-r2l-streak {
  0% { transform: translateX(40%); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateX(-45%); opacity: 0; }
}

/* product glow accent on text panel while promoting */
.nv-stage.is-r2l-active {
  box-shadow:
    0 24px 70px rgba(74,62,59,0.14),
    0 0 0 1px rgba(255,255,255,0.35) inset,
    0 0 48px -12px var(--nv-glow, rgba(139,107,102,0.65));
}

@media (prefers-reduced-motion: reduce) {
  .nv-img--next.is-r2l-in,
  .nv-img--next.is-r2l-in.is-revealing,
  .nv-img--base.is-r2l-out {
    transition: opacity 0.2s ease !important;
    transform: none !important;
    filter: none !important;
  }
  .nv-mask.is-r2l-streak { animation: none !important; opacity: 0 !important; }
}

.nv-rail-item {
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
}
.nv-rail-item:hover { background: rgba(255,255,255,0.22) !important; }
.nv-rail-item.is-active { background: rgba(255,255,255,0.28) !important; border-color: rgba(255,255,255,0.45) !important; }
.nv-rail-price { color: #f5f2ea !important; }
.nv-rail-item.is-active .nv-rail-price { color: #fff !important; }

/* streak: product-colored glow, not black */
.nv-mask.is-r2l-streak {
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 40%,
    rgba(255,255,255,0.25) 47%,
    var(--nv-glow, rgba(200,220,180,0.95)) 50%,
    rgba(255,255,255,0.25) 53%,
    transparent 60%,
    transparent 100%
  ) !important;
  mix-blend-mode: screen !important;
}

/* keep grid fallback for has-rail on mobile stack */
@media (max-width: 768px) {
  .nv-stage {
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
  }
  .nv-panel--img {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: min(58vw, 340px);
    aspect-ratio: 4/3;
    height: auto;
  }
  .nv-panel--text {
    position: relative;
    top: auto; right: auto;
    width: 100%; height: auto;
    background: rgba(18,22,16,0.72);
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .nv-rail {
    position: relative;
    width: 100%; height: auto;
    flex-direction: row;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    max-height: none;
    overflow-x: auto;
  }
}

.nv-mask.is-r2l-streak {
  /* fallback: bright glow bar using --nv-glow directly */
  box-shadow: 0 0 40px 8px var(--nv-glow, rgba(150,200,120,0.85));
}

@media (max-width: 768px) {
  .nv-panel--img {
    position: relative;
    width: 100%;
    height: auto;
    min-height: min(70vw, 360px);
    aspect-ratio: 3/4;
  }
  .nv-panel--text {
    position: relative;
    left: auto; right: auto;
    width: 100%; height: auto;
    background: rgba(12,16,10,0.72);
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
}

.nv-rail-item {
  background: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
}
.nv-rail-item:hover { background: #fff !important; }
.nv-rail-item.is-active { background: #fff !important; border-color: rgba(72,88,64,0.3) !important; }
.nv-rail-price { color: #6b5551 !important; }
.nv-rail-item.is-active .nv-rail-price { color: #3d3230 !important; }


/* FORCE light text — kill black slab (final) */
.nv-panel--text,
.nv-stage .nv-panel--text {
  background: #f7f0ef !important;
  background-image: none !important;
  border-left: 1px solid rgba(0,0,0,0.05) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #3d3230;
}
.nv-panel--img,
.nv-stage .nv-panel--img {
  background: #f7f0ef !important;
  background-image: none !important;
}
.nv-stage {
  background: #f7f0ef !important;
}
.nv-name, .nv-price, .nv-desc, .nv-cat { color: #3d3230 !important; text-shadow: none !important; }
.nv-desc { color: #6b5551 !important; }
.nv-cat { color: #c49595 !important; }
.nv-mask.is-r2l-streak, .nv-mask.is-flash-streak { opacity: 0 !important; animation: none !important; background: transparent !important; }
.nv-img--base.is-r2l-out, .nv-img--base.is-flash-out { filter: none !important; }


/* ===== KILL BLACK (final v37) ===== */
.nv-stage, .nv-stage.has-rail {
  background: #f7f0ef !important;
  display: grid !important;
  grid-template-columns: 1.15fr 1fr 148px !important;
}
.nv-panel--img {
  position: relative !important;
  background: #f7f0ef !important;
  background-image: none !important;
}
.nv-img {
  object-fit: contain !important;
  background: transparent !important;
  filter: none !important;
  transform: none !important;
}
.nv-panel--text, .nv-stage.is-r2l-active .nv-panel--text {
  background: #f7f0ef !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-left: 1px solid rgba(0,0,0,0.05) !important;
  box-shadow: none !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  top: auto !important;
  height: auto !important;
}
.nv-name, .nv-price, .nv-cat { color: #3d3230 !important; text-shadow: none !important; }
.nv-desc { color: #6b5551 !important; text-shadow: none !important; }
.nv-mask { background: transparent !important; opacity: 0 !important; animation: none !important; }
.nv-rail { background: #f5eeee !important; }
.nv-rail-item { background: #fff !important; border: 1px solid rgba(0,0,0,0.06) !important; }
.nv-rail-price { color: #6b5551 !important; }









/* ============================================================
   FINAL v45 — always-visible categories, loud text stagger,
   light floating slider, crisp HD, BIG trays (only 3).
   MUST stay LAST.
   ============================================================ */

/* ===== 1) Slider height leaves room for category circles ===== */
.nv-stage,
.nv-stage.has-rail,
.nv-stage.is-r2l-active {
  display: grid !important;
  grid-template-columns: 1.05fr 1fr 0 !important;
  grid-template-rows: 1fr !important;
  /* lighter + shorter so circles always peek under the fold */
  min-height: min(68vh, 600px) !important;
  height: min(68vh, 600px) !important;
  background: #f5efee !important;
  overflow: hidden !important;
  isolation: isolate !important;
  /* floating, airy */
  border-radius: 0 !important;
  box-shadow:
    0 4px 24px rgba(40, 32, 16, 0.06),
    0 18px 50px rgba(40, 32, 16, 0.08) !important;
  --nv-fg: #3d3230;
  --nv-fg-soft: #7a6a66;
  --nv-fg-accent: #8b6b66;
  --nv-tan: #c49595;
}
.nv-stage.has-rail {
  grid-template-columns: 1fr 1fr 220px !important;
}
@media (min-width: 769px) and (max-height: 900px) {
  .nv-stage,
  .nv-stage.has-rail {
    min-height: min(58vh, 500px) !important;
    height: min(58vh, 500px) !important;
  }
}

/* Category section always clear under slider */
.nv-section { margin: 0 !important; padding: 0 !important; }
#category-scroll {
  padding-top: 16px !important;
  padding-bottom: 20px !important;
}

/* ===== 2) LEFT — crisp HD product, light wash ===== */
.nv-panel--img,
.nv-stage .nv-panel--img {
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: hidden !important;
  background-color: #ece3d2 !important;
  background-image: var(--nv-img, none) !important;
  background-size: cover !important;
  background-position: center center !important;
}
.nv-panel--img::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(247,243,234,0.08), rgba(247,243,234,0.18)) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
/* HD: no blur filters on the hero — sharp pixels only */
.nv-img {
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1 !important;
  scale: 1.04 !important;
  filter: none !important;
  image-rendering: auto !important;
  -webkit-font-smoothing: antialiased;
}
.nv-img--base { z-index: 1 !important; }
.nv-img--next { z-index: 2 !important; }

.nv-badge {
  left: 18px !important; top: 18px !important; z-index: 6 !important;
  background: rgba(26,31,22,0.85) !important;
  color: #f7f0ef !important;
  font-size: 11px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
}
.nv-arrow--prev { left: 14px !important; z-index: 6 !important; }
.nv-arrow--next { right: 14px !important; left: auto !important; z-index: 6 !important; }
.nv-mask { z-index: 3 !important; }

/* Seam swatches */
.nv-swatches {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 7 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  pointer-events: none !important;
}
.nv-swatches span {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,0.9) !important;
  box-shadow: 0 3px 10px rgba(30,24,10,0.28) !important;
  background: #c49595 !important;
}
.nv-swatches span:nth-child(1) { background: var(--sw1, #d4c4a8) !important; }
.nv-swatches span:nth-child(2) { background: var(--sw2, #c49595) !important; }
.nv-swatches span:nth-child(3) { background: var(--sw3, #8b6b66) !important; }
.nv-swatches span:nth-child(4) { background: var(--sw4, #7a6a66) !important; }
.nv-swatches span:nth-child(5) { background: var(--sw5, #2a2e24) !important; }
@media (max-width: 900px) {
  .nv-swatches { display: none !important; }
}

/* ===== 3) RIGHT — cream editorial ===== */
.nv-panel--text,
.nv-stage .nv-panel--text,
.nv-stage.is-r2l-active .nv-panel--text {
  grid-column: 2 !important;
  grid-row: 1 !important;
  position: relative !important;
  left: auto !important; right: auto !important; top: auto !important;
  width: auto !important;
  height: 100% !important;
  margin: 0 !important;
  z-index: 4 !important;
  color: var(--nv-fg, #3d3230) !important;
  align-self: stretch !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  background:
    radial-gradient(ellipse 80% 70% at 0% 50%, rgba(196,165,116,0.14), transparent 55%),
    linear-gradient(180deg, #f6efee 0%, #f3ede1 100%) !important;
  background-image:
    radial-gradient(ellipse 80% 70% at 0% 50%, rgba(196,165,116,0.14), transparent 55%),
    linear-gradient(180deg, #f6efee 0%, #f3ede1 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-left: 1px solid rgba(255,255,255,0.5) !important;
}
.nv-panel--text::before,
.nv-panel--text::after {
  content: none !important;
  display: none !important;
}

.nv-text-block {
  position: relative !important;
  z-index: 2 !important;
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.75rem, 4vw, 3.25rem) !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Editorial index */
.nv-index,
.nv-index--editorial,
.nv-panel--text .nv-index {
  position: static !important;
  left: auto !important; top: auto !important; bottom: auto !important; right: auto !important;
  margin: 0 0 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  color: var(--nv-fg-soft, #7a6a66) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-shadow: none !important;
  opacity: 0.9 !important;
  font-variant-numeric: tabular-nums !important;
  text-transform: uppercase !important;
}

.nv-cat {
  margin: 0 0 0.65rem !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--nv-fg-accent, #8b6b66) !important;
  text-shadow: none !important;
}
.nv-name {
  margin: 0 0 0.85rem !important;
  font-size: clamp(30px, 3.8vw, 50px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.02em !important;
  color: var(--nv-fg, #3d3230) !important;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-weight: 400 !important;
  text-shadow: none !important;
  max-width: 13ch !important;
}
.nv-desc {
  margin: 0 0 1.25rem !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: var(--nv-fg-soft, #7a6a66) !important;
  opacity: 0.92 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-width: 40ch !important;
  text-shadow: none !important;
}
.nv-price-row { margin-bottom: 1.45rem !important; }
.nv-price {
  font-size: clamp(24px, 2.4vw, 32px) !important;
  font-weight: 600 !important;
  color: var(--nv-fg, #3d3230) !important;
  letter-spacing: -0.01em !important;
  text-shadow: none !important;
  font-variant-numeric: tabular-nums !important;
}

.nv-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  align-self: flex-start !important;
  background: var(--nv-tan, #c49595) !important;
  color: #3d3230 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 15px 34px !important;
  border-radius: 2px !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(160,130,80,0.28) !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  position: relative !important;
  z-index: 3 !important;
}
.nv-cta:hover {
  background: #b8956a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(160,130,80,0.36) !important;
}
.nv-cta:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(196,165,116,0.55) !important;
}
.nv-cta svg { width: 14px !important; height: 14px !important; }

.nv-tint {
  position: absolute !important;
  inset: 0 !important;
  mix-blend-mode: soft-light !important;
  opacity: 0.2 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: var(--nv-glow, transparent) !important;
}

/* ===== 4) TEXT STAGGER — loud & visible (b7al video) ===== */
.nv-text-block.is-out [data-nv-field],
.nv-text-block.is-out .nv-price-row,
.nv-text-block.is-out .nv-index {
  opacity: 0 !important;
  transform: translateY(28px) !important;
  filter: blur(4px) !important;
  transition:
    opacity 0.28s cubic-bezier(0.55, 0, 1, 0.45) !important,
    transform 0.28s cubic-bezier(0.55, 0, 1, 0.45) !important,
    filter 0.28s ease !important;
  transition-delay: 0ms !important;
}
.nv-text-block.is-in [data-nv-field],
.nv-text-block.is-in .nv-price-row,
.nv-text-block.is-in .nv-index {
  opacity: 1 !important;
  transform: translateY(0) !important;
  filter: blur(0) !important;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important,
    filter 0.45s ease !important;
}
.nv-text-block.is-in .nv-index { transition-delay: 0ms !important; }
.nv-text-block.is-in [data-nv-field="cat"] { transition-delay: 50ms !important; }
.nv-text-block.is-in [data-nv-field="name"] { transition-delay: 120ms !important; }
.nv-text-block.is-in [data-nv-field="desc"] { transition-delay: 200ms !important; }
.nv-text-block.is-in .nv-price-row { transition-delay: 280ms !important; }
.nv-text-block.is-in [data-nv-field="cta"] { transition-delay: 360ms !important; }
/* default resting state must not fight is-out */
.nv-text-block:not(.is-out):not(.is-in) [data-nv-field],
.nv-text-block:not(.is-out):not(.is-in) .nv-price-row,
.nv-text-block:not(.is-out):not(.is-in) .nv-index {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .nv-text-block.is-out [data-nv-field],
  .nv-text-block.is-in [data-nv-field],
  .nv-text-block.is-out .nv-price-row,
  .nv-text-block.is-in .nv-price-row,
  .nv-text-block.is-out .nv-index,
  .nv-text-block.is-in .nv-index {
    transition: opacity 0.15s ease !important;
    transform: none !important;
    filter: none !important;
    transition-delay: 0ms !important;
  }
}

/* ===== 5) BIG TRAYS — only 3, make them impossible to miss ===== */
.nv-rail {
  grid-column: 3 !important;
  grid-row: 1 !important;
  z-index: 5 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 1rem !important;
  padding: 1.25rem 1rem !important;
  background: #f3ecec !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-left: 1px solid rgba(255,255,255,0.5) !important;
  max-height: none !important;
  overflow: visible !important;
}
.nv-rail[hidden] { display: none !important; }
.nv-rail-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.55rem !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0.35rem !important;
  cursor: pointer !important;
  border-radius: 18px !important;
  transition: background 0.2s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1) !important;
  min-height: 44px !important;
  width: 100% !important;
}
.nv-rail-item:hover {
  background: rgba(255,255,255,0.65) !important;
  transform: translateY(-3px) scale(1.03) !important;
}
.nv-rail-item:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(196,165,116,0.55) !important;
}
.nv-rail-item.is-active {
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 8px 24px rgba(160,130,80,0.18) !important;
  transform: scale(1.04) !important;
}
.nv-rail-thumb {
  width: 140px !important;
  height: 140px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #ebe0df !important;
  border: 3px solid transparent !important;
  flex-shrink: 0 !important;
  box-shadow: 0 8px 22px rgba(40,32,16,0.14) !important;
}
.nv-rail-item.is-active .nv-rail-thumb {
  border-color: var(--nv-tan, #c49595) !important;
  box-shadow: 0 10px 28px rgba(160,130,80,0.28) !important;
}
.nv-rail-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  image-rendering: auto !important;
}
.nv-rail-price {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #5f4e4a !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
}
.nv-rail-item.is-active .nv-rail-price {
  color: #3d3230 !important;
}

/* Mobile rail horizontal */
@media (max-width: 1023px) {
  .nv-stage.has-rail {
    grid-template-columns: 1fr !important;
  }
  .nv-rail {
    flex-direction: row !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    padding: 0.85rem 1rem !important;
    gap: 0.75rem !important;
    scroll-snap-type: x mandatory !important;
    justify-content: flex-start !important;
  }
  .nv-rail-item {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    min-width: 120px !important;
    width: auto !important;
  }
  .nv-rail-thumb {
    width: 96px !important;
    height: 96px !important;
  }
  .nv-rail-price { font-size: 16px !important; }
}

/* Mobile stack */
@media (max-width: 768px) {
  .nv-stage,
  .nv-stage.has-rail,
  .nv-stage.is-r2l-active {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    height: auto !important;
    min-height: 0 !important;
    box-shadow: 0 4px 20px rgba(40,32,16,0.08) !important;
  }
  .nv-panel--img,
  .nv-stage .nv-panel--img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: min(95vw, 440px) !important;
    aspect-ratio: 3 / 4;
  }
  .nv-img { object-position: center center !important; scale: 1 !important; filter: none !important; }
  .nv-panel--text,
  .nv-stage .nv-panel--text {
    grid-column: 1 !important;
    grid-row: 2 !important;
    height: auto !important;
    background: linear-gradient(180deg, #f6efee 0%, #f3ede1 100%) !important;
  }
  .nv-name { max-width: none !important; font-size: clamp(26px, 7vw, 36px) !important; }
  .nv-rail { grid-column: 1 !important; grid-row: 3 !important; }
  .nv-arrow--next { right: 14px !important; }
  /* reduced-motion mobile: kill stagger transforms */
  .nv-text-block.is-out [data-nv-field],
  .nv-text-block.is-in [data-nv-field] {
    transform: none !important;
    filter: none !important;
  }
}



/* ============================================================
   FINAL v47 — match reference VIDEO:
   floating card, left image FILLS, text never clipped,
   seam color dots, editorial index. MUST stay LAST.
   ============================================================ */

/* Section = warm stage behind the card (like video's gray) */
.nv-section {
  margin: 0 !important;
  padding: 22px 16px 10px !important;
  width: 100% !important;
  background:
    linear-gradient(180deg, #eee4e3 0%, #e9dedd 100%) !important;
  background-image:
    linear-gradient(180deg, #eee4e3 0%, #e9dedd 100%) !important;
}

/* ===== FLOATING CARD ===== */
.nv-stage,
.nv-stage.has-rail,
.nv-stage.is-r2l-active {
  display: grid !important;
  /* image | text | rail — image fills like the coffee cup panel */
  grid-template-columns: 1.05fr 1fr 0 !important;
  grid-template-rows: 1fr !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  min-height: min(72vh, 580px) !important;
  height: min(72vh, 580px) !important;
  max-height: none !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: #f5efee !important;
  /* deep soft float shadow — video look */
  box-shadow:
    0 4px 12px rgba(40, 34, 22, 0.06),
    0 24px 56px rgba(40, 34, 22, 0.16),
    0 48px 100px rgba(40, 34, 22, 0.10) !important;
  --nv-fg: #3d3230;
  --nv-fg-soft: #7a6a66;
  --nv-fg-accent: #8b6b66;
  --nv-tan: #c49595;
}
.nv-stage.has-rail {
  grid-template-columns: 1fr 1fr 200px !important;
}
/* short laptops: still fit text + circles under fold */
@media (min-width: 769px) and (max-height: 900px) {
  .nv-stage,
  .nv-stage.has-rail {
    min-height: min(64vh, 520px) !important;
    height: min(64vh, 520px) !important;
  }
  .nv-section { padding-top: 14px !important; }
}

/* ===== LEFT — image FILLS panel edge-to-edge (video) ===== */
.nv-panel--img,
.nv-stage .nv-panel--img {
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: hidden !important;
  /* full-bleed photo fill behind sharp product */
  background-color: #ddd2be !important;
  background-image: var(--nv-img, none) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/* soft film wash so fill feels intentional, not empty */
.nv-panel--img::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(ellipse 75% 70% at 50% 45%, transparent 30%, rgba(60,48,28,0.12) 100%),
    linear-gradient(180deg, rgba(247,243,234,0.05), rgba(247,243,234,0.12)) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* sharp complete product on top */
.nv-img {
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1 !important;
  scale: 1.06 !important;
  filter: drop-shadow(0 24px 48px rgba(30,24,10,0.30)) !important;
  image-rendering: auto !important;
}
.nv-img--base { z-index: 1 !important; }
.nv-img--next { z-index: 2 !important; }

.nv-badge {
  left: 18px !important; top: 18px !important; z-index: 6 !important;
  background: rgba(26,31,22,0.85) !important;
  color: #f7f0ef !important;
  font-size: 11px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
}
.nv-arrow--prev { left: 14px !important; z-index: 6 !important; }
.nv-arrow--next { right: 14px !important; left: auto !important; z-index: 6 !important; }
.nv-mask { z-index: 3 !important; }

/* ===== SEAM COLOR DOTS (video) ===== */
.nv-swatches {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 8 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  pointer-events: none !important;
}
.nv-swatches span {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,0.92) !important;
  box-shadow: 0 4px 12px rgba(30,24,10,0.30) !important;
  background: #c49595 !important;
}
.nv-swatches span:nth-child(1) { background: var(--sw1, #e8e0d4) !important; }
.nv-swatches span:nth-child(2) { background: var(--sw2, #c49595) !important; }
.nv-swatches span:nth-child(3) { background: var(--sw3, #8b6b66) !important; }
.nv-swatches span:nth-child(4) { background: var(--sw4, #7a6a66) !important; }
.nv-swatches span:nth-child(5) { background: var(--sw5, #2a2e24) !important; }
@media (max-width: 900px) {
  .nv-swatches { display: none !important; }
}

/* ===== RIGHT — cream editorial text (video) ===== */
.nv-panel--text,
.nv-stage .nv-panel--text,
.nv-stage.is-r2l-active .nv-panel--text {
  grid-column: 2 !important;
  grid-row: 1 !important;
  position: relative !important;
  left: auto !important; right: auto !important; top: auto !important;
  width: auto !important;
  height: 100% !important;
  margin: 0 !important;
  z-index: 4 !important;
  color: var(--nv-fg, #3d3230) !important;
  align-self: stretch !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  background:
    radial-gradient(ellipse 80% 70% at 0% 50%, rgba(196,165,116,0.12), transparent 55%),
    linear-gradient(180deg, #f6efee 0%, #f4ecec 100%) !important;
  background-image:
    radial-gradient(ellipse 80% 70% at 0% 50%, rgba(196,165,116,0.12), transparent 55%),
    linear-gradient(180deg, #f6efee 0%, #f4ecec 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-left: 1px solid rgba(255,255,255,0.45) !important;
}
.nv-panel--text::before,
.nv-panel--text::after {
  content: none !important;
  display: none !important;
}

/* text never clips — allow full column height, tighter pad if needed */
.nv-text-block {
  position: relative !important;
  z-index: 2 !important;
  padding: clamp(1.5rem, 3.5vw, 3rem) clamp(1.5rem, 3.5vw, 3rem) !important;
  width: 100% !important;
  max-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  overflow: visible !important;
}

/* Editorial index — "04 / 36" like video's 02 / 05 */
.nv-index,
.nv-index--editorial,
.nv-panel--text .nv-index {
  position: static !important;
  left: auto !important; top: auto !important; bottom: auto !important; right: auto !important;
  margin: 0 0 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  color: var(--nv-fg-soft, #7a6a66) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-shadow: none !important;
  opacity: 0.9 !important;
  font-variant-numeric: tabular-nums !important;
  text-transform: uppercase !important;
}

.nv-cat {
  margin: 0 0 0.55rem !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--nv-fg-accent, #8b6b66) !important;
  text-shadow: none !important;
}
.nv-name {
  margin: 0 0 0.75rem !important;
  font-size: clamp(28px, 3.4vw, 48px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  color: var(--nv-fg, #3d3230) !important;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-weight: 400 !important;
  text-shadow: none !important;
  max-width: 13ch !important;
}
.nv-desc {
  margin: 0 0 1.15rem !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: var(--nv-fg-soft, #7a6a66) !important;
  opacity: 0.92 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-width: 40ch !important;
  text-shadow: none !important;
}
.nv-price-row { margin-bottom: 1.35rem !important; }
.nv-price {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  font-weight: 600 !important;
  color: var(--nv-fg, #3d3230) !important;
  letter-spacing: -0.01em !important;
  text-shadow: none !important;
  font-variant-numeric: tabular-nums !important;
}

.nv-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  align-self: flex-start !important;
  background: var(--nv-tan, #c49595) !important;
  color: #3d3230 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 14px 32px !important;
  border-radius: 2px !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(160,130,80,0.28) !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  position: relative !important;
  z-index: 3 !important;
}
.nv-cta:hover {
  background: #b8956a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(160,130,80,0.36) !important;
}
.nv-cta:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(196,165,116,0.55) !important;
}
.nv-cta svg { width: 14px !important; height: 14px !important; }

.nv-tint {
  position: absolute !important;
  inset: 0 !important;
  mix-blend-mode: soft-light !important;
  opacity: 0.2 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: var(--nv-glow, transparent) !important;
}

/* ===== TEXT STAGGER (keep working) ===== */
.nv-text-block.is-out [data-nv-field],
.nv-text-block.is-out .nv-price-row,
.nv-text-block.is-out .nv-index {
  opacity: 0 !important;
  transform: translateY(28px) !important;
  filter: blur(4px) !important;
  transition:
    opacity 0.28s cubic-bezier(0.55, 0, 1, 0.45) !important,
    transform 0.28s cubic-bezier(0.55, 0, 1, 0.45) !important,
    filter 0.28s ease !important;
  transition-delay: 0ms !important;
}
.nv-text-block.is-in [data-nv-field],
.nv-text-block.is-in .nv-price-row,
.nv-text-block.is-in .nv-index {
  opacity: 1 !important;
  transform: translateY(0) !important;
  filter: blur(0) !important;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important,
    filter 0.45s ease !important;
}
.nv-text-block.is-in .nv-index { transition-delay: 0ms !important; }
.nv-text-block.is-in [data-nv-field="cat"] { transition-delay: 50ms !important; }
.nv-text-block.is-in [data-nv-field="name"] { transition-delay: 120ms !important; }
.nv-text-block.is-in [data-nv-field="desc"] { transition-delay: 200ms !important; }
.nv-text-block.is-in .nv-price-row { transition-delay: 280ms !important; }
.nv-text-block.is-in [data-nv-field="cta"] { transition-delay: 360ms !important; }

/* ===== TRAYS — 2 big items ===== */
.nv-rail {
  grid-column: 3 !important;
  grid-row: 1 !important;
  z-index: 5 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 1.1rem !important;
  padding: 1.25rem 0.9rem !important;
  background: #f3ecec !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-left: 1px solid rgba(255,255,255,0.5) !important;
  max-height: none !important;
  overflow: visible !important;
}
.nv-rail[hidden] { display: none !important; }
.nv-rail-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.5rem !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0.35rem !important;
  cursor: pointer !important;
  border-radius: 18px !important;
  transition: background 0.2s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1) !important;
  min-height: 44px !important;
  width: 100% !important;
}
.nv-rail-item:hover {
  background: rgba(255,255,255,0.65) !important;
  transform: translateY(-3px) scale(1.03) !important;
}
.nv-rail-item:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(196,165,116,0.55) !important;
}
.nv-rail-item.is-active {
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 8px 24px rgba(160,130,80,0.18) !important;
  transform: scale(1.04) !important;
}
.nv-rail-thumb {
  width: 132px !important;
  height: 132px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #ebe0df !important;
  border: 3px solid transparent !important;
  flex-shrink: 0 !important;
  box-shadow: 0 8px 22px rgba(40,32,16,0.14) !important;
}
.nv-rail-item.is-active .nv-rail-thumb {
  border-color: var(--nv-tan, #c49595) !important;
  box-shadow: 0 10px 28px rgba(160,130,80,0.28) !important;
}
.nv-rail-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  image-rendering: auto !important;
}
.nv-rail-price {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #5f4e4a !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
}
.nv-rail-item.is-active .nv-rail-price {
  color: #3d3230 !important;
}

/* categories still tight under the card */
#category-scroll {
  min-height: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 12px !important;
}
.cat-head { margin-bottom: 6px !important; }
.cat-title {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  font-size: clamp(20px, 2.4vw, 26px) !important;
}

/* Mobile */
@media (max-width: 1023px) {
  .nv-stage.has-rail {
    grid-template-columns: 1fr !important;
  }
  .nv-rail {
    flex-direction: row !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    padding: 0.85rem 1rem !important;
    gap: 0.75rem !important;
    scroll-snap-type: x mandatory !important;
    justify-content: flex-start !important;
  }
  .nv-rail-item {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    min-width: 120px !important;
    width: auto !important;
  }
  .nv-rail-thumb {
    width: 96px !important;
    height: 96px !important;
  }
  .nv-rail-price { font-size: 16px !important; }
}
@media (max-width: 768px) {
  .nv-section { padding: 12px 10px 6px !important; }
  .nv-stage,
  .nv-stage.has-rail,
  .nv-stage.is-r2l-active {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 16px !important;
    max-width: 100% !important;
  }
  .nv-panel--img,
  .nv-stage .nv-panel--img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: min(95vw, 440px) !important;
    aspect-ratio: 3 / 4;
  }
  .nv-img { object-position: center center !important; scale: 1 !important; filter: none !important; }
  .nv-panel--text,
  .nv-stage .nv-panel--text {
    grid-column: 1 !important;
    grid-row: 2 !important;
    height: auto !important;
    background: linear-gradient(180deg, #f6efee 0%, #f4ecec 100%) !important;
  }
  .nv-name { max-width: none !important; font-size: clamp(26px, 7vw, 36px) !important; }
  .nv-rail { grid-column: 1 !important; grid-row: 3 !important; }
  .nv-arrow--next { right: 14px !important; }
  .nv-text-block.is-out [data-nv-field],
  .nv-text-block.is-in [data-nv-field] {
    transform: none !important;
    filter: none !important;
  }
}


/* ============================================================
   FINAL v47b — fit text fully + circles in fold (720p)
   MUST stay absolute LAST.
   ============================================================ */
@media (min-width: 769px) {
  .nv-stage,
  .nv-stage.has-rail,
  .nv-stage.is-r2l-active {
    min-height: min(56vh, 480px) !important;
    height: min(56vh, 480px) !important;
  }
}
@media (min-width: 769px) and (max-height: 900px) {
  .nv-stage,
  .nv-stage.has-rail {
    min-height: min(54vh, 460px) !important;
    height: min(54vh, 460px) !important;
  }
}

/* Text fits inside card — no clip */
.nv-text-block {
  padding: clamp(1.1rem, 2.5vw, 2rem) clamp(1.25rem, 3vw, 2.5rem) !important;
}
.nv-name {
  font-size: clamp(26px, 3vw, 42px) !important;
  margin-bottom: 0.55rem !important;
  max-width: 14ch !important;
}
.nv-desc {
  -webkit-line-clamp: 2 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  margin-bottom: 0.85rem !important;
}
.nv-price-row { margin-bottom: 1rem !important; }
.nv-price { font-size: clamp(20px, 2vw, 26px) !important; }
.nv-cta { padding: 12px 28px !important; font-size: 12px !important; }
.nv-index { margin-bottom: 0.55rem !important; font-size: 12px !important; }
.nv-cat { margin-bottom: 0.4rem !important; }

/* Category block tight — circles peek under card */
.nv-section {
  padding-top: 12px !important;
  padding-bottom: 4px !important;
}
.cat-head {
  margin-bottom: 4px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.cat-kicker {
  margin-bottom: 0 !important;
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
}
.cat-title {
  margin: 0 !important;
  font-size: clamp(18px, 2.2vw, 24px) !important;
  line-height: 1.2 !important;
}
.cat-sep {
  margin-top: 3px !important;
  margin-bottom: 3px !important;
  width: 32px !important;
  height: 2px !important;
}
.cat-all {
  margin-top: 0 !important;
  font-size: 12px !important;
}
#category-scroll {
  min-height: 0 !important;
  padding-top: 4px !important;
  padding-bottom: 8px !important;
}
#category-scroll > a span:first-child {
  box-shadow: 0 4px 14px rgba(196,149,149,0.16) !important;
}

/* Swatches slightly smaller so they don't crowd the seam on short cards */
.nv-swatches { gap: 10px !important; }
.nv-swatches span {
  width: 18px !important;
  height: 18px !important;
}


/* ============================================================
   FINAL v49 — no clip: text+k, swatches full, tray fits,
   circles still in fold. MUST stay absolute LAST.
   ============================================================ */

/* taller card so price+CTA+2 trays fit */
@media (min-width: 769px) {
  .nv-stage,
  .nv-stage.has-rail,
  .nv-stage.is-r2l-active {
    min-height: min(60vh, 520px) !important;
    height: min(60vh, 520px) !important;
  }
}
@media (min-width: 769px) and (max-height: 900px) {
  .nv-stage,
  .nv-stage.has-rail {
    min-height: min(58vh, 500px) !important;
    height: min(58vh, 500px) !important;
  }
}

/* text panel: allow swatches to spill onto the seam (video dots) */
.nv-panel--text,
.nv-stage .nv-panel--text {
  overflow: visible !important;
}
/* but keep desc clamp working */
.nv-desc { overflow: hidden !important; }

/* swatches: fully readable circles centered ON the seam */
.nv-swatches {
  left: 0 !important;
  transform: translate(-50%, -50%) !important;
  gap: 12px !important;
  z-index: 10 !important;
}
.nv-swatches span {
  width: 20px !important;
  height: 20px !important;
  border: 2.5px solid rgba(255,255,255,0.95) !important;
  box-shadow: 0 4px 14px rgba(30,24,10,0.32) !important;
}

/* trays: both items fully inside the card */
.nv-rail {
  gap: 0.75rem !important;
  padding: 1rem 0.75rem !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.nv-rail-thumb {
  width: 110px !important;
  height: 110px !important;
}
.nv-rail-price { font-size: 16px !important; }
.nv-rail-item { gap: 0.4rem !important; padding: 0.25rem !important; }

/* text block: compact so nothing clips */
.nv-text-block {
  padding: 1rem 1.5rem !important;
}
.nv-index { margin-bottom: 0.45rem !important; }
.nv-cat { margin-bottom: 0.35rem !important; }
.nv-name {
  font-size: clamp(24px, 2.8vw, 40px) !important;
  margin-bottom: 0.45rem !important;
  line-height: 1.05 !important;
}
.nv-desc {
  -webkit-line-clamp: 2 !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  margin-bottom: 0.7rem !important;
}
.nv-price-row { margin-bottom: 0.85rem !important; }
.nv-price { font-size: clamp(20px, 1.9vw, 26px) !important; }
.nv-cta { padding: 11px 26px !important; font-size: 12px !important; }

/* category: ultra-tight so circles stay fully in fold under taller card */
.nv-section {
  padding-top: 8px !important;
  padding-bottom: 2px !important;
}
.cat-head {
  margin-bottom: 2px !important;
  gap: 0 !important;
}
.cat-kicker { display: none !important; }
.cat-title {
  margin: 0 !important;
  font-size: clamp(17px, 2vw, 22px) !important;
  line-height: 1.15 !important;
}
.cat-sep {
  margin-top: 2px !important;
  margin-bottom: 2px !important;
  width: 28px !important;
  height: 2px !important;
}
.cat-all {
  margin-top: 0 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}
#category-scroll {
  min-height: 0 !important;
  padding-top: 2px !important;
  padding-bottom: 6px !important;
}


/* ============================================================
   FINAL v50 — video proportions + slash index + final polish
   MUST stay absolute LAST.
   ============================================================ */

/* video: image slightly dominant (~55/45) before rail */
.nv-stage,
.nv-stage.has-rail,
.nv-stage.is-r2l-active {
  grid-template-columns: 1.15fr 1fr 0 !important;
}
.nv-stage.has-rail {
  grid-template-columns: 1.12fr 1fr 190px !important;
}

/* left photo fills panel edge-to-edge like the coffee frame:
   bg cover already fills; bump sharp product a touch */
.nv-img {
  scale: 1.10 !important;
  object-position: center 42% !important;
}

/* index with editorial slash feel (04 / 36 already has slash) */
.nv-index,
.nv-index--editorial,
.nv-panel--text .nv-index {
  gap: 0.5rem !important;
  font-size: 13px !important;
  letter-spacing: 0.22em !important;
  opacity: 0.85 !important;
}

/* text block: video-like vertical rhythm */
.nv-text-block {
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 3.5vw, 3rem) !important;
  justify-content: center !important;
}
.nv-name {
  font-size: clamp(28px, 3.2vw, 46px) !important;
  margin-bottom: 0.65rem !important;
}
.nv-desc {
  -webkit-line-clamp: 3 !important;
  font-size: 14.5px !important;
  margin-bottom: 0.9rem !important;
}
.nv-price-row { margin-bottom: 1.1rem !important; }

/* swatches sit cleanly on the seam (video color dots) */
.nv-swatches {
  gap: 13px !important;
}
.nv-swatches span {
  width: 21px !important;
  height: 21px !important;
}

/* section bg: solid warm taupe like video's gray stage */
.nv-section {
  background: #dcd0cf !important;
  background-image: none !important;
  padding-top: 20px !important;
  padding-bottom: 8px !important;
}


/* ============================================================
   FINAL v51 — kill duplicated bg photo, clean wash behind
   product, WIDER card, SAME height (circles stay visible).
   MUST stay absolute LAST.
   ============================================================ */

/* wider card — height untouched so cercles stay in fold */
.nv-stage,
.nv-stage.has-rail,
.nv-stage.is-r2l-active {
  max-width: 1400px !important;
  /* height rules from v49/v50 stay — do not override */
}
.nv-stage.has-rail {
  grid-template-columns: 1.15fr 1fr 200px !important;
}

/* LEFT — NO duplicated product photo in background.
   Clean warm wash + subtle vignette so the sharp product reads clearly. */
.nv-panel--img,
.nv-stage .nv-panel--img {
  background-color: #eadfde !important;
  background-image:
    radial-gradient(ellipse 90% 85% at 50% 40%, rgba(255,252,246,0.55), transparent 70%),
    linear-gradient(165deg, #f2e7e6 0%, #eadfde 48%, #ddd3c2 100%) !important;
  background-size: auto, auto !important;
  background-position: center, center !important;
  background-repeat: no-repeat, no-repeat !important;
}
/* soft cinematic vignette — no photo, just light falloff */
.nv-panel--img::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(ellipse 70% 65% at 50% 42%, transparent 40%, rgba(50,40,24,0.14) 100%) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* sharp product: clear, complete, cinematic drop */
.nv-img {
  object-fit: contain !important;
  object-position: center 45% !important;
  background: transparent !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1 !important;
  scale: 1.08 !important;
  /* crisp separation from wash — product pops */
  filter: drop-shadow(0 22px 44px rgba(35,28,12,0.28)) drop-shadow(0 2px 8px rgba(35,28,12,0.12)) !important;
  image-rendering: auto !important;
}
.nv-img--base { z-index: 1 !important; }
.nv-img--next { z-index: 2 !important; }

/* keep section bg + card look */
.nv-section {
  background: #dcd0cf !important;
  background-image: none !important;
  padding-top: 20px !important;
  padding-bottom: 8px !important;
}
.nv-stage,
.nv-stage.has-rail {
  border-radius: 22px !important;
  box-shadow:
    0 4px 12px rgba(40, 34, 22, 0.06),
    0 24px 56px rgba(40, 34, 22, 0.16),
    0 48px 100px rgba(40, 34, 22, 0.10) !important;
}


/* ============================================================
   FINAL MOBILE — force single-column stack under 768px.
   Must be LAST so it beats desktop !important grid rules.
   ============================================================ */
@media (max-width: 767px) {
  .nv-section {
    padding: 10px 8px 4px !important;
    background: #dcd0cf !important;
    background-image: none !important;
  }

  .nv-stage,
  .nv-stage.has-rail,
  .nv-stage.is-r2l-active,
  .nv-stage.has-rail.is-r2l-active {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    box-shadow:
      0 4px 16px rgba(40, 34, 22, 0.08),
      0 16px 40px rgba(40, 34, 22, 0.12) !important;
  }

  /* IMAGE first — full width, portrait crop */
  .nv-panel--img,
  .nv-stage .nv-panel--img {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
    flex: 0 0 auto !important;
    background-color: #eadfde !important;
    background-image:
      radial-gradient(ellipse 90% 85% at 50% 40%, rgba(255,252,246,0.5), transparent 70%),
      linear-gradient(165deg, #f2e7e6 0%, #eadfde 100%) !important;
  }
  .nv-img,
  .nv-img--base,
  .nv-img--next {
    object-fit: contain !important;
    object-position: center center !important;
    scale: 1 !important;
    filter: drop-shadow(0 12px 28px rgba(35,28,12,0.22)) !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* TEXT second — full width, auto height */
  .nv-panel--text,
  .nv-stage .nv-panel--text,
  .nv-stage.is-r2l-active .nv-panel--text {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    display: block !important;
    overflow: visible !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.5) !important;
    background: linear-gradient(180deg, #f6efee 0%, #f4ecec 100%) !important;
    background-image: linear-gradient(180deg, #f6efee 0%, #f4ecec 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nv-panel--text::before,
  .nv-panel--text::after {
    content: none !important;
    display: none !important;
  }
  .nv-text-block {
    padding: 1.25rem 1.15rem 1.5rem !important;
    display: block !important;
  }
  .nv-index,
  .nv-index--editorial,
  .nv-panel--text .nv-index {
    position: static !important;
    margin: 0 0 0.5rem !important;
    display: block !important;
    font-size: 12px !important;
    letter-spacing: 0.16em !important;
  }
  .nv-cat {
    margin: 0 0 0.4rem !important;
    font-size: 11px !important;
  }
  .nv-name {
    max-width: none !important;
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.12 !important;
    margin-bottom: 0.55rem !important;
  }
  .nv-desc {
    max-width: none !important;
    -webkit-line-clamp: 3 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 0.85rem !important;
  }
  .nv-price-row { margin-bottom: 1rem !important; }
  .nv-price { font-size: clamp(22px, 6vw, 28px) !important; }
  .nv-cta {
    display: inline-flex !important;
    align-self: auto !important;
    padding: 13px 28px !important;
    font-size: 13px !important;
    width: auto !important;
    max-width: 100% !important;
  }

  /* RAIL third — horizontal scroll strip, full width */
  .nv-rail,
  .nv-stage .nv-rail {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.85rem 1rem !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(0,0,0,0.06) !important;
    background: #f3ecec !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .nv-rail[hidden] { display: none !important; }
  .nv-rail-item {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 104px !important;
    scroll-snap-align: start !important;
    gap: 0.35rem !important;
    padding: 0.25rem !important;
  }
  .nv-rail-thumb {
    width: 88px !important;
    height: 88px !important;
    border-radius: 50% !important;
  }
  .nv-rail-price {
    font-size: 15px !important;
  }

  /* hide seam swatches on mobile */
  .nv-swatches { display: none !important; }

  /* arrows over image */
  .nv-arrow--prev { left: 10px !important; top: 50% !important; transform: translateY(-50%); }
  .nv-arrow--next { right: 10px !important; left: auto !important; top: 50% !important; transform: translateY(-50%); }
  .nv-badge { left: 12px !important; top: 12px !important; font-size: 10px !important; padding: 6px 12px !important; }

  /* stagger: no transform on mobile */
  .nv-text-block.is-out [data-nv-field],
  .nv-text-block.is-in [data-nv-field],
  .nv-text-block.is-out .nv-price-row,
  .nv-text-block.is-in .nv-price-row,
  .nv-text-block.is-out .nv-index,
  .nv-text-block.is-in .nv-index {
    transform: none !important;
    filter: none !important;
  }

  /* categories compact under slider */
  .nv-section { padding-bottom: 2px !important; }
  #category-scroll {
    min-height: 0 !important;
    padding-top: 4px !important;
    padding-bottom: 8px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }
  .cat-kicker { display: none !important; }
  .cat-title {
    font-size: 18px !important;
    margin: 0 !important;
  }
  .cat-head { margin-bottom: 4px !important; }
}

/* tablet 768–1023: also stack image/text but keep sane widths */
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-stage.has-rail,
  .nv-stage.has-rail.is-r2l-active {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    border-radius: 18px !important;
  }
  .nv-panel--img,
  .nv-stage .nv-panel--img {
    width: 100% !important;
    aspect-ratio: 16 / 11 !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }
  .nv-panel--text,
  .nv-stage .nv-panel--text {
    width: 100% !important;
    height: auto !important;
    flex: 0 0 auto !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.5) !important;
    overflow: visible !important;
  }
  .nv-text-block {
    padding: 1.5rem 1.75rem !important;
    max-height: none !important;
  }
  .nv-rail,
  .nv-stage .nv-rail {
    flex-direction: row !important;
    width: 100% !important;
    overflow-x: auto !important;
    max-height: none !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(0,0,0,0.06) !important;
    justify-content: flex-start !important;
  }
  .nv-rail-item {
    flex: 0 0 auto !important;
    min-width: 110px !important;
    width: auto !important;
  }
  .nv-rail-thumb {
    width: 96px !important;
    height: 96px !important;
  }
  .nv-swatches { display: none !important; }
}


/* ============================================================
   FINAL MOBILE HEAD — hide slider, modern search between
   logo and favorite/cart icons. MUST stay absolute LAST.
   ============================================================ */
@media (max-width: 767px) {
  /* masquer le slider Nouveautés sur mobile */
  .nv-section {
    display: none !important;
  }

  /* header row: logo left, search grows middle, icons right */
  .site-header .header-actions {
    display: contents !important;
  }
  .site-header .search-pill,
  .site-header .search-pill--sm {
    display: inline-flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 4px !important;
    /* modern field */
    background: #ffffff !important;
    border: 1.5px solid #e4e9dc !important;
    border-radius: 9999px !important;
    padding: 0.55rem 0.95rem !important;
    gap: 0.5rem !important;
    box-shadow:
      0 1px 2px rgba(40, 50, 30, 0.04),
      0 4px 14px rgba(40, 50, 30, 0.06) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  }
  .site-header .search-pill:hover {
    border-color: #e5cfcf !important;
  }
  .site-header .search-pill:focus-within {
    background: #fff !important;
    border-color: #c49595 !important;
    box-shadow:
      0 0 0 3px rgba(138, 154, 107, 0.20),
      0 4px 14px rgba(40, 50, 30, 0.08) !important;
  }
  .site-header .search-pill .search-icon {
    width: 16px !important;
    height: 16px !important;
    color: #c49595 !important;
  }
  .site-header .search-pill input {
    font-size: 14px !important;
    color: #5f4e4a !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .site-header .search-pill input::placeholder {
    color: #a8b392 !important;
  }

  /* icons stay compact on the right */
  .site-header .header-actions .icon-btn,
  .site-header .icon-btn {
    flex-shrink: 0 !important;
    width: 36px !important;
    height: 36px !important;
  }

  /* keep logo group from shrinking too much */
  .site-header .brand-link {
    flex-shrink: 1 !important;
  }
  .site-header .brand-link img {
    max-height: 40px !important;
    width: auto !important;
  }

  /* center-logo branch: grid becomes flex on mobile */
  .site-header .grid.grid-cols-3 {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .site-header .grid.grid-cols-3 > div:first-child {
    flex-shrink: 0 !important;
  }
  .site-header .grid.grid-cols-3 > div:nth-child(2) {
    flex-shrink: 0 !important;
  }
}

/* very narrow phones: tighter search */
@media (max-width: 380px) {
  .site-header .search-pill,
  .site-header .search-pill--sm {
    padding: 0.5rem 0.7rem !important;
  }
  .site-header .search-pill input {
    font-size: 13px !important;
  }
}


/* ============================================================
   FINAL MOBILE HEAD2 — breathing room: logo readable,
   full placeholder, comfortable search. LAST.
   ============================================================ */
@media (max-width: 767px) {
  .site-header .max-w-6xl {
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 6px !important;
  }

  /* hamburger + logo group: compact but not crushed */
  .site-header .hamburger-btn {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }
  .site-header .brand-link {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
  }
  .site-header .brand-link img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    max-width: 72px !important;
    object-fit: contain !important;
  }
  .site-header .brand-text {
    font-size: 15px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  /* search: full placeholder, comfortable tap target */
  .site-header .search-pill,
  .site-header .search-pill--sm {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0.6rem 0.85rem !important;
    gap: 0.45rem !important;
  }
  .site-header .search-pill input {
    font-size: 13.5px !important;
    text-overflow: ellipsis !important;
  }
  .site-header .search-pill input::placeholder {
    color: #c4a8a4 !important;
    opacity: 1 !important;
  }

  /* icons: a bit tighter gap so search gets more room */
  .site-header .header-actions {
    gap: 2px !important;
  }
  .site-header .icon-btn {
    width: 34px !important;
    height: 34px !important;
  }
  .site-header .icon-btn svg {
    width: 19px !important;
    height: 19px !important;
  }
}


/* ============================================================
   FINAL MOBILE DRAWER — green glass, clear type, brand
   logo + Rosastore Maroc. MUST stay absolute LAST.
   ============================================================ */

/* overlay: green-tinted dim */
.mobile-overlay {
  background: rgba(40, 52, 32, 0.42) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}
.mobile-overlay:not(.hidden) {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* drawer: frosted green glass */
.mobile-drawer {
  width: min(88vw, 340px) !important;
  background:
    linear-gradient(
      165deg,
      rgba(247, 250, 242, 0.94) 0%,
      rgba(240, 246, 230, 0.92) 45%,
      rgba(232, 238, 218, 0.90) 100%
    ) !important;
  background-image:
    linear-gradient(
      165deg,
      rgba(247, 250, 242, 0.94) 0%,
      rgba(240, 246, 230, 0.92) 45%,
      rgba(232, 238, 218, 0.90) 100%
    ) !important;
  backdrop-filter: blur(18px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.25) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow:
    12px 0 40px rgba(30, 42, 22, 0.18),
    inset -1px 0 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateX(-105%) !important;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.mobile-drawer.is-open {
  transform: translateX(0) !important;
}

/* header strip: close only, transparent glass */
.mobile-drawer-head {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding: 0.75rem 0.85rem 0.25rem !important;
  border-bottom: 0 !important;
  background: transparent !important;
  position: relative !important;
  top: auto !important;
  z-index: 2 !important;
}
.drawer-close {
  width: 38px !important;
  height: 38px !important;
  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 50% !important;
  color: #6b5551 !important;
  box-shadow: 0 2px 8px rgba(40, 52, 32, 0.10) !important;
}
.drawer-close:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #5f4e4a !important;
}
.drawer-close svg {
  width: 18px !important;
  height: 18px !important;
}

/* ===== BRAND: logo f lfo9 + Rosastore Maroc ta7t ===== */
.drawer-brand {
  display: flex !important;
  justify-content: center !important;
  padding: 0.35rem 1rem 1rem !important;
}
.drawer-brand-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.45rem !important;
  text-decoration: none !important;
}
.drawer-logo {
  height: 56px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 12px rgba(40, 52, 32, 0.12)) !important;
}
.drawer-logo-fallback {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #6b5551 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
}
.drawer-logo-fallback em {
  font-style: italic !important;
  font-weight: 500 !important;
  color: #8b6b66 !important;
}
.drawer-brand-name {
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #6b5551 !important;
  text-align: center !important;
  line-height: 1.2 !important;
}
.drawer-brand-name em {
  font-style: normal !important;
  color: #8b6b66 !important;
  font-weight: 400 !important;
  display: block !important;
  font-size: 12px !important;
  letter-spacing: 0.28em !important;
  margin-top: 2px !important;
}

/* ===== NAV: organized, clear type ===== */
.mobile-drawer-nav {
  padding: 0.35rem 0.75rem 2rem !important;
}
.mobile-root-link {
  display: flex !important;
  align-items: center !important;
  padding: 0.85rem 1rem !important;
  border-radius: 14px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.01em !important;
  color: #5f4e4a !important;
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  margin-bottom: 0.35rem !important;
  transition: background 0.18s ease, transform 0.18s ease !important;
  box-shadow: 0 1px 3px rgba(40, 52, 32, 0.05) !important;
}
.mobile-root-link:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  transform: translateX(3px) !important;
}
.mobile-row {
  background: rgba(255, 255, 255, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 14px !important;
  margin-bottom: 0.3rem !important;
  transition: background 0.18s ease !important;
}
.mobile-row:hover {
  background: rgba(255, 255, 255, 0.75) !important;
}
.mobile-row-link {
  padding: 0.8rem 1rem !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  color: #5f4e4a !important;
  letter-spacing: 0.01em !important;
}
.mobile-row--sub .mobile-row-link,
.mobile-row-link--sub {
  font-weight: 500 !important;
  font-size: 13.5px !important;
  color: #4a5a3c !important;
  padding-left: 1.65rem !important;
}
.mobile-row-link--subsub {
  font-size: 12.5px !important;
  color: #6b7a58 !important;
  padding-left: 2.35rem !important;
}
.mobile-cat-toggle {
  width: 42px !important;
  height: 42px !important;
  color: #6d7f52 !important;
  background: rgba(232, 238, 218, 0.55) !important;
  border-radius: 12px !important;
}
.mobile-cat-toggle:hover {
  background: rgba(214, 226, 196, 0.9) !important;
}
.mobile-cat-panel {
  border-left: 2px solid rgba(138, 154, 107, 0.35) !important;
  margin-left: 1rem !important;
  padding-left: 0.65rem !important;
}

/* foot: favoris / panier as glass chips */
.mobile-drawer-foot {
  margin-top: 0.85rem !important;
  padding-top: 0.85rem !important;
  border-top: 1px solid rgba(138, 154, 107, 0.28) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
}
.mobile-drawer-foot .mobile-root-link {
  background: rgba(72, 88, 64, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #5f4e4a !important;
}
.mobile-drawer-foot .mobile-root-link:hover {
  background: rgba(72, 88, 64, 0.18) !important;
}

/* subtle green glow at drawer top (behind brand) */
.mobile-drawer::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 160px !important;
  background:
    radial-gradient(ellipse 90% 100% at 50% 0%, rgba(138, 154, 107, 0.22), transparent 70%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
.mobile-drawer > * {
  position: relative !important;
  z-index: 1 !important;
}


/* ============================================================
   FINAL v56 — logo no white box, green hover highlight,
   marquee flag, footer copy + flag. MUST stay LAST.
   ============================================================ */

/* 1) Logo: kill baked-in white bg via multiply blend */
.drawer-logo,
.brand-link img,
.site-header .brand-link img {
  mix-blend-mode: multiply !important;
  background: transparent !important;
  /* if logo sits on dark footer too, soft-light fallback on dark */
}
.drawer-logo {
  mix-blend-mode: multiply !important;
  background: transparent !important;
  /* slight lift without white plate */
  filter: drop-shadow(0 3px 10px rgba(40, 52, 32, 0.10)) !important;
}
/* header logo on white bar: multiply is fine */
.site-header .brand-link img {
  mix-blend-mode: multiply !important;
}

/* 2) Green highlight hover — store olive */
.mobile-drawer .mobile-root-link,
.mobile-drawer .mobile-row,
.mobile-drawer .mobile-row-link,
.mobile-drawer .mobile-cat-toggle,
.mobile-drawer-foot .mobile-root-link {
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease !important;
}
.mobile-drawer .mobile-root-link:hover,
.mobile-drawer-foot .mobile-root-link:hover {
  background: rgba(116, 139, 94, 0.22) !important;
  color: #4a3e3b !important;
  box-shadow:
    0 0 0 2px rgba(116, 139, 94, 0.35),
    0 4px 14px rgba(72, 88, 64, 0.16) !important;
  transform: translateX(4px) !important;
}
.mobile-drawer .mobile-row:hover {
  background: rgba(116, 139, 94, 0.16) !important;
  box-shadow: 0 0 0 2px rgba(116, 139, 94, 0.28) !important;
}
.mobile-drawer .mobile-row:hover .mobile-row-link {
  color: #4a3e3b !important;
}
.mobile-drawer .mobile-cat-toggle:hover {
  background: rgba(116, 139, 94, 0.28) !important;
  color: #6b5551 !important;
  box-shadow: 0 0 0 2px rgba(116, 139, 94, 0.30) !important;
}
/* global-ish green glow for main interactive store bits */
.main-nav-link:hover,
.nav-cat-trigger:hover {
  box-shadow: 0 0 0 2px rgba(116, 139, 94, 0.28) !important;
}
.icon-btn:hover {
  background: rgba(116, 139, 94, 0.18) !important;
  color: #6b5551 !important;
  box-shadow: 0 0 0 2px rgba(116, 139, 94, 0.25) !important;
}
.search-pill:hover {
  border-color: #c49595 !important;
  box-shadow: 0 0 0 3px rgba(116, 139, 94, 0.16) !important;
}
.cat-all:hover,
.cat-title + .cat-sep {
  /* keep sep static */
}
#category-scroll > a:hover {
  box-shadow: 0 0 0 3px rgba(116, 139, 94, 0.35) !important;
}

/* 3) Marquee flag */
.info-bar-flag {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 1.05em;
  line-height: 1;
  vertical-align: -0.08em;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}

/* 4) Footer copy + small Morocco flag */
.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.footer-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}


/* ============================================================
   FINAL v57 — 3-level green hover, opaque footer flag +
   bigger copyright, real transparent logo (no blend hack).
   MUST stay LAST.
   ============================================================ */

/* --- logo: real alpha now — no mix-blend needed --- */
.drawer-logo,
.brand-link img,
.site-header .brand-link img {
  mix-blend-mode: normal !important;
  background: transparent !important;
}

/* --- 3-level category hover (mobile drawer N1 / N2 / N3) --- */
/* N1 root links */
.mobile-drawer .mobile-root-link {
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease !important;
}
.mobile-drawer .mobile-root-link:hover,
.mobile-drawer .mobile-root-link:focus-visible {
  background: rgba(116, 139, 94, 0.24) !important;
  color: #4a3e3b !important;
  box-shadow:
    0 0 0 2px rgba(116, 139, 94, 0.40),
    0 6px 18px rgba(72, 88, 64, 0.18) !important;
  transform: translateX(5px) !important;
}
/* N1 row (category with chevron) */
.mobile-drawer .mobile-row {
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease !important;
}
.mobile-drawer .mobile-row:hover,
.mobile-drawer .mobile-row:focus-within {
  background: rgba(116, 139, 94, 0.20) !important;
  box-shadow:
    0 0 0 2px rgba(116, 139, 94, 0.38),
    0 6px 16px rgba(72, 88, 64, 0.14) !important;
  transform: translateX(4px) !important;
  border-color: rgba(116, 139, 94, 0.45) !important;
}
.mobile-drawer .mobile-row:hover .mobile-row-link,
.mobile-drawer .mobile-row:focus-within .mobile-row-link {
  color: #4a3e3b !important;
}
/* N2 sub links */
.mobile-drawer .mobile-row-link--sub,
.mobile-drawer .mobile-row--sub .mobile-row-link {
  transition:
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease !important;
  border-radius: 10px !important;
}
.mobile-drawer .mobile-row--sub:hover,
.mobile-drawer .mobile-row--sub:focus-within {
  background: rgba(116, 139, 94, 0.16) !important;
  box-shadow: 0 0 0 2px rgba(116, 139, 94, 0.32) !important;
  transform: translateX(4px) !important;
}
.mobile-drawer .mobile-row--sub:hover .mobile-row-link,
.mobile-drawer .mobile-row--sub:focus-within .mobile-row-link {
  color: #4a3e3b !important;
  font-weight: 600 !important;
}
/* N3 subsub links */
.mobile-drawer .mobile-row-link--subsub {
  transition:
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease !important;
  border-radius: 10px !important;
  display: block !important;
}
.mobile-drawer .mobile-row-link--subsub:hover,
.mobile-drawer .mobile-row-link--subsub:focus-visible {
  background: rgba(116, 139, 94, 0.18) !important;
  color: #4a3e3b !important;
  box-shadow: 0 0 0 2px rgba(116, 139, 94, 0.34) !important;
  transform: translateX(4px) !important;
  font-weight: 600 !important;
}
/* chevron toggle also highlights with its row */
.mobile-drawer .mobile-cat-toggle {
  transition:
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease !important;
}
.mobile-drawer .mobile-row:hover .mobile-cat-toggle,
.mobile-drawer .mobile-cat-toggle:hover {
  background: rgba(116, 139, 94, 0.30) !important;
  color: #5f4e4a !important;
  box-shadow: 0 0 0 2px rgba(116, 139, 94, 0.35) !important;
}
/* open panel border glows green */
.mobile-cat-panel.is-open {
  border-left-color: rgba(116, 139, 94, 0.55) !important;
}

/* --- Footer: opaque flag + bigger copyright row --- */
.footer-copy {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  letter-spacing: 0.01em !important;
  opacity: 1 !important;
}
.footer-flag {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 16px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  filter: none !important;
  /* no transparency */
  background: transparent !important;
}
/* bottom bar text: bigger + brighter */
footer .text-\[11px\],
.footer-bar,
footer [class*="text-white/25"] {
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.72) !important;
}
footer a {
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.62) !important;
}
footer a:hover {
  color: #e5cfcf !important;
}
footer .text-white\/15,
footer .text-white\/15 + span {
  color: rgba(255, 255, 255, 0.35) !important;
}
/* target the copyright row container more reliably */
footer .border-t .footer-copy,
footer .justify-between .footer-copy {
  font-size: 13.5px !important;
}


/* ============================================================
   FINAL v58 — footer text brand, thinner row borders,
   shorter slider so #category-scroll stays free.
   MUST stay LAST.
   ============================================================ */

/* --- Footer brand: Rosastore + Maroc (no logo) --- */
.footer-brand {
  margin-bottom: 1rem !important;
}
.footer-brand-name {
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: 1.55rem !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  letter-spacing: 0.02em !important;
  line-height: 1.15 !important;
}
.footer-brand-sub {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: rgba(197, 212, 168, 0.9) !important;
  margin-top: 0.2rem !important;
}

/* --- Copyright: flag sits next to Maroc, readable --- */
.footer-copy {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.35rem !important;
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  opacity: 1 !important;
}
.footer-flag {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 16px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  filter: none !important;
}

/* --- Slider: shorter so #category-scroll is free under it --- */
@media (min-width: 769px) {
  .nv-stage,
  .nv-stage.has-rail,
  .nv-stage.is-r2l-active {
    min-height: min(52vh, 460px) !important;
    height: min(52vh, 460px) !important;
  }
}
@media (min-width: 769px) and (max-height: 900px) {
  .nv-stage,
  .nv-stage.has-rail {
    min-height: min(50vh, 440px) !important;
    height: min(50vh, 440px) !important;
  }
}
/* guarantee category block sits clear below slider (no overlap) */
.nv-section {
  position: relative !important;
  z-index: 1 !important;
  margin-bottom: 0 !important;
  padding-bottom: 4px !important;
}
#category-scroll,
.cat-title,
.cat-head {
  position: relative !important;
  z-index: 2 !important;
}
/* stage must not bleed over categories */
.nv-stage {
  position: relative !important;
  z-index: 0 !important;
  margin-bottom: 8px !important;
}

/* --- Drawer: thinner border on mobile-row-link encadrement --- */
.mobile-drawer .mobile-row {
  border-width: 1px !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 1px 2px rgba(40, 52, 32, 0.04) !important;
}
.mobile-drawer .mobile-row-link {
  border: 0 !important;
  box-shadow: none !important;
}
/* if any explicit border sits on the link itself */
.mobile-drawer a.mobile-row-link,
.mobile-drawer .mobile-row .mobile-row-link {
  border: none !important;
  outline: none !important;
}
/* rows: hairline instead of heavy frame */
.mobile-drawer .mobile-row,
.mobile-drawer .mobile-root-link {
  border-width: 1px !important;
}

/* drawer brand: only "Maroc" under logo — refined */
.drawer-brand-name {
  font-size: 13px !important;
  letter-spacing: 0.32em !important;
  color: #8b6b66 !important;
  margin-top: 0 !important;
}
.drawer-brand-name em {
  display: none !important;
}


/* ============================================================
   CATEGORY CIRCLES — kill square/border frame (inline EJS
   border:2px solid #f3f4f6). LAST.
   ============================================================ */
#category-scroll > a > span:first-child,
#category-grid > a > span:first-child,
#category-scroll a > span:first-child {
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  outline: none !important;
  box-shadow: 0 6px 18px rgba(116, 139, 94, 0.16) !important;
  background: transparent !important;
}
/* hover: green glow instead of border */
#category-scroll > a:hover > span:first-child,
#category-grid > a:hover > span:first-child {
  border: none !important;
  box-shadow:
    0 0 0 3px rgba(116, 139, 94, 0.40),
    0 10px 28px rgba(116, 139, 94, 0.22) !important;
}


/* FIX: desc crushed to 10px (flex child) */
.nv-desc {
  flex-shrink: 0 !important;
  min-height: 3.2em !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
}
.nv-name, .nv-price-row, .nv-cta, .nv-index, .nv-cat {
  flex-shrink: 0 !important;
}


/* CATEGORY: no green square hover + gap from slider */
#category-scroll > a:hover > span:first-child,
#category-grid > a:hover > span:first-child {
  box-shadow: 0 8px 22px rgba(196,149,149,0.18) !important;
  transform: none !important;
  outline: none !important;
  border: none !important;
}
#category-scroll > a:hover {
  transform: translateY(-3px) !important;
}
.nv-section + section,
main > section:has(.cat-title) {
  padding-top: 28px !important;
}
#category-scroll {
  padding-top: 10px !important;
}


/* ===== NO GREEN SQUARE ON CATEGORY HOVER — final ===== */
#category-scroll > a:hover span:first-child,
#category-grid > a:hover span:first-child,
#category-scroll > a:hover > span:first-child,
#category-grid > a:hover > span:first-child,
#category-scroll > a > span:first-child,
#category-grid > a > span:first-child {
  box-shadow: none !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  background: transparent !important;
}
#category-scroll > a:hover,
#category-grid > a:hover {
  transform: translateY(-2px) !important;
  outline: none !important;
}
#category-scroll > a:hover img,
#category-grid > a:hover img {
  transform: scale(1.06) !important;
}


/* KILL green ring on the <a> itself (line ~4326) */
#category-scroll > a:hover,
#category-grid > a:hover,
#category-scroll > a:focus,
#category-grid > a:focus,
#category-scroll > a:focus-visible,
#category-grid > a:focus-visible {
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}


/* Slider text: proper top/bottom breathing room */
.nv-text-block {
  padding-top: clamp(1.5rem, 4vh, 2.75rem) !important;
  padding-bottom: clamp(1.5rem, 4vh, 2.75rem) !important;
}
.nv-panel--text {
  align-items: center !important;
}

/* Footer tagline */
.footer-tagline {
  margin-top: 0.65rem !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: rgba(255,255,255,0.55) !important;
  max-width: 280px !important;
}


/* KILL green square/border on mobile drawer links */
.mobile-drawer .mobile-root-link,
.mobile-drawer .mobile-row,
.mobile-drawer .mobile-row-link,
.mobile-drawer .mobile-row-link--sub,
.mobile-drawer .mobile-row-link--subsub,
.mobile-drawer .mobile-root-link:hover,
.mobile-drawer .mobile-row:hover,
.mobile-drawer .mobile-row-link:hover,
.mobile-drawer .mobile-root-link:focus,
.mobile-drawer .mobile-row:focus-within,
.mobile-drawer .mobile-root-link:focus-visible,
.mobile-drawer a:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
/* soft card look without green frame */
.mobile-drawer .mobile-root-link {
  background: rgba(255,255,255,0.50) !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
}
.mobile-drawer .mobile-root-link:hover {
  background: rgba(255,255,255,0.85) !important;
  border-color: rgba(255,255,255,0.9) !important;
  box-shadow: 0 2px 8px rgba(40,52,32,0.08) !important;
  transform: translateX(3px) !important;
}
.mobile-drawer .mobile-row {
  background: rgba(255,255,255,0.42) !important;
  border: 1px solid rgba(255,255,255,0.55) !important;
}
.mobile-drawer .mobile-row:hover {
  background: rgba(255,255,255,0.80) !important;
  border-color: rgba(255,255,255,0.9) !important;
  box-shadow: 0 2px 8px rgba(40,52,32,0.08) !important;
}
.mobile-drawer .mobile-row:hover .mobile-row-link,
.mobile-drawer .mobile-row-link:hover {
  color: #4a3e3b !important;
}

/* Drawer tagline (bottom) */
.mobile-drawer-tagline {
  margin-top: 1rem !important;
  padding: 0.9rem 1rem !important;
  background: rgba(72, 88, 64, 0.10) !important;
  border: 1px solid rgba(255,255,255,0.45) !important;
  border-radius: 14px !important;
  text-align: center !important;
}
.mobile-drawer-tagline p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #6b5551 !important;
  font-weight: 500 !important;
}
.mobile-drawer-tagline p + p {
  margin-top: 0.25rem !important;
  color: #8b6b66 !important;
  font-size: 12.5px !important;
}


/* White bg around slider (kill beige), no top gap */
.nv-section {
  background: #ffffff !important;
  background-image: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.site-header {
  border-bottom: none !important;
}
/* circles: bigger on hover */
#category-scroll > a:hover,
#category-grid > a:hover {
  transform: scale(1.14) translateY(-4px) !important;
}
#category-scroll > a:hover img,
#category-grid > a:hover img {
  transform: scale(1.10) !important;
}
#category-scroll > a {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Footer logo (replaces Rosastore text) */
.footer-logo {
  height: 120px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  margin-bottom: 0.35rem !important;
  display: block !important;
}
.footer-brand-sub {
  letter-spacing: 0.3em !important;
}


/* ===== FOOTER layout v67 ===== */
.footer-brand-sub {
  font-size: 11px !important;
  letter-spacing: 0.28em !important;
  margin-top: 0.15rem !important;
  margin-bottom: 0.35rem !important;
}
.footer-tagline {
  font-size: 12.5px !important;
  margin-top: 0.35rem !important;
  line-height: 1.5 !important;
}
/* description smaller (red square) */
footer .text-sm.leading-relaxed {
  font-size: 12px !important;
  line-height: 1.55 !important;
  color: rgba(255,255,255,0.42) !important;
  max-width: 260px !important;
}

/* Logo hover: like circles + slight transparency, full on hover */
.footer-logo {
  opacity: 0.88;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1) !important;
  cursor: pointer;
}
.footer-logo:hover {
  opacity: 1 !important;
  transform: scale(1.12) !important;
}

/* Social: official brand colors */
.footer-social {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  margin-top: 1rem !important;
}
.footer-social-link {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18) !important;
}
.footer-social-link:hover {
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.28) !important;
}
.footer-social--wa { background: #25D366 !important; }
.footer-social--ig { background: radial-gradient(circle at 30% 107%, #fdf0f0 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important; }
.footer-social--fb { background: #1877F2 !important; }
.footer-social--tt { background: #010101 !important; }

/* Category circles: closer to next section (blue line) */
.nv-section + section,
main > section:has(.cat-title) {
  padding-bottom: 4px !important;
  margin-bottom: 0 !important;
}
#category-scroll {
  padding-bottom: 4px !important;
}
.cat-all { margin-bottom: 0 !important; }

/* White bg around slider + no gap under header */
.nv-section {
  background: #ffffff !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}


/* ===== FOOTER brand row: logo + Maroc side-by-side ===== */
.footer-brand-row {
  display: flex !important;
  align-items: flex-end !important;
  gap: 0.65rem !important;
  margin-bottom: 0.4rem !important;
}
.footer-logo {
  height: 110px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain !important;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1) !important;
  display: block !important;
}
.footer-logo:hover {
  opacity: 1 !important;
  transform: scale(1.10) !important;
}
.footer-brand-sub {
  font-size: 12px !important;
  letter-spacing: 0.22em !important;
  margin: 0 0 0.45rem 0 !important;
  color: rgba(255,255,255,0.7) !important;
}

/* Category circles: touch the blue line (next section border) */
.nv-section + section,
main > section:has(.cat-title) {
  padding-top: 20px !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
#category-scroll {
  padding-top: 6px !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.cat-head { margin-bottom: 4px !important; }


/* PUSH circles down to the blue line (next section border) */
.nv-section + section,
main > section:has(.cat-title) {
  padding-top: 16px !important;
  padding-bottom: 0 !important;
  margin-bottom: -6px !important;
}
#category-scroll {
  padding-top: 8px !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
}
#category-scroll > a > span:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.cat-all { margin-bottom: 0 !important; line-height: 1 !important; }
.cat-head { margin-bottom: 0 !important; }


/* Circles: room to grow on hover WITHOUT being clipped by section above */
.nv-section + section,
main > section:has(.cat-title) {
  overflow: visible !important;
  padding-top: 36px !important;
  padding-bottom: 4px !important;
  margin-bottom: 0 !important;
  position: relative !important;
  z-index: 5 !important;
}
#category-scroll {
  overflow: visible !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding-top: 8px !important;
  padding-bottom: 4px !important;
}
/* don't translate UP into the slider — only scale in place + tiny down */
#category-scroll > a:hover,
#category-grid > a:hover {
  transform: scale(1.12) !important;
  z-index: 6 !important;
  position: relative !important;
}
#category-scroll > a {
  z-index: 1 !important;
}


/* more room for circle hover growth */
.nv-section + section,
main > section:has(.cat-title) {
  padding-top: 56px !important;
}
#category-scroll {
  padding-top: 14px !important;
}


/* Maroc: same baseline as logo bottom + transparent */
.footer-brand-row {
  align-items: flex-end !important;
  gap: 0.5rem !important;
}
.footer-brand-sub {
  font-size: 11px !important;
  letter-spacing: 0.28em !important;
  margin: 0 0 0.55rem 0 !important;
  opacity: 0.45 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.footer-logo {
  margin-bottom: 0 !important;
}


/* Share menu (product page) */
.share-opt {
  display: flex; align-items: center; justify-content: center; gap: 0.35rem;
  padding: 0.65rem 0.5rem;
  font-size: 13px; font-weight: 600;
  color: #6b5551;
  background: #f9f3f3;
  border: 1px solid #f3e6e6;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.share-opt:hover {
  background: #f3e6e6;
  border-color: #e5cfcf;
  transform: translateY(-1px);
}


/* Share icons — official brand colors */
.share-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.14);
}
.share-icon:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.share-icon:active { transform: scale(.96); }
.share-icon--wa { background: #25D366; }
.share-icon--fb { background: #1877F2; }
.share-icon--ig { background: radial-gradient(circle at 30% 107%, #fdf0f0 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.share-icon--x  { background: #000000; }
.share-icon--sys { background: #7a5e5a; }
.share-icon--copy { background: #c49595; }


/* ===== FM — Cinematic preview (static, no animation) ===== */
.fm-section { width: 100%; margin: 0; padding: 0; background: #14100e; }
.fm-stage {
  position: relative;
  width: 100%;
  height: min(78vh, 720px);
  min-height: 480px;
  overflow: hidden;
  outline: none;
  background: #14100e;
}
@media (max-width: 768px) {
  .fm-stage { height: 85vh; min-height: 520px; }
}
.fm-bar {
  position: absolute; left: 0; right: 0; height: clamp(28px, 5vh, 56px);
  background: #0c0a09; z-index: 8; pointer-events: none;
}
.fm-bar--top { top: 0; }
.fm-bar--bot { bottom: 0; }

.fm-bg { position: absolute; inset: 0; z-index: 1; }
.fm-layer {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
}
.fm-layer.is-on { opacity: 1; visibility: visible; z-index: 2; }
.fm-layer img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
}

.fm-vignette {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, transparent 30%, rgba(12,10,9,.55) 100%),
    linear-gradient(180deg, rgba(12,10,9,.45) 0%, transparent 28%, transparent 55%, rgba(12,10,9,.82) 100%);
}

.fm-top {
  position: absolute; top: clamp(28px, 5vh, 56px); left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 2.75rem) 0;
  pointer-events: none;
}
.fm-top > * { pointer-events: auto; }
.fm-brand {
  display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff;
  font-family: 'DM Serif Display', Georgia, serif; font-size: 1rem; letter-spacing: .06em;
}
.fm-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.fm-brand em { font-style: italic; color: #e8836a; }
.fm-count {
  display: flex; align-items: center; gap: .55rem;
  font-family: 'DM Serif Display', Georgia, serif; color: rgba(255,255,255,.85); font-size: .95rem;
}
.fm-count b { color: #e8836a; font-weight: 400; font-size: 1.25rem; }
.fm-count i { display: block; width: 36px; height: 1px; background: rgba(255,255,255,.35); }
.fm-count span { color: rgba(255,255,255,.45); }

.fm-card {
  position: absolute; z-index: 10;
  left: 50%; bottom: clamp(4.5rem, 12vh, 7.5rem);
  transform: translateX(-50%);
  width: min(920px, calc(100% - 2.5rem));
  text-align: center; color: #fff;
}
.fm-rule {
  width: 48px; height: 2px; margin: 0 auto 1.1rem;
  background: linear-gradient(90deg, transparent, #e8836a, transparent);
}
.fm-kicker {
  margin: 0 0 .75rem; font-size: 11px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: #e8836a;
}
.fm-title {
  margin: 0 0 .65rem; font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400; font-size: clamp(2.1rem, 5.5vw, 4rem); line-height: 1.06;
  letter-spacing: -.01em; text-shadow: 0 10px 50px rgba(0,0,0,.5);
}
.fm-sub {
  margin: 0 auto 1.4rem; max-width: 34rem;
  font-size: clamp(.9rem, 1.5vw, 1.05rem); line-height: 1.55; color: rgba(255,255,255,.68);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fm-row { display: flex; align-items: center; justify-content: center; gap: 1.35rem; flex-wrap: wrap; }
.fm-price {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem); color: #ffc1ae; letter-spacing: .02em;
}
.fm-go {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.45);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .9rem 1.75rem; border-radius: 999px;
}
.fm-go:hover { background: #e8836a; border-color: #e8836a; color: #14100e; }

.fm-foot {
  position: absolute; z-index: 10; left: 0; right: 0;
  bottom: clamp(28px, 5vh, 56px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem;
  padding: .85rem clamp(1.25rem, 4vw, 2.75rem);
}
.fm-arrow {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); background: rgba(20,16,14,.45);
  color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.fm-arrow:hover { background: rgba(232,131,106,.35); border-color: #e8836a; }
.fm-arrow svg { width: 18px; height: 18px; }
.fm-track { height: 2px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.fm-track i {
  display: block; height: 100%; transform: scaleX(1); transform-origin: left center;
  background: linear-gradient(90deg, #e8836a, #ffc1ae);
}
