/*
Theme Name: RIF CBD
Theme URI: https://example.com/rif-cbd
Author: RIF CBD
Description: Thème vitrine et catalogue WooCommerce sur mesure pour RIF CBD.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: rif-cbd
*/

@font-face {
  font-family: "RIF Sans";
  src: url("assets/fonts/dm-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RIF Brush";
  src: url("assets/fonts/road-rage-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RIF Sans";
  src: url("assets/fonts/dm-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --rif-black: #030403;
  --rif-black-soft: #080a08;
  --rif-panel: #0d100e;
  --rif-panel-2: #121512;
  --rif-line: rgba(255, 255, 255, 0.12);
  --rif-line-strong: rgba(139, 216, 0, 0.38);
  --rif-white: #f2efe9;
  --rif-muted: #a6ada7;
  --rif-green: #8ee300;
  --rif-green-2: #a6f51d;
  --rif-purple: #a74491;
  --rif-purple-soft: rgba(167, 68, 145, 0.18);
  --rif-warm: #f0b85c;
  --rif-danger: #ff6a72;
  --rif-radius: 6px;
  --rif-radius-sm: 3px;
  --rif-container: 1240px;
  --rif-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --rif-font: "RIF Sans", "Trebuchet MS", Arial, sans-serif;
  --rif-brush: "RIF Brush", "Arial Black", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--rif-black);
  color: var(--rif-white);
  font-family: var(--rif-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

body.menu-open {
  overflow: hidden;
}

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

a:hover {
  color: var(--rif-green);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--rif-green);
  outline-offset: 4px;
}

::selection {
  background: var(--rif-green);
  color: #071000;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 18px;
  background: var(--rif-green);
  color: #000;
}

.rif-container {
  width: min(calc(100% - 40px), var(--rif-container));
  margin-inline: auto;
}

.rif-section {
  position: relative;
  padding: 110px 0;
}

.rif-section--compact {
  padding: 72px 0;
}

.rif-section--panel {
  background: var(--rif-black-soft);
}

.rif-section--purple {
  background:
    linear-gradient(180deg, rgba(167, 68, 145, 0.055), transparent 42%),
    #070807;
}

.rif-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--rif-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rif-eyebrow::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

.rif-display,
.rif-section-title,
.entry-title,
.woocommerce-products-header__title,
.woocommerce div.product .product_title {
  margin: 0;
  color: var(--rif-white);
  font-family: var(--rif-brush);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.012em;
  text-transform: uppercase;
}

.rif-display {
  max-width: 760px;
  font-size: clamp(4rem, 9.5vw, 8.4rem);
}

.rif-display__chill {
  color: var(--rif-purple);
  text-shadow: 0 0 28px rgba(178, 58, 158, 0.13);
}

.rif-display__relax {
  color: var(--rif-white);
}

.rif-display em {
  position: relative;
  display: inline-block;
  color: var(--rif-green);
  font-style: normal;
  transform: rotate(-1deg);
  text-shadow: 0 0 30px rgba(146, 238, 30, 0.18);
}

.rif-section-title,
.entry-title,
.woocommerce-products-header__title {
  max-width: 900px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.rif-section-title span {
  color: var(--rif-green);
}

.rif-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #d5d9d3;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.rif-muted {
  color: var(--rif-muted);
}

.rif-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.rif-section-heading > div {
  max-width: 830px;
}

.rif-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button {
  display: inline-flex !important;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--rif-green) !important;
  border-radius: 3px !important;
  padding: 12px 25px !important;
  background: var(--rif-green) !important;
  color: #071000 !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.rif-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:hover {
  background: var(--rif-green-2) !important;
  color: #071000 !important;
  box-shadow: 0 0 26px rgba(146, 238, 30, 0.18);
  transform: translateY(-2px);
}

.rif-button--ghost {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(7, 9, 8, 0.36) !important;
  color: var(--rif-white) !important;
  backdrop-filter: blur(12px);
}

.rif-button--ghost:hover {
  border-color: var(--rif-green) !important;
  background: rgba(146, 238, 30, 0.08) !important;
  color: var(--rif-green) !important;
}

.rif-button__arrow {
  font-size: 1.15em;
  transition: transform 180ms ease;
}

.rif-button:hover .rif-button__arrow {
  transform: translateX(4px);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(2, 3, 2, 0.975);
  backdrop-filter: blur(18px);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(3, 5, 4, 0.985);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

body.admin-bar .site-header.is-scrolled {
  top: 32px;
}

.site-header__inner {
  display: grid;
  min-height: 88px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.site-branding {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rif-white);
  line-height: 1;
}

.site-branding:hover {
  color: var(--rif-white);
}

.site-branding__leaf {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(139, 216, 0, 0.22));
}

.site-branding__name {
  font-family: var(--rif-brush);
  font-size: 2.55rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.site-branding__name span {
  margin-left: 4px;
  color: var(--rif-green);
  font-style: normal;
}

.site-branding__logo {
  width: auto;
  max-width: 170px;
  height: 46px;
  object-fit: contain;
}

.primary-nav {
  justify-self: center;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 28px 0;
  color: #e8ebe5;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--rif-green);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-contact {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  padding: 8px 17px;
  color: var(--rif-white);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-contact span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rif-green);
  box-shadow: 0 0 9px var(--rif-green);
}

.header-contact:hover {
  border-color: var(--rif-green);
  color: var(--rif-green);
  transform: translateY(-2px);
}

.header-action,
.menu-toggle {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  background: rgba(8, 10, 9, 0.55);
  color: var(--rif-white);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-action:hover,
.menu-toggle:hover {
  border-color: var(--rif-green);
  color: var(--rif-green);
  transform: translateY(-2px);
}

.header-action svg,
.menu-toggle svg {
  width: 19px;
  height: 19px;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border: 2px solid var(--rif-black);
  border-radius: 20px;
  background: var(--rif-green);
  color: #071000;
  font-size: 0.65rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

.rif-hero {
  position: relative;
  display: flex;
  min-height: min(890px, 94vh);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rif-line);
  background-color: #050706;
  isolation: isolate;
}

.rif-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("assets/images/rif-cbd-storefront-hero.png");
  background-position: center center;
  background-size: cover;
  content: "";
}

.rif-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 3, 2, 0.99) 0%, rgba(2, 3, 2, 0.94) 29%, rgba(2, 3, 2, 0.58) 49%, rgba(2, 3, 2, 0.08) 76%),
    linear-gradient(0deg, rgba(2, 3, 2, 0.74), transparent 38%),
    linear-gradient(180deg, rgba(2, 3, 2, 0.18), transparent 28%);
  content: "";
}

.rif-hero__content {
  padding: 120px 0 96px;
}

.rif-hero__copy {
  max-width: 650px;
}

.rif-hero__intro {
  max-width: 590px;
  margin: 28px 0 0;
  color: #d2d7d0;
  font-size: 1.12rem;
}

.rif-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.rif-hero__proofs {
  display: flex;
  flex-wrap: wrap;
  max-width: 560px;
  gap: 12px 22px;
  margin: 46px 0 0;
  padding: 0;
  color: #e7ebe3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.rif-hero__proofs li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rif-hero__proofs li::before {
  display: grid;
  width: 12px;
  height: 12px;
  place-items: center;
  content: "✦";
  color: var(--rif-green);
  font-size: 0.82rem;
  line-height: 12px;
  text-shadow: 0 0 9px var(--rif-green);
}

.rif-hero__side-note {
  position: absolute;
  right: 38px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.rif-hero__side-note::after {
  width: 1px;
  height: 62px;
  background: var(--rif-green);
  content: "";
}

.rif-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--rif-line-strong);
  background: var(--rif-green);
  color: #071000;
}

.rif-marquee__track {
  display: flex;
  width: max-content;
  animation: rif-marquee 18s linear infinite;
  animation-play-state: running;
  will-change: transform;
}

.rif-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  padding: 13px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rif-marquee__group span::after {
  margin-left: 14px;
  content: "✦";
}

@keyframes rif-marquee {
  from { transform: translate3d(-16.666667%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.rif-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.rif-category-card {
  position: relative;
  min-height: 305px;
  overflow: hidden;
  border: 1px solid rgba(142, 227, 0, 0.22);
  border-radius: var(--rif-radius);
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(142, 227, 0, 0.045), transparent 46%),
    linear-gradient(145deg, #111411, #050605);
  box-shadow: var(--rif-shadow);
  transition: border-color 220ms ease, transform 220ms ease;
}

.rif-category-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--rif-green);
  box-shadow: 0 0 18px rgba(142, 227, 0, 0.5);
  content: "";
}

.rif-category-card:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(167, 68, 145, 0.08), transparent 46%),
    linear-gradient(145deg, #141014, #050505);
}

.rif-category-card:nth-child(2n)::before {
  background: var(--rif-purple);
  box-shadow: 0 0 18px rgba(167, 68, 145, 0.45);
}

.rif-category-card:hover {
  border-color: var(--rif-green);
  color: var(--rif-white);
  transform: translateY(-7px);
}

.rif-category-card__number {
  color: var(--rif-green);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.rif-category-card__glyph {
  position: absolute;
  top: 70px;
  right: 22px;
  bottom: auto;
  display: grid;
  width: 98px;
  height: 98px;
  place-items: center;
  color: rgba(142, 227, 0, 0.18);
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
}

.rif-category-card__glyph svg {
  width: 72px;
  height: 72px;
  overflow: visible;
  fill: none;
  stroke: var(--rif-green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  filter: drop-shadow(0 0 9px rgba(142, 227, 0, 0.28));
  opacity: 0.72;
}

.rif-category-card__glyph img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(142, 227, 0, 0.3));
  opacity: 0.78;
}

.rif-category-card:hover .rif-category-card__glyph {
  transform: rotate(-5deg) scale(1.04);
}

.rif-category-card:hover .rif-category-card__glyph svg,
.rif-category-card:hover .rif-category-card__glyph img {
  opacity: 1;
}

.rif-category-card__content {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
}

.rif-category-card h3 {
  margin: 0;
  font-family: var(--rif-brush);
  font-size: 2.45rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.rif-category-card p {
  margin: 8px 0 0;
  color: var(--rif-muted);
  font-size: 0.92rem;
}

.rif-category-card__arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--rif-line);
  border-radius: 50%;
  transition: background 180ms ease, color 180ms ease;
}

.rif-category-card:hover .rif-category-card__arrow {
  background: var(--rif-green);
  color: #071000;
}

.rif-story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.rif-story-art {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--rif-line);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(5, 7, 6, 0.04), rgba(5, 7, 6, 0.5)),
    url("assets/images/rif-cbd-storefront-hero.png") center center / cover;
  box-shadow: var(--rif-shadow);
}

.rif-story-art::after {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(146, 238, 30, 0.34);
  border-radius: 1px;
  content: "";
}

.rif-story-art__badge {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 34px;
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  border: 1px solid var(--rif-green);
  border-radius: 3px;
  background: rgba(3, 4, 3, 0.88);
  color: var(--rif-green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 0 25px rgba(142, 227, 0, 0.14);
  transform: rotate(-3deg);
}

.rif-story-copy p:not(.rif-eyebrow) {
  color: #bec4bd;
  font-size: 1.05rem;
}

.rif-check-list {
  display: grid;
  gap: 14px;
  margin: 32px 0 38px;
  padding: 0;
  list-style: none;
}

.rif-check-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #eef0ec;
  font-weight: 700;
}

.rif-check-list li::before {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border-radius: 50%;
  background: rgba(146, 238, 30, 0.13);
  color: var(--rif-green);
  content: "✓";
  font-size: 0.78rem;
}

.rif-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rif-value {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rif-line);
  border-radius: var(--rif-radius);
  padding: 34px;
  background: rgba(255, 255, 255, 0.025);
}

.rif-value::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rif-green), var(--rif-purple));
  content: "";
  transform: scaleX(0.36);
  transform-origin: left;
  transition: transform 220ms ease;
}

.rif-value:hover::before {
  transform: scaleX(1);
}

.rif-value__index {
  display: block;
  margin-bottom: 46px;
  color: var(--rif-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.rif-value h3 {
  margin: 0 0 10px;
  font-family: var(--rif-brush);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.rif-value p {
  margin: 0;
  color: var(--rif-muted);
}

.rif-section--location {
  border-top: 1px solid var(--rif-line);
  border-bottom: 1px solid var(--rif-line);
  background:
    linear-gradient(90deg, rgba(142, 227, 0, 0.045), transparent 42%),
    #070907;
}

.rif-location {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(480px, 1.28fr);
  align-items: stretch;
  gap: clamp(38px, 6vw, 86px);
}

.rif-location__content {
  align-self: center;
}

.rif-location__address {
  display: grid;
  gap: 6px;
  margin: 34px 0 30px;
  border-left: 3px solid var(--rif-green);
  padding: 5px 0 5px 20px;
  color: var(--rif-white);
  font-style: normal;
}

.rif-location__address span {
  color: var(--rif-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rif-location__address strong {
  font-size: 1.12rem;
  line-height: 1.55;
}

.rif-location__map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(142, 227, 0, 0.3);
  border-radius: 4px;
  background: var(--rif-panel);
  box-shadow: var(--rif-shadow);
}

.rif-location__map::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(142, 227, 0, 0.18);
  content: "";
  pointer-events: none;
}

.rif-location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(1) invert(0.88) contrast(1.08) hue-rotate(68deg) saturate(0.72);
}

.rif-map-placeholder {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: clamp(28px, 6vw, 64px);
  background:
    radial-gradient(circle at 72% 20%, rgba(167, 68, 145, 0.15), transparent 35%),
    linear-gradient(145deg, #111511, #050705);
  text-align: center;
}

.rif-location__map.is-loaded .rif-map-placeholder {
  display: none;
}

.rif-map-placeholder__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--rif-green);
  border-radius: 50%;
  color: var(--rif-green);
  font-size: 2rem;
  box-shadow: 0 0 24px rgba(142, 227, 0, 0.14);
}

.rif-map-placeholder h3 {
  margin: 20px 0 8px;
  color: var(--rif-white);
  font-size: 1.65rem;
}

.rif-map-placeholder p {
  max-width: 520px;
  margin: 0;
  color: var(--rif-muted);
}

.rif-map-placeholder__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.rif-map-placeholder__actions a:not(.rif-button) {
  color: var(--rif-white);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rif-map-noscript {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 16px;
  left: 24px;
  color: var(--rif-muted);
  text-align: center;
}

.rif-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rif-line-strong);
  border-radius: 4px;
  padding: clamp(44px, 8vw, 90px);
  background:
    linear-gradient(90deg, rgba(3, 4, 3, 0.97) 0%, rgba(3, 4, 3, 0.91) 52%, rgba(3, 4, 3, 0.52) 100%),
    url("assets/images/rif-cbd-storefront-hero.png") center 47% / cover;
  box-shadow: var(--rif-shadow);
}

.rif-cta::after {
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 5px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: var(--rif-green);
  content: "";
  box-shadow: 0 0 24px rgba(142, 227, 0, 0.5);
}

.rif-cta__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.rif-cta .rif-section-title {
  font-size: clamp(2.7rem, 5.5vw, 5.3rem);
}

.rif-empty-products {
  display: grid;
  min-height: 320px;
  place-items: center;
  border: 1px dashed rgba(146, 238, 30, 0.4);
  border-radius: var(--rif-radius);
  padding: 48px;
  background: rgba(146, 238, 30, 0.025);
  text-align: center;
}

.rif-empty-products__inner {
  max-width: 560px;
}

.rif-empty-products h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.rif-empty-products p {
  margin: 0;
  color: var(--rif-muted);
}

.rif-page-hero,
.woocommerce-products-header {
  position: relative;
  overflow: hidden;
  padding: 132px 0 92px;
  border-bottom: 1px solid var(--rif-line);
  background:
    linear-gradient(90deg, rgba(2, 3, 2, 0.99) 0%, rgba(2, 3, 2, 0.9) 46%, rgba(2, 3, 2, 0.36) 100%),
    url("assets/images/rif-cbd-storefront-hero.png") center 37% / cover;
}

.rif-page-hero::after,
.woocommerce-products-header::after {
  position: absolute;
  right: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, var(--rif-green), var(--rif-purple), transparent 72%);
  content: "";
  box-shadow: 0 0 18px rgba(142, 227, 0, 0.25);
}

.rif-page-hero__content,
.woocommerce-products-header > * {
  position: relative;
  z-index: 2;
}

.rif-breadcrumbs,
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: var(--rif-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--rif-green);
}

.rif-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 70px;
}

.rif-entry-content {
  color: #d0d5cf;
  font-size: 1.05rem;
}

.rif-entry-content > *:first-child {
  margin-top: 0;
}

.rif-entry-content h2,
.rif-entry-content h3 {
  margin: 1.8em 0 0.7em;
  color: var(--rif-white);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.rif-entry-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.rif-entry-content h3 {
  font-size: 1.6rem;
}

.rif-entry-content a {
  color: var(--rif-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rif-entry-content blockquote {
  margin: 42px 0;
  border-left: 3px solid var(--rif-green);
  padding: 10px 0 10px 28px;
  color: var(--rif-white);
  font-size: 1.45rem;
  font-weight: 700;
}

.rif-aside-card {
  position: sticky;
  top: 120px;
  border: 1px solid var(--rif-line);
  border-radius: var(--rif-radius);
  padding: 28px;
  background: var(--rif-panel);
}

.rif-aside-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.rif-aside-card p {
  margin: 0 0 22px;
  color: var(--rif-muted);
  font-size: 0.92rem;
}

.rif-contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(42px, 7vw, 90px);
}

.rif-contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.rif-contact-card {
  border: 1px solid var(--rif-line);
  border-radius: var(--rif-radius-sm);
  padding: 22px;
  background: var(--rif-panel);
}

.rif-contact-card__label {
  display: block;
  margin-bottom: 5px;
  color: var(--rif-green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rif-contact-card a,
.rif-contact-card strong {
  color: var(--rif-white);
  font-size: 1.05rem;
}

.rif-form {
  border: 1px solid var(--rif-line);
  border-radius: var(--rif-radius);
  padding: clamp(26px, 5vw, 50px);
  background: var(--rif-panel);
  box-shadow: var(--rif-shadow);
}

.rif-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.rif-field {
  margin-bottom: 18px;
}

.rif-field--full {
  grid-column: 1 / -1;
}

.rif-field label {
  display: block;
  margin-bottom: 8px;
  color: #e8ece6;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rif-field input,
.rif-field textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .quantity .qty,
.woocommerce select,
.select2-container--default .select2-selection--single {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 3px !important;
  padding: 13px 14px !important;
  background: #080b09 !important;
  color: var(--rif-white) !important;
}

.rif-field textarea {
  min-height: 160px;
  resize: vertical;
}

.rif-field input:focus,
.rif-field textarea:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--rif-green) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(146, 238, 30, 0.08);
}

.rif-form-privacy {
  margin: 4px 0 18px;
  color: var(--rif-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.rif-form-privacy a {
  color: var(--rif-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rif-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 24px;
  color: #e8ece6;
  font-size: 0.86rem;
  cursor: pointer;
}

.rif-form-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 3px 0 0;
  accent-color: var(--rif-green);
}

.rif-form [type="submit"]:disabled {
  cursor: wait;
  opacity: 0.62;
}

.rif-privacy-policy ul {
  display: grid;
  gap: 9px;
}

.rif-legal-identifiers {
  display: grid;
  gap: 8px;
}

.rif-required-info {
  border-left: 3px solid var(--rif-warm);
  padding: 10px 0 10px 18px;
  color: #f2d7ab;
}

.rif-template-notice {
  margin: 0 0 38px;
  border: 1px solid rgba(240, 184, 92, 0.45);
  border-radius: 4px;
  padding: 18px 20px;
  background: rgba(240, 184, 92, 0.07);
  color: #f2d7ab;
}

.rif-template-field {
  display: inline-block;
  margin: 2px 0;
  border: 1px dashed rgba(240, 184, 92, 0.72);
  border-radius: 2px;
  padding: 2px 7px;
  background: rgba(240, 184, 92, 0.09);
  color: #f6d49d;
  font-weight: 700;
}

.rif-honeypot {
  position: absolute;
  left: -9999px;
}

.rif-alert,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 0 0 24px !important;
  border: 1px solid rgba(146, 238, 30, 0.35) !important;
  border-top: 1px solid rgba(146, 238, 30, 0.35) !important;
  border-radius: var(--rif-radius-sm);
  padding: 16px 18px !important;
  background: rgba(146, 238, 30, 0.08) !important;
  color: #eaf4df !important;
}

.rif-alert--error,
.woocommerce-error {
  border-color: rgba(255, 106, 114, 0.38) !important;
  background: rgba(255, 106, 114, 0.08) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--rif-green) !important;
}

.woocommerce-error::before {
  color: var(--rif-danger) !important;
}

/* WooCommerce catalogue */
.rif-shop-main {
  min-height: 60vh;
}

.rif-shop-main .woocommerce-products-header {
  padding-right: max(20px, calc((100vw - var(--rif-container)) / 2));
  padding-left: max(20px, calc((100vw - var(--rif-container)) / 2));
  background:
    linear-gradient(90deg, rgba(2, 3, 2, 0.98) 0%, rgba(2, 3, 2, 0.84) 42%, rgba(2, 3, 2, 0.08) 78%),
    url("assets/images/rif-cbd-catalogue-bg.png") center center / cover;
}

.rif-shop-main > .page-title {
  position: relative;
  display: flex;
  min-height: 500px;
  align-items: center;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--rif-line);
  padding: 80px max(20px, calc((100vw - var(--rif-container)) / 2));
  background:
    linear-gradient(90deg, rgba(2, 3, 2, 0.98) 0%, rgba(2, 3, 2, 0.84) 42%, rgba(2, 3, 2, 0.08) 78%),
    url("assets/images/rif-cbd-catalogue-bg.png") center center / cover;
  color: var(--rif-white);
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  font-family: var(--rif-brush);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.012em;
  text-transform: uppercase;
}

.rif-shop-main > .page-title::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: 3px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, var(--rif-green), var(--rif-purple), transparent 72%);
  content: "";
  box-shadow: 0 0 18px rgba(142, 227, 0, 0.25);
}

.rif-shop-content {
  width: min(calc(100% - 40px), var(--rif-container));
  margin-inline: auto;
  padding: 72px 0 110px;
}

.rif-catalog-categories {
  width: min(calc(100% - 40px), var(--rif-container));
  margin: 54px auto 0;
}

.rif-catalog-search {
  display: flex;
  min-height: 58px;
  align-items: center;
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid rgba(142, 227, 0, 0.32);
  border-radius: 4px;
  background: #080a08;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.rif-catalog-search:focus-within {
  border-color: var(--rif-green);
  box-shadow: 0 0 0 3px rgba(142, 227, 0, 0.07);
}

.rif-catalog-search__icon {
  display: grid;
  width: 54px;
  flex: 0 0 54px;
  place-items: center;
  color: var(--rif-green);
}

.rif-catalog-search__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.rif-catalog-search input[type="search"] {
  min-width: 0;
  min-height: 56px;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rif-white);
  font-size: 1rem;
}

.rif-catalog-search input[type="search"]::placeholder {
  color: #798078;
}

.rif-catalog-search input[type="search"]::-webkit-search-cancel-button {
  filter: invert(1);
}

.rif-catalog-search button {
  min-height: 58px;
  align-self: stretch;
  border: 0;
  border-left: 1px solid var(--rif-green);
  padding: 0 25px;
  background: var(--rif-green);
  color: #071000;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.rif-catalog-search button:hover {
  background: var(--rif-green-2);
}

.rif-catalog-categories__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.rif-catalog-category {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--rif-line);
  border-radius: 4px;
  padding: 16px;
  background: linear-gradient(145deg, #101310, #070907);
  color: var(--rif-white);
  font-family: var(--rif-brush);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.rif-catalog-category:hover,
.rif-catalog-category.is-active {
  border-color: var(--rif-green);
  background: rgba(142, 227, 0, 0.08);
  color: var(--rif-green);
  transform: translateY(-3px);
}

.rif-catalog-category__icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
}

.rif-catalog-category__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.rif-catalog-category__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(142, 227, 0, 0.25));
}

.rif-shop-main .woocommerce-notices-wrapper,
.rif-shop-main .products,
.rif-shop-main .woocommerce-pagination,
.rif-shop-main > .product {
  width: min(calc(100% - 40px), var(--rif-container));
  max-width: var(--rif-container);
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box;
}

.rif-shop-main > .woocommerce-notices-wrapper {
  margin-top: 38px;
}

.rif-shop-main .woocommerce-result-count {
  width: min(calc(100% - 40px), var(--rif-container));
  float: none;
  margin: 48px auto 0 !important;
  color: var(--rif-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rif-shop-main .woocommerce-ordering {
  width: min(calc(100% - 40px), var(--rif-container));
  float: none;
  margin: -42px auto 0 !important;
  text-align: right;
}

.rif-shop-main .woocommerce-ordering select {
  width: min(100%, 330px);
  min-height: 46px;
  border-radius: 3px !important;
}

.rif-shop-main .woocommerce-no-products-found {
  width: min(calc(100% - 40px), var(--rif-container));
  min-height: 260px;
  margin: 0 auto;
  padding: 68px 0 110px;
}

.rif-shop-main .products {
  clear: both;
  float: none;
  margin-top: 68px !important;
  margin-bottom: 76px !important;
}

.woocommerce ul.products,
.woocommerce-page ul.products,
.home ul.products {
  display: grid;
  clear: both;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rif-products-carousel__heading-actions,
.rif-products-carousel__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rif-products-carousel__heading-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rif-products-carousel__controls button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(142, 227, 0, 0.5);
  border-radius: 3px;
  background: #080a08;
  color: var(--rif-green);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.rif-products-carousel__controls button:hover {
  border-color: var(--rif-green);
  background: var(--rif-green);
  color: #071000;
  transform: translateY(-2px);
}

.rif-products-carousel__viewport {
  overflow: hidden;
}

.home .rif-products-carousel ul.products {
  display: flex;
  max-width: 1040px;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 6px 1px 14px;
  list-style: none;
}

.home .rif-products-carousel ul.products::-webkit-scrollbar {
  display: none;
}

.home .rif-products-carousel ul.products li.product {
  flex: 0 0 calc((100% - 54px) / 4);
  scroll-snap-align: start;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.home ul.products::before,
.home ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.home ul.products li.product {
  position: relative;
  display: flex;
  width: auto !important;
  min-width: 0;
  float: none !important;
  flex-direction: column;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--rif-line);
  border-radius: var(--rif-radius);
  padding: 8px 8px 18px;
  background: linear-gradient(180deg, #101310, #080a08);
  transition: border-color 200ms ease, transform 200ms ease;
}

.woocommerce ul.products li.product:hover,
.home ul.products li.product:hover {
  border-color: rgba(146, 238, 30, 0.65);
  transform: translateY(-6px);
}

.woocommerce ul.products li.product a img,
.home ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  margin: 0 0 18px !important;
  border-radius: 2px;
  object-fit: cover;
  background: #0a0d0b;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.home ul.products li.product .woocommerce-loop-product__title {
  padding: 0 6px !important;
  color: var(--rif-white);
  font-size: 1.13rem !important;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.woocommerce ul.products li.product .price,
.home ul.products li.product .price {
  margin: 6px 6px 15px !important;
  color: var(--rif-green) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

.woocommerce ul.products li.product .price del,
.home ul.products li.product .price del {
  color: var(--rif-muted);
  opacity: 0.7;
}

.woocommerce ul.products li.product .button,
.home ul.products li.product .button {
  width: calc(100% - 12px);
  margin: auto 6px 0 !important;
  padding: 12px 14px !important;
  font-size: 0.73rem !important;
}

.woocommerce ul.products li.product .rif-product-link,
.home ul.products li.product .rif-product-link {
  border-color: rgba(139, 216, 0, 0.55) !important;
  background: transparent !important;
  color: var(--rif-green) !important;
}

.woocommerce ul.products li.product .rif-product-link:hover,
.home ul.products li.product .rif-product-link:hover {
  background: var(--rif-green) !important;
  color: #071000 !important;
}

.woocommerce span.onsale {
  top: 22px !important;
  right: auto !important;
  left: 22px !important;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  border-radius: 3px;
  padding: 7px 11px;
  background: var(--rif-purple) !important;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  margin: 3px;
  border: 1px solid var(--rif-line);
  border-radius: 3px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: var(--rif-white);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--rif-green);
  color: #071000;
}

/* WooCommerce fiche produit */
.rif-shop-main > .product {
  padding-top: 80px;
  padding-bottom: 110px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  overflow: hidden;
  border: 1px solid var(--rif-line);
  border-radius: var(--rif-radius);
  background: var(--rif-panel);
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: auto !important;
  overflow: hidden;
  border: 1px solid var(--rif-line);
  border-radius: 2px;
}

.woocommerce div.product .product_title {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  margin: 22px 0;
  color: var(--rif-green) !important;
  font-size: 1.55rem !important;
  font-weight: 700;
}

.woocommerce-product-details__short-description {
  color: #bec4bd;
  font-size: 1.04rem;
}

.woocommerce div.product form.cart {
  display: none;
  gap: 10px;
  margin-top: 30px;
}

.rif-store-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 30px 0 24px;
  border: 1px solid rgba(139, 216, 0, 0.34);
  border-radius: var(--rif-radius-sm);
  padding: 18px;
  background: rgba(139, 216, 0, 0.06);
}

.rif-store-notice__dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--rif-green);
  box-shadow: 0 0 12px rgba(139, 216, 0, 0.8);
}

.rif-store-notice strong {
  color: var(--rif-white);
  font-size: 1rem;
}

.rif-store-notice p {
  margin: 3px 0 0;
  color: var(--rif-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.woocommerce .quantity .qty {
  width: 74px !important;
  min-height: 52px;
  text-align: center;
}

.woocommerce div.product .stock {
  color: var(--rif-green);
  font-weight: 700;
}

.product_meta {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--rif-line);
  padding-top: 22px;
  color: var(--rif-muted);
  font-size: 0.82rem;
}

.product_meta a {
  color: var(--rif-white);
}

.woocommerce div.product .woocommerce-tabs {
  padding-top: 66px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  margin: 0 0 30px;
  padding: 0 !important;
  border-bottom: 1px solid var(--rif-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 24px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 12px 0 !important;
  color: var(--rif-muted) !important;
  text-transform: uppercase;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  border-bottom: 2px solid var(--rif-green);
  color: var(--rif-white) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  color: #c7ccc5;
}

.woocommerce div.product .woocommerce-tabs .panel > h2:first-child {
  color: var(--rif-white);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  letter-spacing: -0.035em;
}

.related.products > h2,
.upsells.products > h2 {
  color: var(--rif-white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
}

.related.products,
.upsells.products {
  padding-top: 64px;
}

table.shop_table,
.woocommerce table.shop_table {
  overflow: hidden;
  border: 1px solid var(--rif-line) !important;
  border-collapse: separate;
  border-radius: var(--rif-radius-sm) !important;
  background: var(--rif-panel);
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  border-color: var(--rif-line) !important;
}

.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout,
.woocommerce-account .woocommerce {
  width: min(calc(100% - 40px), var(--rif-container));
  margin-inline: auto;
}

.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account .woocommerce {
  padding-top: 190px;
}

.rif-entry-content .woocommerce-cart-form,
.rif-entry-content .woocommerce-checkout,
.rif-entry-content .woocommerce-account .woocommerce {
  width: 100%;
  padding-top: 0;
}

.cart-collaterals {
  padding-bottom: 110px;
}

.site-footer {
  border-top: 1px solid var(--rif-line);
  background: #030403;
}

.rif-footer-slogan {
  overflow: hidden;
  border-bottom: 1px solid rgba(142, 227, 0, 0.22);
  padding: 35px 0 27px;
  background: linear-gradient(90deg, rgba(167, 68, 145, 0.06), transparent 42%);
}

.rif-footer-slogan .rif-container {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15em 0.3em;
  font-family: var(--rif-brush);
  font-size: clamp(3.2rem, 8vw, 8.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.72;
  text-transform: uppercase;
}

.rif-footer-slogan span:first-child {
  color: var(--rif-purple);
}

.rif-footer-slogan span:nth-child(2) {
  color: var(--rif-white);
}

.rif-footer-slogan span:last-child {
  color: var(--rif-green);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr 1fr;
  gap: 45px;
  padding: 76px 0 56px;
}

.site-footer__intro {
  max-width: 390px;
}

.site-footer__intro p {
  margin: 22px 0 0;
  color: var(--rif-muted);
}

.site-footer h2 {
  margin: 4px 0 20px;
  color: var(--rif-green);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li,
.site-footer address,
.site-footer p {
  color: var(--rif-muted);
  font-style: normal;
  font-size: 0.92rem;
}

.rif-footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--rif-muted);
  cursor: pointer;
  text-align: left;
}

.rif-footer-link-button:hover {
  color: var(--rif-green);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rif-line);
  padding: 22px 0;
  color: #737a74;
  font-size: 0.75rem;
}

.site-footer__bottom p {
  margin: 0;
  font-size: inherit;
}

.rif-consent-banner {
  position: fixed;
  z-index: 120;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(142, 227, 0, 0.52);
  border-radius: 5px;
  padding: 20px;
  background: rgba(5, 7, 6, 0.985);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
}

.rif-consent-banner[hidden] {
  display: none;
}

.rif-consent-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.rif-consent-banner strong {
  display: block;
  margin-bottom: 5px;
  color: var(--rif-white);
  font-size: 1.05rem;
}

.rif-consent-banner p {
  max-width: 740px;
  margin: 0;
  color: var(--rif-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.rif-consent-banner a {
  color: var(--rif-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rif-consent-banner__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 10px;
}

.rif-consent-banner__actions button {
  min-height: 46px;
  border: 1px solid rgba(142, 227, 0, 0.72);
  border-radius: 3px;
  padding: 10px 16px;
  background: #0a0d0b;
  color: var(--rif-white);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  cursor: pointer;
}

.rif-consent-banner__actions button:hover,
.rif-consent-banner__actions button:focus-visible {
  background: var(--rif-green);
  color: #071000;
}

.rif-legal-note {
  max-width: 690px;
  text-align: right;
}

.rif-not-found {
	position: relative;
	display: grid;
	min-height: calc(100svh - 89px);
	align-items: center;
	overflow: hidden;
	border-bottom: 1px solid var(--rif-line);
	padding: clamp(76px, 9vw, 130px) 0;
	background:
		linear-gradient(90deg, rgba(2, 3, 2, 0.99) 0%, rgba(2, 3, 2, 0.92) 45%, rgba(2, 3, 2, 0.45) 74%, rgba(2, 3, 2, 0.68) 100%),
		url("assets/images/rif-cbd-storefront-hero.png") center 42% / cover;
}

.rif-not-found::before {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 18%, rgba(142, 227, 0, 0.1), transparent 24%),
		linear-gradient(180deg, transparent 65%, rgba(3, 4, 3, 0.82));
	content: "";
	pointer-events: none;
}

.rif-not-found::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--rif-green), var(--rif-purple), transparent 72%);
	content: "";
	box-shadow: 0 0 18px rgba(142, 227, 0, 0.25);
}

.rif-not-found__layout {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 720px) minmax(240px, 1fr);
	align-items: center;
	gap: clamp(48px, 8vw, 120px);
}

.rif-not-found__content {
	position: relative;
}

.rif-not-found__code {
	position: absolute;
	z-index: -1;
	top: -0.32em;
	left: -0.055em;
	color: rgba(142, 227, 0, 0.095);
	font-size: clamp(9rem, 17vw, 16rem);
	font-weight: 700;
	letter-spacing: -0.09em;
	line-height: 0.7;
	user-select: none;
}

.rif-not-found__title {
	max-width: 700px;
	margin: 0;
	color: var(--rif-white);
	font-family: var(--rif-brush);
	font-size: clamp(4rem, 8vw, 7.5rem);
	font-weight: 400;
	line-height: 0.82;
	letter-spacing: 0.012em;
	text-transform: uppercase;
}

.rif-not-found__title span {
	display: block;
	color: var(--rif-green);
	text-shadow: 0 0 30px rgba(142, 227, 0, 0.16);
}

.rif-not-found__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.rif-not-found__search {
	display: grid;
	min-height: 58px;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	align-items: center;
	max-width: 670px;
	margin-top: 34px;
	overflow: hidden;
	border: 1px solid rgba(142, 227, 0, 0.34);
	border-radius: 4px;
	background: rgba(5, 7, 5, 0.9);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
	backdrop-filter: blur(12px);
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.rif-not-found__search:focus-within {
	border-color: var(--rif-green);
	box-shadow: 0 0 0 3px rgba(142, 227, 0, 0.07), 0 18px 50px rgba(0, 0, 0, 0.24);
}

.rif-not-found__search-icon {
	display: grid;
	place-items: center;
	color: var(--rif-green);
}

.rif-not-found__search-icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
}

.rif-not-found__search input[type="search"] {
	min-width: 0;
	height: 56px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--rif-white);
}

.rif-not-found__search input[type="search"]::placeholder {
	color: #899089;
}

.rif-not-found__search button {
	align-self: stretch;
	border: 0;
	border-left: 1px solid rgba(142, 227, 0, 0.28);
	padding: 0 22px;
	background: transparent;
	color: var(--rif-green);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease;
}

.rif-not-found__search button:hover,
.rif-not-found__search button:focus-visible {
	background: var(--rif-green);
	color: #071000;
}

.rif-not-found__quick-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin-top: 18px;
	color: var(--rif-muted);
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rif-not-found__quick-links > span {
	color: #717871;
}

.rif-not-found__quick-links a {
	position: relative;
	color: #d8ddd6;
}

.rif-not-found__quick-links a::before {
	margin-right: 8px;
	color: var(--rif-green);
	content: "+";
}

.rif-not-found__signature {
	display: grid;
	justify-items: center;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--rif-radius);
	padding: clamp(36px, 5vw, 66px) 30px;
	background: linear-gradient(155deg, rgba(14, 17, 14, 0.88), rgba(4, 5, 4, 0.66));
	box-shadow: var(--rif-shadow);
	text-align: center;
	backdrop-filter: blur(14px);
}

.rif-not-found__signature img {
	width: clamp(96px, 9vw, 140px);
	filter: drop-shadow(0 0 22px rgba(142, 227, 0, 0.22));
}

.rif-not-found__signature p {
	margin: 22px 0 15px;
	font-family: var(--rif-brush);
	font-size: clamp(2.7rem, 4.5vw, 4.5rem);
	font-weight: 400;
	line-height: 0.82;
	text-transform: uppercase;
}

.rif-not-found__signature p span,
.rif-not-found__signature p strong,
.rif-not-found__signature p em {
	display: block;
	font-style: normal;
	font-weight: 400;
}

.rif-not-found__signature p span {
	color: var(--rif-purple);
}

.rif-not-found__signature p em {
	color: var(--rif-green);
}

.rif-not-found__signature small {
	color: var(--rif-muted);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.rif-not-found__edge {
	position: absolute;
	z-index: 3;
	right: 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
}

.rif-not-found__edge i {
	display: block;
	width: 1px;
	height: 72px;
	background: linear-gradient(var(--rif-green), transparent);
}

@media (max-width: 1050px) {
  .primary-nav ul {
    gap: 18px;
  }

  .rif-not-found__layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
  }

  .rif-categories,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .home ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .rif-products-carousel ul.products li.product {
    flex-basis: calc((100% - 18px) / 2);
  }

  .rif-products-carousel .rif-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .rif-products-carousel__heading-actions {
    justify-content: flex-start;
  }

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

  .rif-story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .site-footer__main {
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body.admin-bar .site-header,
  body.admin-bar:not(.home) .site-header,
  body.admin-bar .site-header.is-scrolled {
    top: 46px;
  }

  .site-header {
    backdrop-filter: none;
  }

  .rif-not-found {
    min-height: calc(100svh - 73px);
    padding: 100px 0 78px;
    background:
      linear-gradient(90deg, rgba(2, 3, 2, 0.98), rgba(2, 3, 2, 0.82)),
      url("assets/images/rif-cbd-storefront-hero.png") 58% 42% / cover;
  }

  .rif-not-found__layout {
    grid-template-columns: 1fr;
  }

  .rif-not-found__content {
    max-width: 700px;
  }

  .rif-not-found__signature,
  .rif-not-found__edge {
    display: none;
  }

  .site-header__inner {
    min-height: 72px;
    grid-template-columns: auto 1fr auto;
  }

  .site-branding {
    z-index: 90;
  }

  .site-branding__name {
    font-size: 2rem;
  }

  .site-branding__leaf {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .primary-nav {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: grid;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    visibility: hidden;
    place-items: center;
    overflow-y: auto;
    padding: 110px 30px 50px;
    background:
      radial-gradient(circle at 70% 15%, rgba(164, 60, 255, 0.2), transparent 33%),
      #030504;
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .primary-nav a {
    padding: 10px;
    font-size: clamp(1.8rem, 9vw, 3rem);
    letter-spacing: -0.04em;
    text-transform: none;
  }

  .primary-nav a::after {
    bottom: 5px;
  }

  .menu-toggle {
    z-index: 90;
    display: grid;
  }

  .menu-toggle::before,
  .menu-toggle::after {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] svg {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"]::before {
    opacity: 1;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"]::after {
    opacity: 1;
    transform: rotate(-45deg);
  }

  .header-contact {
    display: none;
  }

  .rif-hero {
    min-height: 820px;
  }

  .rif-hero::before {
    background-position: 63% center;
  }

  .rif-hero::after {
    background: linear-gradient(90deg, rgba(2, 3, 2, 0.96), rgba(2, 3, 2, 0.72) 63%, rgba(2, 3, 2, 0.35));
  }

  .rif-hero__content {
    padding-top: 92px;
  }

  .rif-hero__side-note {
    display: none;
  }

  .rif-story-grid,
  .rif-contact-grid,
  .rif-content-grid,
  .rif-location {
    grid-template-columns: 1fr;
  }

  .rif-location__map,
  .rif-location__map iframe {
    min-height: 440px;
  }

  .rif-story-art {
    min-height: 480px;
  }

  .rif-values {
    grid-template-columns: 1fr;
  }

  .rif-value__index {
    margin-bottom: 25px;
  }

  .rif-aside-card {
    position: static;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__intro,
  .site-footer__contact {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .rif-legal-note {
    text-align: left;
  }

  .rif-consent-banner__content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 580px) {
  .rif-container {
    width: min(calc(100% - 28px), var(--rif-container));
  }

  .rif-not-found {
    min-height: calc(100svh - 72px);
    padding: 84px 0 64px;
  }

  .rif-not-found__code {
    top: -0.22em;
    font-size: 8.5rem;
  }

  .rif-not-found__title {
    font-size: clamp(3.7rem, 18vw, 5.3rem);
  }

  .rif-not-found__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rif-not-found__actions .rif-button {
    width: 100%;
  }

  .rif-not-found__search {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .rif-not-found__search button {
    min-height: 48px;
    grid-column: 1 / -1;
    border-top: 1px solid rgba(142, 227, 0, 0.28);
    border-left: 0;
  }

  .rif-not-found__quick-links {
    gap: 8px 14px;
  }

  .rif-section {
    padding: 78px 0;
  }

  .rif-section--compact {
    padding: 55px 0;
  }

  .site-header__inner {
    gap: 12px;
  }

  .site-branding__leaf {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .site-branding__name {
    font-size: 1.78rem;
  }

  .header-action,
  .menu-toggle {
    width: 39px;
    height: 39px;
  }

  .rif-display {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .rif-hero {
    min-height: 790px;
    align-items: end;
  }

  .rif-hero::before {
    background-position: 68% center;
  }

  .rif-hero::after {
    background:
      linear-gradient(0deg, rgba(2, 3, 2, 0.98) 4%, rgba(2, 3, 2, 0.7) 60%, rgba(2, 3, 2, 0.36)),
      linear-gradient(90deg, rgba(2, 3, 2, 0.88), rgba(2, 3, 2, 0.15));
  }

  .rif-hero__content {
    padding: 88px 0 60px;
  }

  .rif-hero__intro {
    font-size: 1rem;
  }

  .rif-hero__actions .rif-button {
    width: 100%;
  }

  .rif-hero__proofs {
    display: grid;
    gap: 10px;
  }

  .rif-section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 38px;
  }

  .rif-products-carousel__heading-actions {
    justify-content: flex-start;
  }

  .rif-categories,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .home ul.products {
    grid-template-columns: 1fr;
  }

  .home .rif-products-carousel ul.products li.product {
    flex-basis: 100%;
  }

  .rif-products-carousel__heading-actions {
    width: 100%;
  }

  .rif-products-carousel__heading-actions > .rif-button {
    min-width: 0;
    flex: 1 1 190px;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .rif-products-carousel__controls button {
    width: 46px;
    height: 46px;
  }

  .rif-catalog-categories {
    width: calc(100% - 28px);
    margin-top: 34px;
  }

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

  .rif-catalog-search {
    min-height: 52px;
  }

  .rif-catalog-search__icon {
    width: 44px;
    flex-basis: 44px;
  }

  .rif-catalog-search input[type="search"] {
    min-height: 50px;
  }

  .rif-catalog-search button {
    min-height: 52px;
    padding: 0 15px;
    font-size: 0.7rem;
  }

  .rif-catalog-category {
    min-height: 92px;
    gap: 9px;
    padding: 12px;
    font-size: 1.2rem;
  }

  .rif-catalog-category__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .rif-catalog-category__icon svg,
  .rif-catalog-category__icon img {
    width: 34px;
    height: 34px;
  }

  .rif-category-card {
    min-height: 260px;
  }

  .rif-story-art {
    min-height: 390px;
    border-radius: 4px;
  }

  .rif-story-art::after {
    inset: 14px;
    border-radius: 1px;
  }

  .rif-story-art__badge {
    right: 22px;
    bottom: 22px;
    width: 110px;
    height: 110px;
  }

  .rif-location__map,
  .rif-location__map iframe {
    min-height: 360px;
  }

  .rif-map-placeholder {
    padding: 24px;
  }

  .rif-map-placeholder__icon {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }

  .rif-map-placeholder h3 {
    margin-top: 14px;
    font-size: 1.35rem;
  }

  .rif-map-placeholder p {
    font-size: 0.84rem;
  }

  .rif-map-placeholder__actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .rif-map-placeholder__actions .rif-button {
    width: 100%;
  }

  .rif-form__grid {
    grid-template-columns: 1fr;
  }

  .rif-page-hero,
  .woocommerce-products-header {
    padding: 92px 0 72px;
  }

  .rif-shop-main .woocommerce-products-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .rif-shop-main > .page-title {
    min-height: 250px;
    padding: 92px 14px 68px;
  }

  .rif-shop-main .woocommerce-notices-wrapper,
  .rif-shop-main .products,
  .rif-shop-main .woocommerce-pagination,
  .rif-shop-main > .product {
    width: calc(100% - 28px);
  }

  .rif-shop-main .woocommerce-result-count,
  .rif-shop-main .woocommerce-ordering {
    width: calc(100% - 28px);
  }

  .rif-shop-main .woocommerce-ordering {
    margin-top: 18px !important;
    text-align: left;
  }

  .rif-shop-main .woocommerce-ordering select {
    width: 100%;
  }

  .rif-shop-main > .product {
    padding-top: 60px;
  }

  .woocommerce div.product form.cart {
    align-items: stretch;
    flex-direction: column;
  }

  .woocommerce div.product form.cart .button,
  .woocommerce .quantity .qty {
    width: 100% !important;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__intro,
  .site-footer__contact {
    grid-column: auto;
  }

  .rif-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    padding: 16px;
  }

  .rif-consent-banner__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .rif-catalog-categories__grid {
    grid-template-columns: 1fr;
  }

  .rif-catalog-category {
    min-height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .rif-marquee__track {
    animation-name: rif-marquee !important;
    animation-duration: 38s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
  }
}
