/*
Theme Name: Rackstad Orfala Catalog
Theme URI: https://ibosimsolutions.com/
Author: Ibosim Solutions
Author URI: https://ibosimsolutions.com/
Description: A responsive WooCommerce catalog theme for Rackstad Bil & Delar, built around Orfala Article IDs, SBR classifications and SBR Maskin hierarchies. Catalog-only: product prices are shown on product pages and product cards, with no online checkout.
Version: 1.0.11
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: rackstad-orfala-catalog
*/

/* Locally hosted Roboto font files. */
@font-face {
    font-family: "Roboto";
    src: url("assets/fonts/roboto/roboto-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("assets/fonts/roboto/roboto-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("assets/fonts/roboto/roboto-medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: "Roboto";
    src: url("assets/fonts/roboto/roboto-black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: "Roboto";
    src: url("assets/fonts/roboto/roboto-extra-bold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --rbd-orange: #e9952c;
    --rbd-orange-dark: #bd6714;
    --rbd-orange-soft: #fff2e2;
    --rbd-black: #0e1112;
    --rbd-charcoal: #1b1f20;
    --rbd-charcoal-2: #272c2e;
    --rbd-stone: #efede8;
    --rbd-stone-2: #f7f6f3;
    --rbd-white: #ffffff;
    --rbd-text: #25292b;
    --rbd-muted: #6d7477;
    --rbd-border: #d8d6d0;
    --rbd-green: #237248;
    --rbd-red: #9c352e;
    --rbd-container: 1320px;
    --rbd-radius: 4px;
    --rbd-radius-lg: 12px;
    --rbd-shadow: 0 18px 45px rgba(11, 14, 15, 0.09);
    --rbd-shadow-dark: 0 20px 55px rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--rbd-stone-2);
    color: var(--rbd-text);
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

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

a {
    color: inherit;
}

h1,
h2,
h3,
h4,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--rbd-charcoal);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.35rem, 5vw, 4.8rem);
}

h2 {
    font-size: clamp(2rem, 3.6vw, 3.35rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-top: 0;
}

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

.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 {
    position: fixed !important;
    z-index: 100000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    clip: auto;
    padding: 12px 18px;
    background: var(--rbd-white);
    color: var(--rbd-black);
    box-shadow: var(--rbd-shadow);
}

.rbd-main {
    min-height: 60vh;
}

.rbd-eyebrow {
    margin: 0 0 10px;
    color: var(--rbd-orange-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.rbd-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 2px solid var(--rbd-orange);
    border-radius: var(--rbd-radius);
    background: var(--rbd-orange);
    color: var(--rbd-black);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.rbd-button:hover,
.rbd-button:focus-visible {
    border-color: var(--rbd-orange-dark);
    background: var(--rbd-orange-dark);
    color: var(--rbd-white);
    transform: translateY(-2px);
}

.rbd-button--ghost {
    border-color: var(--rbd-charcoal);
    background: transparent;
    color: var(--rbd-charcoal);
}

.rbd-button--ghost:hover,
.rbd-button--ghost:focus-visible {
    border-color: var(--rbd-charcoal);
    background: var(--rbd-charcoal);
    color: var(--rbd-white);
}

.rbd-button--light {
    border-color: var(--rbd-white);
    background: var(--rbd-white);
    color: var(--rbd-black);
}

.rbd-button--ghost-light {
    border-color: rgba(255, 255, 255, 0.75);
    background: transparent;
    color: var(--rbd-white);
}

.rbd-button--ghost-light:hover,
.rbd-button--ghost-light:focus-visible {
    border-color: var(--rbd-white);
    background: var(--rbd-white);
    color: var(--rbd-black);
}

.rbd-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rbd-charcoal);
    font-weight: 800;
    text-decoration-color: var(--rbd-orange);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.rbd-text-link:hover,
.rbd-text-link:focus-visible {
    color: var(--rbd-orange-dark);
}

/* Header */
.rbd-site-header {
    position: relative;
    z-index: 1000;
    background: var(--rbd-white);
    box-shadow: 0 1px 0 rgba(10, 12, 13, 0.1);
}

.rbd-topbar {
    background: var(--rbd-black);
    color: #dfe1e1;
    font-size: 0.78rem;
}

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

.rbd-topbar p {
    margin: 0;
}

.rbd-topbar-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.rbd-topbar a {
    color: var(--rbd-white);
    font-weight: 700;
    text-decoration: none;
}

.rbd-topbar a:hover,
.rbd-topbar a:focus-visible {
    color: var(--rbd-orange);
}

.rbd-header-inner {
    min-height: 92px;
    display: grid;
    grid-template-columns: minmax(210px, 0.85fr) minmax(420px, 1.7fr) auto;
    align-items: center;
    gap: 30px;
}

.rbd-brand-wrap {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    max-width: 270px;
    max-height: 68px;
    width: auto;
    height: auto;
}

.rbd-fallback-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.rbd-fallback-logo img {
    width: auto;
    max-width: 245px;
    max-height: 68px;
    object-fit: contain;
}

.rbd-wordmark {
    display: inline-flex;
    flex-direction: column;
    color: var(--rbd-charcoal);
    line-height: 0.88;
    text-decoration: none;
    transform: skew(-4deg);
}

.rbd-wordmark-main {
    font-family: "Arial Black", Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.08em;
}

.rbd-wordmark-sub {
    margin-top: 8px;
    padding-left: 4px;
    color: var(--rbd-orange);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.rbd-navigation > ul,
.rbd-navigation .menu,
.rbd-fallback-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.4vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.rbd-navigation li {
    position: relative;
}

.rbd-navigation a {
    display: block;
    padding: 12px 0;
    color: var(--rbd-charcoal);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.rbd-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 3px;
    background: var(--rbd-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 160ms ease;
}

.rbd-navigation a:hover::after,
.rbd-navigation a:focus-visible::after,
.rbd-navigation .current-menu-item > a::after,
.rbd-navigation .current_page_item > a::after {
    transform: scaleX(1);
}

.rbd-navigation .sub-menu {
    position: absolute;
    z-index: 50;
    top: calc(100% - 2px);
    left: -20px;
    min-width: 220px;
    display: none;
    margin: 0;
    padding: 12px 20px;
    background: var(--rbd-white);
    box-shadow: var(--rbd-shadow);
    list-style: none;
}

.rbd-navigation li:hover > .sub-menu,
.rbd-navigation li:focus-within > .sub-menu {
    display: block;
}

.rbd-header-search {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid var(--rbd-charcoal);
    color: var(--rbd-charcoal);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.rbd-header-search:hover,
.rbd-header-search:focus-visible {
    border-color: var(--rbd-orange);
    background: var(--rbd-orange);
    color: var(--rbd-black);
}

.rbd-menu-toggle {
    display: none;
    width: 48px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: var(--rbd-charcoal);
    cursor: pointer;
}

.rbd-menu-toggle span[aria-hidden="true"] {
    width: 22px;
    height: 2px;
    background: var(--rbd-white);
}

/* Slider */
.rbd-hero-slider {
    position: relative;
    height: min(760px, calc(100vh - 130px));
    min-height: 590px;
    overflow: hidden;
    background: var(--rbd-black);
}

.rbd-slider-track {
    position: relative;
    height: 100%;
}

.rbd-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(3%);
    transition: opacity 650ms ease, transform 850ms ease;
}

.rbd-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.rbd-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rbd-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 10, 11, 0.91) 0%, rgba(8, 10, 11, 0.67) 10%, rgba(8, 10, 11, 0.12) 50%), linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 5%);
}

.rbd-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    max-width: var(--rbd-container);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 80px;
    color: var(--rbd-white);
}

.rbd-slide-content .rbd-eyebrow {
    color: var(--rbd-orange);
}

.rbd-slide-content h1,
.rbd-slide-content h2 {
    max-width: 930px;
    margin-bottom: 24px;
    color: var(--rbd-white);
    font-size: clamp(2.65rem, 5.4vw, 5.35rem);
}

.rbd-slide-content p:not(.rbd-eyebrow) {
    max-width: 720px;
    margin-bottom: 32px;
    color: #f0f1f1;
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
}

.rbd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.rbd-hero-actions .rbd-button {
    min-width: 190px;
}

.rbd-slider-controls {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 32px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.rbd-slider-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(10, 12, 13, 0.6);
    color: var(--rbd-white);
    font-size: 1.2rem;
    cursor: pointer;
}

.rbd-slider-arrow:hover,
.rbd-slider-arrow:focus-visible {
    border-color: var(--rbd-orange);
    background: var(--rbd-orange);
    color: var(--rbd-black);
}

.rbd-slider-dots {
    display: flex;
    gap: 8px;
}

.rbd-slider-dots button {
    width: 34px;
    height: 5px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.rbd-slider-dots button.is-active {
    background: var(--rbd-orange);
}

/* Home brand shortcuts */
.rbd-brand-shortcuts {
    padding: 86px 0 92px;
    background: var(--rbd-white);
}

.rbd-centered-heading {
    max-width: 850px;
    margin: 0 auto 42px;
    text-align: center;
}

.rbd-centered-heading h2 {
    margin-bottom: 18px;
}

.rbd-centered-heading > p:last-child {
    color: var(--rbd-muted);
}

.rbd-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.rbd-brand-button {
    position: relative;
    min-height: 150px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 26px;
    border: 1px solid var(--rbd-border);
    background: var(--rbd-stone-2);
    color: var(--rbd-charcoal);
    text-decoration: none;
    transition: transform 170ms ease, background 170ms ease, border-color 170ms ease, color 170ms ease;
}

.rbd-brand-button::after {
    content: "";
    position: absolute;
    right: -32px;
    bottom: -32px;
    width: 96px;
    height: 96px;
    border: 18px solid rgba(233, 149, 44, 0.16);
    border-radius: 50%;
}

.rbd-brand-button--logo {
    padding-right: 112px;
}

.rbd-brand-button--logo::after {
    display: none;
}

.rbd-brand-logo {
    position: absolute;
    z-index: 1;
    top: 22px;
    right: 22px;
    width: 74px;
    height: 74px;
    object-fit: contain;
    opacity: 0.14;
    filter: grayscale(1) brightness(0);
    pointer-events: none;
    transition: opacity 170ms ease, filter 170ms ease, transform 170ms ease;
}

.rbd-brand-button--scania .rbd-brand-logo {
    width: 78px;
    height: 78px;
}

.rbd-brand-button--volvo .rbd-brand-logo {
    width: 76px;
    height: 76px;
}

.rbd-brand-button--mercedes .rbd-brand-logo {
    width: 72px;
    height: 72px;
}

.rbd-brand-button--logo > span {
    position: relative;
    z-index: 2;
}

.rbd-brand-button--logo:hover .rbd-brand-logo,
.rbd-brand-button--logo:focus-visible .rbd-brand-logo {
    opacity: 0.28;
    filter: grayscale(1) brightness(0) invert(1);
    transform: scale(1.06);
}

.rbd-brand-button:hover,
.rbd-brand-button:focus-visible {
    border-color: var(--rbd-orange);
    background: var(--rbd-charcoal);
    color: var(--rbd-white);
    transform: translateY(-5px);
}

.rbd-brand-button--all {
    border-color: var(--rbd-orange);
    background: var(--rbd-orange);
}

.rbd-brand-button--all:hover,
.rbd-brand-button--all:focus-visible {
    background: var(--rbd-orange-dark);
}

.rbd-brand-name {
    font-size: clamp(1.55rem, 2.2vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.rbd-brand-button > span:last-child {
    font-size: 0.86rem;
    font-weight: 800;
}

/* Home catalog search */
.rbd-home-catalog {
    padding: 96px 0;
    background: var(--rbd-charcoal);
    color: var(--rbd-white);
}

.rbd-home-catalog-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: clamp(48px, 8vw, 110px);
}

.rbd-home-catalog h2,
.rbd-home-catalog-copy {
    color: var(--rbd-white);
}

.rbd-home-catalog-copy > p:not(.rbd-eyebrow) {
    color: #ced1d2;
    font-size: 1.08rem;
}

.rbd-check-list {
    display: grid;
    gap: 13px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.rbd-check-list li {
    position: relative;
    padding-left: 30px;
    color: #f0f1f1;
}

.rbd-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--rbd-orange);
    font-weight: 900;
}

.rbd-home-search {
    padding: clamp(28px, 4vw, 46px);
    background: var(--rbd-white);
    color: var(--rbd-text);
    box-shadow: var(--rbd-shadow-dark);
}

.rbd-home-search > label {
    display: block;
    margin-bottom: 7px;
    color: var(--rbd-charcoal);
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
    font-weight: 900;
    line-height: 1.2;
}

.rbd-home-search > p {
    color: var(--rbd-muted);
}

.rbd-home-search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    margin: 26px 0 18px;
}

.rbd-home-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 58px;
    padding: 0 18px;
    border: 2px solid var(--rbd-charcoal);
    border-right: 0;
    border-radius: 0;
    background: var(--rbd-white);
    color: var(--rbd-text);
}

.rbd-home-search button {
    min-width: 150px;
    border: 2px solid var(--rbd-orange);
    background: var(--rbd-orange);
    color: var(--rbd-black);
    font-weight: 900;
    cursor: pointer;
}

.rbd-home-search button:hover,
.rbd-home-search button:focus-visible {
    border-color: var(--rbd-orange-dark);
    background: var(--rbd-orange-dark);
    color: var(--rbd-white);
}

/* Section headings and grids */
.rbd-home-section,
.rbd-content-section,
.rbd-catalog-page {
    padding: 90px 0;
}

.rbd-section-heading,
.rbd-catalog-results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.rbd-section-heading h2,
.rbd-catalog-results-heading h2 {
    margin-bottom: 0;
}

.rbd-section-heading--light h2 {
    color: var(--rbd-white);
}

.rbd-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.rbd-product-card {
    min-width: 0;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--rbd-border);
    background: var(--rbd-white);
    box-shadow: 0 10px 30px rgba(17, 20, 21, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.rbd-product-card:hover {
    box-shadow: var(--rbd-shadow);
    transform: translateY(-5px);
}

.rbd-product-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e5e5e2;
}

.rbd-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.rbd-product-card:hover .rbd-product-card-image img {
    transform: scale(1.035);
}

.rbd-stock-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 5px 10px;
    background: var(--rbd-green);
    color: var(--rbd-white);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: uppercase;
}

.rbd-stock-badge--out {
    background: var(--rbd-red);
}

.rbd-stock-badge--static {
    position: static;
    margin-bottom: 20px;
}

.rbd-product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.rbd-product-kicker {
    margin: 0 0 10px;
    color: var(--rbd-orange-dark);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

.rbd-product-card h2 {
    margin-bottom: 18px;
    font-size: 1.28rem;
    line-height: 1.23;
}

.rbd-product-card h2 a {
    text-decoration: none;
}

.rbd-product-card h2 a:hover,
.rbd-product-card h2 a:focus-visible {
    color: var(--rbd-orange-dark);
}

.rbd-product-card-meta {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
}

.rbd-product-card-meta > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    padding-bottom: 7px;
    border-bottom: 1px solid #eeece7;
    font-size: 0.78rem;
    line-height: 1.4;
}

.rbd-product-card-meta dt {
    color: var(--rbd-muted);
    font-weight: 700;
}

.rbd-product-card-meta dd {
    min-width: 0;
    margin: 0;
    color: var(--rbd-charcoal);
    font-weight: 700;
}

.rbd-machine-paths a,
.rbd-product-kicker a,
.rbd-detail-row a,
.rbd-product-facts a {
    color: inherit;
    text-decoration-color: var(--rbd-orange);
    text-underline-offset: 3px;
}

.rbd-card-description {
    color: var(--rbd-muted);
    font-size: 0.88rem;
}

.rbd-card-price {
    margin: 0 0 8px;
    padding: 13px 15px 14px;
    border-left: 4px solid var(--rbd-orange);
    background: var(--rbd-stone-2);
}

.rbd-card-price__label {
    display: block;
    margin-bottom: 5px;
    color: var(--rbd-muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    line-height: 1.25;
    text-transform: uppercase;
}

.rbd-card-price__value {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 8px;
    color: var(--rbd-charcoal);
}

.rbd-card-price__prefix {
    color: var(--rbd-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.rbd-card-price__value strong {
    color: var(--rbd-black);
    font-size: 1.38rem;
    font-weight: 900;
    line-height: 1.05;
}

.rbd-card-price .woocommerce-Price-amount,
.rbd-card-price .woocommerce-Price-currencySymbol {
    color: inherit;
    font: inherit;
}

.rbd-card-footer {
    margin-top: auto;
    padding-top: 10px;
}

/* Story section */
.rbd-story-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 620px;
    background: var(--rbd-stone);
}

.rbd-story-image img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.rbd-story-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(50px, 8vw, 120px);
}

.rbd-story-content h2 {
    max-width: 720px;
}

.rbd-story-content > p:not(.rbd-eyebrow) {
    max-width: 680px;
    color: var(--rbd-muted);
    font-size: 1.06rem;
}

.rbd-story-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 18px;
}

/* Page heroes */
.rbd-page-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0;
    background: var(--rbd-charcoal);
    color: var(--rbd-white);
}

.rbd-page-hero::after {
    content: "";
    position: absolute;
    top: -180px;
    right: -110px;
    width: 430px;
    height: 430px;
    border: 70px solid rgba(233, 149, 44, 0.1);
    border-radius: 50%;
}

.rbd-page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    align-items: center;
    gap: 60px;
}

.rbd-page-hero h1 {
    max-width: 1000px;
    margin-bottom: 20px;
    color: var(--rbd-white);
    font-size: clamp(2.45rem, 5vw, 4.7rem);
}

.rbd-page-hero p:not(.rbd-eyebrow) {
    max-width: 820px;
    margin-bottom: 0;
    color: #d9dcdd;
    font-size: 1.08rem;
}

.rbd-page-hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    box-shadow: var(--rbd-shadow-dark);
}

.rbd-page-hero-stat {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
}

.rbd-page-hero-stat strong {
    color: var(--rbd-orange);
    font-size: clamp(3.4rem, 7vw, 6.8rem);
    line-height: 0.95;
}

.rbd-page-hero-stat span {
    margin-top: 10px;
    color: var(--rbd-white);
    font-weight: 800;
}

.rbd-page-hero--simple {
    padding: 66px 0;
}

.rbd-page-hero--post {
    padding-bottom: 110px;
}

.rbd-page-hero--archive .rbd-page-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.rbd-archive-search {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 12px;
    padding: 30px;
    background: var(--rbd-white);
    color: var(--rbd-text);
}

.rbd-archive-search label {
    color: var(--rbd-charcoal);
    font-size: 1.25rem;
    font-weight: 900;
}

.rbd-archive-search input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid var(--rbd-border);
}

.rbd-archive-description p:last-child {
    margin-bottom: 0;
}

/* Filters */
.rbd-filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
    gap: 38px 56px;
    margin-top: -125px;
    margin-bottom: 70px;
    padding: clamp(28px, 4.5vw, 56px);
    background: var(--rbd-white);
    box-shadow: var(--rbd-shadow);
    position: relative;
    z-index: 5;
}

.rbd-filter-intro h2 {
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.rbd-filter-intro p:last-child {
    color: var(--rbd-muted);
}

.rbd-filter-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.rbd-field {
    min-width: 0;
}

.rbd-field--wide {
    grid-column: 1 / -1;
}

.rbd-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--rbd-charcoal);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rbd-field input,
.rbd-field select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #c8c6c1;
    border-radius: 0;
    background: var(--rbd-white);
    color: var(--rbd-text);
}

.rbd-field input:focus,
.rbd-field select:focus,
.rbd-home-search input:focus,
.rbd-archive-search input:focus {
    border-color: var(--rbd-orange-dark);
    outline: 3px solid rgba(233, 149, 44, 0.2);
}

.rbd-filter-actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rbd-catalog-results-heading > p {
    margin-bottom: 0;
    color: var(--rbd-muted);
}

.rbd-empty-state {
    padding: clamp(45px, 7vw, 90px);
    border: 1px solid var(--rbd-border);
    background: var(--rbd-white);
    text-align: center;
}

.rbd-empty-state h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.rbd-empty-state p {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    color: var(--rbd-muted);
}

.rbd-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.rbd-pagination,
.rbd-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rbd-pagination {
    margin-top: 52px;
}

.rbd-pagination .page-numbers {
    display: inline-flex;
    min-width: 43px;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--rbd-border);
    background: var(--rbd-white);
    color: var(--rbd-charcoal);
    font-weight: 800;
    text-decoration: none;
}

.rbd-pagination .page-numbers.current,
.rbd-pagination a.page-numbers:hover,
.rbd-pagination a.page-numbers:focus-visible {
    border-color: var(--rbd-orange);
    background: var(--rbd-orange);
    color: var(--rbd-black);
}

/* Posts */
.rbd-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.rbd-post-card {
    overflow: hidden;
    border: 1px solid var(--rbd-border);
    background: var(--rbd-white);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.rbd-post-card:hover {
    box-shadow: var(--rbd-shadow);
    transform: translateY(-5px);
}

.rbd-post-card-image {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--rbd-stone);
}

.rbd-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.rbd-post-card:hover img {
    transform: scale(1.035);
}

.rbd-post-card-body {
    padding: 26px;
}

.rbd-post-date {
    margin-bottom: 10px;
    color: var(--rbd-orange-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rbd-post-card h2 {
    margin-bottom: 16px;
    font-size: 1.55rem;
}

.rbd-post-card h2 a {
    text-decoration: none;
}

.rbd-post-card-body > p:not(.rbd-post-date) {
    color: var(--rbd-muted);
}

.rbd-single-featured {
    margin-top: -65px;
    position: relative;
    z-index: 2;
}

.rbd-single-featured img {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
}

.rbd-entry {
    max-width: 940px;
    padding-top: 70px;
    padding-bottom: 90px;
    font-size: 1.06rem;
}

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

.rbd-entry h2,
.rbd-entry h3 {
    margin-top: 2em;
}

.rbd-entry a {
    color: var(--rbd-orange-dark);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.rbd-entry blockquote {
    margin: 35px 0;
    padding: 24px 30px;
    border-left: 5px solid var(--rbd-orange);
    background: var(--rbd-stone);
}

/* About */
.rbd-about-intro,
.rbd-about-categories,
.rbd-certification-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(44px, 7vw, 100px);
}

.rbd-about-intro img,
.rbd-about-categories img,
.rbd-certification-grid img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.rbd-about-intro p:not(.rbd-eyebrow),
.rbd-about-categories p:not(.rbd-eyebrow),
.rbd-certification-grid p:not(.rbd-eyebrow) {
    color: var(--rbd-muted);
    font-size: 1.04rem;
}

.rbd-dark-section {
    padding: 90px 0;
    background: var(--rbd-charcoal);
    color: var(--rbd-white);
}

.rbd-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.rbd-process-grid article {
    min-height: 300px;
    padding: 32px;
    background: var(--rbd-charcoal);
}

.rbd-process-grid article > span {
    display: block;
    margin-bottom: 50px;
    color: var(--rbd-orange);
    font-size: 2.4rem;
    font-weight: 900;
}

.rbd-process-grid h3 {
    color: var(--rbd-white);
}

.rbd-process-grid p {
    color: #c8cccd;
}

.rbd-certification-section {
    padding: 90px 0;
    background: var(--rbd-stone);
}

.rbd-contact-cta {
    padding: 72px 0;
    background: var(--rbd-orange);
}

.rbd-contact-cta .rbd-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.rbd-contact-cta .rbd-eyebrow {
    color: rgba(14, 17, 18, 0.72);
}

.rbd-contact-cta h2 {
    margin-bottom: 12px;
}

.rbd-contact-cta p:last-child {
    margin-bottom: 0;
}

.rbd-contact-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.rbd-contact-cta .rbd-button {
    border-color: var(--rbd-black);
    background: var(--rbd-black);
    color: var(--rbd-white);
}

.rbd-contact-cta .rbd-button:hover,
.rbd-contact-cta .rbd-button:focus-visible {
    background: var(--rbd-white);
    color: var(--rbd-black);
}

.rbd-contact-cta .rbd-button--ghost-light {
    background: transparent;
    color: var(--rbd-black);
}

/* Product single */
.rbd-product-breadcrumb-wrap {
    padding-top: 30px;
}

.rbd-breadcrumbs {
    color: var(--rbd-muted);
    font-size: 0.82rem;
}

.rbd-breadcrumbs a {
    color: var(--rbd-charcoal);
    font-weight: 700;
    text-decoration: none;
}

.rbd-breadcrumbs a:hover,
.rbd-breadcrumbs a:focus-visible {
    color: var(--rbd-orange-dark);
}

.rbd-breadcrumb-separator {
    margin: 0 8px;
    color: #aaa8a2;
}

.rbd-product-single {
    padding-top: 28px;
    padding-bottom: 90px;
}

.rbd-single-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: clamp(40px, 6vw, 85px);
    align-items: start;
}

.rbd-product-gallery {
    min-width: 0;
}

.rbd-gallery-main {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8e7e3;
}

.rbd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rbd-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.rbd-gallery-thumbnail {
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    background: #e8e7e3;
    cursor: pointer;
}

.rbd-gallery-thumbnail.is-active,
.rbd-gallery-thumbnail:hover,
.rbd-gallery-thumbnail:focus-visible {
    border-color: var(--rbd-orange);
}

.rbd-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rbd-product-summary {
    position: sticky;
    top: 25px;
    padding: clamp(30px, 4.2vw, 52px);
    background: var(--rbd-white);
    box-shadow: var(--rbd-shadow);
}

.admin-bar .rbd-product-summary {
    top: 57px;
}

.rbd-product-summary h1 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 3.7vw, 3.55rem);
}

.rbd-summary-description {
    color: var(--rbd-muted);
    font-size: 1.03rem;
}

.rbd-product-price {
    margin: 28px 0 0;
    padding: 22px 24px;
    border: 1px solid var(--rbd-border);
    border-top: 4px solid var(--rbd-orange);
    background: var(--rbd-stone-2);
}

.rbd-product-price__title {
    margin: 0;
    color: var(--rbd-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rbd-product-price__primary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
    margin-top: 8px;
}

.rbd-product-price__prefix {
    color: var(--rbd-muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.rbd-product-price__amount {
    color: var(--rbd-black);
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    font-weight: 900;
    line-height: 1;
}

.rbd-product-price__tax-label {
    color: var(--rbd-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.rbd-product-price__secondary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 18px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--rbd-border);
    color: var(--rbd-muted);
    font-size: 0.88rem;
}

.rbd-product-price__secondary strong {
    color: var(--rbd-charcoal);
    font-size: 1.05rem;
    font-weight: 900;
}

.rbd-product-price .woocommerce-Price-amount,
.rbd-product-price .woocommerce-Price-currencySymbol {
    color: inherit;
    font: inherit;
}

.rbd-product-facts {
    display: grid;
    margin: 28px 0;
    border-top: 1px solid var(--rbd-border);
}

.rbd-product-facts > div {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rbd-border);
}

.rbd-product-facts dt {
    color: var(--rbd-muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.rbd-product-facts dd {
    min-width: 0;
    margin: 0;
    color: var(--rbd-charcoal);
    font-size: 0.88rem;
    font-weight: 800;
}

.rbd-inquiry-panel {
    padding: 24px;
    border-left: 5px solid var(--rbd-orange);
    background: var(--rbd-stone-2);
}

.rbd-inquiry-panel p {
    color: var(--rbd-muted);
}

.rbd-phone-link {
    display: inline-flex;
    margin-left: 14px;
    color: var(--rbd-charcoal);
    font-weight: 900;
}

.rbd-product-details {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 60px;
    margin-top: 80px;
    padding: clamp(32px, 5vw, 60px);
    background: var(--rbd-stone);
}

.rbd-product-details h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.rbd-product-description {
    color: var(--rbd-muted);
}

.rbd-detail-grid {
    display: grid;
    align-content: start;
}

.rbd-detail-row {
    display: grid;
    grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
    gap: 22px;
    padding: 14px 0;
    border-bottom: 1px solid #cbc8c0;
}

.rbd-detail-row > span {
    color: var(--rbd-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.rbd-detail-row > strong {
    min-width: 0;
    color: var(--rbd-charcoal);
    font-size: 0.88rem;
}

.rbd-condition-info {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px solid #cbc8c0;
}

/* Footer */
.rbd-site-footer {
    padding-top: 72px;
    background: var(--rbd-black);
    color: #cfd2d3;
}

.rbd-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 1fr 1.05fr;
    gap: 50px;
    padding-bottom: 58px;
}

.rbd-site-footer h2 {
    margin-bottom: 18px;
    color: var(--rbd-white);
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rbd-site-footer a {
    color: var(--rbd-white);
    text-decoration-color: var(--rbd-orange);
    text-underline-offset: 4px;
}

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

.rbd-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rbd-footer-logo-link {
    order: 2;
    display: inline-block;
    max-width: 100%;
    margin: 0;
    text-decoration: none;
}

.rbd-footer-logo {
    display: block;
    width: min(270px, 100%);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    mix-blend-mode: screen;
}

.rbd-footer-wordmark {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
    color: var(--rbd-white);
    line-height: 0.9;
}

.rbd-footer-wordmark span {
    font-family: "Arial Black", Arial, Helvetica, sans-serif;
    font-size: 2.7rem;
    letter-spacing: -0.08em;
}

.rbd-footer-wordmark small {
    margin-top: 9px;
    color: var(--rbd-orange);
    font-weight: 900;
    letter-spacing: 0.23em;
    text-transform: uppercase;
}

.rbd-footer-brand p {
    max-width: 420px;
}

.rbd-footer-social {
    order: 1;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 0 20px;
}

.rbd-footer-social-link {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--rbd-white);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.rbd-footer-social-link:hover,
.rbd-footer-social-link:focus-visible {
    border-color: rgba(230, 173, 44, 0.78);
    background: rgba(230, 173, 44, 0.13);
    color: var(--rbd-orange);
    transform: translateY(-2px);
}

.rbd-footer-social-link svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: currentColor;
}

.rbd-footer-links .rbd-footer-menu a {
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.rbd-footer-links .rbd-footer-menu a::before {
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 999px;
    background: var(--rbd-orange);
    content: "";
    opacity: 0.82;
}

.rbd-footer-links .rbd-footer-menu a:hover,
.rbd-footer-links .rbd-footer-menu a:focus-visible {
    color: var(--rbd-orange);
    transform: translateX(2px);
}

.rbd-footer-certificate-grid {
    display: grid;
    max-width: 330px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 14px;
}

.rbd-footer-certificate-item {
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--rbd-radius);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rbd-footer-certificate-item:hover,
.rbd-footer-certificate-item:focus-visible {
    border-color: rgba(230, 173, 44, 0.72);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.rbd-footer-certificate-item--award:hover {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.04);
    transform: none;
}

.rbd-footer-certificate-item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.rbd-footer-certificate-item--iso img {
    max-height: 84px;
}

.rbd-footer-certificate-item--aaa img {
    max-height: 58px;
}

.rbd-footer-certificate-item--award img {
    max-height: 86px;
}

.rbd-footer-bottom {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #8e9496;
    font-size: 0.78rem;
}

.rbd-footer-bottom p {
    margin: 0;
}

/* WooCommerce cleanup */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .products .price,
.woocommerce-message,
.woocommerce-info {
    display: none !important;
}

/* Responsive */
@media (max-width: 1180px) {
    .rbd-header-inner {
        grid-template-columns: minmax(190px, 0.8fr) minmax(360px, 1.5fr) auto;
        gap: 20px;
    }

    .rbd-navigation > ul,
    .rbd-navigation .menu,
    .rbd-fallback-menu {
        gap: 18px;
    }

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

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

    .rbd-filter-panel {
        grid-template-columns: 1fr;
    }

    .rbd-filter-actions {
        grid-column: 1;
    }

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

@media (max-width: 960px) {
    .rbd-topbar-inner > p,
    .rbd-topbar-links span {
        display: none;
    }

    .rbd-topbar-inner,
    .rbd-topbar-links {
        justify-content: center;
    }

    .rbd-header-inner {
        min-height: 78px;
        grid-template-columns: 1fr auto;
    }

    .rbd-menu-toggle {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
    }

    .rbd-header-search {
        display: none;
    }

    .rbd-navigation {
        position: fixed;
        z-index: 1000;
        top: 116px;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        overflow-y: auto;
        padding: 35px 20px;
        background: var(--rbd-charcoal);
    }

    .admin-bar .rbd-navigation {
        top: 148px;
    }

    .rbd-navigation.is-open {
        display: block;
    }

    .rbd-navigation > ul,
    .rbd-navigation .menu,
    .rbd-fallback-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .rbd-navigation a {
        padding: 15px 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        color: var(--rbd-white);
        font-size: 1.08rem;
    }

    .rbd-navigation a::after {
        display: none;
    }

    .rbd-navigation .sub-menu {
        position: static;
        display: block;
        padding: 0 0 0 20px;
        background: transparent;
        box-shadow: none;
    }

    .rbd-hero-slider {
        min-height: 610px;
        height: 70vh;
    }

    .rbd-slide-overlay {
        background: linear-gradient(90deg, rgba(8, 10, 11, 0.9), rgba(8, 10, 11, 0.5));
    }

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

    .rbd-home-catalog-grid,
    .rbd-story-strip,
    .rbd-page-hero-grid,
    .rbd-page-hero--archive .rbd-page-hero-grid,
    .rbd-about-intro,
    .rbd-about-categories,
    .rbd-certification-grid,
    .rbd-single-product-grid,
    .rbd-product-details {
        grid-template-columns: 1fr;
    }

    .rbd-story-image img {
        min-height: 480px;
    }

    .rbd-page-hero-stat {
        min-height: 120px;
        align-items: flex-start;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        border-left: 0;
        text-align: left;
    }

    .rbd-filter-panel {
        margin-top: -70px;
    }

    .rbd-product-summary {
        position: static;
    }

    .rbd-about-categories img {
        order: 2;
    }

    .rbd-contact-cta .rbd-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .rbd-contact-cta-actions {
        justify-content: flex-start;
    }
}

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

    .rbd-topbar-links {
        width: 100%;
        gap: 12px;
        justify-content: space-between;
    }

    .rbd-topbar-links a {
        font-size: 0.7rem;
    }

    .custom-logo {
        max-width: 210px;
        max-height: 56px;
    }

    .rbd-wordmark-main {
        font-size: 2rem;
    }

    .rbd-navigation {
        top: 116px;
    }

    .rbd-hero-slider {
        min-height: 590px;
        height: 75vh;
    }

    .rbd-slide-content {
        justify-content: flex-end;
        padding-bottom: 110px;
    }

    .rbd-slide-content h1,
    .rbd-slide-content h2 {
        font-size: clamp(2.2rem, 10vw, 3.25rem);
    }

    .rbd-slide-content p:not(.rbd-eyebrow) {
        font-size: 0.98rem;
    }

    .rbd-hero-actions {
        width: 100%;
    }

    .rbd-hero-actions .rbd-button {
        flex: 1 1 calc(50% - 7px);
        min-width: 0;
    }

    .rbd-slider-controls {
        justify-content: flex-start;
    }

    .rbd-brand-shortcuts,
    .rbd-home-catalog,
    .rbd-home-section,
    .rbd-content-section,
    .rbd-catalog-page,
    .rbd-dark-section,
    .rbd-certification-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .rbd-brand-grid,
    .rbd-product-grid,
    .rbd-post-grid,
    .rbd-filter-fields,
    .rbd-process-grid,
    .rbd-footer-grid {
        grid-template-columns: 1fr;
    }

    .rbd-footer-certificate-grid {
        max-width: 360px;
    }

    .rbd-home-catalog-grid {
        min-width: 0;
    }

    .rbd-home-search-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rbd-home-search input[type="search"] {
        border-right: 2px solid var(--rbd-charcoal);
    }

    .rbd-home-search button {
        min-height: 54px;
    }

    .rbd-section-heading,
    .rbd-catalog-results-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .rbd-story-strip {
        min-height: auto;
    }

    .rbd-story-image img {
        min-height: 360px;
    }

    .rbd-story-content {
        padding: 55px 22px;
    }

    .rbd-page-hero {
        padding: 58px 0;
    }

    .rbd-page-hero img {
        height: 240px;
    }

    .rbd-filter-panel {
        margin-top: 0;
        padding: 25px;
    }

    .rbd-filter-actions,
    .rbd-empty-actions,
    .rbd-contact-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rbd-filter-actions .rbd-button,
    .rbd-empty-actions .rbd-button,
    .rbd-contact-cta-actions .rbd-button {
        width: 100%;
    }

    .rbd-about-intro img,
    .rbd-about-categories img,
    .rbd-certification-grid img {
        height: 360px;
    }

    .rbd-process-grid article {
        min-height: auto;
    }

    .rbd-process-grid article > span {
        margin-bottom: 25px;
    }

    .rbd-gallery-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .rbd-product-summary,
    .rbd-product-details {
        padding: 25px;
    }

    .rbd-product-facts > div,
    .rbd-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .rbd-product-price {
        padding: 20px;
    }

    .rbd-product-price__secondary {
        align-items: flex-start;
        flex-direction: column;
    }

    .rbd-inquiry-panel .rbd-button {
        width: 100%;
    }

    .rbd-phone-link {
        display: flex;
        justify-content: center;
        margin: 15px 0 0;
    }

    .rbd-footer-bottom {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .rbd-hero-actions .rbd-button {
        flex-basis: 100%;
    }
}

@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;
    }
}
