/*
Theme Name: R&M Distribution Final
Theme URI: https://rmdist.com
Author: R&M Distribution
Description: A professional responsive WordPress theme for R&M Distribution Ltd with WooCommerce support, quote upload, R&M text logo, local SEO structure and industrial wholesale styling.
Version: 4.0.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: rm-distribution-final
*/

:root {
  --rm-navy: #071827;
  --rm-navy-2: #0c263d;
  --rm-navy-3: #123a59;
  --rm-green: #00a66a;
  --rm-green-dark: #007f55;
  --rm-green-soft: #e7f7f1;
  --rm-white: #ffffff;
  --rm-paper: #f5f8fa;
  --rm-line: #dce7ec;
  --rm-text: #1c2f3b;
  --rm-muted: #637887;
  --rm-max: 1180px;
  --rm-radius: 22px;
  --rm-header-height: 76px;
  --rm-shadow: 0 18px 50px rgba(7, 24, 39, 0.10);
  --rm-shadow-heavy: 0 28px 78px rgba(7, 24, 39, 0.26);
}

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

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

body {
  margin: 0;
  color: var(--rm-text);
  background: var(--rm-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--rm-green);
  color: var(--rm-white);
  font-weight: 900;
}

.skip-link:focus {
  top: 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 24, 39, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--rm-header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

/* R&M text logo */

.brand.text-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  max-width: 330px;
  color: var(--rm-white);
}

.text-logo-mark {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  line-height: 0.9;
  white-space: nowrap;
  letter-spacing: -0.08em;
}

.text-logo-r,
.text-logo-m,
.text-logo-amp {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  color: var(--rm-green);
  text-shadow: 0 8px 24px rgba(0, 166, 106, 0.16);
}

.text-logo-r,
.text-logo-m {
  font-size: 40px;
  line-height: 0.85;
}

.text-logo-amp {
  position: relative;
  top: -6px;
  margin-inline: 1px 5px;
  font-size: 24px;
  line-height: 1;
}

.text-logo-copy {
  display: block;
  min-width: 0;
  max-width: 170px;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.text-logo-main {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
  color: var(--rm-white);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand.text-logo:hover .text-logo-r,
.brand.text-logo:hover .text-logo-m,
.brand.text-logo:hover .text-logo-amp {
  color: #18c986;
}

/* Main navigation */

.nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 2px;
  background: var(--rm-green);
  transition: right 180ms ease;
}

.nav a:hover {
  color: var(--rm-white);
}

.nav a:hover::after {
  right: 0;
}

/* Header actions */

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.header-email,
.header-phone,
.header-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
}

.header-email {
  color: var(--rm-white);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.header-phone {
  background: var(--rm-green);
  color: var(--rm-white);
  box-shadow: 0 14px 34px rgba(0, 166, 106, 0.24);
}

.header-shop {
  background: var(--rm-white);
  color: var(--rm-navy);
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.08);
}

.header-phone:hover,
.header-shop:hover {
  background: var(--rm-green-dark);
  color: var(--rm-white);
}

/* Hero */

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--rm-white);
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 166, 106, 0.26), transparent 30%),
    linear-gradient(135deg, var(--rm-navy) 0%, var(--rm-navy-2) 54%, #05111c 100%);
}

.hero.has-image {
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.98) 0%, rgba(7, 24, 39, 0.94) 35%, rgba(7, 24, 39, 0.70) 60%, rgba(7, 24, 39, 0.20) 100%),
    var(--rm-hero-image) center right / cover no-repeat,
    linear-gradient(135deg, var(--rm-navy), var(--rm-navy-2));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.66;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: 46px;
  align-items: center;
  padding-block: 88px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(0, 166, 106, 0.15);
  border: 1px solid rgba(0, 166, 106, 0.30);
  color: #c8f5e4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--rm-green);
  box-shadow: 0 0 0 6px rgba(0, 166, 106, 0.15);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 24px 0 20px;
  max-width: 800px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 21px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--rm-green);
  color: var(--rm-white);
  box-shadow: 0 18px 44px rgba(0, 166, 106, 0.28);
}

.button-primary:hover {
  background: var(--rm-green-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.20);
  color: var(--rm-white);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.hero-panel {
  padding: 25px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--rm-shadow-heavy);
  backdrop-filter: blur(18px);
}

.panel-title {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.panel-title strong {
  font-size: 24px;
  line-height: 1.12;
}

.panel-title span {
  color: rgba(255, 255, 255, 0.70);
}

.panel-list {
  display: grid;
  gap: 12px;
}

.panel-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
  padding: 14px;
  border-radius: 17px;
  background: rgba(7, 24, 39, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.panel-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 166, 106, 0.18);
  color: #c8f5e4;
  font-weight: 900;
}

.panel-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--rm-white);
  font-size: 15px;
  line-height: 1.2;
}

.panel-item span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.45;
}

/* Trust strip */

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -44px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 24px;
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
  box-shadow: var(--rm-shadow);
}

.trust-item {
  padding: 24px;
  border-right: 1px solid var(--rm-line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rm-navy);
  font-size: 24px;
  line-height: 1.05;
}

.trust-item span {
  display: block;
  color: var(--rm-muted);
  font-size: 14px;
  font-weight: 800;
}

/* Sections */

.section {
  padding: 84px 0;
}

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

.section-navy {
  background: var(--rm-navy);
  color: var(--rm-white);
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--rm-green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-navy .kicker,
.quote-copy .kicker,
.service-panel .kicker {
  color: #c8f5e4;
}

h2 {
  margin: 0 0 14px;
  color: var(--rm-navy);
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-navy h2,
.quote-copy h2,
.service-panel h2 {
  color: var(--rm-white);
}

.section-head p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 18px;
}

.section-navy .section-head p {
  color: rgba(255, 255, 255, 0.73);
}

/* Products */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  position: relative;
  min-height: 240px;
  display: grid;
  align-content: start;
  gap: 15px;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--rm-radius);
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
  box-shadow: 0 14px 40px rgba(7, 24, 39, 0.06);
}

.product-card::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -54px;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: var(--rm-green-soft);
}

.product-number {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--rm-green-soft);
  color: var(--rm-green-dark);
  font-weight: 900;
}

.product-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--rm-navy);
  font-size: 22px;
  line-height: 1.15;
}

.product-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--rm-muted);
}

/* Image cards */

.media-band {
  padding: 72px 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(0, 166, 106, 0.10), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--rm-paper) 100%);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: 20px;
  align-items: stretch;
}

.media-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  background: var(--rm-navy);
  box-shadow: var(--rm-shadow);
  aspect-ratio: 4 / 3;
  max-height: 390px;
}

.media-card:first-child {
  aspect-ratio: 16 / 10;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 24, 39, 0.03) 0%, rgba(7, 24, 39, 0.82) 100%);
  pointer-events: none;
}

.media-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: var(--rm-white);
}

.media-caption strong {
  display: block;
  margin-bottom: 6px;
  font-size: 21px;
  line-height: 1.12;
}

.media-caption span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.placeholder-card {
  min-height: 300px;
  display: grid;
  align-content: end;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 166, 106, 0.23), transparent 28%),
    linear-gradient(135deg, var(--rm-navy), var(--rm-navy-3));
  color: var(--rm-white);
  box-shadow: var(--rm-shadow);
}

/* Why R&M */

.split-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: start;
}

.service-panel {
  position: sticky;
  top: 104px;
  overflow: hidden;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 15%, rgba(0, 166, 106, 0.23), transparent 30%),
    linear-gradient(135deg, var(--rm-navy), var(--rm-navy-2));
  color: var(--rm-white);
  box-shadow: var(--rm-shadow-heavy);
}

.service-panel p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.check-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(255, 255, 255, 0.80);
}

.check-item span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rm-green);
  color: var(--rm-white);
  font-weight: 900;
}

.range-list {
  display: grid;
  gap: 14px;
}

.range-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: 21px;
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
}

.range-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--rm-green-soft);
  color: var(--rm-green-dark);
  font-weight: 900;
  font-size: 18px;
}

.range-row h3 {
  margin: 0 0 6px;
  color: var(--rm-navy);
  font-size: 21px;
}

.range-row p {
  margin: 0;
  color: var(--rm-muted);
}

/* Sectors */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.sector-pill {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

/* Local and FAQ */

.local-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.local-card,
.faq-item {
  padding: 30px;
  border-radius: var(--rm-radius);
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
  box-shadow: 0 12px 34px rgba(7, 24, 39, 0.05);
}

.local-card h3,
.faq-item h3 {
  margin: 0 0 10px;
  color: var(--rm-navy);
  font-size: 24px;
}

.local-card p,
.faq-item p {
  margin: 0;
  color: var(--rm-muted);
}

/* Quote upload */

.quote-upload-section {
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 166, 106, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--rm-paper) 100%);
}

.quote-upload-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: start;
}

.quote-copy {
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 166, 106, 0.24), transparent 32%),
    linear-gradient(135deg, var(--rm-navy), var(--rm-navy-2));
  color: var(--rm-white);
  box-shadow: var(--rm-shadow-heavy);
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.quote-benefits {
  display: grid;
  gap: 13px;
  margin: 24px 0;
}

.quote-benefits div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.quote-benefits strong {
  display: block;
  margin-bottom: 4px;
  color: var(--rm-white);
  font-size: 16px;
}

.quote-benefits span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.quote-note {
  margin-bottom: 0;
  font-size: 15px !important;
}

.quote-form-card {
  padding: 30px;
  border-radius: 28px;
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
  box-shadow: var(--rm-shadow);
}

.quote-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 7px;
}

.quote-form label span {
  color: var(--rm-navy);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid var(--rm-line);
  background: var(--rm-white);
  color: var(--rm-text);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--rm-green);
  box-shadow: 0 0 0 4px rgba(0, 166, 106, 0.12);
}

.quote-form textarea {
  min-height: 140px;
  resize: vertical;
}

.file-upload-box {
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed #b9c8cf;
  background: var(--rm-paper);
}

.file-upload-box input {
  padding: 12px;
  background: var(--rm-white);
}

.file-upload-box small {
  color: var(--rm-muted);
  font-weight: 700;
}

.quote-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.quote-privacy {
  margin: 0;
  color: var(--rm-muted);
  font-size: 13px;
}

.quote-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
}

.quote-alert-success {
  background: var(--rm-green-soft);
  color: var(--rm-green-dark);
  border: 1px solid rgba(0, 166, 106, 0.22);
}

.quote-alert-error {
  background: #fff2f2;
  color: #9f2727;
  border: 1px solid #f0c1c1;
}

/* Contact */

.contact-section {
  background: var(--rm-paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
}

.contact-card,
.enquiry-card {
  padding: 32px;
  border-radius: 28px;
  box-shadow: var(--rm-shadow);
}

.contact-card {
  background: var(--rm-navy);
  color: var(--rm-white);
}

.enquiry-card {
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
}

.contact-card h2,
.enquiry-card h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.2vw, 42px);
}

.contact-card h2 {
  color: var(--rm-white);
}

.contact-line {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-line span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.contact-line a,
.contact-line strong {
  display: block;
  color: var(--rm-white);
  font-size: 18px;
  line-height: 1.35;
}

.enquiry-card p {
  margin: 0 0 22px;
  color: var(--rm-muted);
  font-size: 18px;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: var(--rm-muted);
}

.detail-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rm-green-soft);
  color: var(--rm-green-dark);
  font-weight: 900;
}

/* WooCommerce */

.woo-store-page {
  background: var(--rm-paper);
}

.woo-store-intro {
  margin-bottom: 34px;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 166, 106, 0.16), transparent 28%),
    linear-gradient(135deg, var(--rm-navy), var(--rm-navy-2));
  color: var(--rm-white);
  box-shadow: var(--rm-shadow-heavy);
}

.woo-store-intro h1 {
  margin: 12px 0 14px;
  max-width: 780px;
  color: var(--rm-white);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.woo-store-intro p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.woocommerce .woocommerce-products-header__title.page-title {
  display: none;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: 22px;
  color: var(--rm-muted);
  font-weight: 700;
}

.woocommerce .woocommerce-ordering select {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--rm-line);
  border-radius: 12px;
  background: var(--rm-white);
  color: var(--rm-text);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
}

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

.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 18px;
  border-radius: 22px;
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
  box-shadow: 0 14px 40px rgba(7, 24, 39, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
  box-shadow: var(--rm-shadow);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: var(--rm-paper);
  margin: 0 0 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  margin: 0 0 8px;
  color: var(--rm-navy);
  font-size: 19px;
  line-height: 1.2;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--rm-green-dark);
  font-weight: 900;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--rm-green);
  color: var(--rm-white);
  font-weight: 900;
  border: 0;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--rm-green-dark);
  color: var(--rm-white);
}

.woocommerce div.product {
  padding: 30px;
  border-radius: 28px;
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
  box-shadow: var(--rm-shadow);
}

.woocommerce div.product div.images img {
  border-radius: 22px;
  background: var(--rm-paper);
}

.woocommerce div.product .product_title {
  color: var(--rm-navy);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.woocommerce table.shop_table {
  border-radius: 22px;
  overflow: hidden;
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
}

.woocommerce .cart_totals,
.woocommerce .woocommerce-checkout-review-order {
  padding: 24px;
  border-radius: 22px;
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
  box-shadow: 0 14px 40px rgba(7, 24, 39, 0.06);
}

/* Footer */

.site-footer {
  padding: 28px 0;
  background: #05111c;
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner strong {
  color: var(--rm-white);
}

/* Responsive */

@media (max-width: 1360px) {
  .header-email {
    display: none;
  }

  .nav {
    gap: 14px;
    font-size: 12.5px;
  }
}

@media (max-width: 1200px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .brand.text-logo {
    max-width: none;
  }
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 640px;
  }

  .product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-card:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    max-height: 360px;
  }

  .split-grid,
  .quote-upload-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-panel {
    position: static;
  }

  .sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  :root {
    --rm-header-height: 68px;
  }

  .wrapper {
    width: min(100% - 28px, var(--rm-max));
  }

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

  .header-inner {
    gap: 10px;
  }

  .text-logo-r,
  .text-logo-m {
    font-size: 36px;
  }

  .text-logo-amp {
    top: -5px;
    font-size: 22px;
  }

  .text-logo-copy {
    max-width: 145px;
    padding-left: 10px;
  }

  .text-logo-main {
    font-size: 17px;
  }

  .header-shop,
  .header-phone {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero.has-image {
    background:
      linear-gradient(180deg, rgba(7, 24, 39, 0.94) 0%, rgba(7, 24, 39, 0.88) 100%),
      var(--rm-hero-image) center center / cover no-repeat,
      linear-gradient(135deg, var(--rm-navy), var(--rm-navy-2));
  }

  .hero-inner {
    padding-block: 56px 78px;
    gap: 28px;
  }

  .hero-ctas {
    margin-top: 26px;
  }

  .button {
    width: 100%;
  }

  .hero-panel,
  .quote-copy,
  .quote-form-card,
  .contact-card,
  .enquiry-card {
    padding: 24px;
    border-radius: 23px;
  }

  .trust-strip {
    margin-top: -36px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    padding: 18px;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--rm-line);
  }

  .section {
    padding: 58px 0;
  }

  .product-grid,
  .media-grid,
  .local-grid,
  .faq-grid,
  .form-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .media-card,
  .media-card:first-child {
    grid-column: auto;
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }

  .range-row {
    grid-template-columns: 1fr;
  }

  .sector-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quote-submit {
    width: 100%;
  }

  .woo-store-intro,
  .woocommerce div.product {
    padding: 24px;
    border-radius: 23px;
  }
}

@media (max-width: 560px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 500px) {
  .text-logo-copy {
    display: none;
  }

  .brand.text-logo {
    max-width: 122px;
  }
}

@media (max-width: 420px) {
  .trust-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--rm-line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }
}


/* Shop coming soon landing page */

.shop-soon-page {
  background:
    radial-gradient(circle at 80% 16%, rgba(0, 166, 106, 0.10), transparent 28%),
    linear-gradient(180deg, var(--rm-paper) 0%, #ffffff 100%);
}

.shop-soon-hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 166, 106, 0.22), transparent 30%),
    linear-gradient(135deg, var(--rm-navy), var(--rm-navy-2));
  color: var(--rm-white);
  box-shadow: var(--rm-shadow-heavy);
}

.shop-soon-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.58;
  pointer-events: none;
}

.shop-soon-hero > * {
  position: relative;
  z-index: 1;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(0, 166, 106, 0.15);
  border: 1px solid rgba(0, 166, 106, 0.32);
  color: #c8f5e4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.launch-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--rm-green);
  box-shadow: 0 0 0 6px rgba(0, 166, 106, 0.15);
}

.shop-soon-hero h1 {
  margin: 24px 0 18px;
  max-width: 840px;
  color: var(--rm-white);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.shop-soon-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.shop-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.shop-soon-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: start;
  margin-top: 28px;
}

.shop-soon-card {
  padding: 30px;
  border-radius: 28px;
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
  box-shadow: var(--rm-shadow);
}

.shop-soon-card h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.5vw, 46px);
}

.shop-soon-card p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 17px;
}

.shop-soon-checks {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.shop-soon-check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--rm-muted);
  font-weight: 700;
}

.shop-soon-check span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rm-green-soft);
  color: var(--rm-green-dark);
  font-weight: 900;
}

.shop-soon-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.shop-soon-product {
  min-height: 118px;
  padding: 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 18%, rgba(0, 166, 106, 0.11), transparent 30%),
    var(--rm-white);
  border: 1px solid var(--rm-line);
  box-shadow: 0 12px 34px rgba(7, 24, 39, 0.05);
}

.shop-soon-product strong {
  display: block;
  margin-bottom: 7px;
  color: var(--rm-navy);
  font-size: 18px;
  line-height: 1.15;
}

.shop-soon-product span {
  display: block;
  color: var(--rm-muted);
  font-size: 14px;
  line-height: 1.45;
}

.shop-soon-contact {
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 166, 106, 0.18), transparent 30%),
    linear-gradient(135deg, var(--rm-navy), var(--rm-navy-2));
  color: var(--rm-white);
  box-shadow: var(--rm-shadow-heavy);
}

.shop-soon-contact h2 {
  color: var(--rm-white);
  font-size: clamp(30px, 3.4vw, 44px);
}

.shop-soon-contact p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.shop-soon-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .shop-soon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shop-soon-hero,
  .shop-soon-card,
  .shop-soon-contact {
    padding: 24px;
    border-radius: 23px;
  }

  .shop-soon-actions .button,
  .shop-soon-contact-row .button {
    width: 100%;
  }

  .shop-soon-products {
    grid-template-columns: 1fr;
  }
}


/* Protected branch enquiry form */

.branch-enquiry-section {
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 166, 106, 0.10), transparent 28%),
    linear-gradient(180deg, var(--rm-paper) 0%, #ffffff 100%);
}

.branch-enquiry-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.branch-enquiry-copy {
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 166, 106, 0.24), transparent 32%),
    linear-gradient(135deg, var(--rm-navy), var(--rm-navy-2));
  color: var(--rm-white);
  box-shadow: var(--rm-shadow-heavy);
}

.branch-enquiry-copy h2 {
  color: var(--rm-white);
}

.branch-enquiry-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.branch-enquiry-copy .shop-soon-check {
  color: rgba(255, 255, 255, 0.78);
}

.branch-form-card {
  position: relative;
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.captcha-box {
  padding: 18px;
  border-radius: 18px;
  background: var(--rm-paper);
  border: 1px solid var(--rm-line);
}

.captcha-row {
  display: grid;
  grid-template-columns: auto minmax(0, 180px);
  gap: 14px;
  align-items: center;
}

.captcha-row strong {
  color: var(--rm-navy);
  font-size: 20px;
  white-space: nowrap;
}

.captcha-row input {
  max-width: 180px;
}

@media (max-width: 1080px) {
  .branch-enquiry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .branch-enquiry-copy,
  .branch-form-card {
    padding: 24px;
    border-radius: 23px;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }

  .captcha-row input {
    max-width: none;
  }
}
