/* ==========================================================================
   RG Keeper — theme styles
   Colours come from Customizer → RG Keeper theme → Brand & colours (CSS vars).
   ========================================================================== */

:root {
	--rg-accent: #5aaee0;
	--rg-accent-dark: #1a6a9a;
	--rg-ink: #111418;
	--rg-text: #1d2329;
	--rg-muted: #5b6570;
	--rg-line: #e2e6ea;
	--rg-tint: #f3f5f7;
	--rg-white: #ffffff;
	--rg-wa: #1a7f45;
	--rg-radius: 12px;
	--rg-radius-lg: 20px;
	--rg-max: 1280px;
	--rg-gutter: 20px;
	--rg-font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rg-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--rg-shadow: 0 10px 30px rgba(17, 20, 24, 0.12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
body { margin: 0; font-family: var(--rg-font); font-size: 16px; line-height: 1.6; color: var(--rg-text); background: var(--rg-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--rg-accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--rg-ink); }
:focus-visible { outline: 3px solid var(--rg-accent); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--rg-display); font-weight: 800; line-height: 1.05; color: var(--rg-ink); margin: 0 0 0.5em; letter-spacing: 0.2px; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 100000; background: var(--rg-white); color: var(--rg-ink); padding: 12px 18px; border-radius: 8px; box-shadow: var(--rg-shadow); }

.rg-container { width: 100%; max-width: var(--rg-max); margin-left: auto; margin-right: auto; padding-left: var(--rg-gutter); padding-right: var(--rg-gutter); }
.rg-narrow { max-width: 860px; }
.rg-section { padding-top: 56px; padding-bottom: 56px; }
.rg-center { text-align: center; }
.rg-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--rg-accent-dark); margin: 0 0 10px; }
.rg-notice { padding: 16px 20px; background: #fff7e0; border: 1px dashed #c99a00; border-radius: 8px; margin: 20px auto; }

/* ---------- Buttons ---------- */
.rg-btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--rg-ink); background: var(--rg-ink); color: var(--rg-white); font-weight: 700; font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none; line-height: 1.2; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; }
.rg-btn:hover { background: var(--rg-accent-dark); border-color: var(--rg-accent-dark); color: var(--rg-white); }
.rg-btn--accent { background: var(--rg-accent); border-color: var(--rg-accent); color: var(--rg-ink); }
.rg-btn--accent:hover { background: var(--rg-white); border-color: var(--rg-white); color: var(--rg-ink); }
.rg-btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.rg-btn--ghost:hover { background: var(--rg-white); border-color: var(--rg-white); color: var(--rg-ink); }
.rg-btn--dark { background: var(--rg-ink); border-color: var(--rg-ink); color: var(--rg-white); }
.rg-btn .rg-icon { flex-shrink: 0; }
.rg-link-btn { background: none; border: 0; padding: 0; color: var(--rg-accent-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rg-link-btn:hover { color: var(--rg-ink); }
.rg-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 6px; border: 0; background: transparent; color: var(--rg-ink); border-radius: 999px; text-decoration: none; cursor: pointer; }
.rg-icon-btn:hover { color: var(--rg-accent-dark); background: var(--rg-tint); }
.rg-icon-btn__label { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ---------- Top bar ---------- */
.rg-topbar { background: var(--rg-ink); color: #dfe4e9; font-size: 13.5px; }
.rg-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 38px; flex-wrap: wrap; }
.rg-topbar__text { margin: 0; padding: 6px 0; }
.rg-topbar__wa { display: inline-flex; align-items: center; gap: 6px; color: var(--rg-white); text-decoration: none; font-weight: 600; }
.rg-topbar__wa:hover { color: var(--rg-accent); }

/* ---------- Header ---------- */
.rg-header { position: relative; z-index: 50; background: var(--rg-white); }
.rg-header__main { border-bottom: 1px solid var(--rg-line); }
.rg-header__inner { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.rg-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--rg-ink); flex-shrink: 0; }
.rg-logo__img { width: auto; max-height: 64px; display: block; }
.rg-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.rg-logo__name { font-family: var(--rg-display); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: 0.4px; }
.rg-logo__tag { font-size: 12px; font-weight: 600; color: var(--rg-muted); letter-spacing: 1.2px; text-transform: uppercase; margin-top: 3px; }
.rg-header__search { flex: 1 1 auto; max-width: 620px; margin-left: auto; }
.rg-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.rg-header__search + .rg-actions { margin-left: 0; }
.rg-search-toggle, .rg-menu-toggle { display: none; }
.rg-cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--rg-accent); color: var(--rg-ink); font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; }
.rg-cart-count.is-empty { display: none; }

/* Search */
.rg-search { position: relative; display: flex; align-items: center; height: 48px; border: 1.5px solid #cfd5db; border-radius: 999px; background: var(--rg-tint); padding-left: 16px; overflow: hidden; }
.rg-search:focus-within { border-color: var(--rg-accent-dark); background: var(--rg-white); }
.rg-search > .rg-icon { color: var(--rg-muted); flex-shrink: 0; }
.rg-search__field { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 12px; font-size: 15px; outline: none; }
.rg-search__field::-webkit-search-cancel-button { cursor: pointer; }
.rg-search__submit { height: 100%; border: 0; padding: 0 22px; background: var(--rg-accent); color: var(--rg-ink); font-weight: 700; cursor: pointer; }
.rg-search__submit:hover { background: var(--rg-accent-dark); color: var(--rg-white); }

/* Nav (desktop bar) */
.rg-nav { background: var(--rg-tint); border-bottom: 1px solid var(--rg-line); }
.rg-nav-drawer__head { display: none; }
.rg-menu, .rg-menu ul { list-style: none; margin: 0; padding: 0; }
.rg-menu { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 4px; }
.rg-menu > li { position: relative; }
.rg-menu > li > a { display: flex; align-items: center; gap: 4px; min-height: 52px; padding: 0 12px; color: var(--rg-ink); text-decoration: none; font-family: var(--rg-display); font-weight: 700; font-size: 16.5px; letter-spacing: 0.6px; text-transform: uppercase; border-bottom: 3px solid transparent; }
.rg-menu > li > a:hover, .rg-menu > li.current-menu-item > a, .rg-menu > li.current-menu-ancestor > a, .rg-menu > li:focus-within > a { color: var(--rg-accent-dark); border-bottom-color: var(--rg-accent); }
.rg-menu > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 4px; }
.rg-submenu-toggle { display: none; }

/* Dropdown */
.rg-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--rg-white); border-radius: 0 0 var(--rg-radius) var(--rg-radius); box-shadow: var(--rg-shadow); padding: 12px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; z-index: 60; }
.rg-menu > li:hover > .sub-menu, .rg-menu > li:focus-within > .sub-menu, .rg-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.rg-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--rg-text); text-decoration: none; font-weight: 600; font-size: 15px; }
.rg-menu .sub-menu a:hover { background: var(--rg-tint); color: var(--rg-accent-dark); }
/* Second-level groups show as a mini mega menu (All Products → ranges, My Account → cart/wishlist) */
.rg-menu .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 6px 10px; min-width: 0; border-left: 2px solid var(--rg-line); margin-left: 12px; }
.rg-menu .sub-menu .menu-item-has-children > a { font-family: var(--rg-display); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 800; color: var(--rg-ink); }
.rg-menu > li > .sub-menu:has(> li > .sub-menu) { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 6px 16px; min-width: 560px; }

.rg-nav-overlay { position: fixed; inset: 0; background: rgba(17, 20, 24, 0.55); z-index: 70; }

/* ---------- Mobile header + drawer ---------- */
@media (max-width: 1023px) {
	.rg-header__inner { min-height: 68px; gap: 8px; }
	.rg-menu-toggle, .rg-search-toggle { display: inline-flex; }
	.rg-logo__img { max-height: 46px; }
	.rg-logo__name { font-size: 18px; }
	.rg-logo__tag { display: none; }
	.rg-icon-btn__label { display: none; }
	.rg-header__search { display: none; position: absolute; left: 0; right: 0; top: 100%; max-width: none; padding: 10px var(--rg-gutter) 14px; background: var(--rg-white); border-bottom: 1px solid var(--rg-line); box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
	.rg-header__main { position: relative; }
	.rg-header__search.is-open { display: block; }
	.rg-actions { margin-left: auto; }

	.rg-nav-drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); background: var(--rg-white); z-index: 80; transform: translateX(-102%); transition: transform 0.25s ease; display: flex; flex-direction: column; overflow-y: auto; box-shadow: var(--rg-shadow); }
	.rg-nav-open .rg-nav-drawer { transform: none; }
	.rg-nav-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--rg-line); }
	.rg-nav-drawer__title { font-family: var(--rg-display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
	.rg-nav { background: transparent; border: 0; }
	.rg-nav .rg-container { padding: 0; }
	.rg-menu { display: block; }
	.rg-menu li { position: relative; border-bottom: 1px solid var(--rg-line); }
	.rg-menu li li { border-bottom: 0; }
	.rg-menu > li > a { min-height: 56px; padding: 0 64px 0 20px; border-bottom: 0; font-size: 18px; }
	.rg-menu > li.menu-item-has-children > a::after { display: none; }
	.rg-submenu-toggle { display: inline-flex; position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 999px; cursor: pointer; color: var(--rg-ink); }
	.rg-submenu-toggle .rg-icon { transition: transform 0.2s; }
	.rg-submenu-toggle[aria-expanded="true"] .rg-icon { transform: rotate(180deg); }
	.rg-menu .sub-menu, .rg-menu > li > .sub-menu:has(> li > .sub-menu) { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0; min-width: 0; padding: 0 0 10px 20px; background: transparent; grid-template-columns: none; }
	.rg-menu li.is-open > .sub-menu, .rg-menu > li.is-open > .sub-menu:has(> li > .sub-menu) { display: block; }
	.rg-menu .sub-menu .sub-menu { margin-left: 4px; }
	.rg-menu .sub-menu li .rg-submenu-toggle { top: 0; }
	.rg-menu .sub-menu a { padding: 10px 56px 10px 12px; font-size: 16px; }
	.rg-nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
	.rg-logo__text { display: none; }
	.rg-hide-sm { display: none !important; }
	.rg-topbar__wa { display: none; }
	.rg-topbar__inner { justify-content: center; text-align: center; }
}
@media (min-width: 1024px) {
	.rg-nav-overlay { display: none !important; }
}

/* ---------- Page headers ---------- */
.rg-page-header, .rg-intro, .rg-shop-hero { background: var(--rg-tint); border-bottom: 1px solid var(--rg-line); }
.rg-page-header { padding: 40px 0 32px; }
.rg-page-header__title { margin: 0; }
.rg-page-header__sub { color: var(--rg-muted); margin-top: 8px; }
.rg-intro { padding: 56px 0 48px; }
.rg-intro__title { margin: 0 0 14px; font-size: clamp(2.6rem, 6vw, 4.4rem); max-width: 900px; }
.rg-intro__text { font-size: 19px; color: var(--rg-muted); max-width: 720px; margin: 0; }
.rg-breadcrumb, .woocommerce-breadcrumb { font-size: 14px; color: var(--rg-muted); margin: 0 0 14px; }
.rg-breadcrumb a, .woocommerce-breadcrumb a { color: var(--rg-muted); text-decoration: none; }
.rg-breadcrumb a:hover { color: var(--rg-accent-dark); text-decoration: underline; }
.rg-crumb-sep { margin: 0 8px; opacity: 0.6; }
.rg-shop-hero { padding: 18px 0 2px; }

/* ---------- Content ---------- */
.rg-entry { font-size: 17px; line-height: 1.7; }
.rg-entry > *:last-child { margin-bottom: 0; }
.rg-entry h2 { margin-top: 1.6em; }
.rg-entry h2:first-child { margin-top: 0; }
.rg-entry .rg-lead, .rg-lead { font-size: 21px; line-height: 1.55; color: var(--rg-ink); }
.rg-entry ul, .rg-entry ol { padding-left: 1.3em; }
.rg-checklist { list-style: none; padding: 0 !important; display: grid; gap: 12px; margin: 0 0 1.4em; }
.rg-checklist li { position: relative; padding: 14px 18px 14px 54px; background: var(--rg-tint); border-radius: var(--rg-radius); }
.rg-checklist li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--rg-accent); }
.rg-checklist li::after { content: ""; position: absolute; left: 24px; top: 20px; width: 6px; height: 11px; border-right: 2.5px solid var(--rg-ink); border-bottom: 2.5px solid var(--rg-ink); transform: rotate(45deg); }
.rg-linklist { list-style: none; padding: 0 !important; }
.rg-linklist li { padding: 10px 0; border-bottom: 1px solid var(--rg-line); }
.rg-signoff { font-family: var(--rg-display); font-size: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.rg-placeholder-note { padding: 14px 18px; border: 2px dashed #c99a00; background: #fff7e0; border-radius: 10px; font-size: 15px; }
.rg-fullwidth > .wp-block-group, .rg-fullwidth > .wp-block-columns { margin-top: 0; margin-bottom: 0; }
.rg-entry .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.rg-entry .wp-block-column { min-width: 0; }
.rg-sf { width: 100%; }
.rg-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.rg-with-sidebar--left { grid-template-columns: 260px minmax(0, 1fr); }
@media (max-width: 900px) { .rg-with-sidebar, .rg-with-sidebar--left { grid-template-columns: 1fr; } }
.rg-sidebar .widget { margin-bottom: 32px; }
.widget-title, .rg-sidebar .widget h2, .rg-sidebar .wp-block-heading { font-size: 20px; text-transform: uppercase; margin-bottom: 14px; }

/* Blog cards */
.rg-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.rg-card { display: flex; flex-direction: column; background: var(--rg-white); border: 1px solid var(--rg-line); border-radius: var(--rg-radius); overflow: hidden; }
.rg-card__media { display: block; aspect-ratio: 16 / 10; background: var(--rg-tint); }
.rg-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-card__body { padding: 20px; }
.rg-card__meta { font-size: 13px; color: var(--rg-muted); margin: 0 0 6px; }
.rg-card__title { font-size: 24px; margin: 0 0 8px; }
.rg-card__title a { color: var(--rg-ink); text-decoration: none; }
.rg-empty { text-align: center; padding: 40px 0; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.nav-links .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rg-line); text-decoration: none; color: var(--rg-ink); font-weight: 600; }
.nav-links .page-numbers.current { background: var(--rg-ink); color: var(--rg-white); border-color: var(--rg-ink); }

/* ---------- Hero ---------- */
.rg-hero { position: relative; background: var(--rg-ink); color: var(--rg-white); overflow: hidden; }
.rg-hero__track { display: grid; }
.rg-hero__slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; display: flex; align-items: center; min-height: 560px; }
.rg-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.rg-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 96px; }
.rg-hero__eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 6px; background: var(--rg-accent); color: var(--rg-ink); font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.rg-hero__title { color: var(--rg-white); font-size: clamp(3rem, 7.5vw, 6.4rem); line-height: 0.92; text-transform: uppercase; font-style: italic; margin: 0 0 18px; letter-spacing: -0.5px; overflow-wrap: anywhere; }
.rg-hero__text { font-size: 19px; color: #c9d0d7; max-width: 520px; margin: 0 0 18px; }
.rg-hero__price { font-family: var(--rg-display); font-size: 38px; font-weight: 800; color: var(--rg-white); margin: 0 0 24px; }
.rg-hero__price del { color: #9aa3ad; font-size: 0.6em; margin-right: 10px; }
.rg-hero__price ins { text-decoration: none; color: var(--rg-accent); }
.rg-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.rg-hero__media { display: block; background: var(--rg-white); border-radius: var(--rg-radius-lg); aspect-ratio: 1 / 1; padding: 6%; max-width: 560px; width: 100%; justify-self: end; }
.rg-hero__media .rg-hero__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rg-hero__slide--banner .rg-hero__inner { grid-template-columns: minmax(0, 640px); }
.rg-hero__bg { position: absolute; inset: 0; }
.rg-hero__bg .rg-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,20,24,0.88) 0%, rgba(17,20,24,0.55) 45%, rgba(17,20,24,0.05) 85%); }
.rg-hero__controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 14px; }
.rg-hero__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.5); background: transparent; color: var(--rg-white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rg-hero__arrow:hover { background: var(--rg-white); color: var(--rg-ink); }
.rg-hero__dots { display: flex; gap: 4px; }
.rg-hero__dot { width: 32px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.rg-hero__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.35); transition: background 0.2s; }
.rg-hero__dot.is-active::before { background: var(--rg-accent); }
@media (max-width: 900px) {
	.rg-hero__slide { min-height: 0; align-items: stretch; }
	.rg-hero__inner { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; padding-bottom: 90px; }
	.rg-hero__media { order: -1; justify-self: center; max-width: 420px; aspect-ratio: 4 / 3; max-height: 260px; padding: 4%; }
	.rg-hero__slide--banner { min-height: 520px; align-items: flex-end; }
	.rg-hero__bg::after { background: linear-gradient(0deg, rgba(17,20,24,0.92) 0%, rgba(17,20,24,0.6) 55%, rgba(17,20,24,0.15) 100%); }
	.rg-hero__text { font-size: 17px; }
	.rg-hero__price { font-size: 30px; }
	.rg-hero__controls { bottom: 20px; justify-content: center; }
}

/* ---------- Trust bar ---------- */
.rg-trust { border-bottom: 1px solid var(--rg-line); background: var(--rg-white); }
.rg-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.rg-trust__item { display: flex; align-items: center; gap: 14px; }
.rg-trust__icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: #e8f3fb; color: var(--rg-accent-dark); display: inline-flex; align-items: center; justify-content: center; }
.rg-trust__title { margin: 0; font-weight: 700; color: var(--rg-ink); }
.rg-trust__text { margin: 0; font-size: 14px; color: var(--rg-muted); line-height: 1.4; }
@media (max-width: 900px) { .rg-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .rg-trust__icon { width: 44px; height: 44px; } .rg-trust__icon .rg-icon { width: 24px; height: 24px; } .rg-trust__item { gap: 10px; } .rg-trust__title { font-size: 15px; } .rg-trust__text { font-size: 13px; } }

/* ---------- Section heading ---------- */
.rg-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.rg-heading__title { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.rg-heading__sub { margin: 6px 0 0; color: var(--rg-muted); font-size: 17px; }
.rg-heading__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--rg-accent-dark); white-space: nowrap; min-height: 44px; }
.rg-heading__link:hover { color: var(--rg-ink); }

/* ---------- Category tiles ---------- */
.rg-cats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.rg-cat { position: relative; display: flex; flex-direction: column; background: var(--rg-tint); border-radius: var(--rg-radius-lg); padding: 18px; text-decoration: none; color: var(--rg-ink); transition: transform 0.2s, box-shadow 0.2s; }
.rg-cat:hover { transform: translateY(-3px); box-shadow: var(--rg-shadow); color: var(--rg-ink); }
.rg-cat__media { display: block; aspect-ratio: 1 / 1; margin-bottom: 14px; }
.rg-cat__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: flex; align-items: center; justify-content: center; }
.rg-cat__img--empty { color: #aab3bc; }
.rg-cat__name { display: block; font-family: var(--rg-display); font-weight: 800; font-size: 22px; line-height: 1.05; text-transform: uppercase; padding-right: 48px; }
.rg-cat__meta { display: block; font-size: 14px; color: var(--rg-muted); margin-top: 4px; }
.rg-cat__go { position: absolute; right: 16px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--rg-ink); color: var(--rg-white); display: inline-flex; align-items: center; justify-content: center; }
.rg-cat:hover .rg-cat__go { background: var(--rg-accent); color: var(--rg-ink); }
@media (max-width: 560px) { .rg-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .rg-cat { padding: 12px; border-radius: var(--rg-radius); } .rg-cat__name { font-size: 18px; padding-right: 0; } .rg-cat__go { display: none; } }

/* ---------- Product rows ---------- */
.rg-products-row--tint { background: var(--rg-tint); }

/* ---------- Brand story ---------- */
.rg-story__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.rg-story__title { font-size: clamp(2.6rem, 5vw, 4rem); font-style: italic; }
.rg-story__text { font-size: 19px; color: var(--rg-muted); max-width: 620px; margin-bottom: 26px; }
.rg-story__badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rg-story__badges li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--rg-line); border-radius: var(--rg-radius); font-weight: 700; font-size: 17px; color: var(--rg-ink); }
.rg-story__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--rg-ink); color: var(--rg-accent); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .rg-story__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- CTA band ---------- */
.rg-cta-wrap { padding-top: 24px; padding-bottom: 24px; }
.rg-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 40px 44px; border-radius: var(--rg-radius-lg); }
.rg-cta--dark { background: var(--rg-ink); color: var(--rg-white); }
.rg-cta--accent { background: var(--rg-accent); color: var(--rg-ink); }
.rg-cta--light { background: var(--rg-tint); color: var(--rg-ink); }
.rg-cta__icon { width: 80px; height: 80px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: var(--rg-accent); }
.rg-cta--accent .rg-cta__icon { background: var(--rg-ink); color: var(--rg-accent); }
.rg-cta--light .rg-cta__icon { background: var(--rg-ink); color: var(--rg-accent); }
.rg-cta__title { color: inherit; margin: 0 0 8px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.rg-cta__text { margin: 0; font-size: 17px; opacity: 0.9; max-width: 640px; }
.rg-cta--dark .rg-eyebrow { color: var(--rg-accent); }
.rg-cta--accent .rg-eyebrow { color: var(--rg-ink); }
.rg-cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.rg-cta--accent .rg-btn--accent { background: var(--rg-ink); border-color: var(--rg-ink); color: var(--rg-white); }
.rg-cta--accent .rg-btn--accent:hover { background: var(--rg-white); border-color: var(--rg-white); color: var(--rg-ink); }
.rg-cta--light .rg-btn--ghost:hover { background: var(--rg-ink); border-color: var(--rg-ink); color: var(--rg-white); }
@media (max-width: 900px) { .rg-cta { grid-template-columns: 1fr; padding: 32px 24px; gap: 18px; } .rg-cta__icon { width: 64px; height: 64px; } .rg-cta__buttons { justify-content: flex-start; } }

/* ---------- #TeamRG ---------- */
.rg-teamrg { background: var(--rg-ink); color: var(--rg-white); }
.rg-teamrg__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.rg-teamrg__title { color: var(--rg-accent); font-size: clamp(3.2rem, 9vw, 7rem); font-style: italic; line-height: 0.9; margin: 0 0 12px; }
.rg-teamrg__text { color: #c9d0d7; font-size: 18px; max-width: 620px; margin: 0; }
.rg-teamrg__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.rg-contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
.rg-contact-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--rg-radius-lg); background: var(--rg-tint); color: var(--rg-ink); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.rg-contact-card:hover { transform: translateY(-3px); box-shadow: var(--rg-shadow); color: var(--rg-ink); }
.rg-contact-card__icon { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--rg-ink); color: var(--rg-accent); margin-bottom: 10px; }
.rg-contact-card--wa .rg-contact-card__icon { background: var(--rg-wa); color: var(--rg-white); }
.rg-contact-card__label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rg-muted); }
.rg-contact-card__value { font-family: var(--rg-display); font-size: 26px; font-weight: 800; overflow-wrap: anywhere; line-height: 1.1; }
.rg-contact-card__cta { font-size: 15px; color: var(--rg-accent-dark); font-weight: 600; }
.rg-contact-hours { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--rg-muted); font-size: 15px; }

/* ---------- Size finder (adapted from the RG Glove Size Finder block) ---------- */
.rg-sf { position: relative; overflow: hidden; background: var(--rg-white); border: 1px solid #dde2e6; border-radius: var(--rg-radius); max-width: 460px; margin: 0 auto; font-family: var(--rg-font); color: #1a1a1a; }
.rg-sf__watermark { position: absolute; top: 58%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 300px; object-fit: contain; opacity: 0.04; pointer-events: none; }
.rg-sf__head { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #eee; }
.rg-sf__logo { width: 52px; height: 52px; object-fit: contain; }
.rg-sf__title { margin: 0; font-size: 18px; font-weight: 700; }
.rg-sf__subtitle { margin: 3px 0 0; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rg-accent-dark); }
.rg-sf__body { position: relative; padding: 20px 18px 18px; }
.rg-sf__steps { display: flex; gap: 14px; align-items: center; background: #f0f7fc; border: 1px solid #e0eef8; border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.rg-sf__hand { flex-shrink: 0; width: 80px; height: auto; object-fit: contain; }
.rg-sf__steps-title { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.rg-sf__list { margin: 0; padding: 0; list-style: none; counter-reset: rgsf; }
.rg-sf__list li { counter-increment: rgsf; position: relative; padding-left: 28px; margin-bottom: 7px; font-size: 13.5px; line-height: 1.45; color: #444; }
.rg-sf__list li::before { content: counter(rgsf); position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--rg-accent); color: var(--rg-ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rg-sf__label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.rg-sf__hint { font-size: 12.5px; color: #6b7280; margin: 0 0 14px; }
.rg-sf__range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; --rg-pct: 50%; }
.rg-sf__range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--rg-accent) var(--rg-pct), #e2e2e2 var(--rg-pct)); }
.rg-sf__range::-moz-range-track { height: 6px; border-radius: 3px; background: #e2e2e2; }
.rg-sf__range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--rg-accent); }
.rg-sf__range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -13px; border-radius: 50%; background: var(--rg-white); border: 3px solid var(--rg-accent); box-shadow: 0 2px 6px rgba(90,174,224,0.45); }
.rg-sf__range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--rg-white); border: 3px solid var(--rg-accent); box-shadow: 0 2px 6px rgba(90,174,224,0.45); }
.rg-sf__ticks { display: flex; justify-content: space-between; padding: 0 6px; font-size: 11px; color: #8a929a; margin-top: -4px; }
.rg-sf__ticks span { position: relative; width: 20px; text-align: center; padding-top: 10px; }
.rg-sf__ticks span::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 8px; background: #bbb; }
.rg-sf__readout { text-align: center; font-size: 28px; font-weight: 900; margin: 10px 0; }
.rg-sf__readout small { font-size: 15px; color: #8a929a; font-weight: 700; }
.rg-sf__result { position: relative; overflow: hidden; background: #000; border-radius: 12px; padding: 22px 20px; text-align: center; }
.rg-sf__result::after { content: ""; position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--rg-accent); opacity: 0.14; pointer-events: none; }
.rg-sf__result-label { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--rg-accent); }
.rg-sf__size { margin: 0; font-size: 60px; font-weight: 900; line-height: 1; color: var(--rg-white); font-family: var(--rg-display); }
.rg-sf__range-label { margin: 6px 0 0; font-size: 13px; color: #a3abb3; }
.rg-sf__shop { margin-top: 16px; position: relative; z-index: 1; }
.rg-sf__foot { position: relative; margin: 0; padding: 12px; text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8a929a; background: #f7f7f7; border-top: 1px solid #eee; }

.rg-size-table-wrap { overflow-x: auto; margin-bottom: 1.4em; }
.rg-size-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.rg-size-table caption { text-align: left; font-size: 14px; color: var(--rg-muted); margin-bottom: 10px; }
.rg-size-table th, .rg-size-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rg-line); }
.rg-size-table thead th { background: var(--rg-ink); color: var(--rg-white); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.rg-size-table tbody tr:nth-child(even) { background: var(--rg-tint); }
.rg-size-table td strong { font-family: var(--rg-display); font-size: 20px; }

/* Dialog (size finder on product page) */
.rg-dialog { border: 0; padding: 0; border-radius: var(--rg-radius); max-width: min(480px, calc(100vw - 24px)); width: 100%; max-height: calc(100vh - 24px); overflow: auto; background: transparent; }
.rg-dialog::backdrop { background: rgba(17, 20, 24, 0.6); }
.rg-dialog .rg-sf { max-width: none; }
.rg-dialog__close { position: absolute; top: 10px; right: 10px; z-index: 5; background: var(--rg-white); }

/* ---------- Footer ---------- */
.rg-footer { background: var(--rg-ink); color: #c4ccd4; font-size: 15px; }
.rg-footer a { color: #e6eaee; text-decoration: none; }
.rg-footer a:hover { color: var(--rg-accent); }
.rg-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.rg-footer .rg-logo { color: var(--rg-white); margin-bottom: 18px; }
/* Footer logo: the normal logo sits on a white badge so any logo (transparent or not) reads on the dark footer.
   Upload a dark-background version under Customize → RG Keeper theme → Footer to show it without the badge. */
.rg-footer .rg-logo__img { max-height: 64px; width: auto; background: var(--rg-white); border-radius: 12px; padding: 6px; }
.rg-footer .rg-logo__img--footer { background: none; border-radius: 0; padding: 0; max-height: 72px; }
.rg-footer .rg-logo__tag { color: #9aa4ae; }
.rg-footer__about { max-width: 380px; line-height: 1.6; }
.rg-footer__title { color: var(--rg-white); font-size: 20px; letter-spacing: 0.6px; margin-bottom: 16px; }
.rg-footer__links, .rg-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rg-footer__links a { display: inline-block; padding: 6px 0; }
.rg-footer__contact li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.rg-footer__contact .rg-icon { color: var(--rg-accent); flex-shrink: 0; }
.rg-social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 8px; }
.rg-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a424b; display: inline-flex; align-items: center; justify-content: center; }
.rg-social a:hover { background: var(--rg-accent); border-color: var(--rg-accent); color: var(--rg-ink); }
.rg-footer__bottom { border-top: 1px solid #262c33; }
.rg-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; font-size: 13.5px; color: #9aa4ae; }
.rg-footer__bottom p { margin: 0; }
.rg-pay { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.rg-pay li { border: 1px solid #3a424b; border-radius: 6px; padding: 4px 10px; font-size: 12.5px; color: #c4ccd4; }
@media (max-width: 900px) { .rg-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rg-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .rg-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding-top: 48px; } .rg-footer__col:last-child { grid-column: 1 / -1; } .rg-footer__links a { padding: 4px 0; } }

/* WhatsApp float */
.rg-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--rg-wa); color: var(--rg-white); font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,0.25); transition: transform 0.15s; }
.rg-wa-float:hover { color: var(--rg-white); transform: translateY(-2px); }
@media (max-width: 600px) { .rg-wa-float { right: 14px; bottom: 14px; } }

/* 404 */
.rg-404__title { font-size: clamp(3rem, 8vw, 5.5rem); font-style: italic; }
.rg-404 .rg-search { max-width: 520px; margin: 28px auto; }

/* Comments */
.rg-comments { margin-top: 48px; }
.rg-comments__list { list-style: none; padding: 0; }

/* Elementor: let our full-width sections breathe edge to edge */
.rg-fullwidth .elementor-section.elementor-section-full_width > .elementor-container { max-width: none; }
.elementor-widget-shortcode .rg-section:first-child { margin-top: 0; }

/* Elementor widgets created by the RG demo keep the theme look (overrides Elementor's default kit fonts/colours) */
.rg-el-heading.elementor-widget-heading .elementor-heading-title { font-family: var(--rg-display); font-weight: 800; color: var(--rg-ink); text-transform: uppercase; line-height: 1.05; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.rg-el-text.elementor-widget-text-editor { font-family: var(--rg-font); color: var(--rg-text); font-size: 17px; line-height: 1.7; }
.rg-el-button.elementor-widget-button .elementor-button { font-family: var(--rg-font); background: var(--rg-ink); color: var(--rg-white); border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase; }
.rg-el-button.elementor-widget-button .elementor-button:hover { background: var(--rg-accent-dark); }

/* ---------- #TeamRG members ---------- */
.rg-team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.rg-member { display: flex; flex-direction: column; background: var(--rg-white); border: 1px solid var(--rg-line); border-radius: var(--rg-radius-lg); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.rg-member:hover { box-shadow: var(--rg-shadow); transform: translateY(-3px); }
.rg-member__media { position: relative; aspect-ratio: 4 / 3; background: var(--rg-tint); overflow: hidden; }
.rg-member__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.rg-member__badge { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 6px; background: var(--rg-accent); color: var(--rg-ink); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.rg-member__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rg-member__name { margin: 0; font-size: 28px; text-transform: uppercase; line-height: 1; }
.rg-member__name a { display: inline-flex; align-items: center; gap: 8px; color: var(--rg-ink); text-decoration: none; }
.rg-member__name a:hover { color: var(--rg-accent-dark); }
.rg-member__name .rg-icon { color: var(--rg-accent-dark); flex-shrink: 0; }
.rg-member__role { margin: 0; font-weight: 600; color: var(--rg-text); }
.rg-member__role a { font-weight: 700; }
.rg-member__highlights { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rg-member__highlights li { padding: 5px 10px; border-radius: 999px; background: #e8f3fb; color: var(--rg-ink); font-size: 13.5px; font-weight: 600; }
.rg-member__tagline { margin: auto 0 0; padding-top: 6px; color: var(--rg-muted); font-style: italic; }
.rg-member--badge { border-color: var(--rg-accent); box-shadow: 0 0 0 1px var(--rg-accent) inset; }
.rg-member__media--contain img { object-fit: contain; padding: 12%; background: var(--rg-white); }

/* ---------- Robustness: always full width, never boxed by leftover plugin/theme CSS ---------- */
html { margin: 0 !important; padding: 0 !important; max-width: none !important; background: var(--rg-white); }
body.rg-keeper-theme { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; float: none !important; box-shadow: none !important; overflow-x: clip; }
.rg-header, .rg-main, .rg-footer { width: 100%; max-width: none; float: none; }
.rg-header__inner > * { min-width: 0; }
.rg-header__search { flex: 1 1 240px; }
@media (min-width: 1024px) and (max-width: 1279px) {
	.rg-header__inner { gap: 16px; }
	.rg-icon-btn__label { display: none; }
	.rg-logo__name { font-size: 18px; }
	.rg-menu > li > a { padding: 0 8px; font-size: 15px; letter-spacing: 0.3px; }
}
@media (max-width: 600px) { .rg-wa-float { width: auto; padding: 0 16px 0 12px; min-height: 50px; } .rg-wa-float__label { display: inline; font-size: 14px; } }
