/* ==========================================================================
   Real Peptide Lab
   Global stylesheet
   WordPress + Divi + WooCommerce compatible foundation
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand colors */
  --rpl-navy: #0b1f33;
  --rpl-navy-soft: #102a43;
  --rpl-navy-muted: #173650;
  --rpl-blue: #1f5eff;
  --rpl-blue-dark: #174ccb;
  --rpl-blue-soft: #dfe8ff;
  --rpl-cyan: #39b8d4;
  --rpl-cyan-soft: #daf5fb;

  /* Surfaces */
  --rpl-white: #ffffff;
  --rpl-background: #f3f8fc;
  --rpl-surface: #ffffff;
  --rpl-surface-soft: #eaf2f8;
  --rpl-surface-muted: #dfeaf2;
  --rpl-border: #dce6ee;
  --rpl-border-strong: #c6d5e1;

  /* Text */
  --rpl-text: #172536;
  --rpl-text-secondary: #526579;
  --rpl-text-muted: #718196;
  --rpl-text-on-dark: #f7fbff;
  --rpl-text-on-dark-muted: #b9c8d6;

  /* Functional colors */
  --rpl-success: #0f7a4d;
  --rpl-success-bg: #e4f6ed;
  --rpl-warning: #9a6700;
  --rpl-warning-bg: #fff4d6;
  --rpl-error: #b42332;
  --rpl-error-bg: #fdebed;
  --rpl-info: #155eef;
  --rpl-info-bg: #eaf1ff;

  /* Typography */
  --rpl-font-heading: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --rpl-font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --rpl-container: 1240px;
  --rpl-container-wide: 1360px;
  --rpl-content-width: 760px;
  --rpl-gutter: 32px;
  --rpl-section-space: 96px;
  --rpl-header-height: 84px;

  /* Radius */
  --rpl-radius-xs: 6px;
  --rpl-radius-sm: 8px;
  --rpl-radius-md: 12px;
  --rpl-radius-lg: 16px;
  --rpl-radius-xl: 24px;
  --rpl-radius-pill: 999px;

  /* Shadows */
  --rpl-shadow-xs: 0 1px 2px rgba(11, 31, 51, 0.04);
  --rpl-shadow-sm: 0 4px 14px rgba(11, 31, 51, 0.07);
  --rpl-shadow-md: 0 14px 36px rgba(11, 31, 51, 0.1);
  --rpl-shadow-lg: 0 24px 64px rgba(11, 31, 51, 0.14);
  --rpl-shadow-focus: 0 0 0 4px rgba(31, 94, 255, 0.14);

  /* Motion */
  --rpl-transition-fast: 140ms ease;
  --rpl-transition: 180ms ease;
  --rpl-transition-slow: 260ms ease;

  /* Layering */
  --rpl-z-header: 1000;
  --rpl-z-overlay: 2000;
}

/* --------------------------------------------------------------------------
   2. Modern reset
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--rpl-white);
  color: var(--rpl-text);
  font-family: var(--rpl-font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  cursor: pointer;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
figure,
dl,
dd {
  margin: 0;
}

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

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   3. Base typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--rpl-navy);
  font-family: var(--rpl-font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 4.9vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.16;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.28;
}

h4 {
  font-size: 1.375rem;
  line-height: 1.35;
}

p {
  color: var(--rpl-text-secondary);
}

strong,
b {
  font-weight: 700;
}

small {
  font-size: 0.875rem;
}

::selection {
  background: var(--rpl-blue);
  color: var(--rpl-white);
}

/* --------------------------------------------------------------------------
   4. Accessibility helpers
   -------------------------------------------------------------------------- */

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

.rpl-skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: calc(var(--rpl-z-overlay) + 10);
  padding: 10px 16px;
  border-radius: var(--rpl-radius-sm);
  background: var(--rpl-navy);
  color: var(--rpl-white);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--rpl-transition);
}

.rpl-skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--rpl-blue);
  outline-offset: 3px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
.rpl-button:focus-visible {
  box-shadow: var(--rpl-shadow-focus);
}

/* --------------------------------------------------------------------------
   5. Shared layout helpers
   -------------------------------------------------------------------------- */

.rpl-container {
  width: min(calc(100% - (var(--rpl-gutter) * 2)), var(--rpl-container));
  margin-inline: auto;
}

.rpl-container--wide {
  width: min(calc(100% - (var(--rpl-gutter) * 2)), var(--rpl-container-wide));
  margin-inline: auto;
}

.rpl-section {
  position: relative;
  padding-block: var(--rpl-section-space);
}

.rpl-section--soft {
  background: var(--rpl-background);
}

.rpl-section--dark {
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(57, 184, 212, 0.11),
      transparent 38%
    ),
    linear-gradient(135deg, var(--rpl-navy) 0%, var(--rpl-navy-soft) 100%);
  color: var(--rpl-text-on-dark);
}

.rpl-section--dark h1,
.rpl-section--dark h2,
.rpl-section--dark h3,
.rpl-section--dark h4 {
  color: var(--rpl-white);
}

.rpl-section--dark p {
  color: var(--rpl-text-on-dark-muted);
}

.rpl-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--rpl-blue);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rpl-section--dark .rpl-overline {
  color: var(--rpl-cyan);
}

.rpl-section-heading {
  margin-bottom: 48px;
}

.rpl-section-heading > p {
  max-width: 680px;
  margin-top: 16px;
  font-size: 1.05rem;
}

.rpl-section-heading--centered {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 48px;
  text-align: center;
}

.rpl-section-heading--centered .rpl-overline {
  justify-content: center;
}

.rpl-section-heading--centered > p {
  margin-inline: auto;
}

.rpl-section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 48px;
}

.rpl-section-heading--split > p {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   6. Shared buttons and text links
   -------------------------------------------------------------------------- */

.rpl-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition:
    background-color var(--rpl-transition),
    border-color var(--rpl-transition),
    color var(--rpl-transition),
    transform var(--rpl-transition),
    box-shadow var(--rpl-transition);
}

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

.rpl-button--primary {
  background: var(--rpl-blue);
  border-color: var(--rpl-blue);
  color: var(--rpl-white);
  box-shadow: 0 8px 20px rgba(31, 94, 255, 0.2);
}

.rpl-button--primary:hover {
  background: var(--rpl-blue-dark);
  border-color: var(--rpl-blue-dark);
  box-shadow: 0 12px 28px rgba(31, 94, 255, 0.24);
}

.rpl-button--secondary {
  background: var(--rpl-white);
  border-color: var(--rpl-border-strong);
  color: var(--rpl-navy);
}

.rpl-button--secondary:hover {
  border-color: var(--rpl-blue);
  color: var(--rpl-blue);
  box-shadow: var(--rpl-shadow-sm);
}

.rpl-button--light {
  background: var(--rpl-white);
  border-color: var(--rpl-white);
  color: var(--rpl-navy);
}

.rpl-button--light:hover {
  background: var(--rpl-background);
  border-color: var(--rpl-background);
}

.rpl-button--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--rpl-white);
}

.rpl-button--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--rpl-white);
}

.rpl-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rpl-blue);
  font-size: 0.9375rem;
  font-weight: 700;
}

.rpl-text-link i {
  transition: transform var(--rpl-transition);
}

.rpl-text-link:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   7. Shared cards and badges
   -------------------------------------------------------------------------- */

.rpl-card {
  background: var(--rpl-white);
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-lg);
  box-shadow: var(--rpl-shadow-sm);
}

.rpl-icon-box {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--rpl-radius-md);
  background: var(--rpl-surface-soft);
  color: var(--rpl-blue);
  font-size: 1.15rem;
}

.rpl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: var(--rpl-radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.rpl-badge--verified {
  background: var(--rpl-success-bg);
  color: var(--rpl-success);
}

.rpl-badge--warning {
  background: var(--rpl-warning-bg);
  color: var(--rpl-warning);
}

/* --------------------------------------------------------------------------
   8. Forms
   -------------------------------------------------------------------------- */

label {
  display: inline-block;
  color: var(--rpl-navy);
  font-size: 0.875rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--rpl-border-strong);
  border-radius: 10px;
  background: var(--rpl-white);
  color: var(--rpl-text);
  transition:
    border-color var(--rpl-transition),
    box-shadow var(--rpl-transition),
    background-color var(--rpl-transition);
}

input,
select {
  min-height: 50px;
  padding: 0 15px;
}

textarea {
  min-height: 140px;
  padding: 14px 15px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--rpl-text-muted);
}

input:hover,
textarea:hover,
select:hover {
  border-color: #aebfcd;
}

input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: var(--rpl-blue);
}

.rpl-form-field {
  display: grid;
  gap: 8px;
}

.rpl-form-note {
  font-size: 0.78rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   9. Announcement bar
   -------------------------------------------------------------------------- */

.rpl-announcement {
  background: var(--rpl-navy);
  color: var(--rpl-white);
}

.rpl-announcement__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rpl-announcement p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.rpl-announcement p i {
  color: var(--rpl-cyan);
}

.rpl-announcement a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rpl-white);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.rpl-announcement a i {
  font-size: 0.7rem;
  transition: transform var(--rpl-transition);
}

.rpl-announcement a:hover i {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   10. Header and navigation
   -------------------------------------------------------------------------- */

.rpl-header {
  position: sticky;
  top: 0;
  z-index: var(--rpl-z-header);
  border-bottom: 1px solid rgba(220, 230, 238, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rpl-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: var(--rpl-header-height);
  align-items: center;
  gap: 36px;
}

.rpl-header__brand {
  display: block;
  width: 228px;
}

.rpl-header__brand img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.rpl-navigation {
  min-width: 0;
}

.rpl-navigation__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  list-style: none;
}

.rpl-navigation__item > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-block: 10px;
  color: var(--rpl-text);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--rpl-transition);
}

.rpl-navigation__item > a:hover {
  color: var(--rpl-blue);
}

.rpl-navigation__item > a i {
  font-size: 0.65rem;
}

.rpl-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rpl-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rpl-language-switcher__item {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: var(--rpl-radius-sm);
  color: var(--rpl-text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  transition:
    background-color var(--rpl-transition),
    color var(--rpl-transition);
}

.rpl-language-switcher__item:hover,
.rpl-language-switcher__item.is-active {
  background: var(--rpl-surface-soft);
  color: var(--rpl-navy);
}

.rpl-language-switcher__flag {
  line-height: 1;
}

.rpl-header__icon-link,
.rpl-header__cart {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--rpl-navy);
  transition:
    background-color var(--rpl-transition),
    color var(--rpl-transition);
}

.rpl-header__icon-link:hover,
.rpl-header__cart:hover {
  background: var(--rpl-surface-soft);
  color: var(--rpl-blue);
}

.rpl-header__cart-count {
  position: absolute;
  top: 1px;
  right: 1px;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  border: 2px solid var(--rpl-white);
  border-radius: var(--rpl-radius-pill);
  background: var(--rpl-blue);
  color: var(--rpl-white);
  font-size: 0.62rem;
  font-weight: 700;
}

.rpl-header__menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rpl-border);
  border-radius: 10px;
  background: var(--rpl-white);
  color: var(--rpl-navy);
}

/* --------------------------------------------------------------------------
   11. Age gate
   -------------------------------------------------------------------------- */

.rpl-age-gate {
  position: fixed;
  inset: 0;
  z-index: var(--rpl-z-overlay);
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(57, 184, 212, 0.18),
      transparent 35%
    ),
    rgba(11, 31, 51, 0.9);
  backdrop-filter: blur(12px);
}

.rpl-age-gate__panel {
  width: min(100%, 620px);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--rpl-radius-xl);
  background: var(--rpl-white);
  box-shadow: var(--rpl-shadow-lg);
}

.rpl-age-gate__logo {
  width: min(100%, 300px);
  margin-bottom: 28px;
}

.rpl-age-gate__panel h2 {
  margin-bottom: 16px;
}

.rpl-age-gate__panel > p:not(.rpl-overline) {
  margin-bottom: 22px;
}

.rpl-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-md);
  background: var(--rpl-background);
  color: var(--rpl-text-secondary);
  font-weight: 500;
}

.rpl-checkbox input {
  width: 18px;
  min-height: auto;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--rpl-blue);
}

.rpl-age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */

.rpl-footer {
  padding-top: 72px;
  padding-bottom: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(57, 184, 212, 0.1), transparent 32%),
    var(--rpl-navy);
  color: var(--rpl-text-on-dark);
}

.rpl-footer__grid {
  display: grid;
  grid-template-columns: minmax(270px, 1.45fr) repeat(4, minmax(130px, 0.7fr));
  gap: 44px;
  padding-bottom: 52px;
}

.rpl-footer__brand-column {
  max-width: 380px;
}

.rpl-footer__logo {
  display: inline-block;
  width: min(100%, 290px);
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: var(--rpl-radius-md);
  background: var(--rpl-white);
}

.rpl-footer__tagline {
  margin-bottom: 12px;
  color: var(--rpl-white);
  font-family: var(--rpl-font-heading);
  font-weight: 700;
}

.rpl-footer__brand-column > p:not(.rpl-footer__tagline) {
  color: var(--rpl-text-on-dark-muted);
  font-size: 0.92rem;
}

.rpl-footer__research-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 244, 214, 0.2);
  border-radius: var(--rpl-radius-md);
  background: rgba(154, 103, 0, 0.12);
  color: #f8dda0;
  font-size: 0.78rem;
  line-height: 1.55;
}

.rpl-footer__column h2 {
  margin-bottom: 18px;
  color: var(--rpl-white);
  font-family: var(--rpl-font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
}

.rpl-footer__column ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.rpl-footer__column a {
  color: var(--rpl-text-on-dark-muted);
  font-size: 0.86rem;
  transition: color var(--rpl-transition);
}

.rpl-footer__column a:hover {
  color: var(--rpl-white);
}

.rpl-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.rpl-footer__bottom > p {
  color: var(--rpl-text-on-dark-muted);
  font-size: 0.78rem;
}

.rpl-footer__bottom-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.rpl-footer .rpl-language-switcher__item {
  color: var(--rpl-text-on-dark-muted);
}

.rpl-footer .rpl-language-switcher__item:hover,
.rpl-footer .rpl-language-switcher__item.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--rpl-white);
}

.rpl-payment-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rpl-white);
  font-size: 1.5rem;
}

.rpl-footer__legal-copy {
  max-width: 1040px;
  margin-top: 20px;
  color: #90a5b8;
  font-size: 0.72rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. Divi and WordPress compatibility helpers
   -------------------------------------------------------------------------- */

.et_pb_section,
.et_pb_row,
.et_pb_column,
.et_pb_module {
  box-sizing: border-box;
}

.rpl-site .et_pb_button {
  font-family: var(--rpl-font-body);
}

.rpl-site .woocommerce a.button,
.rpl-site .woocommerce button.button,
.rpl-site .woocommerce input.button,
.rpl-site .woocommerce #respond input#submit {
  border-radius: 10px;
  font-family: var(--rpl-font-body);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   14. Responsive global rules
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  :root {
    --rpl-gutter: 24px;
    --rpl-section-space: 80px;
  }

  .rpl-header__inner {
    gap: 20px;
  }

  .rpl-header__brand {
    width: 190px;
  }

  .rpl-navigation__list {
    gap: 18px;
  }

  .rpl-navigation__item > a {
    font-size: 0.84rem;
  }

  .rpl-footer__grid {
    grid-template-columns: 1.35fr repeat(2, 0.8fr);
  }

  .rpl-footer__brand-column {
    grid-row: span 2;
  }
}

@media (max-width: 980px) {
  :root {
    --rpl-header-height: 72px;
    --rpl-section-space: 72px;
  }

  .rpl-section-heading--split {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .rpl-header__inner {
    grid-template-columns: auto auto 1fr;
  }

  .rpl-header__menu-toggle {
    display: inline-flex;
    order: 3;
    justify-self: end;
  }

  .rpl-navigation {
    display: none;
  }

  .rpl-header__actions {
    justify-self: end;
  }

  .rpl-header__icon-link {
    display: none;
  }

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

  .rpl-footer__brand-column {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: 600px;
  }
}

@media (max-width: 767px) {
  :root {
    --rpl-gutter: 20px;
    --rpl-section-space: 56px;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .rpl-announcement__inner {
    min-height: 34px;
    justify-content: center;
  }

  .rpl-announcement p {
    justify-content: center;
    text-align: center;
  }

  .rpl-announcement p span,
  .rpl-announcement a {
    display: none;
  }

  .rpl-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .rpl-header__brand {
    width: 158px;
  }

  .rpl-header__actions {
    gap: 4px;
  }

  .rpl-language-switcher__item {
    min-height: 32px;
    padding-inline: 6px;
  }

  .rpl-language-switcher__item span:last-child {
    display: none;
  }

  .rpl-header__cart {
    width: 36px;
    height: 36px;
  }

  .rpl-header__menu-toggle {
    width: 38px;
    height: 38px;
  }

  .rpl-section-heading {
    margin-bottom: 34px;
  }

  .rpl-section-heading--centered {
    margin-bottom: 34px;
    text-align: left;
  }

  .rpl-section-heading--centered .rpl-overline {
    justify-content: flex-start;
  }

  .rpl-section-heading--centered > p {
    margin-inline: 0;
  }

  .rpl-age-gate__panel {
    padding: 28px 22px;
  }

  .rpl-age-gate__actions {
    flex-direction: column;
  }

  .rpl-age-gate__actions .rpl-button {
    width: 100%;
  }

  .rpl-footer {
    padding-top: 56px;
  }

  .rpl-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rpl-footer__brand-column {
    grid-column: auto;
  }

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

  .rpl-footer__bottom-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .rpl-button {
    width: 100%;
  }

  .rpl-header__brand {
    width: 138px;
  }

  .rpl-payment-icons {
    font-size: 1.3rem;
  }
}

/* --------------------------------------------------------------------------
   15. Reduced motion
   -------------------------------------------------------------------------- */

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

.header-flag {
  width: 20px;
}
