:root {
  color-scheme: light;
  --red: #df2027;
  --red-dark: #b9181e;
  --dark: #2b2b2b;
  --darker: #202020;
  --black: #111111;
  --white: #ffffff;
  --paper: #eeeeee;
  --line: #d7d7d7;
  --muted: #727272;
  --blue: #55c8e8;
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #222222;
  background: #e9e9e9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

body.is-catalog-mode {
  background: #f4f4f4;
}

body.is-profile-mode {
  background: #f3f3f3;
}

body.is-profile-mode .header-main,
body.is-profile-mode .main-nav,
body.is-profile-mode .content > section:not(.customer-profile-view),
body.is-profile-mode .footer {
  display: none;
}

body.is-community-mode {
  background: #f4f4f4;
}

body.is-community-mode .content {
  padding-top: 0;
}

body.is-community-mode .content > section:not(.community-section) {
  display: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(232, 232, 232, 0.76), rgba(239, 239, 239, 0.94)),
    url("assets/hero-bikes.png") center top / cover no-repeat;
  filter: grayscale(1);
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.wrap {
  width: 960px;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
}

.topbar {
  height: 45px;
  color: #f7f7f7;
  background: #3d3d3d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  height: 45px;
}

.topbar nav,
.topbar-options {
  display: flex;
}

.topbar a,
.topbar-options > span {
  display: grid;
  place-items: center;
  min-width: 106px;
  padding: 0 18px;
  border-left: 1px solid #2f2f2f;
  border-right: 1px solid #555555;
}

.topbar-options > span {
  min-width: 132px;
  color: #dcdcdc;
  text-transform: none;
  font-weight: 500;
}

.customer-login,
.customer-session {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
  border-right: 1px solid #555555;
}

.customer-login label {
  display: block;
}

.customer-login label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.customer-login .stay-signed-in-control {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f1f1f1;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
  cursor: pointer;
}

.customer-login .stay-signed-in-control input {
  width: 13px;
  height: 13px;
  padding: 0;
  accent-color: var(--red);
}

.customer-login .stay-signed-in-control span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: inherit;
  white-space: nowrap;
}

.customer-login .stay-signed-in-control small {
  display: none;
}

.customer-login input {
  width: 92px;
  height: 27px;
  padding: 0 8px;
  border: 1px solid #2f2f2f;
  color: #202020;
  background: #ffffff;
  font-size: 11px;
}

.customer-login button,
.customer-session button {
  height: 27px;
  padding: 0 10px;
  border: 0;
  color: #ffffff;
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.customer-login button[data-open-register],
.customer-session button {
  background: #242424;
  border: 1px solid #5c5c5c;
}

.customer-session {
  position: relative;
  color: #ffffff;
  text-transform: none;
}

.account-avatar-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 2px solid #6f6f6f;
  border-radius: 50%;
  background: #202020;
  cursor: pointer;
  overflow: hidden;
}

.account-avatar-button:hover,
.account-avatar-button:focus-visible {
  border-color: var(--red);
}

.account-avatar-button span,
.account-menu-header > span {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  overflow: hidden;
}

.account-avatar-button span {
  width: 100%;
  height: 100%;
  font-size: 12px;
}

.account-avatar-button img,
.account-menu-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-session .account-avatar-button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.customer-session .account-avatar-button:hover,
.customer-session .account-avatar-button:focus-visible {
  border: 0;
  outline: 0;
  box-shadow: none;
}

.customer-session .account-avatar-button span {
  color: #ffffff;
  background: #202020;
}

.customer-session .account-notification-button {
  position: absolute;
  left: -6px;
  bottom: -6px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 22px;
  min-width: 22px;
  height: 22px;
  padding: 0;
  color: #ffffff;
  background: var(--red);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.customer-session .account-notification-button:hover,
.customer-session .account-notification-button:focus-visible {
  background: #b70d1c;
  outline: 2px solid #ffffff;
  outline-offset: 1px;
}

.customer-session .account-notification-button[hidden] {
  display: none;
}

.customer-session .account-notification-button b {
  display: block;
  min-width: 0;
  color: inherit;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: min(300px, calc(100vw - 24px));
  padding: 14px;
  color: #222222;
  background: #ffffff;
  border: 1px solid #cfcfcf;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  text-transform: none;
}

body.has-account-menu-open .header-main {
  z-index: 20000 !important;
}

body.has-account-menu-open .customer-session,
body.has-account-menu-open .mobile-header-session,
body.has-account-menu-open .mobile-header-actions {
  z-index: 20001 !important;
}

body.has-account-menu-open .account-menu,
body.has-account-menu-open .mobile-header-menu,
body.has-account-menu-open [data-coming-soon-header-menu] {
  z-index: 20002 !important;
}

.account-menu-header {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #eeeeee;
}

.account-menu-profile-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.account-menu-profile-link strong {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-menu-profile-link:hover strong,
.account-menu-profile-link:focus-visible strong {
  color: #a30f15;
}

.account-menu-profile-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.account-menu-badge-link,
.mobile-header-actions .mobile-header-badge-link {
  display: inline-grid;
  place-items: center;
  width: 92px;
  height: 92px;
  min-height: 0;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  text-decoration: none;
}

.account-menu-badge-link img,
.mobile-header-actions .mobile-header-badge-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.2));
  transition: filter 160ms ease, transform 160ms ease;
}

.account-menu-badge-link:hover img,
.account-menu-badge-link:focus-visible img,
.mobile-header-actions .mobile-header-badge-link:hover img,
.mobile-header-actions .mobile-header-badge-link:focus-visible img {
  filter: drop-shadow(0 6px 8px rgba(229, 31, 43, 0.34));
  transform: translateY(-2px) scale(1.03);
}

.account-menu-badge-link:focus-visible,
.mobile-header-actions .mobile-header-badge-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.customer-level-badge-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.customer-level-progress {
  width: min(146px, 100%);
  margin: 3px 0 7px;
}

.customer-level-progress[hidden] {
  display: none;
}

.customer-level-progress-track {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border: 1px solid #cacaca;
  border-radius: 999px;
  background: #e7e7e7;
}

.customer-level-progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width 240ms ease;
}

.customer-level-progress small {
  display: block;
  margin-top: 3px;
  color: #666666;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
}

.mobile-header-actions .customer-level-progress {
  width: 100%;
  max-width: 150px;
}

.account-menu-orders-link,
.account-menu-text-badge-link,
.mobile-header-text-badge-link,
.mobile-header-orders-link {
  color: var(--red);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
}

.account-menu-orders-link:hover,
.account-menu-orders-link:focus-visible,
.account-menu-text-badge-link:hover,
.account-menu-text-badge-link:focus-visible,
.mobile-header-text-badge-link:hover,
.mobile-header-text-badge-link:focus-visible,
.mobile-header-orders-link:hover,
.mobile-header-orders-link:focus-visible {
  color: #a30f15;
}

.account-menu-header > span {
  width: 52px;
  height: 52px;
  font-size: 15px;
}

.account-menu-header strong,
.account-menu-header p,
.account-menu dd,
.account-menu dt {
  margin: 0;
}

.account-menu-header strong {
  display: block;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
}

.account-menu-header p {
  margin-top: 3px;
  color: #666666;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.account-menu dl {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.account-menu dl > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
}

.account-menu dt {
  color: #777777;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-menu dd {
  color: #222222;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.account-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.account-menu-actions button {
  width: 100%;
}

.website-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.header-main {
  position: relative;
  display: grid;
  grid-template-columns: 310px 1fr 176px 42px;
  align-items: start;
  gap: 0;
  min-height: 135px;
  padding-top: 21px;
}

.mobile-bottom-nav [data-notification-badge] {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  color: #ffffff;
  background: var(--red);
  border: 2px solid #ffffff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.mobile-bottom-nav [data-notification-badge][hidden] {
  display: none;
}

.story-updates-link {
  position: relative;
}

[data-story-update-badge] {
  position: absolute;
  top: 6px;
  right: 8px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  color: #ffffff;
  background: var(--red);
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.24);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

[data-story-update-badge][hidden] {
  display: none;
}

.logo {
  position: relative;
  display: block;
  width: 300px;
  height: 96px;
  padding: 0 0 0 82px;
}

.logo img {
  position: absolute;
  left: 0;
  top: 5px;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.logo-word {
  display: block;
  padding-top: 12px;
  color: #202020;
  font-size: 31px;
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.logo-word span {
  color: var(--red);
}

.logo-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  margin-top: 7px;
  padding: 0 9px;
  color: #2c2c2c;
  background: #f2f2f2;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.logo-tag.public-location-trigger {
  cursor: pointer;
  user-select: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.logo-tag.public-location-trigger:hover,
.logo-tag.public-location-trigger:focus-visible {
  background: #ffffff;
  border-color: var(--red);
  outline: none;
  transform: translateY(-1px);
}

body.has-public-location-picker {
  overflow: hidden;
}

.public-location-picker {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 110px 16px 24px;
  background: rgba(15, 15, 15, 0.52);
}

.public-location-picker[hidden] {
  display: none;
}

.public-location-picker > section {
  width: min(440px, 100%);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d5d5d5;
  border-radius: 14px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.public-location-picker header {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.public-location-picker header span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.public-location-picker h2 {
  margin: 3px 0 4px;
  font-size: 23px;
}

.public-location-picker p {
  margin: 0;
  color: #666666;
  font-size: 12px;
}

.public-location-picker header button {
  min-width: 64px;
  height: 36px;
  padding: 0 12px;
  color: #ffffff;
  background: #242424;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.public-location-options {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.public-location-options > button {
  display: flex;
  min-height: 68px;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  text-align: left;
  background: #f7f7f7;
  border: 1px solid #dddddd;
  border-radius: 10px;
  cursor: pointer;
}

.public-location-options > button:hover,
.public-location-options > button:focus-visible,
.public-location-options > button.active {
  background: #fff5f5;
  border-color: var(--red);
  outline: none;
}

.public-location-options > button > span:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.public-location-options strong {
  color: #222222;
  font-size: 14px;
}

.public-location-options small {
  overflow: hidden;
  color: #666666;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-location-option-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #ffffff;
  background: var(--red);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.public-location-option-status.coming-soon {
  color: #4e3500;
  background: #ffd46b;
}

.public-location-empty {
  padding: 20px;
  text-align: center;
}

.search-form {
  display: flex;
  width: 304px;
  margin: 30px 0 0 auto;
  border: 1px solid #cfcfcf;
  background: var(--white);
}

.search-form input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 14px;
  border: 0;
  color: #777777;
  font-size: 12px;
}

.search-form button {
  width: 52px;
  height: 38px;
  overflow: hidden;
  color: transparent;
  border: 0;
  background: var(--red);
  position: relative;
}

.search-form button::before {
  position: absolute;
  top: 11px;
  left: 17px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--white);
  border-radius: 50%;
  content: "";
}

.search-form button::after {
  position: absolute;
  top: 25px;
  left: 30px;
  width: 9px;
  height: 3px;
  content: "";
  background: var(--white);
  transform: rotate(45deg);
}

.cart-box {
  display: flex;
  align-items: center;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  height: 52px;
  margin-top: 21px;
  padding: 0 14px 0 50px;
  color: var(--white);
  background: var(--red);
  position: relative;
  text-transform: uppercase;
}

.cart-box::before {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 23px;
  height: 16px;
  content: "";
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.cart-box::after {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 23px;
  height: 16px;
  content: "";
  background: transparent;
  border-top: 2px solid var(--red);
  transform: skewY(-32deg);
  transform-origin: top left;
  box-shadow: none;
}

.cart-box strong {
  font-size: 14px;
  line-height: 1;
}

.cart-box span {
  font-size: 10px;
  text-transform: none;
}

.lock-box {
  display: grid;
  place-items: center;
  width: 42px;
  height: 52px;
  margin-top: 21px;
  overflow: hidden;
  color: transparent;
  background: #1f1f1f;
  position: relative;
}

.lock-box::before {
  width: 12px;
  height: 10px;
  content: "";
  background: var(--white);
}

.lock-box::after {
  position: absolute;
  top: 18px;
  width: 10px;
  height: 8px;
  border: 2px solid var(--white);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.mobile-header-actions,
.mobile-service-strip,
.mobile-bottom-nav {
  display: none;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  height: 61px;
  margin-top: 0;
  background: #252525;
}

.main-nav a {
  display: grid;
  place-items: center;
  color: var(--white);
  border-left: 1px solid #151515;
  border-right: 1px solid #3d3d3d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  background: var(--red);
}

body.is-catalog-mode .main-nav {
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

body.is-catalog-mode .main-nav a {
  min-height: 61px;
  color: #111111;
  border-color: #eeeeee;
}

body.is-catalog-mode .main-nav a.active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  box-shadow: inset 0 -5px 0 #111111;
}

body.is-community-mode .main-nav {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

body.is-community-mode .main-nav a {
  min-height: 61px;
  color: #111111;
  border-color: #eeeeee;
}

body.is-community-mode .main-nav a.active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  box-shadow: inset 0 -5px 0 #111111;
}

.content {
  padding-top: 41px;
}

body.is-catalog-mode .content {
  padding-top: 0;
}

.survey-page .header-main {
  grid-template-columns: minmax(0, 1fr);
  padding-top: 28px;
  padding-bottom: 24px;
}

.survey-content {
  padding-bottom: 46px;
}

.survey-mobile-summary,
.survey-mobile-jump {
  display: none;
}

.survey-hero {
  display: block;
  margin-bottom: 20px;
}

.survey-hero > div,
.survey-hero > aside,
.survey-goals,
.survey-form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d7d7d7;
}

.survey-hero > div {
  padding: 30px;
}

.survey-hero h1 {
  margin-bottom: 10px;
  color: #191919;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.95;
  text-transform: uppercase;
}

.survey-hero p:not(.section-eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
  color: #555555;
  font-size: 15px;
}

.survey-hero > aside {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border-top: 5px solid #156b2f;
}

.survey-hero > aside strong {
  color: #156b2f;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.survey-hero > aside span {
  color: #555555;
  font-size: 13px;
  line-height: 1.5;
}

.survey-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.survey-goals {
  position: sticky;
  top: 16px;
  padding: 22px;
}

.survey-goals h2 {
  margin-bottom: 16px;
  color: #202020;
  font-size: 21px;
  text-transform: uppercase;
}

.survey-goals ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.survey-goals li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 4px solid var(--red);
}

.survey-goals strong {
  color: #222222;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.survey-goals span {
  color: #666666;
  font-size: 13px;
  line-height: 1.45;
}

.survey-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.survey-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.survey-form legend,
.survey-form label {
  color: #202020;
  font-size: 14px;
  font-weight: 900;
}

.survey-form legend {
  margin-bottom: 10px;
}

.survey-form legend span {
  color: var(--red);
}

.survey-form small {
  color: #777777;
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.survey-choice-grid,
.survey-contact-grid,
.survey-text-grid,
.survey-rating-grid {
  display: grid;
  gap: 10px;
}

.survey-choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.survey-choice-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.survey-choice-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.survey-choice-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  background: #f7f7f7;
  border: 1px solid #d5d5d5;
  cursor: pointer;
}

.survey-choice-grid label:has(input:checked) {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

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

.survey-rating {
  padding: 14px;
  background: #f8f8f8;
  border: 1px solid #dddddd;
}

.survey-rating div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.survey-rating label {
  display: block;
}

.survey-rating input {
  position: absolute;
  opacity: 0;
}

.survey-rating label > span {
  display: grid;
  place-items: center;
  min-height: 38px;
  color: #333333;
  background: #ffffff;
  border: 1px solid #cfcfcf;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.survey-rating input:focus-visible + span {
  outline: 3px solid rgba(223, 32, 39, 0.28);
}

.survey-rating input:checked + span {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

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

.survey-text-grid label,
.survey-contact-grid label {
  display: grid;
  gap: 8px;
}

.survey-text-grid textarea,
.survey-contact-grid input {
  width: 100%;
  border: 1px solid #d4d4d4;
  color: #222222;
  background: #ffffff;
  font: inherit;
}

.survey-text-grid textarea {
  min-height: 104px;
  resize: vertical;
  padding: 12px;
}

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

.survey-contact-grid input {
  height: 44px;
  padding: 0 12px;
}

.survey-submit-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-top: 4px;
}

.survey-submit-row button {
  min-height: 48px;
  border: 0;
  color: #ffffff;
  background: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.survey-submit-row button:hover,
.survey-submit-row button:focus-visible {
  background: var(--red-dark);
}

.survey-submit-row button:disabled {
  background: #8a8a8a;
  cursor: wait;
}

.survey-submit-row p {
  margin: 0;
  color: #666666;
  font-size: 13px;
}

.survey-submit-row p.is-success {
  color: #156b2f;
  font-weight: 800;
}

.survey-submit-row p.is-error {
  color: var(--red-dark);
  font-weight: 800;
}

.hero-slider {
  position: relative;
  height: 379px;
  background: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.hero-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-leaderboard-slide {
  display: flex;
  flex-direction: column;
  padding: 18px 24px 48px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 14%, rgba(237, 28, 39, 0.24), transparent 30%),
    linear-gradient(135deg, #161616, #2b2b2b 62%, #171717);
}

.hero-leaderboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 60px;
  gap: 16px;
  padding-right: 112px;
}

.hero-leaderboard-header p {
  margin: 0 0 2px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-leaderboard-header h2 {
  margin: 0;
  font-size: 29px;
  line-height: 1;
  text-transform: uppercase;
}

.hero-leaderboard-header span {
  display: block;
  margin-top: 4px;
  color: #cfcfcf;
  font-size: 11px;
}

.hero-leaderboard-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.hero-leaderboard-header-actions > strong {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #eeeeee;
  border-radius: 999px;
  background: #404040;
  font-size: 10px;
  text-transform: uppercase;
}

.hero-leaderboard-refresh {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.hero-leaderboard-refresh:hover,
.hero-leaderboard-refresh:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-leaderboard-refresh:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.hero-leaderboard-refresh:disabled {
  cursor: wait;
  opacity: 0.62;
}

.hero-leaderboard-refresh svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-leaderboard-refresh.is-refreshing svg {
  animation: hero-leaderboard-refresh-spin 700ms linear infinite;
}

@keyframes hero-leaderboard-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

.home-leaderboard-panel,
.leaderboard-page-shell {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-top: 3px solid var(--red);
  background:
    radial-gradient(circle at 92% 8%, rgba(237, 28, 39, 0.25), transparent 28%),
    linear-gradient(135deg, #151515, #2b2b2b 64%, #171717);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.home-community-proof-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.home-leaderboard-panel {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 24px;
  flex-direction: column;
}

.home-community-proof-row .public-leaderboard-heading h2 {
  font-size: clamp(24px, 3vw, 39px);
}

.public-leaderboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.public-leaderboard-heading p {
  margin: 0 0 3px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.public-leaderboard-heading h1,
.public-leaderboard-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.98;
  text-transform: uppercase;
}

.public-leaderboard-heading span {
  display: block;
  margin-top: 6px;
  color: #cfcfcf;
  font-size: 12px;
}

.public-leaderboard-heading > strong,
.public-leaderboard-heading-actions > strong,
.leaderboard-page-heading-actions > strong {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #eeeeee;
  border-radius: 999px;
  background: #404040;
  font-size: 10px;
  text-transform: uppercase;
}

.public-leaderboard-heading-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.public-leaderboard-list {
  display: grid;
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-leaderboard-list {
  grid-template-columns: 1fr;
}

.public-leaderboard-list .hero-leaderboard-row {
  border-color: #4b4b4b;
  background: rgba(255, 255, 255, 0.065);
}

.public-leaderboard-list .hero-leaderboard-row:first-child {
  border-color: rgba(237, 28, 39, 0.9);
  background: rgba(237, 28, 39, 0.16);
}

.public-leaderboard-loading {
  grid-column: 1 / -1;
  padding: 32px;
  color: #cccccc;
  text-align: center;
}

.home-leaderboard-more {
  display: table;
  margin: 18px auto 0;
  color: #ffffff;
  border-bottom: 2px solid var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-leaderboard-more:hover,
.home-leaderboard-more:focus-visible {
  color: var(--red);
}

.recent-purchases-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recent-purchases-list .recent-purchase-row {
  transition: opacity 220ms ease, transform 220ms ease;
}

.recent-purchases-list.is-sliding-out .recent-purchase-row {
  opacity: 0;
  transform: translateX(-28px);
}

.recent-purchases-list.is-sliding-in .recent-purchase-row {
  animation: recent-purchase-slide-in 300ms ease both;
}

@keyframes recent-purchase-slide-in {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.recent-purchase-row {
  display: grid;
  min-height: 64px;
  padding: 8px 10px;
  align-items: center;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid #4b4b4b;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.065);
}

.recent-purchase-row:first-child {
  border-color: rgba(237, 28, 39, 0.9);
  background: rgba(237, 28, 39, 0.16);
}

.recent-purchase-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  overflow: hidden;
  place-items: center;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #ed1c27;
  font-size: 10px;
  font-weight: 900;
}

.recent-purchase-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-purchase-details {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.recent-purchase-details strong,
.recent-purchase-details small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-purchase-details strong {
  font-size: 14px;
}

.recent-purchase-product,
.recent-purchase-more,
.recent-purchases-consent-note {
  color: #cfcfcf;
  font-size: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .recent-purchases-list .recent-purchase-row,
  .recent-purchases-list.is-sliding-in .recent-purchase-row {
    animation: none;
    transition: none;
  }
}

.recent-purchase-product {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.recent-purchase-product > img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 5px;
  background: #ffffff;
  object-fit: cover;
}

.recent-purchase-product > span {
  min-width: 0;
  overflow: hidden;
  color: #eeeeee;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-purchase-more {
  flex: 0 0 auto;
  white-space: nowrap;
}

.recent-purchases-consent-note {
  margin: auto 0 0;
  padding-top: 18px;
  text-align: center;
}

.leaderboard-page-content {
  padding-top: 30px;
  padding-bottom: 52px;
}

.leaderboard-page-back {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.leaderboard-page-shell {
  padding: clamp(22px, 4vw, 44px);
}

.leaderboard-page-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.leaderboard-page-list {
  grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(13, minmax(58px, auto));
}

.leaderboard-page-status {
  margin: 16px 0 0;
  color: #bdbdbd;
  font-size: 11px;
  text-align: center;
}

.hero-leaderboard-list {
  display: grid;
  flex: 1 1 auto;
  align-content: start;
  gap: 5px;
  min-height: 0;
  margin: 12px 0 0;
  padding: 0 4px 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255, 255, 255, 0.34) transparent;
  scrollbar-gutter: stable;
  list-style: none;
}

.hero-leaderboard-list::-webkit-scrollbar {
  width: 6px;
}

.hero-leaderboard-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.hero-leaderboard-row {
  display: grid;
  grid-template-columns: 30px 46px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid #494949;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-leaderboard-row:first-child {
  border-color: rgba(237, 28, 39, 0.88);
  background: rgba(237, 28, 39, 0.15);
}

.hero-leaderboard-rank {
  color: #f3c64f;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.hero-leaderboard-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--red);
  font-size: 10px;
  font-weight: 900;
}

.hero-leaderboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-leaderboard-identity,
.hero-leaderboard-points {
  min-width: 0;
}

.hero-leaderboard-identity > strong,
.hero-leaderboard-points > strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-leaderboard-level {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.hero-leaderboard-level img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.hero-leaderboard-level small,
.hero-leaderboard-points small {
  color: #c8c8c8;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-leaderboard-activity {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #bdbdbd;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-leaderboard-points {
  text-align: right;
}

.hero-carousel-controls {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-carousel-controls[hidden] {
  display: none;
}

.hero-carousel-controls button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.68);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.hero-carousel-controls button[data-hero-carousel-dot] {
  width: 9px;
  height: 9px;
  border: 0;
  background: rgba(255, 255, 255, 0.48);
}

.hero-carousel-controls button[data-hero-carousel-dot].is-active {
  background: var(--red);
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide {
    transition: none;
  }
}

.hero-message {
  position: absolute;
  left: 24px;
  bottom: 28px;
  width: 355px;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  z-index: 2;
}

.hero-message p {
  margin-bottom: 5px;
  color: #d9d9d9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-message h1 {
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-message span {
  display: block;
  margin-bottom: 12px;
  color: #eeeeee;
  font-size: 12px;
}

.hero-message a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: min(100%, 320px);
  gap: 6px;
}

.hero-actions a {
  box-sizing: border-box;
  min-width: 0;
}

.hero-message .hero-events-action {
  background: #222222;
}

.hero-message .hero-community-action {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.slide-image {
  position: absolute;
  inset: 0;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 34%),
    url("assets/hero-shop-intro-poster.jpg") center / cover no-repeat,
    url("assets/hero-bikes.png") center right / cover no-repeat,
    #141414;
}

.hero-video,
.slide-image::before,
.slide-image::after {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.1) contrast(1.08) brightness(0.92);
  transform: scale(1.02);
  animation: hero-cinematic-pan 16s ease-in-out infinite alternate;
  transition: opacity 450ms ease;
  will-change: transform, filter;
  pointer-events: none;
}

.hero-video.active {
  opacity: 1;
}

.slide-image::before,
.slide-image::after {
  content: "";
  pointer-events: none;
}

.slide-image::before {
  background:
    linear-gradient(90deg, rgba(4, 14, 24, 0.74), rgba(4, 14, 24, 0.22) 52%, rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 34%, rgba(0, 0, 0, 0.16));
  z-index: 1;
}

.slide-image::after {
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(105deg, rgba(255, 255, 255, 0) 0 31%, rgba(255, 255, 255, 0.12) 43%, rgba(255, 255, 255, 0) 56%);
  background-size: auto, 190% 100%;
  background-position: center, -80% center;
  animation: hero-cinematic-light 9s ease-in-out infinite;
  z-index: 1;
}

.slide-pages {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  z-index: 2;
}

.slide-pages span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: #252525;
  border-left: 1px solid #3f3f3f;
  font-size: 16px;
  font-weight: 700;
}

.slide-pages .active {
  background: var(--red);
}

@keyframes hero-cinematic-pan {
  0% {
    filter: saturate(1.06) contrast(1.08) brightness(0.9);
    transform: scale(1.02) translate3d(-1.2%, -0.6%, 0);
  }

  45% {
    filter: saturate(1.12) contrast(1.1) brightness(0.95);
  }

  100% {
    filter: saturate(1.08) contrast(1.08) brightness(0.92);
    transform: scale(1.1) translate3d(1.8%, 0.8%, 0);
  }
}

@keyframes hero-cinematic-light {
  0%,
  24% {
    background-position: center, -80% center, center, center;
    opacity: 0.95;
  }

  58% {
    background-position: center, 140% center, center, center;
    opacity: 1;
  }

  100% {
    background-position: center, 170% center, center, center;
    opacity: 0.92;
  }
}

.feature-tiles {
  margin-top: 21px;
}

.feature-tile-track {
  display: block;
}

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

.feature-tile-group[aria-hidden="true"] {
  display: none;
  pointer-events: none;
}

.feature-card {
  --feature-card-image: url("assets/category-bike-frames.jpg");
  cursor: pointer;
  min-height: 248px;
  padding: 86px 15px 15px;
  color: var(--white);
  background-color: #edf3ef;
  background-image:
    linear-gradient(180deg, rgba(10, 20, 18, 0.02) 22%, rgba(10, 20, 18, 0.72) 100%),
    var(--feature-card-image);
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: auto, cover;
}

.feature-card:hover,
.feature-card:focus-visible {
  outline: 3px solid rgba(223, 32, 39, 0.86);
  outline-offset: -3px;
}

.feature-card h2 {
  margin-bottom: 8px;
  font-size: 31px;
  line-height: 0.85;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.44);
  text-transform: uppercase;
}

.feature-card h2 span {
  display: block;
  font-size: 23px;
}

.feature-card p {
  min-height: 54px;
  color: #f5f7f6;
  font-size: 11px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.72);
}

.feature-card a,
.sale-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  color: var(--white);
  background: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-card a:hover,
.sale-banner a:hover,
.feature-card a:focus-visible,
.sale-banner a:focus-visible {
  background: var(--red-dark);
}

.feature-card a {
  display: none;
}

.feature-bike {
  --feature-card-image: url("assets/category-bike-frames.jpg");
  background-position: center, center;
}

.feature-parts {
  --feature-card-image: url("assets/category-parts-components.jpg");
  background-position: center, right center;
}

.feature-clothing {
  --feature-card-image: url("assets/category-cycling-clothing.jpg");
  background-position: center, right center;
}

.feature-helmets {
  --feature-card-image: url("assets/category-helmets-sunglasses.jpg");
  background-position: center, right center;
}

.feature-tires {
  --feature-card-image: url("assets/category-tires-tubes.jpg");
  background-position: center, right center;
}

.feature-services {
  --feature-card-image: url("assets/category-services.jpg");
  background-position: center, right center;
}

@keyframes feature-tile-belt {
  to {
    transform: translateX(-50%);
  }
}

.feature-tiles.is-scroll-belt {
  cursor: grab;
}

.feature-tiles.is-scroll-belt.is-dragging {
  cursor: grabbing;
}

.product-section {
  padding-top: 31px;
}

body.is-catalog-mode .product-section {
  padding-top: 12px;
}

.service-menu-section {
  margin-top: 31px;
  scroll-margin-top: 16px;
}

.service-menu-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  min-height: 260px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.service-menu-hero > div:first-child {
  padding: 28px 28px 26px;
}

.section-eyebrow {
  margin-bottom: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-menu-hero h1,
.service-menu-hero h2 {
  margin-bottom: 10px;
  color: #171717;
  font-size: 34px;
  line-height: 0.98;
  text-transform: uppercase;
}

.service-menu-hero p {
  max-width: 520px;
  margin-bottom: 17px;
  color: #555555;
  font-size: 13px;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-actions a,
.service-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  color: #ffffff;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-actions a + a {
  background: #252525;
}

.service-actions a:hover,
.service-actions a:focus-visible,
.service-card a:hover,
.service-card a:focus-visible {
  background: var(--red-dark);
}

.service-actions a + a:hover,
.service-actions a + a:focus-visible {
  background: #111111;
}

.service-hero-panel {
  min-height: 260px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.02)),
    url("assets/workshop-service.png") center / cover no-repeat;
}

.service-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0;
}

.service-category-chips a,
.service-category-chips button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #171717;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d0d0d0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.service-category-chips a.active,
.service-category-chips button.active,
.service-category-chips a:hover,
.service-category-chips a:focus-visible,
.service-category-chips button:hover,
.service-category-chips button:focus-visible {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 212px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  scroll-margin-top: 16px;
}

.service-card-image {
  height: 180px;
  margin: -15px -15px 14px;
  overflow: hidden;
  background: #eceff2;
  border-bottom: 1px solid #e0e0e0;
}

.service-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-image.has-managed-image img {
  padding: 10px;
  object-fit: contain;
  background: #ffffff;
}

.service-card > p {
  line-height: 1.5;
}

.service-card > a {
  margin-top: auto;
}

.service-card-state {
  grid-column: 1 / -1;
  min-height: 180px;
  align-content: center;
}

.service-card span {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card h2,
.service-card h3 {
  min-height: 38px;
  margin-bottom: 8px;
  color: #1f1f1f;
  font-size: 15px;
  line-height: 1.12;
  text-transform: uppercase;
}

.service-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 21px;
  line-height: 1.05;
}

.service-card p {
  min-height: 54px;
  margin-bottom: 14px;
  color: #666666;
  font-size: 12px;
}

.service-card a {
  align-self: flex-start;
  margin-top: auto;
}

.service-help-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  margin-top: 14px;
}

.service-help-row article {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.service-help-row h2,
.service-help-row h3 {
  margin-bottom: 10px;
  color: #171717;
  font-size: 16px;
  text-transform: uppercase;
}

.service-help-row p {
  margin-bottom: 8px;
  color: #555555;
  font-size: 12px;
}

.service-help-row strong {
  color: #1e1e1e;
}

.catalog-panel {
  padding: 0 0 10px;
}

.catalog-panel[hidden],
[hidden] {
  display: none !important;
}

.subcategory-filters button,
.catalog-controls button,
.catalog-controls select {
  font-family: inherit;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
}

.subcategory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subcategory-filters button {
  min-height: 36px;
  padding: 0 18px;
  color: #111111;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.subcategory-filters button.active,
.subcategory-filters button:hover,
.subcategory-filters button:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: flex-end;
}

.catalog-controls label {
  display: flex;
  align-items: center;
  color: #111111;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-controls select {
  min-width: 190px;
  height: 38px;
  margin-left: 8px;
  padding: 0 12px;
  color: #111111;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d0d0d0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-tabs {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 51px;
  margin-bottom: 10px;
}

.product-tabs button {
  border: 0;
  display: grid;
  place-items: center;
  height: 51px;
  padding: 0 20px;
  color: var(--white);
  background: #6b6b6b;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.product-tabs button:focus-visible {
  outline: 3px solid rgba(237, 28, 36, 0.3);
  outline-offset: 3px;
}

.product-tabs button:hover,
.product-tabs button:focus-visible {
  background: #545454;
}

.product-tabs .active,
.product-tabs .active:hover,
.product-tabs .active:focus-visible {
  background: var(--red);
}

.stock-note {
  margin: 0 0 16px;
  padding: 10px 13px;
  color: #4d4d4d;
  background: #ffffff;
  border-left: 4px solid var(--red);
  font-size: 12px;
  font-weight: 700;
}

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

.product-list-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.product-list-actions a {
  display: grid;
  place-items: center;
  min-width: 168px;
  min-height: 42px;
  padding: 0 26px;
  color: #ffffff;
  background: var(--red);
  border: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 7px;
}

.product-list-actions a:hover,
.product-list-actions a:focus-visible {
  background: var(--red-dark);
  outline: 3px solid rgba(237, 28, 36, 0.28);
  outline-offset: 3px;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.catalog-pagination a,
.catalog-pagination span {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #d0d0d0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-pagination a {
  color: #ffffff;
  background: #252525;
  cursor: pointer;
}

.catalog-pagination a:hover,
.catalog-pagination a:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

.catalog-pagination .is-disabled {
  color: #999999;
  background: #e4e4e4;
  border-color: #d5d5d5;
  cursor: not-allowed;
}

.catalog-pagination .catalog-pagination-summary {
  color: #333333;
  background: #ffffff;
}

.catalog-pagination .catalog-pagination-icon {
  width: 38px;
  min-width: 38px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 0 15px 17px;
  background: var(--white);
  border: 1px solid #e7e7e7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: visible;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.product-card.has-image-gallery,
.product-card.is-clickable,
.product-card.is-clickable *,
.product-mini-card,
.product-mini-card *,
.product-detail-thumbnails button,
.product-detail-thumbnails button *,
.product-detail-actions a,
.product-detail-actions button,
.product-sticky-inquiry a {
  cursor: pointer;
}

.product-card.has-image-gallery:hover,
.product-card.has-image-gallery:focus-within,
.product-card.has-image-gallery.is-gallery-active {
  z-index: 20;
}

.product-card.is-clickable:hover,
.product-card.is-clickable:focus-visible {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.product-card.is-clickable:focus-visible {
  outline: 3px solid rgba(223, 32, 39, 0.42);
  outline-offset: 3px;
}

.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 39px;
  height: 23px;
  padding: 0 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 11px;
  text-transform: uppercase;
}

.badge.sale {
  right: 8px;
  left: auto;
  background: var(--red);
}

.product-photo {
  height: 184px;
  margin: 0 -15px 14px;
  background-color: var(--white);
  background-image: url("assets/product-bikes.png");
  background-repeat: no-repeat;
  background-size: 200% 200%;
}

.product-saddle,
.product-saddle2 {
  background:
    radial-gradient(circle at 50% 45%, rgba(223, 32, 39, 0.08), transparent 40%),
    linear-gradient(#ffffff, #ffffff);
  position: relative;
}

.product-saddle::before,
.product-saddle2::before {
  position: absolute;
  top: 66px;
  left: 36px;
  width: 112px;
  height: 45px;
  content: "";
  background: var(--red);
  border-radius: 70% 45% 55% 60%;
  transform: rotate(-14deg);
}

.product-saddle2::before {
  background: #d8d8d8;
}

.product-helmet,
.product-helmet2 {
  background-position: right bottom;
}

.product-jacket {
  background:
    linear-gradient(#ffffff, #ffffff);
  position: relative;
}

.product-jacket::before {
  position: absolute;
  top: 32px;
  left: 63px;
  width: 72px;
  height: 122px;
  content: "";
  background: var(--red);
  clip-path: polygon(24% 0, 76% 0, 100% 22%, 86% 100%, 14% 100%, 0 22%);
}

.product-stem,
.product-brake {
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 0, 0, 0.06), transparent 36%),
    linear-gradient(#ffffff, #ffffff);
  position: relative;
}

.product-stem::before {
  position: absolute;
  top: 70px;
  left: 41px;
  width: 122px;
  height: 22px;
  content: "";
  border: 8px solid #111111;
  border-radius: 999px;
  transform: rotate(-8deg);
}

.product-brake::before {
  position: absolute;
  top: 54px;
  left: 66px;
  width: 66px;
  height: 94px;
  content: "";
  border: 12px solid #b8b8b8;
  border-top-width: 20px;
  border-radius: 34px 34px 18px 18px;
  transform: rotate(22deg);
}

.product-wheel {
  background:
    linear-gradient(#ffffff, #ffffff);
  position: relative;
}

.product-wheel::before {
  position: absolute;
  top: 28px;
  left: 42px;
  width: 118px;
  height: 118px;
  content: "";
  border: 7px solid #171717;
  border-radius: 50%;
}

.product-wheel::after {
  position: absolute;
  top: 83px;
  left: 96px;
  width: 11px;
  height: 11px;
  content: "";
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 -54px 0 -4px #171717,
    0 54px 0 -4px #171717,
    -54px 0 0 -4px #171717,
    54px 0 0 -4px #171717;
}

.product-api-photo {
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(223, 32, 39, 0.22), transparent 32%),
    linear-gradient(135deg, #f4f7fb, #dce9f6);
  background-position: center;
  background-size: cover;
}

.product-api-photo::before {
  content: attr(data-initial);
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-size: 34px;
  font-weight: 900;
}

.product-api-photo.has-image {
  background: #f7f9fb;
  overflow: hidden;
}

.product-api-photo.has-image::before {
  content: none;
}

.product-api-photo.has-image img {
  display: block;
  height: calc(100% - 24px);
  inset: 12px;
  object-fit: contain;
  object-position: center;
  position: absolute;
  width: calc(100% - 24px);
}

.product-card.has-image-gallery .product-photo-primary {
  transition: opacity 180ms ease, filter 180ms ease;
}

.product-card.has-image-gallery.is-gallery-active .product-photo-primary {
  filter: saturate(0.82);
  opacity: 0.25;
}

.product-image-gallery-stack {
  position: absolute;
  top: 14px;
  left: 8px;
  right: 8px;
  height: 292px;
  pointer-events: none;
  z-index: 8;
}

.product-image-gallery-frame {
  position: absolute;
  top: 0;
  left: 8%;
  display: block;
  width: 84%;
  height: 268px;
  padding: 9px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.14);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate(var(--gallery-x, 0), var(--gallery-y, 0)) rotate(var(--gallery-rotate, 0deg)) scale(0.88);
  transform-origin: center;
  transition:
    opacity 160ms ease,
    transform 240ms ease,
    filter 240ms ease;
  z-index: var(--gallery-z, 1);
}

.product-card.is-gallery-active .product-image-gallery-frame {
  opacity: 0.92;
  transform: translate(var(--gallery-x, 0), var(--gallery-y, 0)) rotate(var(--gallery-rotate, 0deg)) scale(0.98);
}

.product-card.is-gallery-active .product-image-gallery-frame.is-front {
  filter: saturate(1.04);
  opacity: 1;
  transform: translate(var(--gallery-x, 0), var(--gallery-y, 0)) rotate(var(--gallery-rotate, 0deg)) scale(1.08);
}

.events-page {
  padding: 6px 0 28px;
}

.events-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
}

.events-heading h1 {
  margin-bottom: 6px;
  color: #202020;
  font-size: 28px;
  line-height: 1.1;
}

.events-heading span,
.events-heading p {
  color: var(--muted);
}

.events-heading .section-eyebrow {
  margin-bottom: 6px;
  color: var(--red);
}

.event-public-card button,
.event-action-panel button,
.event-back-button,
.event-modal-actions button,
.events-state-card button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  color: #ffffff;
  background: var(--red);
  font-weight: 900;
  cursor: pointer;
}

.is-events-page .cart-box {
  grid-column: 3;
}

.is-events-page .lock-box {
  grid-column: 5;
}

.events-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.event-public-card,
.events-state-card,
.event-detail-main,
.event-info-panel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
}
.event-public-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.event-public-poster,
.event-detail-poster {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  color: #ffffff;
  background: #f4f4f4;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-public-poster {
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.event-public-card.is-past .event-public-poster {
  cursor: default;
}

.event-public-poster:hover,
.event-public-poster:hover img {
  cursor: pointer;
}

.event-detail-poster {
  min-height: 360px;
}

.event-public-poster img,
.event-detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.event-public-poster:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.event-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 8px;
  color: #ffffff;
  background: rgba(32, 32, 32, 0.88);
  font-size: 10px;
}

.event-public-card-body,
.event-detail-copy,
.event-info-panel,
.events-state-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.event-public-card-body {
  gap: 7px;
  padding: 11px;
}

.event-public-card h2 {
  margin: 0;
  color: #202020;
  font-size: 18px;
  line-height: 1.2;
}

.event-card-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-public-card p,
.event-detail-copy p,
.event-info-panel p,
.events-state-card p,
.event-muted,
.event-form-note {
  margin: 0;
  color: var(--muted);
}

.event-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.event-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  color: #ffffff;
  background: #666666;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-status.open {
  background: #148246;
}

.event-status.full {
  background: #a36300;
}

.event-status.cancelled {
  background: #8e1b21;
}

.event-status.completed {
  background: #555555;
}

.events-public-section {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.events-public-section + .events-public-section {
  margin-top: 12px;
}

.events-public-section-title {
  margin: 0;
  color: #202020;
  font-size: 22px;
}

.events-public-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.event-past-message {
  color: #202020 !important;
  font-weight: 800;
}

.event-past-date,
.event-youtube-pending {
  color: var(--muted);
  font-size: 12px;
}

.event-youtube-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.event-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

.event-meta-grid > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 0;
}

.event-meta-full {
  grid-column: 1 / -1;
}

.event-slots-progress {
  display: grid;
  gap: 6px;
}

.event-slots-bar {
  position: relative;
  display: grid;
  min-height: 30px;
  overflow: hidden;
  background: #eeeeee;
  border: 1px solid #dddddd;
  border-radius: 999px;
}

.event-slots-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--event-slots-percent, 0%);
  background: #148246;
  border-radius: inherit;
  opacity: 0.78;
}

.event-slots-bar strong {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 30px;
  color: #202020;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.event-meta-grid > div > span,
.event-facts span {
  color: #777777;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-meta-grid > div > strong,
.event-facts strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #202020;
  font-size: 12px;
}

.event-meta-grid > div > strong {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-detail-view {
  display: grid;
  gap: 12px;
}

.event-back-button {
  justify-self: start;
  background: #303030;
}

.event-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 14px;
}

.event-detail-main {
  display: grid;
  grid-template-rows: auto auto;
}

.event-detail-poster {
  width: 100%;
  height: clamp(180px, 28vw, 300px);
  min-height: 0;
}

.event-detail-poster img {
  object-fit: cover;
}

.event-detail-copy h1 {
  margin: 0;
  color: #202020;
  font-size: 30px;
  line-height: 1.1;
}

.event-description {
  color: #383838;
  font-size: 13px;
}

.event-description > :first-child {
  margin-top: 0;
}

.event-description p,
.event-description div {
  margin: 0 0 6px;
}

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

.event-detail-side {
  display: grid;
  align-content: start;
  gap: 12px;
}

.event-action-panel {
  gap: 8px;
  padding: 12px;
}

.event-info-panel h2 {
  margin: 0;
  color: #202020;
  font-size: 17px;
}

.event-facts {
  display: grid;
  gap: 0;
}

.event-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 7px 0;
  border-bottom: 1px solid #ececec;
}

.event-facts div:last-child {
  border-bottom: 0;
}

.event-facts strong {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-panel-link {
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  color: #ffffff;
  background: #303030;
  font-weight: 900;
}

.event-avatar-stack {
  display: flex;
  align-items: center;
  margin: 2px 0;
}

.event-avatar-stack .event-avatar {
  margin-right: -8px;
}

.event-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  overflow: hidden;
  color: #ffffff;
  background: #444444;
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.event-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-participant-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-participant-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-participant-list strong,
.event-participant-list span {
  display: block;
}

.event-participant-list span {
  color: var(--muted);
  font-size: 11px;
}

.event-action-row,
.event-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-action-row button:nth-child(2),
.event-modal-actions button:nth-child(2) {
  color: #202020;
  background: #eeeeee;
}

.event-danger-action {
  background: #8e1b21 !important;
}

.event-confirm-attendance-action,
.event-attendance-confirmed {
  width: 100%;
  margin-bottom: 8px;
  background: #167c45 !important;
}

.event-payment-proof-action,
.event-payment-review-action,
.event-waitlisted-action {
  width: 100%;
  margin-bottom: 8px;
}

.event-payment-proof-action {
  background: #d45b00 !important;
}

.event-payment-review-action,
.event-waitlisted-action {
  color: #ffffff !important;
  background: #656b73 !important;
  opacity: 1 !important;
}

.event-attendance-confirmed:disabled {
  color: #ffffff;
  opacity: 1;
}

.event-registration-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.62);
}

.event-registration-modal[hidden] {
  display: none;
}

.event-registration-modal > div {
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  background: #ffffff;
  border: 1px solid #d6d6d6;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.event-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid #dddddd;
}

.event-modal-header p,
.event-modal-header h2 {
  margin: 0;
}

.event-modal-header p {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-modal-header h2 {
  font-size: 20px;
}

.event-modal-header button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  color: #ffffff;
  background: #303030;
  font-weight: 900;
}

.event-registration-form {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.event-payment-proof-field {
  display: grid;
  gap: 6px;
  color: #444444;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-payment-proof-field input {
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #d8d8d8;
  color: #202020;
  background: #ffffff;
  font-weight: 500;
  text-transform: none;
}

.event-registration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.event-registration-grid label {
  display: grid;
  gap: 5px;
  color: #444444;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-registration-grid input,
.event-registration-grid select,
.event-registration-grid textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #d8d8d8;
  color: #202020;
  background: #ffffff;
  font-weight: 500;
  text-transform: none;
}

.event-registration-grid input[readonly] {
  border-color: #c7cbd1;
  color: #333333;
  background: #f3f5f7;
}

.event-registration-grid textarea {
  min-height: 78px;
  resize: vertical;
}

.event-registration-grid .span-2 {
  grid-column: 1 / -1;
}

.event-emergency-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.event-payment-fields {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.event-payment-fields[hidden] {
  display: none;
}

.event-shirt-order {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d8d8d8;
  background: #fff8f8;
}

.event-shirt-order[hidden],
.event-shirt-fields[hidden],
.event-shirt-summary img[hidden],
.event-shirt-summary [hidden] {
  display: none;
}

.event-shirt-summary {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.event-shirt-thumbnail {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  color: #777777;
  background: #ffffff;
  font-weight: 900;
}

.event-shirt-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-shirt-summary > div {
  display: grid;
  gap: 3px;
}

.event-shirt-summary > div > span,
.event-shirt-summary > div > small {
  color: #666666;
}

.event-shirt-summary > div > strong {
  color: var(--red);
  font-size: 20px;
}

.event-shirt-view-link {
  width: max-content;
  min-height: 0;
  padding: 0;
  border: 0;
  color: var(--red);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
}

.event-shirt-avail {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #efb8bb;
  background: #ffffff;
}

.event-shirt-avail label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.event-shirt-avail input {
  width: 18px !important;
  min-height: 18px !important;
  accent-color: var(--red);
}

.event-shirt-payment-account {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #444444;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.event-shirt-payment-account img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.event-shirt-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.event-shirt-option-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.event-payment-proof-preview {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid #d8d8d8;
  background: #f8f8f8;
  color: #444444;
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
}

.event-payment-proof-preview[hidden] {
  display: none;
}

.event-payment-proof-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid #cccccc;
  background: #ffffff;
}

.event-payment-proof-preview-copy {
  display: grid;
  gap: 4px;
}

.event-payment-proof-preview-copy small {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
}

.event-shirt-order-action {
  color: #ffffff !important;
  background: #9f1118 !important;
}

.event-shirt-image-modal > div {
  width: min(760px, 100%);
}

.event-shirt-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding: 14px;
}

.event-shirt-gallery figure {
  margin: 0;
  padding: 8px;
  border: 1px solid #dddddd;
  background: #f6f6f6;
}

.event-shirt-gallery img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.event-payment-fee {
  display: grid;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #d8d8d8;
  background: #f8f8f8;
}

.event-payment-fee span {
  color: #686868;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-payment-fee strong {
  color: #202020;
  font-size: 15px;
}

.event-registration-message.is-error {
  color: var(--red);
}

.event-attendance-unavailable-note {
  margin: 0;
  padding: 12px;
  border: 1px solid #efb8bb;
  color: #9f1118;
  background: #fff3f3;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.event-attendance-unavailable-note[hidden] {
  display: none;
}

.event-waiver {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #d8d8d8;
  color: #404040;
  background: #f8f8f8;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.event-waiver[hidden] {
  display: none;
}

.event-waiver input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.event-waiver span {
  display: grid;
  gap: 4px;
}

.event-waiver strong {
  color: #202020;
  font-size: 12px;
  text-transform: uppercase;
}

.event-modal-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.event-registration-notice {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 2px solid #e8202a;
  border-left-width: 8px;
  color: #151515;
  background: #fff4f4;
  box-shadow: 0 4px 14px rgba(232, 32, 42, 0.12);
}

.event-registration-notice svg {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #e8202a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-registration-notice div {
  display: grid;
  gap: 2px;
}

.event-registration-notice span {
  color: #555555;
  font-size: 12px;
  font-weight: 700;
}

.event-registration-notice strong {
  color: #171717;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.event-registration-record {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 14px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #e0e0e0;
  background: #f8f8f8;
}

.event-registration-record div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.event-registration-record dt {
  color: #686868;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-registration-record dd {
  margin: 0;
  color: #202020;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: left;
}

.event-registration-record .event-registration-shirt-note {
  align-content: center;
}

.event-registration-record .event-registration-shirt-note dd {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
}

.event-shirt-payment-chip {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  gap: 4px;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.event-shirt-fulfillment-chip {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  gap: 4px;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.event-shirt-fulfillment-chip.is-reserved {
  color: #5a4300;
  background: #f3cd55;
}

.event-shirt-fulfillment-chip.is-ready {
  color: #ffffff;
  background: #1769aa;
}

.event-shirt-fulfillment-chip.is-released {
  color: #ffffff;
  background: #17823b;
}

.event-shirt-fulfillment-chip.is-cancelled {
  color: #ffffff;
  background: #c21d28;
}

.event-shirt-fulfillment-chip.is-pending {
  color: #3f454b;
  background: #d9dde1;
}

.event-shirt-payment-chip.is-paid {
  color: #ffffff;
  background: #17823b;
}

.event-shirt-payment-chip.is-rejected {
  color: #ffffff;
  background: #c21d28;
}

.event-shirt-payment-chip.is-pending {
  color: #5a4300;
  background: #f3cd55;
}

.event-shirt-payment-chip-icon {
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  border-radius: 50%;
  color: currentColor;
  font-size: 10px;
  line-height: 1;
}

.event-shirt-fulfillment-chip-icon {
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  border-radius: 50%;
  color: currentColor;
  font-size: 10px;
  line-height: 1;
}

.event-shirt-declined-chip {
  width: max-content;
  min-height: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #c21d28;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.event-shirt-declined-chip:hover,
.event-shirt-declined-chip:focus-visible {
  background: #99141d;
}

.event-registration-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.event-registration-controls > :only-child {
  grid-column: 1 / -1;
}

.event-registration-controls .event-confirm-attendance-action,
.event-registration-controls .event-attendance-confirmed,
.event-registration-controls .event-payment-proof-action,
.event-registration-controls .event-payment-review-action,
.event-registration-controls .event-waitlisted-action {
  width: 100%;
  margin: 0;
}

@media (max-width: 920px) {
  .events-heading,
  .event-detail-shell {
    grid-template-columns: 1fr;
  }

  .events-heading {
    align-items: stretch;
    flex-direction: column;
  }


  .event-detail-main {
    grid-template-rows: auto auto;
  }
}

@media (max-width: 640px) {
  .events-page {
    padding-top: 0;
    padding-bottom: 78px;
  }

  .events-heading {
    margin-right: -10px;
    margin-left: -10px;
    padding: 14px 12px;
    border-right: 0;
    border-left: 0;
  }

  .events-heading h1 {
    font-size: 23px;
  }

  .events-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin-right: -10px;
    margin-left: -10px;
    border-right: 0;
    border-left: 0;
  }

  .events-chip-row {
    flex-wrap: nowrap;
    margin-right: -10px;
    margin-left: -10px;
    padding: 0 10px 4px;
    overflow-x: auto;
  }

  .events-chip-row button {
    flex: 0 0 auto;
  }

  .event-public-card {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .event-registration-grid {
    grid-template-columns: 1fr;
  }

  .event-shirt-payment-account {
    max-width: 58%;
    font-size: 9px;
  }

  .event-shirt-payment-account img {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .event-shirt-fields {
    grid-template-columns: 1fr;
  }

  .event-shirt-fields .span-2 {
    grid-column: auto;
  }

  .event-emergency-row,
  .event-shirt-option-row {
    gap: 6px;
  }

  .event-shirt-option-row label,
  .event-shirt-option-row .event-payment-fee {
    min-width: 0;
  }

  .event-shirt-option-row select,
  .event-shirt-option-row .event-payment-fee {
    padding-right: 6px;
    padding-left: 6px;
  }

  .event-detail-main {
    grid-template-rows: auto auto;
  }

  .event-detail-copy h1 {
    font-size: 24px;
  }

  .events-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .events-public-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .events-public-section-title {
    font-size: 18px;
  }

  .event-public-card-body {
    gap: 5px;
    padding: 8px;
  }

  .event-public-card h2 {
    font-size: 14px;
  }

  .event-card-summary {
    display: none;
  }

  .event-status-row {
    gap: 5px;
  }

  .event-status {
    min-height: 20px;
    padding: 0 5px;
    font-size: 8px;
  }

  .event-status-row > strong,
  .event-meta-grid > div > strong {
    font-size: 10px;
  }

  .event-meta-grid > div > span {
    font-size: 8px;
  }

  .event-public-card-body > button {
    min-height: 34px;
    padding: 0 7px;
    font-size: 9px;
  }

  .event-type-badge {
    top: 6px;
    left: 6px;
    padding: 4px 6px;
    font-size: 8px;
  }

  .event-detail-copy,
  .event-info-panel {
    gap: 7px;
    padding: 11px;
  }

  .event-info-panel h2 {
    font-size: 15px;
  }

  .event-facts div {
    padding: 6px 0;
  }

  .event-facts span {
    font-size: 9px;
  }

  .event-facts strong {
    font-size: 11px;
  }

  .event-registration-modal {
    align-items: end;
    padding: 0;
  }

  .event-registration-modal > div {
    max-height: 92vh;
    border-radius: 14px 14px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card.has-image-gallery .product-photo-primary,
  .product-image-gallery-frame {
    transition: none;
  }
}

.product-card-state {
  grid-column: 1 / -1;
  min-height: 160px;
  justify-content: center;
}

.product-card.product-card-state h3 {
  font-size: 18px;
}

.product-card.product-card-state p {
  min-height: 0;
  max-width: 560px;
  font-size: 13px;
}

.product-card h3 {
  margin-bottom: 7px;
  font-size: 12px;
  line-height: 1.2;
}

.product-card p {
  min-height: 45px;
  margin-bottom: 8px;
  color: #777777;
  font-size: 11px;
}

.product-card strong {
  display: block;
  min-height: 43px;
  margin-top: auto;
  margin-bottom: 0;
  color: var(--red);
  font-size: 17px;
  line-height: 1.2;
}

.product-card del {
  color: #777777;
  font-size: 13px;
  font-weight: 400;
}

.product-card em {
  color: var(--red);
  font-style: normal;
  font-size: 13px;
}

.product-detail-page {
  background: #f4f4f4;
}

.product-detail-page .content {
  padding-top: 22px;
}

.product-detail-nav a.active {
  color: var(--white);
  background: var(--red);
}

.product-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 13px;
  color: var(--dark);
  background: #ffffff;
  border: 1px solid #dedede;
  border-radius: 8px;
  font-weight: 800;
}

.product-detail-state,
.product-detail-shell,
.product-detail-info-grid > article,
.product-related-section {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.06);
}

.product-detail-state {
  min-height: 260px;
  padding: 34px;
}

.product-detail-state h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.product-detail-state p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 28px;
  padding: 24px;
}

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

.product-detail-photo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

.product-detail-photo-stage::before {
  width: 106px;
  height: 106px;
  font-size: 46px;
}

.product-detail-photo-stage.has-image img {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
}

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

.product-detail-thumbnails button {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 7px;
  background: #ffffff;
  border: 1px solid #dedede;
  border-radius: 8px;
  cursor: pointer;
}

.product-detail-thumbnails button.active,
.product-detail-thumbnails button:focus-visible {
  border-color: var(--red);
  outline: 2px solid rgba(223, 32, 39, 0.22);
}

.product-detail-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.product-detail-badges span {
  padding: 6px 9px;
  color: #334155;
  background: #eef2f5;
  border: 1px solid #d8e0e7;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-badges span:first-child {
  color: #7f1d1d;
  background: #f8e8ea;
  border-color: #efcfd4;
}

.product-detail-eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-summary h1 {
  margin: 0 0 13px;
  color: #181818;
  font-size: 34px;
  line-height: 1.08;
}

.product-detail-price {
  min-height: auto;
  margin: 0 0 14px;
  color: var(--red);
  font-size: 30px;
}

.product-detail-description {
  margin: 0 0 17px;
  color: #4c4c4c;
  font-size: 14px;
  line-height: 1.55;
}

.product-detail-description p,
.product-detail-description div,
.product-detail-description ul,
.product-detail-description ol {
  margin: 0 0 10px;
}

.product-detail-description p:last-child,
.product-detail-description div:last-child,
.product-detail-description ul:last-child,
.product-detail-description ol:last-child {
  margin-bottom: 0;
}

.product-detail-description ul,
.product-detail-description ol {
  padding-left: 20px;
}

.product-detail-description li {
  margin: 4px 0;
}

.product-detail-description a {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
}

.product-variant-picker {
  padding: 13px;
  margin-bottom: 16px;
  background: #f7f7f7;
  border: 1px solid #dedede;
  border-radius: 9px;
}

.product-variant-picker h2 {
  margin: 0 0 9px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-variant-controls {
  display: block;
}

.product-variant-field {
  display: grid;
  gap: 7px;
}

.product-variant-label {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-variant-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-variant-swatch {
  position: relative;
  min-width: 44px;
  min-height: 38px;
  padding: 7px 12px;
  color: var(--dark);
  background: #ffffff;
  border: 1px solid #b8b8b8;
  border-radius: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.product-variant-swatch:hover:not(:disabled),
.product-variant-swatch:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(228, 31, 43, 0.14);
}

.product-variant-swatch.is-selected {
  color: #ffffff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 2px rgba(228, 31, 43, 0.16);
}

.product-variant-swatch.is-unavailable {
  color: #8a8a8a;
  border-color: #d4d4d4;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), #c7c7c7 50%, transparent calc(50% + 1px)),
    #eeeeee;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.72;
}

.product-variant-picker > p {
  margin: 9px 0 0;
  font-size: 11px;
  font-weight: 850;
}

.product-variant-picker > p.available {
  color: #17733a;
}

.product-variant-picker > p.unavailable {
  color: #9b2226;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.product-detail-actions a,
.product-detail-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--red);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.product-detail-actions a:not(.product-messenger),
.product-detail-actions button:not(.product-add-to-cart) {
  color: var(--dark);
  background: #eeeeee;
}

.product-detail-actions .product-messenger {
  color: var(--red);
  border: 1px solid var(--red);
  background: #ffffff;
}

.product-detail-actions .product-add-to-cart {
  color: #ffffff;
  background: var(--red);
}

.product-detail-actions .product-add-to-cart:disabled {
  color: #777777;
  background: #dddddd;
  cursor: not-allowed;
}

.product-detail-note {
  margin: 0;
  padding: 12px;
  color: #555555;
  background: #f7f7f7;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.product-detail-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.95fr) minmax(240px, 0.8fr);
  gap: 16px;
  margin-top: 16px;
}

.service-detail-info {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
}

.service-detail-shell .product-detail-photo-stage.is-fallback img,
.service-detail-shell .product-detail-photo-stage img[src$="workshop-service.png"] {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info-grid > article,
.product-related-section {
  padding: 18px;
}

.product-detail-info-grid h2,
.product-related-section h2 {
  margin: 0 0 13px;
  color: #1e1e1e;
  font-size: 18px;
}

.product-spec-table {
  margin: 0;
}

.product-spec-table div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #eeeeee;
}

.product-spec-table div:first-child {
  border-top: 0;
}

.product-spec-table dt {
  color: #6a6a6a;
  font-weight: 900;
}

.product-spec-table dd {
  margin: 0;
  color: #222222;
  font-weight: 700;
}

.product-branch-list {
  display: grid;
  gap: 10px;
}

.product-branch-card {
  padding: 12px;
  background: #f7f8fa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.product-branch-card strong,
.product-branch-card span {
  display: inline-flex;
  margin-right: 7px;
}

.product-branch-card span {
  padding: 4px 7px;
  color: #ffffff;
  background: #6f6f6f;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
}

.product-branch-card span.available {
  background: #147a3d;
}

.product-branch-card p {
  margin: 8px 0 0;
  color: #555555;
  font-size: 12px;
}

.product-related-section {
  margin-top: 16px;
}

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

.product-mini-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 10px;
  background: #f8f8f8;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
}

.product-mini-card .product-photo {
  height: 125px;
  margin: 0 0 10px;
  border-radius: 7px;
}

.product-mini-card > strong {
  min-height: 34px;
  margin-bottom: 8px;
  color: #222222;
  font-size: 12px;
  line-height: 1.2;
}

.product-mini-card > strong + strong {
  min-height: auto;
  margin-top: auto;
  color: var(--red);
  font-size: 15px;
}

.product-sticky-inquiry {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 76px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.product-sticky-inquiry span,
.product-sticky-inquiry strong {
  display: block;
}

.product-sticky-inquiry span {
  max-width: 46vw;
  overflow: hidden;
  color: #555555;
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-sticky-inquiry strong {
  color: var(--red);
  font-size: 15px;
}

.product-sticky-inquiry a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  color: #ffffff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.banner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 33px;
}

.sale-banner {
  min-height: 111px;
  padding: 15px;
  color: var(--white);
  background-color: #222222;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)),
    url("assets/workshop-service.png");
  background-size: auto, cover;
  background-position: center;
}

.sale-banner h2 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 0.92;
  text-transform: uppercase;
}

.sale-banner p {
  margin-bottom: 8px;
  color: #ededed;
  font-size: 12px;
}

.banner-shoes {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.15)),
    url("assets/product-bikes.png");
  background-size: auto, 200% 200%;
  background-position: right bottom;
}

.info-panels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 32px;
  margin-bottom: 31px;
  background: var(--white);
  border: 1px solid var(--line);
}

.info-panels > article {
  min-height: 251px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.info-panels > article:last-child {
  border-right: 0;
}

.info-panels h2 {
  margin-bottom: 18px;
  font-size: 16px;
  text-transform: uppercase;
}

.mock-facebook {
  height: 154px;
  padding: 15px;
  border: 1px solid #c7c7c7;
  background: #f7f7f7;
}

.mock-facebook strong,
.mock-facebook span {
  display: block;
}

.mock-facebook span {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
}

.fb-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.fb-photos span {
  height: 38px;
  background-image: url("assets/product-bikes.png");
  background-size: 400% 400%;
}

.fb-photos span:nth-child(1) {
  background-position: left top;
}

.fb-photos span:nth-child(2) {
  background-position: right top;
}

.fb-photos span:nth-child(3) {
  background-position: left bottom;
}

.fb-photos span:nth-child(4) {
  background-position: right bottom;
}

.mock-facebook p {
  color: #555555;
  font-size: 11px;
}

.service-list {
  display: grid;
  gap: 21px;
}

.service-list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
}

.round-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--red);
  border: 2px solid #dedede;
  border-radius: 50%;
  font-weight: 800;
}

.service-list h3 {
  margin-bottom: 3px;
  font-size: 14px;
  text-transform: uppercase;
}

.service-list p,
.useful-links a {
  color: #666666;
  font-size: 11px;
}

.useful-links a {
  display: block;
  margin-bottom: 8px;
}

.useful-links a:hover,
.useful-links a:focus-visible {
  color: var(--red);
}

.footer {
  color: #c8c8c8;
  background: #2b2b2b;
}

.footer-main {
  display: grid;
  grid-template-columns: 230px 150px 150px 140px 1fr;
  gap: 25px;
  min-height: 200px;
  padding: 30px 0 24px;
}

.footer-logo img {
  width: 160px;
  height: 114px;
  object-fit: contain;
}

.footer h2 {
  margin-bottom: 13px;
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
}

.footer a,
.footer p,
.footer span {
  display: block;
  margin-bottom: 7px;
  color: #b7b7b7;
  font-size: 11px;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--red);
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.15;
  cursor: pointer;
}

.footer-bottom {
  min-height: 50px;
  background: #222222;
}

.footer-bottom .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
}

.footer-bottom span {
  display: inline;
  margin: 0;
}

.social-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.58);
}

.social-preview-modal[hidden] {
  display: none;
}

.social-preview-modal > div {
  position: relative;
  width: min(420px, 100%);
  padding: 22px;
  color: #202020;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.social-preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 34px;
  padding: 0 10px;
  color: #ffffff;
  background: #252525;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.social-preview-modal span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 8px;
  color: #334155;
  background: #eef2f5;
  border: 1px solid #d8e0e7;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.social-preview-modal h2 {
  margin: 0 70px 10px 0;
  color: #171717;
  font-size: 22px;
  line-height: 1.1;
}

.social-preview-modal p {
  margin: 0 0 16px;
  color: #555555;
  font-size: 13px;
  line-height: 1.45;
}

.social-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.social-preview-actions a,
.social-preview-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.social-preview-actions a {
  color: #ffffff;
  background: var(--red);
}

.social-preview-actions button {
  color: #202020;
  background: #eeeeee;
}

.product-search-modal,
.product-stock-modal {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.58);
}

.product-stock-modal {
  z-index: 94;
}

.product-search-modal[hidden],
.product-stock-modal[hidden] {
  display: none;
}

.product-search-modal > section {
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow: hidden;
  color: #202020;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.product-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.product-search-head span,
.product-stock-modal span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 8px;
  color: #334155;
  background: #eef2f5;
  border: 1px solid #d8e0e7;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-search-head h2,
.product-stock-modal h2 {
  margin: 0;
  color: #171717;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}

.product-search-head p,
.product-search-note,
.product-stock-modal p {
  margin: 0;
  color: #555555;
  font-size: 13px;
  line-height: 1.45;
}

.product-search-head button,
.product-stock-close {
  min-height: 34px;
  padding: 0 10px;
  color: #ffffff;
  background: #252525;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.product-search-body {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
}

.product-search-form {
  display: grid;
  grid-template-columns: 1fr 54px;
  border: 1px solid #cfcfcf;
  background: #ffffff;
}

.product-search-form input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 0;
  color: #202020;
  font: inherit;
  outline: 0;
}

.product-search-form input[aria-invalid="true"] {
  box-shadow: inset 0 0 0 2px var(--red);
}

.product-search-validation {
  min-height: 18px;
  margin: 0;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 800;
}

.product-search-form button {
  position: relative;
  width: 54px;
  height: 44px;
  overflow: hidden;
  color: transparent;
  border: 0;
  background: var(--red);
  cursor: pointer;
}

.product-search-form button::before {
  position: absolute;
  top: 12px;
  left: 17px;
  width: 13px;
  height: 13px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  content: "";
}

.product-search-form button::after {
  position: absolute;
  top: 28px;
  left: 31px;
  width: 10px;
  height: 3px;
  content: "";
  background: #ffffff;
  transform: rotate(45deg);
  transform-origin: left center;
}

.product-search-results {
  display: grid;
  gap: 8px;
  max-height: min(440px, calc(100vh - 270px));
  overflow: auto;
  padding-right: 4px;
}

.product-search-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 10px;
  color: #202020;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
}

.product-search-row:hover,
.product-search-row:focus-visible {
  border-color: var(--red);
  outline: 0;
  box-shadow: 0 10px 24px rgba(201, 0, 19, 0.12);
}

.product-search-thumb {
  display: grid;
  place-items: center;
  width: 74px;
  height: 60px;
  overflow: hidden;
  color: var(--red);
  background: #f5f5f5;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 22px;
  font-weight: 900;
}

.product-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-search-row-detail,
.product-search-row-meta {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.product-search-row-detail strong {
  overflow: hidden;
  color: #151515;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-search-row-detail span,
.product-search-row-meta span {
  color: #666666;
  font-size: 12px;
  line-height: 1.35;
}

.product-search-row-meta {
  justify-items: end;
  text-align: right;
}

.product-search-row-meta strong {
  color: #111111;
  font-size: 14px;
  white-space: nowrap;
}

.product-search-row-meta span {
  min-height: 22px;
  padding: 3px 7px;
  color: #ffffff;
  background: #147a3d;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-search-row-meta.is-stock-only span {
  background: #9a6500;
}

.product-search-state {
  padding: 18px;
  color: #202020;
  background: #f7f7f7;
  border: 1px dashed #c7c7c7;
  border-radius: 8px;
}

.product-search-state strong {
  display: block;
  margin-bottom: 6px;
  color: #151515;
  font-size: 15px;
}

.product-search-state p {
  margin: 0;
  color: #555555;
  font-size: 13px;
  line-height: 1.45;
}

.product-search-page-content {
  padding-top: 22px;
}

.product-search-page-shell {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: #202020;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.product-search-page-heading span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 8px;
  color: #334155;
  background: #eef2f5;
  border: 1px solid #d8e0e7;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-search-page-heading h1 {
  margin: 0 0 7px;
  color: #171717;
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
}

.product-search-page-heading p {
  margin: 0;
  color: #555555;
  font-size: 13px;
  line-height: 1.45;
}
.product-search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  border: 1px solid #cfcfcf;
  background: #ffffff;
}

.product-search-page-form input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  color: #202020;
  border: 0;
  font: inherit;
  outline: 0;
}

.product-search-page-form button {
  position: relative;
  width: 56px;
  height: 46px;
  overflow: hidden;
  color: transparent;
  border: 0;
  background: var(--red);
  cursor: pointer;
}

.product-search-page-form button::before {
  position: absolute;
  top: 12px;
  left: 18px;
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  content: "";
}

.product-search-page-form button::after {
  position: absolute;
  top: 29px;
  left: 33px;
  width: 10px;
  height: 3px;
  content: "";
  background: #ffffff;
  transform: rotate(45deg);
  transform-origin: left center;
}

.product-search-page-results {
  display: grid;
  gap: 10px;
}

.product-search-page-results .product-search-row {
  min-height: 94px;
}

.product-stock-modal > section {
  position: relative;
  width: min(440px, 100%);
  padding: 22px;
  color: #202020;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.product-stock-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.product-stock-modal h2 {
  margin-right: 80px;
}

.product-stock-modal p {
  margin-bottom: 14px;
}

.product-stock-modal strong[data-product-stock-price] {
  display: block;
  margin-bottom: 16px;
  color: #151515;
  font-size: 24px;
  line-height: 1.1;
}

.product-stock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.product-stock-actions a,
.product-stock-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.product-stock-actions a {
  color: #ffffff;
  background: var(--red);
}

.product-stock-actions button {
  color: #202020;
  background: #eeeeee;
}

.community-section {
  padding: 28px 0 42px;
}

.community-heading,
.community-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.community-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.community-heading p {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.community-heading h1 {
  max-width: 720px;
  margin: 0;
  color: #141414;
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}

.community-heading button,
.community-login-card button,
.community-composer button,
.community-post-actions button,
.community-reply-form button,
.community-comment-actions button,
.community-comment-reply-form button,
.community-auth-prompt button,
.community-create-modal button,
.community-thread-modal button {
  min-height: 36px;
  padding: 0 14px;
  color: var(--white);
  border: 0;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.community-heading button.is-disabled {
  background: #666666;
}

.community-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

.community-sidebar,
.community-feed {
  min-width: 0;
}

.community-login-card,
.community-filters,
.community-composer,
.community-post-card,
.community-state-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.community-login-card,
.community-filters {
  padding: 16px;
  margin-bottom: 12px;
}

.community-login-card h2,
.community-state-card h3 {
  margin: 0 0 8px;
  color: #151515;
  font-size: 16px;
  text-transform: uppercase;
}

.community-login-card p,
.community-state-card p {
  margin: 0 0 12px;
  color: #5f5f5f;
}

.community-login-card [data-community-register] {
  margin-top: 8px;
  background: #252525;
}

.community-login-form {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 12px;
  background: #f7f7f7;
  border: 1px solid #dddddd;
}

.community-login-form[hidden] {
  display: none;
}

.community-login-brand {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #dddddd;
}

.community-login-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.community-login-brand strong,
.community-login-brand span {
  display: block;
}

.community-login-brand strong {
  color: #151515;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.community-login-brand span {
  margin-top: 2px;
  color: #666666;
  font-size: 11px;
  line-height: 1.3;
}

.community-login-form label {
  display: grid;
  gap: 6px;
  color: #202020;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.community-login-form input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  color: #222222;
  background: #ffffff;
  border: 1px solid #cfcfcf;
  font: inherit;
}

.login-password-control {
  position: relative;
  display: block;
}

.community-login-form .login-password-control input {
  padding-right: 44px;
}

.community-login-form .login-password-toggle {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 40px;
  min-height: 36px;
  padding: 0;
  color: #4b4b4b;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.community-login-form .login-password-toggle:hover,
.community-login-form .login-password-toggle:focus-visible {
  color: var(--red);
  background: #f3f3f3;
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.community-login-form .login-password-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.community-login-form .stay-signed-in-control {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  color: #202020;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: none;
  cursor: pointer;
}

.community-login-form .stay-signed-in-control input {
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  accent-color: var(--red);
}

.community-login-form .stay-signed-in-control small {
  color: #666666;
  font-size: 10px;
  font-weight: 500;
}

.community-login-form p {
  margin: 0;
  color: #666666;
  font-size: 11px;
  line-height: 1.35;
}

.community-login-form p.is-error {
  color: var(--red-dark);
  font-weight: 800;
}

.community-login-form p.is-success {
  color: #156b2f;
  font-weight: 800;
}

.community-login-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.community-auth-prompt .community-login-actions .community-login-register {
  color: #ffffff;
  background: #252525;
}

.account-recovery-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 2px;
}

.community-auth-prompt .account-recovery-links button,
.account-recovery-links button {
  width: auto;
  min-height: 0;
  padding: 2px 0;
  color: #b3131b;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
  cursor: pointer;
}

.account-recovery-links button:hover,
.account-recovery-links button:focus-visible {
  color: var(--red);
}

.account-recovery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.62);
}

.account-recovery-modal[hidden] {
  display: none;
}

.account-recovery-modal > div {
  width: min(480px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid #d5d5d5;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.account-recovery-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid #dddddd;
}

.account-recovery-modal header .section-eyebrow {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-recovery-modal h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
}

.account-recovery-modal .account-recovery-close {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #222222;
  border: 1px solid #cccccc;
  background: #f4f4f4;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.account-recovery-modal form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.account-recovery-modal form[hidden] {
  display: none;
}

.account-recovery-modal form > p:first-child {
  margin: 0;
  color: #555555;
  font-size: 13px;
  line-height: 1.45;
}

.account-recovery-modal label {
  display: grid;
  gap: 7px;
  color: #202020;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-recovery-modal input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cfcfcf;
  background: #ffffff;
  font: inherit;
}

.account-recovery-modal form > button[type="submit"] {
  min-height: 46px;
  padding: 10px 16px;
  color: #ffffff;
  border: 0;
  background: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.account-recovery-modal button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.account-recovery-message {
  min-height: 18px;
  margin: 0;
  color: #555555;
  font-size: 12px;
  line-height: 1.4;
}

.account-recovery-message.is-success {
  color: #156b2f;
  font-weight: 800;
}

.account-recovery-message.is-error {
  color: var(--red-dark);
  font-weight: 800;
}

.community-auth-actions {
  margin-top: 10px;
}

.community-filters label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: #202020;
  font-weight: 800;
  text-transform: uppercase;
}

.community-filters input,
.community-filters select,
.community-composer textarea,
.community-reply-form input {
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid #cfcfcf;
  background: #fbfbfb;
  color: #202020;
  font: inherit;
}

.community-composer {
  padding: 14px;
  margin-bottom: 14px;
}

.community-composer-launcher-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0 0 14px;
}

.community-composer-launcher-row.has-customer-avatar {
  grid-template-columns: auto minmax(0, 1fr);
}

.community-composer-launcher-row > .community-composer-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 7px;
  color: #ffffff;
  border-radius: 50%;
  background: #202020;
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
  text-transform: uppercase;
}

.community-composer-launcher-row > .community-composer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-composer-launcher {
  display: block;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 10px 14px;
  color: #777777;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.community-composer-launcher span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-composer textarea {
  min-height: 96px;
  resize: vertical;
}

.community-composer p {
  margin: 8px 0 0;
  color: #686868;
}

.community-composer:not(.is-composing):not(.has-draft) [data-community-warning],
.community-composer:not(.is-composing):not(.has-draft) .community-composer-categories,
.community-composer:not(.is-composing):not(.has-draft) .community-photo-previews,
.community-composer:not(.is-composing):not(.has-draft) .community-composer-actions {
  display: none;
}

.community-composer-categories,
.community-photo-previews {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.community-composer-categories button {
  min-height: 26px;
  padding: 0 10px;
  color: #202020;
  border: 1px solid #cfcfcf;
  border-radius: 14px;
  background: #f7f7f7;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.community-composer-categories button.active {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.community-photo-preview {
  position: relative;
  width: 56px;
  aspect-ratio: 1 / 1;
  border: 1px solid #d0d0d0;
  background: #f7f7f7;
  overflow: hidden;
}

.community-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-photo-preview button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 15px;
  height: 15px;
  min-height: 0;
  padding: 0;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}

.community-composer.is-dragging textarea {
  border-color: var(--red);
  background: #fff7f7;
  box-shadow: 0 0 0 2px rgba(225, 31, 38, 0.14);
}

.community-composer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.community-composer-actions label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  color: #111111;
  border: 1px solid #cfcfcf;
  background: #f7f7f7;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.community-composer-actions label.community-photo-add {
  width: 46px;
  padding: 0;
}

.community-photo-add svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.community-composer-actions input {
  display: none;
}

.community-composer button[type="button"] {
  color: #111111;
  border: 1px solid #cfcfcf;
  background: #f7f7f7;
}

.community-composer button.active {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.community-message.is-error {
  color: var(--red-dark);
}

.community-message.is-success {
  color: #177445;
}

.community-posts {
  display: grid;
  gap: 12px;
}

.community-post-card,
.community-state-card {
  padding: 16px;
}

.community-post-card {
  cursor: pointer;
}

.community-post-actions,
.community-comment-actions,
.community-comment-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.community-comment-heading span {
  color: #666666;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.community-comment-heading span {
  color: var(--red);
}

.community-post-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.community-post-avatar {
  width: 42px;
  height: 42px;
  font-size: 12px;
}

.community-post-identity {
  min-width: 0;
}

.community-post-identity strong {
  display: block;
  color: #171717;
  font-size: 16px;
  line-height: 1.1;
}

.community-post-detail {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: #656a72;
  font-size: 12px;
  font-weight: 800;
}

.community-post-visibility {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  color: #656a72;
}

.community-post-visibility svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.community-post-menu {
  position: relative;
  align-self: start;
}

.community-post-menu-button {
  min-height: 28px;
  padding: 0 4px;
  color: #656a72;
  border: 0;
  background: transparent;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
  cursor: pointer;
}

.community-post-menu-button:hover,
.community-post-menu-button:focus-visible {
  color: #171717;
}

.community-post-menu-list {
  position: absolute;
  top: 30px;
  right: 0;
  z-index: 20;
  width: 148px;
  padding: 6px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.community-post-menu-list[hidden] {
  display: none;
}

.community-post-menu-list button {
  display: block;
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  color: #222222;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.community-post-menu-list button:hover,
.community-post-menu-list button:focus-visible {
  color: #ffffff;
  background: var(--red);
}

.community-post-body {
  margin: 12px 0;
  color: #222222;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.community-media-grid {
  display: grid;
  gap: 3px;
  margin: 12px 0;
  background: #eeeeee;
  overflow: hidden;
}

.community-media-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border: 0;
  background: #eeeeee;
}

.community-media-button {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.community-media-button:hover img,
.community-media-button:focus-visible img {
  filter: brightness(0.92);
}

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

.community-media-grid.media-count-1 > img,
.community-media-grid.media-count-1 > .community-media-button {
  aspect-ratio: 16 / 10;
  max-height: 520px;
}

.community-media-grid.media-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-media-grid.media-count-2 > img,
.community-media-grid.media-count-2 > .community-media-button {
  aspect-ratio: 1 / 1;
}

.community-media-grid.media-count-3 {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 16 / 9;
}

.community-media-grid.media-count-3 > img,
.community-media-grid.media-count-3 > .community-media-button {
  aspect-ratio: auto;
}

.community-media-grid.media-count-3 > img:first-child,
.community-media-grid.media-count-3 > .community-media-button:first-child {
  grid-row: 1 / span 2;
}

.community-post-actions,
.community-comment-actions {
  gap: 14px;
  margin-top: 8px;
}

.community-post-actions button,
.community-comment-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: auto;
  padding: 0;
  color: #4b4b4b;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.community-post-actions button:hover,
.community-post-actions button:focus-visible,
.community-comment-actions button:hover,
.community-comment-actions button:focus-visible {
  color: var(--red);
}

.community-post-actions .community-like-action,
.community-post-actions .community-thread-action {
  gap: 5px;
  color: #60656d;
}

.community-action-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.community-action-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.community-action-count {
  min-width: 1ch;
  color: currentColor;
  font-size: 13px;
  font-weight: 700;
}

.community-comments {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.community-reply-preview {
  display: grid;
  gap: 12px;
  padding: 12px 18px 16px;
}

.community-reply-preview > .community-comment.community-comment-preview {
  padding: 0;
  border-left: 0;
  background: transparent;
}

.community-reply-preview > .community-comment.community-comment-preview.is-staff {
  border-left: 0;
  background: transparent;
}

.community-more-replies {
  justify-self: start;
  padding: 2px 0;
  color: #4d4d4d;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.community-more-replies:hover,
.community-more-replies:focus-visible {
  color: var(--red);
}

.community-comment {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 10px;
  border-left: 4px solid #d8d8d8;
  background: #f7f7f7;
}

.community-comment-content {
  min-width: 0;
}

.community-comment.is-staff {
  border-left-color: var(--red);
  background: #fff7f7;
}

.community-comment-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  border-radius: 50%;
  background: #252525;
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
}

.community-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-comment strong {
  font-size: 12px;
}

.community-comment p {
  margin: 6px 0 0;
  color: #333333;
}

.community-comment-replies {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.community-comment-replies .community-comment {
  padding: 8px;
  background: #ffffff;
}

.community-reply-form,
.community-comment-reply-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.community-comment-reply-form[hidden] {
  display: none;
}

.community-thread-empty {
  margin: 0;
  padding: 12px;
  color: #666666;
  background: #f7f7f7;
  border-left: 4px solid #d8d8d8;
  font-weight: 800;
}

.community-auth-prompt,
.community-create-modal,
.community-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.54);
}

.community-auth-prompt[hidden],
.community-create-modal[hidden],
.community-edit-modal[hidden] {
  display: none;
}

.community-thread-modal {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.58);
}

.community-thread-modal[hidden] {
  display: none;
}

.community-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 68;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
}

.community-photo-modal[hidden] {
  display: none;
}

.community-photo-modal > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  width: min(1120px, 100%);
  max-height: min(780px, calc(100vh - 36px));
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.community-photo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 22px;
  background: #111111;
}

.community-photo-stage figure {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, calc(100vh - 100px));
  aspect-ratio: 1 / 1;
  margin: 0;
  background: #050505;
}

.community-photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.community-photo-stage figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 24px;
  padding: 4px 8px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.community-photo-close,
.community-photo-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
}

.community-photo-close {
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 28px;
  min-height: 0;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.community-photo-nav {
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.community-photo-prev {
  left: 14px;
}

.community-photo-next {
  right: 14px;
}

.community-photo-nav[hidden] {
  display: none;
}

.community-photo-close:hover,
.community-photo-close:focus-visible,
.community-photo-nav:hover,
.community-photo-nav:focus-visible {
  background: var(--red);
}

.community-photo-panel {
  min-height: 0;
  border-left: 1px solid #dddddd;
  background: #ffffff;
  overflow: auto;
}

.community-photo-panel-inner {
  display: grid;
  gap: 12px;
  padding: 16px;
  min-height: 100%;
}

.community-photo-panel .community-post-header {
  align-items: start;
}

.community-photo-panel .community-post-body {
  margin: 0;
}

.community-photo-comments {
  align-content: start;
  max-height: 360px;
  overflow: auto;
}

.community-thread-modal > div,
.community-create-modal > div {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(820px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  border: 1px solid #dddddd;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.community-thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid #e6e6e6;
}

.community-thread-header p {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.community-thread-header h2 {
  margin: 0;
  color: #171717;
  font-size: 18px;
  text-transform: uppercase;
}

.community-thread-header button {
  flex: 0 0 auto;
  background: #252525;
}

.community-thread-content {
  min-height: 0;
  padding: 16px;
  overflow: auto;
}

.community-create-modal {
  z-index: 66;
}

.community-create-modal > div {
  grid-template-rows: auto minmax(0, 1fr);
  width: min(640px, 100%);
}

.community-create-modal .community-composer {
  margin: 0;
  border: 0;
  overflow: auto;
}

.community-create-modal .community-composer textarea {
  min-height: 130px;
}

.community-edit-modal {
  z-index: 66;
}

.community-edit-modal > div {
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(560px, 100%);
  max-height: min(620px, calc(100vh - 36px));
  border: 1px solid #dddddd;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.community-edit-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  min-height: 0;
  overflow: auto;
}

.community-edit-author {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.community-edit-author .community-comment-avatar {
  width: 40px;
  height: 40px;
}

.community-edit-author strong,
.community-edit-author span {
  display: block;
}

.community-edit-author strong {
  color: #171717;
  font-size: 15px;
  line-height: 1.1;
}

.community-edit-author span {
  margin-top: 3px;
  color: #666666;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.community-edit-media[hidden] {
  display: none;
}

.community-edit-media .community-media-grid {
  margin: 0;
}

.community-edit-form textarea {
  width: 100%;
  min-height: 170px;
  padding: 12px;
  color: #202020;
  border: 1px solid #cfcfcf;
  background: #fbfbfb;
  font: inherit;
  resize: vertical;
}

.community-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-edit-actions button {
  min-height: 36px;
  padding: 0 14px;
  color: #ffffff;
  border: 0;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.community-edit-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.community-edit-actions button[type="button"] {
  background: #252525;
}

.community-edit-confirm {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #f0c8c8;
  background: #fff7f7;
}

.community-edit-confirm[hidden] {
  display: none;
}

.community-edit-confirm p {
  margin: 0;
  color: #222222;
  font-size: 12px;
  font-weight: 800;
}

.community-edit-confirm div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-edit-confirm button {
  min-height: 32px;
  padding: 0 10px;
  color: #ffffff;
  border: 0;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.community-edit-confirm button:nth-child(2),
.community-edit-confirm button:nth-child(3) {
  background: #252525;
}

.community-post-thread-card {
  padding: 0;
  border: 0;
}

.community-post-thread-card .community-comments {
  margin-top: 16px;
}

.community-auth-prompt > div {
  width: min(420px, 100%);
  padding: 20px;
  border: 1px solid #dddddd;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.community-auth-prompt h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.15;
  text-transform: uppercase;
}

.community-auth-prompt p {
  margin: 0 0 16px;
  color: #555555;
}

.community-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-auth-prompt button:last-child {
  color: #202020;
  border: 1px solid #cccccc;
  background: #f3f3f3;
}

.customer-profile-view {
  padding: 26px 0 44px;
}

.profile-shell {
  background: #ffffff;
  border: 1px solid #d0d0d0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.profile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  color: #ffffff;
  background: #242424;
}

.profile-heading p {
  margin-bottom: 4px;
  color: #e1e1e1;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-heading h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}

.profile-heading button,
.profile-actions button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  color: #ffffff;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.profile-heading button {
  background: #ffffff;
  color: #242424;
}

.profile-form,
.change-password-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.profile-registration-note {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  color: #4b4b4b;
  background: #f7f7f7;
  font-size: 13px;
  line-height: 1.45;
}

.profile-form.is-registration-form {
  max-width: 760px;
}

.change-password-form {
  border-top: 1px solid var(--line);
}

.change-password-form h2 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
}

.profile-photo-field {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 14px;
}

.profile-photo-preview {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  overflow: hidden;
  color: #ffffff;
  background: #2b2b2b;
  border: 4px solid #f0f0f0;
  font-size: 20px;
  font-weight: 900;
}

.profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-field label,
.profile-grid label {
  display: grid;
  gap: 7px;
  color: #333333;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-photo-field p,
.profile-message {
  margin: 0;
  color: #666666;
  font-size: 12px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-grid input,
.profile-photo-field input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #cfcfcf;
  background: #ffffff;
  font-size: 13px;
}

.password-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
}

.password-control input {
  border-right: 0;
}

.password-control button {
  border: 1px solid #cfcfcf;
  color: #ffffff;
  background: #333333;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.rider-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d5d5d5;
}

.rider-types legend {
  padding: 0 6px;
  color: #333333;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rider-types label,
.consent-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  background: #f2f2f2;
  color: #333333;
  font-size: 12px;
  font-weight: 800;
}

.consent-line {
  justify-content: flex-start;
  width: fit-content;
  padding: 10px 12px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-actions button[type="button"] {
  color: #ffffff;
  background: #2c2c2c;
}

.profile-message.is-error {
  color: var(--red-dark);
  font-weight: 800;
}

.profile-message.is-success {
  color: #156b2f;
  font-weight: 800;
}
/* Public rider profiles */
.is-rider-profile-page {
  background: #f1f2f3;
}

.rider-profile-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #d9d9d9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.rider-profile-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.rider-profile-site-header .logo {
  min-width: 290px;
}

.rider-profile-site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rider-profile-site-header nav a,
.rider-profile-site-header nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  color: #262626;
  background: #eeeeee;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.rider-profile-site-header nav button:first-of-type,
.rider-profile-site-header nav a[data-profile-header-account] {
  color: #ffffff;
  background: var(--red);
}

.rider-profile-page {
  padding-top: 22px;
  padding-bottom: 52px;
}

.rider-profile-state {
  min-height: 340px;
  display: grid;
  place-content: center;
  text-align: center;
}

.rider-profile-state h1,
.rider-profile-state p {
  margin: 0;
}

.rider-profile-state p {
  margin-top: 8px;
  color: #666666;
}

.rider-profile-shell {
  overflow: hidden;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  background: #f7f7f7;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.rider-profile-cover {
  position: relative;
  height: 245px;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(0, 0, 0, 0.3), rgba(230, 28, 36, 0.15)),
    url("assets/hero-cinematic-poster.jpg") center 58% / cover;
}

.rider-profile-cover-media {
  width: 100%;
  height: 100%;
}

.rider-profile-cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rider-profile-summary {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  min-height: 170px;
  padding: 24px 30px 24px;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
}

.rider-profile-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  margin-top: -104px;
  border: 6px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: #222222;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-size: 34px;
  font-weight: 900;
}

.rider-profile-avatar-media {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
}

.rider-profile-avatar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rider-profile-photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.rider-profile-photo-action {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 3px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: #df2027;
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.32);
  cursor: pointer;
}

.rider-profile-photo-action[hidden],
.rider-profile-level-badge[hidden] {
  display: none;
}

.rider-profile-photo-action:hover,
.rider-profile-photo-action:focus-visible {
  background: #b9141b;
  transform: translateY(-1px);
}

.rider-profile-photo-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.rider-profile-photo-action svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.rider-profile-avatar-action {
  right: -7px;
  bottom: 8px;
}

.rider-profile-cover-action {
  right: 18px;
  bottom: 18px;
}

.rider-profile-level-badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: block;
  width: 112px;
  line-height: 0;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.4));
  transition: transform 150ms ease;
}

.rider-profile-level-badge:hover,
.rider-profile-level-badge:focus-visible {
  transform: scale(1.04);
}

.rider-profile-level-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.rider-profile-photo-message {
  position: absolute;
  z-index: 4;
  right: 72px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 110px));
  margin: 0;
  padding: 9px 12px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(25, 25, 25, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.rider-profile-photo-message[data-type="error"] {
  background: #a10f15;
}

.rider-profile-photo-message[data-type="success"] {
  background: #176a39;
}

.rider-profile-identity h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
}

.rider-profile-username,
.rider-profile-location,
.rider-profile-bio {
  margin: 5px 0 0;
}

.rider-profile-username {
  color: #555555;
  font-weight: 800;
}

.rider-profile-location {
  color: #555555;
  font-size: 12px;
}

.rider-profile-bio {
  max-width: 620px;
  color: #333333;
  font-size: 14px;
  line-height: 1.45;
}

.rider-profile-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 13px;
  color: #666666;
  font-size: 12px;
}

.rider-profile-counts strong {
  color: #202020;
}

.rider-profile-primary-actions {
  display: flex;
  gap: 8px;
}

.rider-profile-primary-actions button,
.rider-profile-panel header button,
.rider-profile-panel-body-actions button,
.rider-profile-activity-header button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.rider-profile-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 14px;
}

.customer-orders-panel {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 18px;
  margin: 0 20px 20px;
  overflow: hidden;
}

.customer-orders-page {
  display: grid;
  gap: 14px;
  padding: 24px 16px 44px;
}

.customer-orders-page-heading {
  align-items: end;
  background: #ffffff;
  border: 1px solid #dedede;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  padding: 20px 22px;
}

.customer-orders-page-heading p,
.customer-orders-page-heading h1,
.customer-orders-page-heading span {
  margin: 0;
}

.customer-orders-page-heading p {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.customer-orders-page-heading h1 {
  font-size: 30px;
}

.customer-orders-page-heading span {
  color: #666666;
  font-size: 13px;
}

.customer-orders-page-heading button,
.customer-order-empty button {
  background: #ffffff;
  border: 1px solid #bdbdbd;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  min-height: 40px;
  padding: 0 18px;
}

.customer-orders-page-panel {
  margin: 0;
}

.customer-orders-panel[hidden] {
  display: none;
}

.customer-orders-panel > header {
  align-items: center;
  border-bottom: 1px solid #ececec;
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
}

.customer-orders-panel > header p,
.customer-orders-panel > header h2 {
  margin: 0;
}

.customer-orders-panel > header p {
  color: #c81924;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.customer-orders-panel > header h2 {
  font-size: 24px;
}

.customer-orders-panel > header button {
  background: #f5f5f5;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  padding: 9px 16px;
}

.customer-orders-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.customer-order-card {
  border: 1px solid #dedede;
  border-radius: 14px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.customer-order-card > header,
.customer-order-summary,
.customer-order-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.customer-order-card h3,
.customer-order-card p {
  margin: 0;
}

.customer-order-card > header small,
.customer-order-summary span {
  color: #696969;
  font-size: 12px;
}

.customer-order-status {
  background: #edf4ff;
  border-radius: 999px;
  color: #245990;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 11px;
}

.customer-order-card.status-delivered .customer-order-status,
.customer-order-card.status-completed .customer-order-status {
  background: #e5f7ea;
  color: #237540;
}

.customer-order-card.status-issue_reported .customer-order-status,
.customer-order-card.status-cancelled .customer-order-status,
.customer-order-card.status-rejected .customer-order-status {
  background: #ffe7e7;
  color: #9b2929;
}

.customer-order-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(70px, 1fr));
  list-style: none;
  margin: 4px 0;
  overflow-x: auto;
  padding: 0;
}

.customer-order-progress li {
  color: #888;
  display: grid;
  font-size: 10px;
  gap: 7px;
  min-width: 78px;
  position: relative;
  text-align: center;
}

.customer-order-progress li::before {
  background: #dcdcdc;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 7px;
}

.customer-order-progress li:first-child::before {
  left: 50%;
}

.customer-order-progress li:last-child::before {
  right: 50%;
}

.customer-order-progress li > span {
  background: #fff;
  border: 3px solid #d2d2d2;
  border-radius: 50%;
  height: 16px;
  justify-self: center;
  position: relative;
  width: 16px;
  z-index: 1;
}

.customer-order-progress li.done {
  color: #222;
  font-weight: 800;
}

.customer-order-progress li.done::before {
  background: #c81924;
}

.customer-order-progress li.done > span {
  background: #c81924;
  border-color: #c81924;
}

.customer-order-auto,
.customer-order-tracking,
.customer-order-terminal {
  border-radius: 10px;
  font-size: 12px;
  padding: 10px 12px;
}

.customer-order-auto {
  background: #fff6db;
  color: #6f5200;
}

.customer-order-tracking {
  background: #f1f7fb;
  color: #35596e;
}

.customer-order-terminal {
  background: #fff0f0;
  color: #8f3030;
}

.customer-order-actions {
  border-top: 1px solid #ececec;
  justify-content: flex-end;
  padding-top: 12px;
}

.customer-order-actions button,
.customer-order-empty a {
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
}

.customer-order-primary {
  background: #c81924;
  border: 1px solid #c81924;
  color: #fff;
}

.customer-order-secondary {
  background: #fff;
  border: 1px solid #bdbdbd;
  color: #252525;
}

.customer-order-empty {
  align-items: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 30px 16px;
  text-align: center;
}

.customer-order-empty h3,
.customer-order-empty p {
  margin: 0;
}

.customer-order-empty p {
  color: #6d6d6d;
}

.customer-order-empty a {
  background: #c81924;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 720px) {
  .customer-orders-page {
    padding: 12px 10px 30px;
  }

  .customer-orders-page-heading {
    align-items: center;
    border-radius: 14px;
    padding: 14px;
  }

  .customer-orders-page-heading h1 {
    font-size: 24px;
  }

  .customer-orders-page-heading span {
    display: none;
  }

  .customer-orders-panel {
    border-radius: 14px;
    margin: 0 10px 14px;
  }

  .customer-orders-panel > header {
    padding: 14px;
  }

  .customer-orders-panel > header h2 {
    font-size: 20px;
  }

  .customer-orders-list {
    padding: 10px;
  }

  .customer-order-card {
    padding: 13px;
  }

  .customer-order-card > header,
  .customer-order-summary {
    align-items: flex-start;
  }

  .customer-order-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-order-actions button {
    width: 100%;
  }
}

.rider-profile-sidebar,
.rider-profile-activity {
  display: grid;
  gap: 14px;
}

.rider-profile-sidebar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.rider-profile-panel[data-rider-panel="social"],
.rider-profile-panel[data-rider-panel="about"],
.rider-profile-panel[data-rider-panel="testimonials"] {
  grid-column: 1 / -1;
}

.rider-profile-panel,
.rider-profile-activity-header {
  border: 1px solid #dddddd;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.rider-profile-panel {
  padding: 14px;
}

.rider-profile-panel header,
.rider-profile-activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rider-profile-panel h2,
.rider-profile-activity-header h2,
.rider-profile-activity-header p {
  margin: 0;
}

.rider-profile-panel h2,
.rider-profile-activity-header h2 {
  font-size: 14px;
  text-transform: uppercase;
}

.rider-profile-panel header button {
  min-height: 30px;
  padding: 0 10px;
  color: var(--red);
  background: #fff0f1;
  font-size: 10px;
}

.rider-profile-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 30px;
  padding: 0;
  color: #202020;
  font-size: 14px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}

.rider-profile-panel summary::-webkit-details-marker {
  display: none;
}

.rider-profile-panel summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  color: var(--red);
  background: #fff0f1;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.rider-profile-panel[open] summary::after {
  content: "−";
}

.rider-profile-panel summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.rider-profile-panel-body-actions {
  display: flex;
  justify-content: flex-end;
}

.rider-profile-panel-body-actions button {
  min-height: 30px;
  margin-top: 8px;
  padding: 0 10px;
  color: var(--red);
  border: 0;
  border-radius: 7px;
  background: #fff0f1;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.rider-profile-panel dl {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
}

.rider-profile-panel dl > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.85fr) minmax(0, 1.15fr);
  gap: 10px;
  align-items: baseline;
  min-width: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #eeeeee;
}

.rider-profile-panel dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rider-profile-panel dt,
.rider-profile-panel dd {
  margin: 0;
  font-size: 12px;
}

.rider-profile-panel dt {
  color: #777777;
}

.rider-profile-panel dd {
  color: #242424;
  font-weight: 800;
  text-align: right;
}

.rider-profile-about-panel dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
}

.rider-profile-about-panel dl > div:nth-last-child(-n + 2) {
  padding-bottom: 0;
  border-bottom: 0;
}

.rider-profile-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.rider-social-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  color: #ffffff;
  background: #333333;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.rider-social-icon[data-platform="strava"] {
  background: #fc4c02;
}

.rider-social-icon[data-platform="instagram"] {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 58%, #fcb045);
}

.rider-social-icon[data-platform="facebook"] {
  background: #1877f2;
}

.rider-social-icon[data-platform="website"] {
  background: #292929;
}

.rider-social-icon:not(.is-unset):hover,
.rider-social-icon:not(.is-unset):focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.rider-social-icon.is-unset {
  color: #8c8c8c;
  background: #e4e4e4;
  box-shadow: none;
  filter: grayscale(1);
  cursor: help;
}

.rider-social-icon svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rider-social-icon[data-platform="strava"] svg,
.rider-social-icon[data-platform="facebook"] svg {
  fill: currentColor;
  stroke: none;
}

.rider-social-icon .social-icon-fill {
  stroke: none;
  fill: currentColor;
}

.rider-testimonial-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.rider-testimonial-list > p {
  margin: 0;
  color: #777777;
  font-size: 12px;
}

.rider-testimonial {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #e4e4e4;
}

.rider-testimonial:first-child {
  padding-top: 0;
  border-top: 0;
}

.rider-testimonial-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 50%;
  color: #ffffff;
  background: #252525;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.rider-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rider-testimonial > div > a {
  color: #202020;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.rider-testimonial > div > a:hover {
  color: var(--red);
  text-decoration: underline;
}

.rider-testimonial p {
  margin: 4px 0 0;
  color: #3f3f3f;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rider-testimonial-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #777777;
  font-size: 11px;
}

.rider-testimonial-counter strong {
  color: #333333;
}

.rider-testimonial-modal [data-testimonial-remove] {
  background: #8f1f24;
}

.rider-profile-activity-header {
  padding: 14px 16px;
}

.rider-profile-activity-header p {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rider-profile-activity .community-posts {
  display: grid;
  gap: 12px;
}

.community-author-name-link {
  color: #202020;
  font-weight: 900;
  text-decoration: none;
}

.community-author-name-link:hover {
  color: var(--red);
  text-decoration: underline;
}

.community-author-avatar-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rider-profile-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.62);
}

.rider-profile-edit-modal[hidden] {
  display: none;
}

.rider-profile-edit-modal > div {
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.rider-profile-edit-modal > div > header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  color: #ffffff;
  background: #252525;
}

.rider-profile-edit-modal header p,
.rider-profile-edit-modal header h2 {
  margin: 0;
}

.rider-profile-edit-modal header p {
  color: #cccccc;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rider-profile-edit-modal header h2 {
  font-size: 18px;
  text-transform: uppercase;
}

.rider-profile-edit-modal header > button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #222222;
  background: #ffffff;
  font-size: 23px;
  cursor: pointer;
}

.rider-profile-edit-modal form,
.rider-profile-edit-modal [data-rider-edit-fields] {
  display: grid;
  gap: 14px;
}

.rider-profile-edit-modal form {
  padding: 18px;
}

.rider-profile-edit-modal label,
.rider-profile-edit-modal fieldset {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #333333;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rider-profile-edit-modal input,
.rider-profile-edit-modal textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid #cccccc;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
}

.rider-profile-edit-modal textarea {
  resize: vertical;
}

.rider-profile-edit-modal small {
  color: #777777;
  font-weight: 500;
  text-transform: none;
}

.rider-profile-edit-modal .rider-profile-check {
  display: flex;
  align-items: center;
  grid-template-columns: auto 1fr;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 7px;
  background: #f3f3f3;
  text-transform: none;
}

.rider-profile-edit-modal .rider-profile-check input,
.rider-profile-bike-types input {
  width: auto;
  min-height: 0;
}

.rider-profile-bike-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rider-profile-bike-types label {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px;
  border-radius: 7px;
  background: #f3f3f3;
  text-transform: none;
}

.rider-profile-modal-actions {
  display: flex;
  gap: 8px;
}

.rider-profile-modal-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.rider-profile-modal-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.rider-profile-modal-actions button[type="button"] {
  background: #333333;
}
@media (max-width: 760px) {
  .home-recent-purchases-panel {
    display: none;
  }

  .public-location-picker {
    place-items: end stretch;
    padding: 0;
  }

  .public-location-picker > section {
    width: 100%;
    max-height: min(78vh, 620px);
    overflow: auto;
    border-radius: 18px 18px 0 0;
  }

  .public-location-picker header {
    position: sticky;
    z-index: 2;
    top: 0;
    padding: 18px;
    background: #ffffff;
  }

  .public-location-options {
    padding: 12px 14px calc(18px + env(safe-area-inset-bottom));
  }

  .public-location-options > button {
    min-height: 74px;
  }

  .rider-profile-site-header-inner {
    min-height: 64px;
    gap: 8px;
  }

  .rider-profile-site-header .logo {
    min-width: 0;
  }

  .rider-profile-site-header .logo-word,
  .rider-profile-site-header .logo-tag,
  .rider-profile-site-header nav a:first-child,
  .rider-profile-site-header nav a[data-profile-header-register] {
    display: none;
  }

  .rider-profile-site-header nav a,
  .rider-profile-site-header nav button {
    min-height: 38px;
    padding: 0 10px;
    font-size: 10px;
  }

  .rider-profile-page {
    width: 100%;
    max-width: none;
    padding: 0 0 76px;
  }

  .rider-profile-shell {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .rider-profile-cover {
    height: 150px;
  }

  .rider-profile-level-badge {
    top: 8px;
    right: 8px;
    width: 76px;
  }

  .rider-profile-cover-action {
    right: 9px;
    bottom: 9px;
  }

  .rider-profile-photo-action {
    width: 36px;
    height: 36px;
    border-width: 2px;
  }

  .rider-profile-photo-action svg {
    width: 18px;
    height: 18px;
  }

  .rider-profile-avatar-action {
    right: -8px;
    bottom: 2px;
  }

  .rider-profile-photo-message {
    right: 52px;
    bottom: 10px;
    max-width: calc(100% - 70px);
    padding: 7px 9px;
    font-size: 11px;
  }

  .rider-profile-summary {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .rider-profile-avatar {
    width: 92px;
    height: 92px;
    margin-top: -62px;
    border-width: 4px;
    font-size: 22px;
  }

  .rider-profile-identity h1 {
    font-size: 23px;
  }

  .rider-profile-bio {
    grid-column: 1 / -1;
  }

  .rider-profile-counts {
    gap: 9px;
  }

  .rider-profile-primary-actions {
    grid-column: 1 / -1;
  }

  .rider-profile-primary-actions button {
    flex: 1;
    min-height: 42px;
  }

  .rider-profile-content {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }

  .rider-profile-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rider-profile-panel {
    padding: 10px;
  }

  .rider-profile-panel h2 {
    font-size: 12px;
  }

  .rider-profile-panel summary {
    font-size: 12px;
  }

  .rider-profile-panel header {
    gap: 6px;
  }

  .rider-profile-panel header button {
    min-height: 27px;
    padding: 0 7px;
    font-size: 9px;
  }

  .rider-profile-panel dl {
    gap: 5px;
    margin-top: 9px;
  }

  .rider-profile-panel dl > div {
    grid-template-columns: minmax(65px, 0.8fr) minmax(0, 1.2fr);
    gap: 6px;
    padding-bottom: 5px;
  }

  .rider-profile-panel dt {
    font-size: 9px;
  }

  .rider-profile-panel dd {
    overflow-wrap: anywhere;
    font-size: 10px;
  }

  .rider-profile-about-panel dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }

  .rider-profile-about-panel dl > div {
    display: block;
  }

  .rider-profile-about-panel dd {
    margin-top: 2px;
    text-align: left;
  }

  .rider-profile-social {
    gap: 8px;
    margin-top: 9px;
  }

  .rider-social-icon {
    width: 38px;
    height: 38px;
  }

  .rider-social-icon svg {
    width: 21px;
    height: 21px;
  }

  .rider-profile-activity-header {
    position: sticky;
    top: 64px;
    z-index: 5;
  }

  .rider-profile-activity-header button {
    min-height: 38px;
    padding: 0 12px;
  }

  .rider-profile-edit-modal {
    align-items: end;
    padding: 0;
  }

  .rider-profile-edit-modal > div {
    width: 100%;
    max-height: calc(100vh - 12px);
    border-radius: 14px 14px 0 0;
  }

  .rider-profile-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .wrap {
    max-width: calc(100vw - 24px);
  }

  .topbar {
    height: auto;
  }

  .topbar-inner {
    height: auto;
    flex-wrap: wrap;
  }

  .customer-login,
  .customer-session {
    min-height: 45px;
    padding-right: 8px;
  }

  .header-main {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 14px;
  }

  .survey-page .header-main {
    grid-template-columns: 1fr;
  }

  .search-form {
    width: 100%;
    margin: 0;
  }

  .cart-box,
  .lock-box {
    margin: 0;
  }

  .main-nav {
    grid-template-columns: repeat(3, 1fr);
    height: auto;
    margin-top: 0;
  }

  .main-nav a {
    min-height: 50px;
  }

  .feature-tile-group,
  .product-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-menu-hero,
  .service-help-row {
    grid-template-columns: 1fr;
  }

  .service-hero-panel {
    min-height: 210px;
  }

  .info-panels,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .survey-hero,
  .survey-layout {
    grid-template-columns: 1fr;
  }

  .survey-goals {
    position: static;
  }

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

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

  .community-layout {
    grid-template-columns: 1fr;
  }

  .info-panels > article {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-bottom: 78px;
  }

  body {
    padding-bottom: 74px;
    background: #f2f3f4;
    font-size: 12px;
  }

  body::before {
    content: none;
  }

  .wrap {
    max-width: calc(100vw - 20px);
  }

  .topbar,
  .main-nav,
  .lock-box,
  .slide-pages,
  .topbar-inner,
  .topbar nav,
  .topbar-options,
  .footer-bottom .wrap {
    display: none;
  }

  .header-main {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 10px;
    align-items: center;
    min-height: 0;
    max-width: 100%;
    padding: 9px 10px 10px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #dedede;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .logo {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 8px;
    align-items: center;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0;
  }

  .logo img {
    position: static;
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
  }

  .logo-word {
    min-width: 0;
    padding-top: 0;
    font-size: 18px;
    line-height: 0.92;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .logo-tag {
    display: inline-flex;
    width: fit-content;
    min-height: 20px;
    align-items: center;
    margin-top: 3px;
    padding: 0 8px;
    color: #222222;
    background: #f2f2f2;
    border: 1px solid #dddddd;
    border-radius: 999px;
    font-size: 9px;
  }

  .mobile-header-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
  }

  .mobile-header-actions button {
    flex: 0 0 auto;
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: #202020;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
  }

  .mobile-header-actions .mobile-header-account,
  .mobile-header-actions .mobile-header-search {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
    box-shadow: none;
  }

  .mobile-header-actions .site-cart-button-mobile {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .mobile-header-actions .mobile-header-account {
    color: #ffffff;
    background: #202020;
    border: 0;
  }

  .mobile-header-actions .mobile-header-search {
    color: #181818;
    background: #ffffff;
    border: 1px solid #181818;
  }

  .mobile-header-account svg,
  .mobile-header-search svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-header-account:hover,
  .mobile-header-account:focus-visible,
  .mobile-header-search:hover,
  .mobile-header-search:focus-visible {
    color: #ffffff;
    background: var(--red);
    border-color: var(--red);
    outline: 3px solid rgba(237, 28, 36, 0.24);
    outline-offset: 2px;
  }

  .mobile-header-session {
    position: relative;
  }

  .mobile-header-avatar-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
  }

  .mobile-header-actions .mobile-header-avatar-button {
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
  }

  .mobile-header-avatar-button span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    background: #202020;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-header-avatar-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-header-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 80;
    width: min(260px, calc(100vw - 32px));
    padding: 14px;
    color: #202020;
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  }

  .mobile-header-menu strong,
  .mobile-header-menu span {
    display: block;
  }

  .mobile-header-menu strong {
    color: #1f1f1f;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-header-menu span {
    margin-top: 2px;
    color: #666666;
    font-size: 12px;
    word-break: break-word;
  }

  .mobile-header-menu button {
    width: 100%;
    min-height: 34px;
    margin-top: 12px;
    background: var(--red);
    font-size: 11px;
  }

  .mobile-header-actions .mobile-header-profile-link,
  .mobile-header-actions .mobile-header-text-badge-link,
  .mobile-header-actions .mobile-header-orders-link {
    display: inline-flex;
    min-height: auto;
    margin-top: 10px;
    padding: 0;
    color: var(--red);
    background: transparent;
    border-radius: 0;
    font-size: 11px;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: none;
  }

  .mobile-header-actions .mobile-header-badge-link {
    display: inline-grid;
    width: 88px;
    height: 88px;
    min-height: 0;
    margin-top: 4px;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .mobile-header-actions .mobile-header-profile-link:hover,
  .mobile-header-actions .mobile-header-profile-link:focus-visible,
  .mobile-header-actions .mobile-header-text-badge-link:hover,
  .mobile-header-actions .mobile-header-text-badge-link:focus-visible,
  .mobile-header-actions .mobile-header-orders-link:hover,
  .mobile-header-actions .mobile-header-orders-link:focus-visible {
    color: #a30f15;
    background: transparent;
  }

  .mobile-header-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 9px;
    color: #ffffff;
    background: #202020;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .mobile-header-actions a:first-child {
    background: var(--red);
  }

  .header-main > .search-form {
    display: none;
  }

  .rider-profile-site-header nav {
    display: none;
  }

  .search-form {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    border-color: #d8d8d8;
    border-radius: 10px;
    overflow: hidden;
  }

  .search-form input {
    height: 42px;
    color: #222222;
    font-size: 14px;
  }

  .search-form button {
    width: 48px;
    height: 42px;
  }

  .product-search-modal {
    align-items: end;
    padding: 0;
  }

  .product-search-modal > section {
    width: 100%;
    max-height: min(320px, calc(100vh - 24px));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 14px 14px 0 0;
  }

  .product-search-head {
    padding: 15px;
  }

  .product-search-head h2,
  .product-stock-modal h2 {
    font-size: 19px;
  }

  .product-search-body {
    padding: 14px 15px 18px;
  }

  .product-search-results {
    max-height: calc(92vh - 192px);
  }

  .product-search-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
  }

  .product-search-thumb {
    width: 62px;
    height: 54px;
  }

  .product-search-row-detail strong {
    white-space: normal;
  }

  .product-search-row-meta {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .product-search-page-content {
    padding-top: 10px;
  }

  .product-search-page-shell {
    gap: 12px;
    padding: 15px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .product-search-page-heading h1 {
    font-size: 22px;
  }

  .product-search-page-form {
    grid-template-columns: minmax(0, 1fr) 50px;
    border-radius: 10px;
    overflow: hidden;
  }

  .product-search-page-form input {
    height: 44px;
    font-size: 14px;
  }

  .product-search-page-form button {
    width: 50px;
    height: 44px;
  }

  .product-search-page-results .product-search-row {
    min-height: 0;
  }

  .product-stock-modal {
    align-items: end;
    padding: 12px;
  }

  .product-stock-modal > section {
    width: 100%;
  }

  .product-stock-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cart-box {
    display: none;
  }

  .profile-heading,
  .community-heading,
  .profile-photo-field {
    grid-template-columns: 1fr;
  }

  .profile-heading,
  .community-heading {
    display: grid;
  }

  .content {
    max-width: 100%;
    padding-top: 10px;
  }

  .hero-slider {
    height: 184px;
    max-width: calc(100vw - 20px);
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
  }

  .hero-slider.hero-carousel {
    height: 320px;
  }

  .hero-leaderboard-slide {
    padding: 12px 10px 14px;
  }

  .hero-leaderboard-header {
    min-height: 49px;
    padding-right: 94px;
  }

  .hero-leaderboard-header h2 {
    font-size: 23px;
  }

  .hero-leaderboard-header span {
    font-size: 9px;
  }

  .hero-leaderboard-header-actions {
    gap: 4px;
  }

  .hero-leaderboard-header-actions > strong {
    padding: 4px 6px;
    font-size: 8px;
  }

  .hero-leaderboard-refresh {
    width: 24px;
    height: 24px;
  }

  .hero-leaderboard-refresh svg {
    width: 12px;
    height: 12px;
  }

  .hero-leaderboard-list {
    gap: 4px;
    margin-top: 8px;
  }

  .hero-leaderboard-row {
    grid-template-columns: 22px 38px minmax(0, 1fr) auto;
    min-height: 54px;
    gap: 6px;
    padding: 4px 7px;
  }

  .hero-leaderboard-rank {
    font-size: 14px;
  }

  .hero-leaderboard-avatar {
    width: 34px;
    height: 34px;
  }

  .hero-leaderboard-identity > strong,
  .hero-leaderboard-points > strong {
    font-size: 11px;
  }

  .hero-leaderboard-level img {
    width: 15px;
    height: 15px;
  }

  .hero-leaderboard-level small,
  .hero-leaderboard-points small {
    font-size: 8px;
  }

  .hero-leaderboard-activity {
    font-size: 7px;
  }

  .home-community-proof-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0;
  }

  .home-leaderboard-panel {
    margin: 0;
    padding: 16px 10px;
  }

  .home-community-proof-row .public-leaderboard-heading h2 {
    font-size: 25px;
  }

  .recent-purchase-row {
    min-height: 58px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .recent-purchase-avatar {
    width: 38px;
    height: 38px;
  }

  .recent-purchase-product > img {
    width: 26px;
    height: 26px;
  }

  .public-leaderboard-heading {
    align-items: center;
    margin-bottom: 12px;
  }

  .public-leaderboard-heading h1,
  .public-leaderboard-heading h2 {
    font-size: 25px;
  }

  .public-leaderboard-heading span {
    font-size: 9px;
  }

  .public-leaderboard-heading > strong,
  .public-leaderboard-heading-actions > strong,
  .leaderboard-page-heading-actions > strong {
    padding: 5px 7px;
    font-size: 8px;
  }

  .public-leaderboard-heading-actions {
    gap: 5px;
  }

  .home-leaderboard-list,
  .leaderboard-page-list {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .leaderboard-page-content {
    padding-top: 14px;
    padding-bottom: 26px;
  }

  .leaderboard-page-shell {
    margin: 0;
    padding: 18px 10px;
  }

  .leaderboard-page-heading-actions {
    gap: 5px;
  }

  .hero-carousel-controls {
    top: 8px;
    right: 8px;
  }

  .hero-carousel-controls button {
    width: 24px;
    height: 24px;
  }

  .slide-image {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1) 72%),
      url("assets/hero-shop-intro-poster.jpg") center / cover no-repeat,
      url("assets/hero-bikes.png") center right / cover no-repeat,
      #141414;
  }

  .slide-image::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.1) 72%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 42%);
  }

  .slide-image::after {
    background:
      radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.14), transparent 24%),
      linear-gradient(105deg, rgba(255, 255, 255, 0) 0 31%, rgba(255, 255, 255, 0.1) 43%, rgba(255, 255, 255, 0) 56%);
    background-size: auto, 190% 100%;
  }

  .hero-message {
    left: 12px;
    bottom: 12px;
    width: min(275px, calc(100% - 24px));
    padding: 0;
    background: transparent;
  }

  .hero-message p {
    margin-bottom: 4px;
    color: #f2f2f2;
    font-size: 10px;
  }

  .hero-message h1 {
    max-width: 240px;
    margin-bottom: 7px;
    font-size: 24px;
    line-height: 1;
  }

  .hero-message span {
    max-width: 260px;
    margin-bottom: 10px;
    color: #f4f4f4;
    font-size: 11px;
  }

  .hero-message a {
    min-height: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 9px;
    white-space: nowrap;
  }

  .hero-actions {
    width: 100%;
    gap: 4px;
  }

  .feature-tiles {
    max-width: 100%;
    margin: 12px 0 0;
    padding: 0 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

  .feature-tiles::-webkit-scrollbar {
    display: none;
  }

  .feature-tile-track {
    display: flex;
    width: max-content;
  }

  .feature-tiles:focus-within .feature-tile-track {
    animation-play-state: running;
  }

  .feature-tile-group,
  .feature-tile-group[aria-hidden="true"] {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    padding-right: 8px;
  }

  .feature-tile-group[aria-hidden="true"] {
    pointer-events: auto;
  }

  .feature-card {
    flex: 0 0 112px;
    min-height: 96px;
    padding: 46px 8px 8px;
    border-radius: 8px;
    background-size: auto, cover;
  }

  .feature-card h2 {
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 0.98;
  }

  .feature-card h2 span {
    display: inline;
    font-size: 12px;
  }

  .feature-card p {
    display: none;
  }

  .feature-card a {
    min-height: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 6px;
    font-size: 9px;
  }

  .product-section {
    padding-top: 15px;
  }

  .product-tabs {
    flex-direction: row;
    gap: 7px;
    height: auto;
    margin-bottom: 8px;
    overflow-x: auto;
  }

  .product-tabs button {
    flex: 1 0 auto;
    height: 38px;
    padding: 0 11px;
    border-radius: 8px;
    font-size: 11px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .subcategory-filters {
    flex-wrap: nowrap;
    margin: 0 -10px;
    padding: 0 10px 4px;
    overflow-x: auto;
  }

  .subcategory-filters button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 13px;
    font-size: 10px;
  }

  .catalog-controls {
    justify-content: flex-start;
  }

  .catalog-controls label,
  .catalog-controls select {
    width: 100%;
  }

  .catalog-controls label {
    display: grid;
    gap: 5px;
  }

  .catalog-controls select {
    min-width: 0;
    margin-left: 0;
  }

  .stock-note {
    margin-bottom: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.35;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    min-height: 252px;
    padding: 0 9px 10px;
    border-radius: 8px;
    box-shadow: none;
  }

  .product-card-state {
    min-height: 135px;
  }

  .product-photo {
    height: 122px;
    margin: 0 -9px 9px;
    border-radius: 8px 8px 0 0;
  }

  .product-api-photo.has-image img {
    height: calc(100% - 14px);
    width: calc(100% - 14px);
    inset: 7px;
  }

  .badge {
    top: 6px;
    left: 6px;
    min-width: 34px;
    height: 20px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 9px;
  }

  .badge.sale {
    right: 6px;
  }

  .product-card h3 {
    min-height: 34px;
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 1.12;
  }

  .product-card p {
    min-height: 32px;
    margin-bottom: 6px;
    font-size: 9px;
    line-height: 1.25;
  }

  .product-card strong {
    min-height: 25px;
    margin-bottom: 0;
    font-size: 14px;
  }

  .product-list-actions {
    justify-content: center;
    margin-top: 14px;
  }

  .product-list-actions a {
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 10px;
  }

  .catalog-pagination {
    display: flex;
    gap: 7px;
    margin-top: 16px;
  }

  .catalog-pagination a,
  .catalog-pagination span {
    min-width: 0;
    min-height: 36px;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 9px;
  }

  .catalog-pagination .catalog-pagination-icon {
    width: 34px;
    min-width: 34px;
    padding: 0;
    font-size: 22px;
  }

  .product-card.is-clickable:hover,
  .product-card.is-clickable:focus-visible {
    transform: none;
  }

  .product-image-gallery-stack {
    display: none;
  }

  .product-detail-page .content {
    padding-top: 14px;
    padding-bottom: 154px;
  }

  .product-back-link {
    min-height: 32px;
    margin-bottom: 10px;
    border-radius: 7px;
    font-size: 11px;
  }

  .product-detail-state {
    min-height: 190px;
    padding: 22px;
    border-radius: 8px;
  }

  .product-detail-state h1 {
    font-size: 22px;
  }

  .product-detail-state p {
    font-size: 12px;
  }

  .product-detail-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
    border-radius: 8px;
    box-shadow: none;
  }

  .product-detail-photo-stage {
    min-height: 300px;
    border-radius: 8px;
  }

  .product-detail-photo-stage.has-image img {
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
  }

  .product-detail-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .product-detail-thumbnails button {
    padding: 5px;
    border-radius: 7px;
  }

  .product-detail-badges {
    gap: 6px;
    margin-bottom: 10px;
  }

  .product-detail-badges span {
    border-radius: 6px;
    font-size: 9px;
  }

  .product-detail-summary h1 {
    margin-bottom: 9px;
    font-size: 22px;
    line-height: 1.12;
  }

  .product-detail-price {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .product-detail-description {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .product-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .product-detail-actions a,
  .product-detail-actions button {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 11px;
  }

  .product-detail-actions a:first-child {
    grid-column: 1 / -1;
  }

  .product-detail-note {
    padding: 10px;
    border-radius: 7px;
    font-size: 10px;
  }

  .product-detail-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .product-detail-info-grid > article,
  .product-related-section {
    padding: 13px;
    border-radius: 8px;
    box-shadow: none;
  }

  .product-detail-info-grid h2,
  .product-related-section h2 {
    margin-bottom: 9px;
    font-size: 15px;
  }

  .product-spec-table div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0;
  }

  .product-spec-table dt,
  .product-spec-table dd,
  .product-branch-card p {
    font-size: 11px;
  }

  .product-branch-card {
    padding: 10px;
    border-radius: 7px;
  }

  .product-related-section {
    margin-top: 10px;
  }

  .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .product-mini-card {
    min-height: 188px;
    padding: 8px;
    border-radius: 8px;
  }

  .product-mini-card .product-photo {
    height: 98px;
    margin-bottom: 8px;
  }

  .product-mini-card > strong {
    min-height: 30px;
    font-size: 10px;
  }

  .product-mini-card > strong + strong {
    font-size: 13px;
  }

  .product-sticky-inquiry:not([hidden]) {
    display: flex;
  }

  .mobile-service-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(3, auto);
    gap: 7px;
    align-items: center;
    margin-top: 14px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 8px;
  }

  .mobile-service-strip p,
  .mobile-service-strip h2 {
    margin: 0;
  }

  .mobile-service-strip p {
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-service-strip h2 {
    color: #191919;
    font-size: 13px;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .mobile-service-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 8px;
    color: #ffffff;
    background: #252525;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .banner-row,
  .info-panels {
    grid-template-columns: 1fr;
  }

  .banner-row {
    gap: 10px;
    margin-top: 14px;
  }

  .sale-banner {
    min-height: 92px;
    border-radius: 8px;
  }

  .sale-banner h2 {
    font-size: 22px;
  }

  .info-panels {
    margin-top: 14px;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
  }

  .info-panels > article {
    min-height: 0;
    padding: 16px;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-list div {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 10px;
  }

  .round-icon {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .service-list h3 {
    font-size: 12px;
  }

  .service-list p {
    font-size: 10px;
    line-height: 1.35;
  }

  .useful-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .useful-links h2 {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    font-size: 20px;
  }

  .useful-links a {
    min-height: 30px;
    margin: 0;
    font-size: 11px;
    line-height: 1.25;
  }

  .footer {
    padding-bottom: 0;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    min-height: 0;
    padding: 20px 18px 88px;
  }

  .footer-logo img {
    width: 92px;
    height: 66px;
  }

  .footer h2 {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .footer a,
  .footer p,
  .footer span {
    margin-bottom: 6px;
    font-size: 10px;
    line-height: 1.25;
  }

  .footer strong {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .footer-main #contact {
    grid-column: 1 / -1;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
    min-height: 56px;
    padding: 4px 8px calc(4px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #d8d8d8;
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.12);
  }

  .mobile-bottom-nav a {
    display: grid;
    gap: 2px;
    place-items: center;
    min-width: 0;
    color: #343434;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-bottom-nav span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #303030;
    background: transparent;
    border-radius: 0;
    font-size: 13px;
    line-height: 1;
  }

  .mobile-bottom-nav span svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bottom-nav a.active {
    color: var(--red);
  }

  .mobile-bottom-nav a.active span {
    color: var(--red);
    background: transparent;
  }

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

  .survey-content {
    padding-top: 20px;
  }

  .survey-hero > div,
  .survey-hero > aside,
  .survey-goals,
  .survey-form {
    padding: 18px;
  }

  .survey-hero h1 {
    font-size: 32px;
  }

  .survey-choice-grid,
  .survey-choice-grid.two,
  .survey-choice-grid.three,
  .survey-rating-grid,
  .survey-text-grid,
  .survey-contact-grid,
  .survey-submit-row {
    grid-template-columns: 1fr;
  }

  .survey-rating div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .survey-choice-grid label,
  .survey-rating label > span {
    min-height: 46px;
  }

  .service-menu-hero > div:first-child {
    padding: 22px 18px;
  }

  .service-menu-hero h1,
  .service-menu-hero h2 {
    font-size: 28px;
  }

  .service-category-chips {
    flex-wrap: nowrap;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
  }

  .service-category-chips a,
  .service-category-chips button {
    flex: 0 0 auto;
  }

  .service-menu-section {
    margin-top: 10px;
  }

  .service-menu-hero {
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
  }

  .service-menu-hero > div:first-child {
    padding: 18px 16px;
  }

  .service-menu-hero h1,
  .service-menu-hero h2 {
    margin-bottom: 8px;
    font-size: 26px;
  }

  .service-menu-hero p {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .service-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .service-actions a,
  .service-card a {
    width: 100%;
    min-height: 38px;
    border-radius: 7px;
    text-align: center;
  }

  .service-hero-panel {
    min-height: 122px;
  }

  .service-category-chips {
    gap: 8px;
    margin-top: 12px;
    margin-right: -10px;
    margin-left: -10px;
    padding: 0 10px 5px;
  }

  .service-category-chips a,
  .service-category-chips button {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 10px;
  }

  .service-grid {
    gap: 10px;
  }

  .service-card {
    min-height: 0;
    padding: 14px;
    border-radius: 8px;
    box-shadow: none;
  }

  .service-card h2,
  .service-card h3 {
    min-height: 0;
    font-size: 15px;
  }

  .service-card strong {
    margin-bottom: 7px;
    font-size: 19px;
  }

  .service-card p {
    min-height: 0;
    margin-bottom: 12px;
  }

  .service-help-row {
    gap: 10px;
    margin-top: 10px;
  }

  .service-help-row article {
    padding: 14px;
    border-radius: 8px;
  }

  .service-help-row h2,
  .service-help-row h3 {
    font-size: 15px;
  }

  .survey-page .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 9px 10px 10px;
  }

  .survey-content {
    max-width: 100%;
    padding-top: 10px;
  }

  .survey-page {
    background: #f2f3f4;
  }

  .survey-page .logo-word {
    font-size: 16px;
  }

  .survey-hero {
    margin-bottom: 10px;
  }

  .survey-hero > div,
  .survey-hero > aside,
  .survey-goals,
  .survey-form {
    padding: 14px;
    border-radius: 8px;
  }

  .survey-hero > div {
    display: grid;
    gap: 9px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 246, 0.96)),
      linear-gradient(90deg, rgba(223, 32, 39, 0.12), rgba(32, 32, 32, 0));
  }

  .survey-hero .section-eyebrow {
    margin-bottom: 0;
    font-size: 9px;
  }

  .survey-hero h1 {
    margin-bottom: 0;
    font-size: 26px;
    line-height: 1;
  }

  .survey-hero p:not(.section-eyebrow) {
    margin-bottom: 0;
    font-size: 12px;
  }

  .survey-mobile-summary {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }

  .survey-mobile-summary span,
  .survey-mobile-jump a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    color: #222222;
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .survey-mobile-summary span:first-child,
  .survey-mobile-jump a:first-child {
    color: #ffffff;
    background: var(--red);
    border-color: var(--red);
  }

  .survey-mobile-jump {
    position: sticky;
    top: 105px;
    z-index: 20;
    display: flex;
    gap: 7px;
    margin: 0 0 10px;
    padding: 6px 10px;
    overflow-x: auto;
    background: rgba(242, 243, 244, 0.96);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
  }

  .survey-mobile-jump a {
    flex: 0 0 auto;
    min-height: 32px;
  }

  .survey-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .survey-goals {
    position: static;
    order: 2;
  }

  .survey-form {
    order: 1;
  }

  .survey-goals h2 {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .survey-goals ul {
    gap: 8px;
  }

  .survey-goals li {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 10px;
  }

  .survey-form {
    gap: 14px;
    box-shadow: none;
  }

  .survey-form fieldset {
    padding: 0 0 12px;
    border-bottom: 1px solid #eeeeee;
    scroll-margin-top: 150px;
  }

  .survey-form legend,
  .survey-form label {
    font-size: 12px;
  }

  .survey-form legend {
    margin-bottom: 8px;
    line-height: 1.25;
  }

  .survey-choice-grid,
  .survey-choice-grid.two,
  .survey-choice-grid.three,
  .survey-rating-grid,
  .survey-text-grid,
  .survey-contact-grid,
  .survey-submit-row {
    gap: 8px;
  }

  .survey-choice-grid label {
    min-height: 44px;
    padding: 10px;
    border-radius: 8px;
    line-height: 1.2;
  }

  .survey-rating {
    padding: 10px;
    border-radius: 8px;
    scroll-margin-top: 150px;
  }

  .survey-rating div {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
  }

  .survey-rating label > span {
    min-height: 42px;
    border-radius: 7px;
    font-size: 12px;
  }

  .survey-text-grid textarea {
    min-height: 92px;
    font-size: 13px;
    line-height: 1.35;
  }

  .survey-contact-grid input,
  .survey-text-grid textarea {
    border-radius: 8px;
  }

  .survey-contact-grid {
    scroll-margin-top: 150px;
  }

  .survey-submit-row {
    position: sticky;
    bottom: 70px;
    z-index: 15;
    margin: 0 -14px -14px;
    padding: 10px 14px 14px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #e0e0e0;
  }

  .survey-submit-row button {
    min-height: 46px;
    border-radius: 8px;
  }

  .survey-submit-row p {
    font-size: 11px;
    line-height: 1.35;
  }

  .community-section {
    padding: 10px 0 18px;
  }

  .community-heading,
  .community-filters {
    display: none;
  }

  .community-heading,
  .community-layout {
    width: calc(100% - 20px);
  }

  .community-heading {
    align-items: stretch;
    gap: 10px;
    margin-bottom: 10px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
  }

  .community-heading h1 {
    font-size: 18px;
  }

  .community-heading button {
    width: 100%;
    min-height: 40px;
    border-radius: 8px;
  }

  .community-layout {
    gap: 10px;
  }

  .community-sidebar {
    display: grid;
    gap: 10px;
  }

  .community-login-card,
  .community-filters,
  .community-composer,
  .community-post-card,
  .community-state-card {
    border-radius: 8px;
  }

  .community-login-card,
  .community-filters,
  .community-composer,
  .community-post-card,
  .community-state-card {
    padding: 14px;
  }

  .community-login-card,
  .community-filters {
    margin-bottom: 0;
  }

  .community-login-card button {
    width: 100%;
    min-height: 40px;
    border-radius: 8px;
  }

  .community-login-form {
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
  }

  .community-login-brand {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
  }

  .community-login-brand img {
    width: 48px;
    height: 48px;
  }

  .community-login-form input {
    min-height: 42px;
    border-radius: 8px;
    font-size: 14px;
  }

  .community-login-form button {
    min-height: 42px;
  }

  .community-auth-prompt .community-login-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.is-coming-soon-page) .community-login-card {
    display: none;
  }

  .community-filters {
    display: none;
  }

  .community-filters label {
    margin-bottom: 0;
  }

  .community-filters input,
  .community-filters select,
  .community-composer textarea,
  .community-reply-form input {
    min-height: 42px;
    border-radius: 8px;
    font-size: 14px;
  }

  .community-composer textarea {
    min-height: 88px;
  }

  .community-composer-categories,
  .community-photo-previews {
    flex-wrap: nowrap;
    gap: 5px;
    margin-right: -14px;
    margin-left: -14px;
    padding: 0 14px 3px;
    overflow-x: auto;
  }

  .community-composer-categories button {
    flex: 0 0 auto;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 9px;
  }

  .community-composer-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
  }

  .community-composer-actions label.community-photo-add {
    width: 42px;
    min-height: 40px;
    padding: 0;
  }

  .community-composer-actions button {
    justify-content: center;
    width: 100%;
    min-height: 40px;
    border-radius: 8px;
  }

  .community-create-modal .community-composer-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .community-create-modal .community-composer-actions label.community-photo-add {
    justify-self: start;
  }

  .community-post-header {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .community-section .community-feed {
    overflow: visible;
  }

  .community-section .community-composer-launcher-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .community-section .community-composer-launcher-row.has-customer-avatar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .community-section .community-composer-launcher-row > .community-composer-avatar {
    margin-top: 9px;
  }

  .community-section .community-post-card {
    position: relative;
    margin-left: 0;
    margin-bottom: 12px;
    padding: 0 0 14px;
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .community-section .community-post-card + .community-post-card {
    margin-top: 0;
  }

  .community-section .community-media-grid {
    background: transparent;
  }

  .community-section .community-post-header {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .community-section .community-post-avatar {
    position: static;
    top: 0;
    z-index: 1;
  }

  .community-section .community-post-body {
    margin: 8px 0;
  }

  .community-section .community-media-grid {
    margin: 8px 0;
  }

  .community-section .community-post-actions {
    margin-top: 6px;
    padding: 0;
  }

  .community-post-avatar {
    width: 38px;
    height: 38px;
  }

  .community-post-identity strong {
    font-size: 14px;
  }

  .community-post-detail {
    flex-wrap: wrap;
    font-size: 10px;
  }

  .community-post-body {
    font-size: 13px;
  }

  .community-post-actions,
  .community-comment-actions {
    justify-content: space-between;
    gap: 8px;
  }

  .community-reply-form,
  .community-comment-reply-form {
    grid-template-columns: 1fr;
  }

  .community-reply-form button,
  .community-comment-reply-form button {
    min-height: 38px;
    border-radius: 8px;
  }

  .community-comment {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    padding: 9px;
  }

  .community-comment-avatar {
    width: 30px;
    height: 30px;
  }

  .community-thread-modal,
  .community-auth-prompt,
  .community-create-modal,
  .community-edit-modal {
    align-items: end;
    padding: 10px;
  }

  .community-thread-modal > div,
  .community-auth-prompt > div,
  .community-create-modal > div,
  .community-edit-modal > div {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 10px 10px 0 0;
  }

  .community-thread-header {
    gap: 10px;
    padding: 13px 14px;
  }

  .community-thread-header h2 {
    font-size: 15px;
  }

  .community-thread-header button {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
  }

  .community-thread-content,
  .community-edit-form {
    padding: 14px;
  }

  .community-edit-actions,
  .community-edit-confirm div,
  .community-auth-prompt div div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .community-edit-actions button,
  .community-edit-confirm button,
  .community-auth-prompt button {
    width: 100%;
    min-height: 38px;
    border-radius: 8px;
  }

  .customer-profile-view {
    padding: 10px 0 18px;
  }

  .profile-shell {
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
  }

  .profile-heading {
    display: grid;
    gap: 12px;
    padding: 16px;
  }

  .profile-heading h1 {
    font-size: 21px;
  }

  .profile-heading button,
  .profile-actions button {
    width: 100%;
    min-height: 42px;
    border-radius: 8px;
  }

  .profile-form,
  .change-password-form {
    gap: 14px;
    padding: 16px;
  }

  .profile-photo-field {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
  }

  .profile-photo-preview {
    width: 70px;
    height: 70px;
  }

  .profile-grid {
    gap: 10px;
  }

  .profile-grid input,
  .profile-photo-field input,
  .password-control button {
    min-height: 42px;
    border-radius: 8px;
  }

  .password-control {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .password-control input {
    border-radius: 8px 0 0 8px;
  }

  .password-control button {
    border-radius: 0 8px 8px 0;
  }

  .rider-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
  }

  .rider-types label,
  .consent-line {
    min-height: 38px;
    border-radius: 8px;
  }

  .consent-line {
    width: 100%;
  }

  .profile-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .community-media-grid.media-count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    aspect-ratio: auto;
  }

  .community-media-grid.media-count-3 > img,
  .community-media-grid.media-count-3 > .community-media-button {
    aspect-ratio: 1 / 1;
  }

  .community-media-grid.media-count-3 > img:first-child,
  .community-media-grid.media-count-3 > .community-media-button:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .community-photo-modal {
    padding: 10px;
  }

  .community-photo-modal > div {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: calc(100vh - 20px);
  }

  .community-photo-stage {
    padding: 38px 10px 10px;
  }

  .community-photo-stage figure {
    width: min(100%, 420px);
  }

  .community-photo-panel {
    max-height: 44vh;
    border-top: 1px solid #dddddd;
    border-left: 0;
  }

  .community-photo-comments {
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .feature-tiles {
    overflow-x: auto;
  }

  .feature-tile-track {
    animation: none;
    transform: none;
  }

  .slide-image::before,
  .slide-image::after {
    animation: none;
  }
}
/* WordPress-powered Stories */
.stories-header-label{display:grid;gap:2px;margin-left:auto;padding:12px 22px;border-left:1px solid #ddd}.stories-header-label strong{color:var(--red);font-size:20px;letter-spacing:.12em}.stories-header-label span{color:#666;font-size:11px;text-transform:uppercase}.stories-page,.story-page{min-height:62vh;padding-bottom:64px}.stories-hero{padding:clamp(38px,7vw,86px) clamp(22px,6vw,78px);color:#fff;background:linear-gradient(115deg,rgba(12,12,12,.97),rgba(32,32,32,.88)),radial-gradient(circle at 82% 20%,#b50e19,transparent 34%)}.stories-hero h1{max-width:780px;margin:8px 0 14px;font-size:clamp(34px,6vw,70px);line-height:.98;text-transform:uppercase}.stories-hero>p:not(.section-eyebrow){max-width:720px;color:#ddd;font-size:17px;line-height:1.65}.stories-search{display:flex;max-width:650px;margin-top:28px}.stories-search input{min-width:0;flex:1;padding:14px 16px;border:0;font:inherit}.stories-search button{padding:0 24px;border:0;color:#fff;background:var(--red);font-weight:800;text-transform:uppercase}.story-categories{display:flex;gap:8px;overflow-x:auto;padding:22px 0;scrollbar-width:thin}.story-categories a{flex:0 0 auto;padding:10px 14px;color:#222;border:1px solid #d5d5d5;background:#fff;font-size:12px;font-weight:800;text-transform:uppercase}.story-categories a.active,.story-categories a:hover{color:#fff;border-color:var(--red);background:var(--red)}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.story-card{overflow:hidden;border:1px solid #dfdfdf;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.07)}.story-card-featured{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr)}.story-card-image{display:block;min-height:220px;overflow:hidden;background:#181818}.story-card-featured .story-card-image{min-height:430px}.story-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.story-card:hover .story-card-image img{transform:scale(1.025)}.story-card-image.no-image{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#171717,#3b3b3b);font-weight:900;letter-spacing:.1em;text-transform:uppercase}.story-card-body{display:flex;flex-direction:column;padding:24px}.story-card-category{margin:0 0 10px;color:var(--red);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.story-card h2{margin:0 0 12px;font-size:24px;line-height:1.12}.story-card h2 a{color:#171717}.story-card-body>p:not(.story-card-category){margin:0 0 22px;color:#666;line-height:1.6}.story-card-meta{display:flex;justify-content:space-between;gap:14px;margin-top:auto;padding-top:16px;border-top:1px solid #eee;color:#777;font-size:11px;font-weight:700;text-transform:uppercase}.story-pagination{display:flex;justify-content:center;gap:16px;align-items:center;padding-top:36px}.story-pagination a,.story-pagination span{padding:10px 14px;color:#444;border:1px solid #ddd;background:#fff;font-size:12px;font-weight:800}.stories-status,.stories-empty{padding:80px 24px;text-align:center;background:#fff}.stories-status h1,.stories-empty h2{margin:8px 0 10px;font-size:clamp(30px,5vw,52px);text-transform:uppercase}.story-article{max-width:980px;margin:0 auto;padding-top:42px}.story-back{display:inline-block;margin-bottom:34px;color:var(--red);font-size:12px;font-weight:900;text-transform:uppercase}.story-article>header{max-width:820px;margin:0 auto 34px;text-align:center}.story-article h1{margin:10px 0 20px;font-size:clamp(36px,6vw,68px);line-height:1.02}.story-deck{color:#5d5d5d;font-size:19px;line-height:1.6}.story-byline{display:flex;justify-content:center;gap:20px;margin-top:22px;color:#777;font-size:12px;font-weight:800;text-transform:uppercase}.story-hero-image{margin:0 0 42px}.story-hero-image img{display:block;width:100%;max-height:620px;object-fit:cover}.story-content{max-width:760px;margin:0 auto;color:#292929;font-size:18px;line-height:1.8}.story-content h2,.story-content h3{margin:1.8em 0 .6em;line-height:1.2}.story-content img{max-width:100%;height:auto}.story-content a{color:var(--red);text-decoration:underline}.story-content blockquote{margin:28px 0;padding:8px 0 8px 24px;border-left:4px solid var(--red);color:#555}.story-cta{max-width:760px;margin:56px auto 0;padding:30px;color:#fff;background:#191919}.story-cta h2{margin:0 0 8px;font-size:26px}.story-cta div{display:flex;gap:10px;margin-top:20px}.story-cta a{padding:11px 16px;color:#fff;background:var(--red);font-size:12px;font-weight:900;text-transform:uppercase}

.site-search-button,
.site-cart-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  margin: 0 8px 0 2px;
  padding: 0;
  color: #181818;
  border: 1px solid #777777;
  border-radius: 50%;
  background: #ffffff;
  font: inherit;
  cursor: pointer;
}

.site-search-button:hover,
.site-search-button:focus-visible,
.site-cart-button:hover,
.site-cart-button:focus-visible {
  color: #ffffff;
  border-color: var(--red);
  background: var(--red);
  outline: 2px solid rgba(237, 28, 36, 0.24);
  outline-offset: 2px;
}

.site-cart-button strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-cart-button em {
  position: absolute;
  top: -6px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  color: #ffffff;
  border: 2px solid #3f3f3f;
  border-radius: 999px;
  background: var(--red);
  font-size: 10px;
  font-weight: 900;
  font-style: normal;
}

.site-search-button > span,
.site-cart-button > span {
  display: grid;
  place-items: center;
}

.site-search-button svg,
.site-cart-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-cart-button-mobile {
  display: none;
}

.web-cart-modal,
.web-order-confirmation {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.64);
}

.web-cart-modal[hidden] {
  display: none;
}

.web-cart-modal > div {
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.web-cart-modal > div > header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
}

.web-cart-modal header p,
.web-cart-modal header h2 {
  margin: 0;
}

.web-cart-modal header p {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.web-cart-modal header h2 {
  font-size: 24px;
  text-transform: uppercase;
}

.web-cart-tabs {
  position: sticky;
  top: 79px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 20px;
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
}

.web-cart-tabs button {
  min-height: 45px;
  padding: 0 12px;
  color: #686868;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.web-cart-tabs button[aria-selected="true"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.web-cart-modal header button,
.web-checkout-back,
.web-cart-secondary {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d2d2d2;
  border-radius: 7px;
  background: #f3f3f3;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

[data-cart-view],
[data-checkout-view],
[data-order-tracking-view] {
  padding: 18px 20px 22px;
}

.web-order-tracking-intro {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.web-order-tracking-intro p,
.web-order-tracking-intro h3 {
  margin: 0;
}

.web-order-tracking-intro p {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.web-order-tracking-intro h3 {
  font-size: 24px;
  text-transform: uppercase;
}

.web-order-tracking-intro span,
.web-order-tracking-help span,
.web-order-tracking-form > p {
  color: #666666;
  font-size: 11px;
  line-height: 1.5;
}

.web-order-tracking-member {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 14px;
  margin-bottom: 14px;
  padding: 13px 14px;
  color: #202020;
  border: 1px solid #efb7b9;
  border-radius: 8px;
  background: #fff3f3;
  text-decoration: none;
}

.web-order-tracking-member strong,
.web-order-tracking-member span {
  grid-column: 1;
}

.web-order-tracking-member span {
  color: #666666;
  font-size: 10px;
}

.web-order-tracking-member b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--red);
  font-size: 11px;
  text-transform: uppercase;
}

.web-order-tracking-form {
  display: grid;
  gap: 11px;
}

.web-order-tracking-form label {
  display: grid;
  gap: 5px;
  color: #202020;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.web-order-tracking-form input {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #cccccc;
  border-radius: 7px;
  font: inherit;
  text-transform: none;
}

.web-order-tracking-form > p {
  margin: 0;
}

[data-order-tracking-message] {
  min-height: 17px;
  font-weight: 800;
}

[data-order-tracking-message].is-error {
  color: #9b2226;
}

.web-order-tracking-help {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #f3f3f3;
}

.web-order-tracking-help a {
  margin-top: 4px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.web-cart-lines {
  display: grid;
  gap: 10px;
}

.web-cart-line {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid #dddddd;
  border-radius: 10px;
}

.web-cart-line-image {
  grid-row: 1 / span 2;
  min-height: 90px;
  overflow: hidden;
  border-radius: 7px;
  background: #f1f1f1;
}

.web-cart-line-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.web-cart-line-copy {
  display: grid;
  gap: 3px;
}

.web-cart-line-copy span {
  color: #666666;
  font-size: 11px;
}

.web-cart-line-copy b {
  color: var(--red);
}

.web-cart-line-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.web-cart-line-controls button {
  min-width: 34px;
  min-height: 32px;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  background: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.web-cart-line-controls .web-cart-remove {
  width: auto;
  margin-left: auto;
  color: var(--red);
  border: 0;
}

.web-cart-summary,
.web-checkout-summary {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #dddddd;
  border-radius: 9px;
}

.web-cart-summary div,
.web-checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.web-cart-primary {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.web-cart-primary:disabled {
  opacity: 0.62;
  cursor: wait;
}

.web-cart-secondary {
  display: block;
  margin: 9px auto 0;
}

.web-cart-empty {
  padding: 34px 10px;
  text-align: center;
}

.web-cart-empty h3 {
  margin: 0 0 6px;
}

.web-checkout-form {
  display: grid;
  gap: 11px;
}

.web-checkout-mode {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  border-radius: 7px;
  background: #fff3f3;
}

.web-checkout-mode strong {
  font-size: 13px;
  text-transform: uppercase;
}

.web-checkout-mode span {
  color: #555555;
  font-size: 11px;
  line-height: 1.45;
}

.web-checkout-form fieldset {
  padding: 0;
  border: 0;
}

.web-checkout-form legend,
.web-checkout-form > label,
.web-shipping-fields label,
.web-checkout-field-grid label {
  display: grid;
  gap: 5px;
  color: #202020;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.web-checkout-form label small {
  color: #777777;
  font-size: 9px;
  font-weight: 700;
  text-transform: none;
}

.web-checkout-form input,
.web-checkout-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #cccccc;
  border-radius: 7px;
  font: inherit;
  text-transform: none;
}

.web-checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.web-shipping-fields {
  display: grid;
  gap: 10px;
  padding: 12px !important;
  border: 1px solid #dddddd !important;
  border-radius: 9px;
  background: #fafafa;
}

.web-shipping-fields[hidden] {
  display: none;
}

.web-shipping-fields legend {
  padding: 0 5px;
}

.web-checkout-review {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 2px solid var(--red);
  border-radius: 9px;
  background: #fffafa;
}

.web-checkout-review[hidden] {
  display: none;
}

.web-checkout-review > div {
  display: grid;
  gap: 2px;
}

.web-checkout-review > div span {
  color: #777777;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.web-checkout-review > div strong {
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.4;
}

.web-checkout-review label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin-top: 5px;
  padding-top: 10px;
  border-top: 1px solid #e1c5c5;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.web-checkout-review label input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
}

.web-checkout-review p {
  margin: 0;
  color: #666666;
  font-size: 10px;
  line-height: 1.45;
}

.web-checkout-form textarea {
  min-height: 82px;
  resize: vertical;
}

.web-fulfillment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.web-fulfillment-options label {
  cursor: pointer;
}

.web-fulfillment-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.web-fulfillment-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid #cccccc;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.web-fulfillment-options svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.web-fulfillment-options input:checked + span {
  color: #ffffff;
  border-color: var(--red);
  background: var(--red);
}

.web-payment-proof {
  padding: 12px;
  border: 1px dashed #bbbbbb;
  border-radius: 8px;
  background: #fafafa;
}

.web-payment-proof span,
.web-checkout-note,
[data-pickup-note] {
  margin: 0;
  color: #666666;
  font-size: 11px;
  line-height: 1.45;
  text-transform: none;
}

[data-checkout-message] {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

[data-checkout-message].is-error {
  color: #9b2226;
}

.web-order-confirmation > div {
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.web-order-confirmation > div > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 50%;
  font-size: 34px;
}

.web-order-confirmation h2 {
  margin: 0 0 10px;
  text-transform: uppercase;
}

.web-order-confirmation p {
  color: #555555;
  line-height: 1.55;
}

.web-order-confirmation strong {
  display: block;
  margin: 16px 0;
}

.web-order-tracking-save {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding: 13px;
  border: 1px solid #e0b6b8;
  border-radius: 9px;
  background: #fff5f5;
  text-align: left;
}

.web-order-tracking-save > span {
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.web-order-tracking-save code {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 800;
}

.web-order-tracking-save p,
.web-order-tracking-save small {
  margin: 0;
  color: #666666;
  font-size: 10px;
  line-height: 1.45;
}

.web-order-tracking-save > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.web-order-tracking-save button {
  min-height: 38px;
  padding: 0 8px;
  font-size: 10px;
}

.web-order-confirmation button,
.web-order-confirmation a {
  width: 100%;
  min-height: 44px;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.web-order-confirmation-actions {
  display: grid;
  gap: 8px;
}

.web-order-confirmation-actions a {
  align-items: center;
  display: flex;
  justify-content: center;
}

.web-order-confirmation-actions button {
  background: #ffffff;
  border: 1px solid #c8c8c8;
  color: #222222;
}

body.has-web-cart {
  overflow: hidden;
}

@media (max-width: 760px) {
  .site-cart-button-desktop {
    display: none;
  }

  .mobile-header-actions .site-cart-button-mobile {
    position: relative;
    display: inline-grid;
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    color: #181818;
    border: 1px solid #181818;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: none;
  }

  .mobile-header-actions .site-cart-button-mobile svg {
    width: 21px;
    height: 21px;
    color: #181818;
    stroke: #181818;
    stroke-width: 2;
  }

  .mobile-header-actions .site-cart-button-mobile em {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border: 2px solid #ffffff;
    background: var(--red);
    font-size: 10px;
  }

  .product-detail-actions a:first-child {
    grid-column: auto;
  }

  .product-detail-actions .product-messenger,
  .product-detail-actions .product-add-to-cart {
    min-height: 46px;
  }

  .web-cart-modal {
    align-items: end;
    padding: 0;
  }

  .web-cart-modal > div {
    width: 100%;
    max-height: calc(100vh - 10px);
    border-radius: 16px 16px 0 0;
  }

  [data-cart-view],
  [data-checkout-view],
  [data-order-tracking-view] {
    padding: 14px 14px 24px;
  }

  .web-cart-tabs {
    top: 75px;
    padding: 0 14px;
  }

  .web-order-tracking-save > div {
    grid-template-columns: 1fr;
  }

  .web-checkout-field-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .web-cart-line {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

.guest-order-page {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 60px;
}

.guest-order-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.guest-order-heading p {
  margin: 0 0 3px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guest-order-heading h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  text-transform: uppercase;
}

.guest-order-heading span {
  color: #666666;
}

.guest-order-heading button,
.guest-order-error a {
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  border: 0;
  border-radius: 7px;
  background: var(--red);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.guest-order-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #d6d6d6;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.guest-order-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dedede;
  border-radius: 10px;
  overflow: hidden;
}

.guest-order-summary > div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-right: 1px solid #dedede;
}

.guest-order-summary > div:last-child {
  border-right: 0;
}

.guest-order-summary span,
.guest-order-contact p,
.guest-order-lines span {
  color: #666666;
  font-size: 11px;
}

.guest-order-summary span {
  font-weight: 900;
  text-transform: uppercase;
}

.guest-order-status {
  color: var(--red);
  text-transform: uppercase;
}

.guest-order-contact,
.guest-order-lines,
.guest-order-timeline {
  padding: 16px;
  border-radius: 10px;
  background: #f7f7f7;
}

.guest-order-contact h2,
.guest-order-lines h2,
.guest-order-timeline h2 {
  margin: 0 0 10px;
  font-size: 18px;
  text-transform: uppercase;
}

.guest-order-contact p {
  margin: 4px 0;
  line-height: 1.5;
}

.guest-order-lines article {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid #dddddd;
}

.guest-order-lines article > div {
  display: grid;
  gap: 3px;
}

.guest-order-lines article > div:last-child {
  text-align: right;
}

.guest-order-timeline > div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
}

.guest-order-timeline i {
  width: 10px;
  height: 10px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red);
}

.guest-order-timeline span {
  display: grid;
  gap: 2px;
}

.guest-order-timeline small,
.guest-order-help,
.guest-order-loading p,
.guest-order-error p {
  color: #666666;
  font-size: 11px;
  line-height: 1.5;
}

.guest-order-help {
  margin: 0;
}

.guest-order-loading,
.guest-order-error {
  padding: 40px 15px;
  text-align: center;
}

.guest-order-loading h2,
.guest-order-error h2 {
  margin: 0 0 6px;
  text-transform: uppercase;
}

.guest-order-error a {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
}

@media (max-width: 760px) {
  .guest-order-page {
    padding: 18px 12px 90px;
  }

  .guest-order-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .guest-order-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guest-order-summary > div:nth-child(2) {
    border-right: 0;
  }

  .guest-order-summary > div:nth-child(-n + 2) {
    border-bottom: 1px solid #dedede;
  }

  .guest-order-lines article {
    align-items: flex-start;
  }
}

@media(max-width:820px){.stories-header-label{display:none}.story-grid{grid-template-columns:1fr 1fr}.story-card-featured{display:block}.story-card-featured .story-card-image{min-height:300px}}
@media(max-width:620px){.is-stories-page{padding-bottom:72px}.stories-page,.story-page{padding-bottom:32px}.stories-hero{margin:0 -12px;padding:38px 20px}.stories-hero h1{font-size:38px}.stories-search button{padding:0 15px}.story-grid{grid-template-columns:1fr;gap:16px}.story-card-featured .story-card-image,.story-card-image{min-height:230px}.story-card-meta,.story-byline{align-items:flex-start;flex-direction:column;gap:6px}.story-article{padding-top:24px}.story-article>header{text-align:left}.story-article h1{font-size:38px}.story-content{font-size:17px}.story-cta div{flex-direction:column}}

.notification-drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.5);
}

.notification-drawer[hidden] {
  display: none;
}

.notification-drawer > section {
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100%;
  color: #242424;
  background: #f5f5f5;
  box-shadow: -18px 0 42px rgba(0, 0, 0, 0.24);
}

.notification-drawer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  color: #ffffff;
  background: #202020;
}

.notification-drawer header span {
  display: block;
  margin-bottom: 3px;
  color: #ff8f95;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-drawer h2 {
  margin: 0;
  font-size: 25px;
  text-transform: uppercase;
}

.notification-drawer header button,
.notification-drawer-tools button,
.notification-load-more {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.notification-drawer header button {
  color: #202020;
  background: #ffffff;
}

.notification-drawer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
}

.notification-drawer-tools p {
  margin: 0;
  color: #666666;
  font-size: 12px;
  font-weight: 800;
}

.notification-drawer-tools button {
  color: var(--red);
  background: #fff0f1;
  font-size: 11px;
}

.notification-list {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
}

.notification-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 8px;
  gap: 11px;
  align-items: start;
  width: 100%;
  padding: 14px 12px;
  color: #262626;
  text-align: left;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px;
  cursor: pointer;
}

.notification-item + .notification-item {
  margin-top: 8px;
}

.notification-item.is-unread {
  background: #fff2f3;
  border-color: #f1b8bb;
}

.notification-item-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  color: #ffffff;
  background: #282828;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 900;
}

.notification-item-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notification-item-content {
  display: block;
  min-width: 0;
}

.notification-item-content strong,
.notification-item-content span,
.notification-item-content small {
  display: block;
}

.notification-item-content strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.notification-item-content span {
  color: #555555;
  font-size: 12px;
  line-height: 1.4;
}

.notification-item-content small {
  margin-top: 7px;
  color: #888888;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.notification-item > i {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  background: transparent;
  border-radius: 50%;
}

.notification-item.is-unread > i {
  background: var(--red);
}

.notification-empty {
  padding: 44px 22px;
  color: #666666;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px;
}

.notification-empty strong {
  display: block;
  margin-bottom: 7px;
  color: #222222;
  font-size: 17px;
  text-transform: uppercase;
}

.notification-empty p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.notification-load-more {
  margin: 0 10px 12px;
  color: #ffffff;
  background: var(--red);
}

body.has-notification-drawer {
  overflow: hidden;
}

@media (max-width: 640px) {
  .mobile-bottom-nav.is-continuous-belt {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    scroll-snap-type: none;
  }

  .mobile-bottom-nav.is-continuous-belt::-webkit-scrollbar {
    display: none;
  }

  .mobile-bottom-nav-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 66px;
    flex: 0 0 auto;
    min-width: max-content;
    padding: 0 4px;
  }

  .mobile-bottom-nav :is(a, button) {
    position: relative;
    display: grid;
    gap: 2px;
    place-items: center;
    min-width: 0;
    padding: 0;
    color: #343434;
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-bottom-nav :is(a, button).active {
    color: var(--red);
  }

  .mobile-bottom-nav :is(a, button).active > span {
    color: var(--red);
    background: transparent;
  }

  .mobile-bottom-nav [data-notification-badge] {
    top: -2px;
    right: 9px;
  }

  .mobile-bottom-nav [data-story-update-badge] {
    top: -2px;
    right: 9px;
  }

  .notification-drawer {
    align-items: flex-end;
  }

  .notification-drawer > section {
    width: 100%;
    height: min(82vh, 720px);
    padding-bottom: env(safe-area-inset-bottom);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.24);
  }

  .notification-drawer header {
    padding: 17px 16px;
    border-radius: 18px 18px 0 0;
  }
}

/* Streamlined shared header and compact product actions */
.header-main > .search-form,
.header-main > .cart-box,
.header-main > .lock-box {
  display: none !important;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 0;
}

.product-detail-actions a,
.product-detail-actions button,
.product-detail-actions .product-messenger,
.product-detail-actions .product-add-to-cart {
  position: relative;
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
}

.product-detail-actions svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-detail-actions [data-tooltip]::after {
  position: absolute;
  z-index: 8;
  bottom: calc(100% + 8px);
  left: 50%;
  width: max-content;
  max-width: 190px;
  padding: 6px 8px;
  color: #ffffff;
  background: #202020;
  border-radius: 5px;
  content: attr(data-tooltip);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  transform: translate(-50%, 4px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.product-detail-actions [data-tooltip]:hover::after,
.product-detail-actions [data-tooltip]:focus-visible::after {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-detail-actions .product-action-labeled {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 66px;
  min-width: 66px;
  height: auto;
  min-height: 62px;
  padding: 0;
  color: #252525;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.product-detail-actions a.product-action-labeled:not(.product-messenger) {
  color: #252525;
  background: transparent;
}

.product-detail-actions .product-action-labeled .product-action-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: var(--dark);
  background: #eeeeee;
  border-radius: 50%;
}

.product-detail-actions .product-action-labeled.product-messenger .product-action-icon {
  color: var(--red);
  background: #ffffff;
  border: 1px solid var(--red);
}

.product-detail-actions .product-action-labeled.product-add-to-cart .product-action-icon {
  color: #ffffff;
  background: var(--red);
}

.product-detail-actions .product-action-labeled.product-add-to-cart:disabled {
  color: #777777;
  background: transparent;
}

.product-detail-actions .product-action-labeled.product-add-to-cart:disabled .product-action-icon {
  color: #777777;
  background: #dddddd;
}

.product-detail-actions .product-action-label {
  color: inherit;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

body.has-customer-welcome {
  overflow: hidden;
}

.customer-welcome-modal {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(18, 18, 18, 0.68);
  backdrop-filter: blur(3px);
}

.customer-welcome-modal[hidden] {
  display: none;
}

.customer-welcome-modal > section {
  width: min(100%, 430px);
  padding: 30px 28px 26px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.customer-welcome-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  place-items: center;
  color: #ffffff;
  background: var(--red);
  border-radius: 50%;
  font-size: 29px;
  font-weight: 950;
}

.customer-welcome-modal > section > p:first-of-type {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.customer-welcome-modal h2 {
  margin: 0 0 10px;
  color: #181818;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.08;
}

.customer-welcome-modal h2 + p {
  margin: 0 auto 22px;
  max-width: 330px;
  color: #555555;
  font-size: 14px;
  line-height: 1.55;
}

.customer-welcome-modal button {
  min-width: 190px;
  min-height: 44px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--red);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.customer-welcome-modal button:hover,
.customer-welcome-modal button:focus-visible {
  background: #b9141b;
}

@media (max-width: 520px) {
  .customer-welcome-modal {
    padding: 14px;
  }

  .customer-welcome-modal > section {
    padding: 26px 20px 22px;
    border-radius: 13px;
  }

  .customer-welcome-modal button {
    width: 100%;
  }
}
.kapotpot-finder {
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.45fr);
  min-height: 330px;
  margin-top: 21px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.kapotpot-finder-copy {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border-right: 1px solid #dedede;
}

.kapotpot-finder-eyebrow {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kapotpot-finder h2 {
  margin: 0;
  color: #151515;
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.kapotpot-finder-intro {
  margin: 10px 0 18px;
  color: #555555;
  font-size: 13px;
  line-height: 1.45;
}

.kapotpot-finder-controls {
  display: grid;
  gap: 10px;
  margin-top: 17px;
}

.kapotpot-finder-controls button {
  min-height: 43px;
  border: 0;
  color: #ffffff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.kapotpot-finder-controls button:hover,
.kapotpot-finder-controls button:focus-visible {
  background: var(--red-dark);
}

.kapotpot-finder-controls button:disabled {
  cursor: wait;
  background: #878787;
}

.kapotpot-privacy-note,
.kapotpot-finder-message {
  color: #707070;
  font-size: 10px;
  line-height: 1.45;
}

.kapotpot-privacy-note {
  display: flex;
  gap: 7px;
  margin: 15px 0 0;
}

.kapotpot-privacy-note span {
  color: #333333;
}

.kapotpot-finder-message {
  min-height: 15px;
  margin: 8px 0 0;
  font-weight: 700;
}

.kapotpot-finder-message.is-error {
  color: #a4141a;
}

.kapotpot-map-shell {
  position: relative;
  min-width: 0;
  min-height: 330px;
  overflow: hidden;
  background: #eef1f1;
}

.kapotpot-map-shell:fullscreen,
.kapotpot-map-shell:-webkit-full-screen,
.kapotpot-map-shell.is-fullscreen-fallback {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background: #eef1f1;
}

.kapotpot-map-shell.is-fullscreen-fallback {
  position: fixed;
  z-index: 1800;
  inset: 0;
}

body.has-kapotpot-map-fullscreen {
  overflow: hidden;
}

.kapotpot-map-fullscreen,
.kapotpot-chat-toggle {
  position: absolute;
  z-index: 700;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  color: #202020;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.kapotpot-chat-toggle {
  top: 54px;
}

.kapotpot-map-fullscreen:hover,
.kapotpot-chat-toggle:hover {
  color: var(--red);
  background: #ffffff;
}

.kapotpot-map-fullscreen:focus-visible,
.kapotpot-chat-toggle:focus-visible {
  outline: 3px solid rgba(223, 32, 39, 0.3);
  outline-offset: 2px;
}

.kapotpot-map-fullscreen svg,
.kapotpot-chat-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.kapotpot-map-fullscreen .kapotpot-collapse-icon,
.kapotpot-map-fullscreen.is-active .kapotpot-expand-icon {
  display: none;
}

.kapotpot-map-fullscreen.is-active .kapotpot-collapse-icon {
  display: block;
}

.kapotpot-chat-toggle[hidden] {
  display: none;
}

.kapotpot-chat-toggle [data-kapotpot-chat-unread] {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--red);
  font-size: 8px;
  font-weight: 900;
  line-height: 12px;
}

.kapotpot-chat-toggle [data-kapotpot-chat-unread][hidden] {
  display: none;
}

.kapotpot-chat-panel {
  position: absolute;
  right: 12px;
  bottom: 18px;
  z-index: 650;
  display: grid;
  width: min(300px, calc(100% - 24px));
  max-height: min(360px, calc(100% - 86px));
  overflow: hidden;
  color: #ffffff;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.kapotpot-chat-panel[hidden] {
  display: none;
}

.kapotpot-chat-panel-actions {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  gap: 5px;
}

.kapotpot-chat-panel-actions button {
  display: grid;
  width: 23px;
  height: 23px;
  padding: 0;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background: rgba(18, 18, 18, 0.68);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.kapotpot-chat-messages {
  display: grid;
  gap: 3px;
  min-height: 60px;
  max-height: 274px;
  padding: 30px 8px 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-bottom: 44px;
  background: transparent;
  scrollbar-color: rgba(255, 255, 255, 0.72) rgba(0, 0, 0, 0.18);
  scrollbar-width: thin;
}

.kapotpot-chat-messages::after {
  content: "";
  display: block;
  min-height: 40px;
  pointer-events: none;
}

.kapotpot-chat-empty {
  margin: auto;
  padding: 8px 10px;
  color: #ffffff;
  border-radius: 4px;
  background: transparent;
  font-size: 10px;
  text-align: center;
  text-shadow:
    -1px -1px 2px rgba(0, 0, 0, 0.98),
    1px -1px 2px rgba(0, 0, 0, 0.98),
    -1px 1px 2px rgba(0, 0, 0, 0.98),
    1px 1px 2px rgba(0, 0, 0, 0.98);
}

.kapotpot-chat-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  min-height: 24px;
  padding: 2px 1px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.kapotpot-chat-message.has-avatar {
  grid-template-columns: 22px minmax(0, 1fr);
}

.kapotpot-chat-message-avatar {
  display: block;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
}

.kapotpot-chat-message-content {
  min-width: 0;
}

.kapotpot-chat-message-content p {
  margin: 0;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-shadow:
    -1px -1px 2px rgba(0, 0, 0, 0.98),
    1px -1px 2px rgba(0, 0, 0, 0.98),
    -1px 1px 2px rgba(0, 0, 0, 0.98),
    1px 1px 2px rgba(0, 0, 0, 0.98);
}

.kapotpot-chat-error {
  margin: 0 12px 8px;
  padding: 7px 8px;
  color: #ffd7d8;
  border: 1px solid rgba(255, 107, 112, 0.42);
  background: rgba(223, 32, 39, 0.2);
  font-size: 9px;
  font-weight: 800;
}

.kapotpot-chat-error[hidden] {
  display: none;
}

.kapotpot-chat-panel footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 9px;
  color: #eeeeee;
  border-top: 0;
  background: transparent;
  font-size: 7px;
  font-weight: 800;
  text-shadow:
    -1px -1px 2px rgba(0, 0, 0, 0.98),
    1px -1px 2px rgba(0, 0, 0, 0.98),
    -1px 1px 2px rgba(0, 0, 0, 0.98),
    1px 1px 2px rgba(0, 0, 0, 0.98);
}

.kapotpot-map-shell.has-chat-open .kapotpot-map-legend {
  display: none;
}

.kapotpot-chat-composer {
  position: absolute;
  z-index: 800;
  inset: 0;
  display: grid;
  padding: 18px;
  place-items: center;
  background: rgba(0, 0, 0, 0.42);
}

.kapotpot-chat-composer[hidden] {
  display: none;
}

.kapotpot-chat-composer form {
  width: min(390px, 100%);
  padding: 20px;
  color: #292929;
  border-top: 4px solid var(--red);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

.kapotpot-chat-composer h3 {
  margin: 0;
  font-size: 16px;
}

.kapotpot-chat-composer form > p {
  margin: 5px 0 13px;
  color: #666666;
  font-size: 11px;
}

.kapotpot-chat-composer textarea {
  width: 100%;
  min-height: 96px;
  resize: none;
  padding: 11px;
  color: #222222;
  border: 1px solid #bdbdbd;
  border-radius: 3px;
  background: #ffffff;
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
}

.kapotpot-chat-composer textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(223, 32, 39, 0.16);
}

.kapotpot-chat-composer-meta {
  display: flex;
  min-height: 27px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #777777;
  font-size: 9px;
}

.kapotpot-chat-composer-meta [data-kapotpot-chat-feedback] {
  color: #9e171c;
  font-weight: 800;
}

.kapotpot-chat-composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.kapotpot-chat-composer-actions button {
  min-width: 92px;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.kapotpot-chat-composer-actions button:first-child {
  color: #333333;
  background: #e4e4e4;
}

.kapotpot-chat-composer-actions button:last-child {
  color: #ffffff;
  background: var(--red);
}

.kapotpot-chat-composer-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

@supports (height: 100dvh) {
  .kapotpot-map-shell:fullscreen,
  .kapotpot-map-shell:-webkit-full-screen,
  .kapotpot-map-shell.is-fullscreen-fallback {
    height: 100dvh;
    min-height: 100dvh;
  }
}

.kapotpot-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.kapotpot-map-preview {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #262626;
  background: #eef1f1;
  transition: opacity 180ms ease;
}

.kapotpot-map-preview[hidden] {
  display: none;
}

.kapotpot-map-preview svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.kapotpot-map-preview svg > path {
  fill: none;
  stroke: #d2d9da;
  stroke-width: 13;
}

.kapotpot-map-preview svg > path:first-child {
  stroke: #ffffff;
  stroke-width: 18;
}

.kapotpot-map-preview svg .kapotpot-preview-river {
  stroke: #b7d9eb;
  stroke-width: 28;
}

.kapotpot-preview-radius {
  fill: rgba(223, 32, 39, 0.06);
  stroke: var(--red);
  stroke-width: 3;
  stroke-dasharray: 10 8;
}

.kapotpot-preview-nearby-radius {
  fill: rgba(37, 122, 231, 0.11);
  stroke: #257ae7;
  stroke-width: 3;
  stroke-dasharray: 8 7;
}

.kapotpot-preview-user {
  fill: #257ae7;
  stroke: #ffffff;
  stroke-width: 5;
}

.kapotpot-preview-rider circle {
  fill: var(--red);
  stroke: #ffffff;
  stroke-width: 3;
}

.kapotpot-preview-rider text {
  fill: #ffffff;
  font-size: 13px;
  text-anchor: middle;
}

.kapotpot-map-preview-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  max-width: 250px;
  padding: 13px 17px;
  text-align: center;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid #d3d3d3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.kapotpot-map-preview-card:hover,
.kapotpot-map-preview-card:focus-visible {
  border-color: var(--red);
  outline: 3px solid rgba(223, 32, 39, 0.16);
  outline-offset: 2px;
}

.kapotpot-map-preview strong {
  font-size: 14px;
}

.kapotpot-map-preview span {
  color: #676767;
  font-size: 10px;
}


.kapotpot-map-legend {
  position: absolute;
  right: 10px;
  bottom: 22px;
  z-index: 500;
  display: flex;
  gap: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d5d5d5;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.kapotpot-map-legend[hidden] {
  display: none;
}

.kapotpot-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
}

.kapotpot-map-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.kapotpot-map-legend .is-you {
  background: #257ae7;
}

.kapotpot-map-legend .is-kapotpot {
  background: var(--red);
}

.kapotpot-map-legend .is-nearby-zone,
.kapotpot-map-legend .is-search-zone {
  background: transparent;
  border: 2px dashed;
}

.kapotpot-map-legend .is-nearby-zone {
  border-color: #257ae7;
}

.kapotpot-map-legend .is-search-zone {
  border-color: var(--red);
}

.kapotpot-user-marker,
.kapotpot-rider-marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 3px solid #ffffff;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
}

.kapotpot-user-marker {
  background: #257ae7;
  box-shadow: 0 0 0 3px #257ae7, 0 3px 10px rgba(0, 0, 0, 0.36);
}

.kapotpot-rider-marker {
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red), 0 3px 9px rgba(0, 0, 0, 0.34);
  cursor: pointer;
}

.kapotpot-map .leaflet-tooltip.kapotpot-rider-tooltip {
  padding: 7px 9px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  background: rgba(24, 24, 24, 0.94);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}

.kapotpot-map .leaflet-tooltip-top.kapotpot-rider-tooltip::before {
  border-top-color: rgba(24, 24, 24, 0.94);
}

.kapotpot-rider-tooltip-content,
.kapotpot-rider-tooltip-content strong,
.kapotpot-rider-tooltip-content small {
  display: block;
}

.kapotpot-rider-tooltip-content strong {
  font-size: 12px;
  line-height: 1.2;
}

.kapotpot-rider-tooltip-content small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.2;
}

.kapotpot-marker-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.kapotpot-user-marker .kapotpot-marker-fallback {
  font-size: 12px;
}

.kapotpot-marker-avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

.kapotpot-map .leaflet-control-attribution {
  font-size: 8px;
}

.kapotpot-location-prompt {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
}

.kapotpot-location-prompt[hidden] {
  display: none;
}

.kapotpot-location-prompt > section {
  width: min(430px, 100%);
  padding: 28px;
  color: #262626;
  border-top: 4px solid var(--red);
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
}

.kapotpot-location-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--red);
}

.kapotpot-location-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.kapotpot-location-prompt section > p:first-of-type {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kapotpot-location-prompt h2 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.08;
  text-transform: uppercase;
}

.kapotpot-location-prompt [data-kapotpot-location-description],
.kapotpot-location-prompt li,
.kapotpot-location-prompt small {
  color: #5d5d5d;
  font-size: 12px;
  line-height: 1.5;
}

.kapotpot-location-prompt ul {
  display: grid;
  gap: 5px;
  margin: 16px 0 20px;
  padding-left: 20px;
}

.kapotpot-location-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 10px;
}

.kapotpot-location-actions button {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.kapotpot-location-actions button:first-child {
  color: #ffffff;
  background: var(--red);
}

.kapotpot-location-actions button:last-child {
  color: #333333;
  background: #e8e8e8;
}

.kapotpot-location-actions button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.kapotpot-location-feedback {
  margin: 0 0 10px;
  padding: 10px 12px;
  color: #8c151a;
  border: 1px solid rgba(237, 28, 39, 0.35);
  background: rgba(237, 28, 39, 0.08);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.kapotpot-location-feedback[hidden] {
  display: none;
}

body.has-kapotpot-location-prompt {
  overflow: hidden;
}

@media (max-width: 760px) {
  .kapotpot-finder {
    grid-template-columns: 1fr;
    margin: 12px 10px 0;
    border-radius: 8px;
  }

  .kapotpot-finder-copy {
    padding: 20px 17px 17px;
    border-right: 0;
    border-bottom: 1px solid #dedede;
  }

  .kapotpot-finder h2 {
    font-size: 29px;
  }

  .kapotpot-finder-controls {
    grid-template-columns: minmax(0, 1fr) minmax(132px, 0.85fr);
    align-items: center;
  }

  .kapotpot-map-shell {
    min-height: 300px;
  }

  .kapotpot-chat-panel {
    right: 8px;
    bottom: 8px;
    width: calc(100% - 16px);
    max-height: calc(100% - 70px);
  }

  .kapotpot-chat-composer {
    padding: 10px;
  }

  .kapotpot-chat-composer form {
    padding: 17px;
  }
}

@media (max-width: 430px) {
  .kapotpot-finder-controls {
    grid-template-columns: 1fr;
  }

  .kapotpot-finder-controls button {
    min-height: 44px;
  }

  .kapotpot-map-shell {
    min-height: 270px;
  }

  .kapotpot-map-legend {
    bottom: 20px;
  }

  .kapotpot-chat-message-content p {
    font-size: 11px;
  }

  .kapotpot-chat-composer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .kapotpot-location-prompt {
    padding: 12px;
  }

  .kapotpot-location-prompt > section {
    padding: 22px 18px;
  }

  .kapotpot-location-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kapotpot-switch,
  .kapotpot-switch::after,
  .kapotpot-map-preview {
    transition: none;
  }
}
.private-rides{margin:34px 0;background:linear-gradient(120deg,#121415 52%,#4b2225);border-top:4px solid #ed1c24;color:#fff;padding:30px}.private-rides-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.private-rides-heading p{color:#ed1c24;font-weight:900;letter-spacing:.12em;text-transform:uppercase;margin:0 0 6px}.private-rides-heading h2{font-size:clamp(2rem,4vw,3.4rem);line-height:.92;margin:0}.private-rides-heading span{display:block;color:#d8d8d8;margin-top:10px}.private-rides-heading-actions{display:flex;gap:10px}.private-rides button{border:1px solid #777;background:#3f4142;color:#fff;font:inherit;font-weight:800;text-transform:uppercase;padding:12px 17px;cursor:pointer}.private-rides button.is-primary,.private-ride-modal button.is-primary{background:#ed1c24;border-color:#ed1c24}.private-rides-status{color:#d8d8d8;text-align:center;padding:22px}.private-rides-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.private-ride-card{display:grid;grid-template-columns:78px minmax(0,1fr);gap:14px;background:rgba(255,255,255,.09);border:1px solid #555;padding:14px;min-height:125px}.private-ride-card img,.private-ride-card-image{width:78px;height:78px;object-fit:cover;background:#ed1c24;display:grid;place-items:center;font-size:2rem;font-weight:900}.private-ride-card h3{margin:0 0 3px;font-size:1.15rem}.private-ride-card strong{color:#fff}.private-ride-card p,.private-ride-card small{margin:3px 0;color:#d6d6d6;display:block}.private-ride-card footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.private-ride-card footer button{padding:8px 13px}.private-ride-pill{background:#57595a;border-radius:20px;padding:5px 9px;text-transform:uppercase;font-size:.72rem;font-weight:900}.private-ride-modal{position:fixed;inset:0;z-index:10020;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:18px}.private-ride-modal[hidden]{display:none}.private-ride-modal>section{position:relative;background:#f7f7f7;color:#202020;width:min(900px,100%);max-height:92vh;overflow:auto;border-top:5px solid #ed1c24;padding:28px}.private-ride-modal-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:2rem;cursor:pointer}.private-ride-modal h2{font-size:clamp(1.8rem,5vw,2.8rem);margin:0 40px 18px 0}.private-ride-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.private-ride-form label{display:grid;gap:6px;font-weight:800}.private-ride-form .is-wide{grid-column:1/-1}.private-ride-form input,.private-ride-form textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #aaa;font:inherit}.private-ride-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}.private-ride-modal button{border:1px solid #888;background:#444;color:#fff;padding:11px 16px;font:inherit;font-weight:800;text-transform:uppercase;cursor:pointer}.private-ride-code{border:2px dashed #ed1c24;padding:18px;text-align:center;margin:15px 0}.private-ride-code strong{font-size:2rem;letter-spacing:.15em}.private-ride-detail-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.private-ride-detail-meta span{background:#e5e5e5;padding:7px 10px;font-weight:700}.private-ride-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.private-ride-members{display:flex;gap:8px;overflow:auto;padding:8px 0}.private-ride-member{min-width:130px;background:#e8e8e8;padding:9px}.private-ride-member img{width:34px;height:34px;border-radius:50%;object-fit:cover;vertical-align:middle;margin-right:6px}.private-ride-live{position:relative;background:#e7edef;min-height:370px;margin-top:16px}.private-ride-map{height:370px}.private-ride-chat-toggle{position:absolute;right:12px;top:12px;z-index:500;width:44px;height:44px;border-radius:50%;padding:8px!important;background:#ed1c24!important}.private-ride-chat{position:absolute;z-index:490;right:12px;top:64px;width:min(330px,calc(100% - 24px));max-height:245px;overflow:auto;padding:8px 8px 52px;background:transparent}.private-ride-chat[hidden]{display:none}.private-ride-chat-message{display:flex;gap:8px;align-items:flex-start;margin:7px 0;color:#fff;text-shadow:0 1px 3px #000,0 0 4px #000;font-weight:800}.private-ride-chat-message img,.private-ride-chat-avatar{width:27px;height:27px;border-radius:50%;object-fit:cover;flex:0 0 27px;background:#ed1c24}.private-ride-chat-form{position:absolute;z-index:510;left:12px;right:12px;bottom:12px;display:flex;gap:6px}.private-ride-chat-form input{flex:1;min-width:0;padding:10px;border:1px solid #777;background:rgba(255,255,255,.92)}.private-ride-chat-form button{padding:9px 11px}.private-ride-map-message{position:absolute;left:50%;top:50%;z-index:450;transform:translate(-50%,-50%);background:rgba(255,255,255,.93);padding:16px;text-align:center;font-weight:800}.private-ride-group-image{width:90px;height:90px;object-fit:cover;float:left;margin:0 16px 12px 0}.private-ride-feedback{color:#b20d14;font-weight:800}.private-ride-marker{width:27px;height:27px;border:2px solid #fff;border-radius:50%;overflow:hidden;background:#ed1c24;box-shadow:0 2px 6px #000}.private-ride-marker img{width:100%;height:100%;object-fit:cover}.private-ride-marker span{display:grid;place-items:center;width:100%;height:100%;color:#fff;font-size:10px;font-weight:900}
@media(max-width:760px){.private-rides{box-sizing:border-box;margin:24px 0;padding:24px 18px;width:100%}.private-rides-heading{align-items:stretch;flex-direction:column}.private-rides-heading-actions{display:grid;grid-template-columns:1fr 1fr}.private-rides-cards{grid-template-columns:1fr}.private-ride-form{grid-template-columns:1fr}.private-ride-form .is-wide,.private-ride-form-actions{grid-column:auto}.private-ride-modal{padding:8px}.private-ride-modal>section{padding:24px 16px;max-height:96vh}.private-ride-live,.private-ride-map{height:54vh;min-height:330px}.private-ride-detail-actions button{flex:1}.private-ride-card{grid-template-columns:64px minmax(0,1fr)}.private-ride-card img,.private-ride-card-image{width:64px;height:64px}}
.private-ride-chat{padding:8px;scroll-padding-bottom:44px}.private-ride-chat::after{content:"";display:block;min-height:40px}.private-ride-chat-message img{background:transparent}.private-ride-chat-avatar{display:none}
.private-rides-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.private-ride-card{position:relative;display:block;min-height:0;padding:0;overflow:hidden;background:#fff;border:1px solid #d4d4d4;color:#202020}.private-rides .private-ride-card-button{display:block;width:100%;padding:0;border:0;background:#fff;color:#202020;text-align:left;text-transform:none}.private-ride-card-button:hover,.private-ride-card-button:focus-visible{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.28)}.private-ride-card-button:focus-visible{outline:3px solid #ed1c24;outline-offset:2px}.private-ride-card-media{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#f7f8fa}.private-ride-card .private-ride-card-media img{display:block;width:100%;height:100%;object-fit:cover;background:#f7f8fa}.private-ride-card-media .private-ride-pill{position:absolute;left:10px;top:10px;color:#fff;background:rgba(36,39,43,.88)}.private-rides .private-ride-join-chip{position:absolute;right:10px;top:10px;z-index:3;padding:6px 10px;border:1px solid rgba(255,255,255,.88);border-radius:999px;background:#ed1c24;color:#fff;font-size:.68rem;line-height:1;font-weight:900}.private-rides .private-ride-join-chip:hover,.private-rides .private-ride-join-chip:focus-visible{background:#b80f16}.private-ride-card-details{display:grid;gap:4px;padding:13px 14px 15px}.private-ride-card-details strong{font-size:1.08rem;line-height:1.2;color:#202020}.private-ride-card-details>span{overflow:hidden;color:#555;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap}.private-ride-card-details small,.private-ride-card-details time{display:block;color:#555;font-size:.78rem;font-weight:700}.private-ride-card-details time{color:#777}
.private-ride-card .private-ride-card-media img.is-default-private-ride-image{object-fit:contain}
@media(max-width:900px){.private-rides-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.private-rides-heading-actions{grid-template-columns:1fr}.private-rides-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.private-rides-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.private-ride-card-details{padding:10px}.private-ride-card-details strong{font-size:.96rem}}
.private-rides-cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px 14px}.private-ride-card{display:flex;flex-direction:column;align-items:center;gap:8px;overflow:visible;min-width:0;padding:0;border:0;background:transparent;color:#fff}.private-rides .private-ride-icon-button{display:block;width:132px;height:132px;padding:0;border:3px solid rgba(255,255,255,.82);border-radius:50%;background:#fff;text-transform:none;box-shadow:0 4px 12px rgba(0,0,0,.28);transition:transform .15s ease,box-shadow .15s ease}.private-rides .private-ride-icon-button:hover,.private-rides .private-ride-icon-button:focus-visible{transform:translateY(-2px);box-shadow:0 7px 18px rgba(0,0,0,.4);outline:3px solid #ed1c24;outline-offset:3px}.private-ride-icon-button .private-ride-card-media{display:block;width:100%;height:100%;overflow:visible;border-radius:50%;aspect-ratio:auto}.private-ride-card .private-ride-icon-button img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;background:#fff}.private-ride-card .private-ride-icon-button img.is-default-private-ride-image{object-fit:contain}.private-ride-icon-button .private-ride-pill{left:50%;top:auto;bottom:-8px;transform:translateX(-50%);padding:4px 9px;border:2px solid #121415;background:#5b5e60;color:#fff;font-size:.62rem;white-space:nowrap}.private-ride-icon-button .private-ride-pill.is-live{background:#179447}.private-ride-card-details{box-sizing:border-box;width:100%;gap:2px;padding:3px 4px 0;text-align:center}.private-ride-card-details strong{font-size:.9rem;line-height:1.15;color:#fff}.private-ride-card-details>span{font-size:.74rem;color:#d7d7d7}.private-ride-card-details small,.private-ride-card-details time{font-size:.66rem;line-height:1.25;color:#bfc1c2}.private-ride-card-details time{color:#aeb0b1}
.private-ride-icon-button .private-ride-pill.is-idle{background:#f4c430;color:#241d00}.private-ride-icon-button .private-ride-pill.is-inactive{background:#d97706;color:#fff;cursor:help}
.private-ride-icon-button .private-ride-pill.is-ended{background:#d71920;color:#fff;cursor:help}.private-rides .private-ride-icon-button:disabled{cursor:default;opacity:.82}.private-rides .private-ride-icon-button:disabled:hover{transform:none;box-shadow:0 4px 12px rgba(0,0,0,.28);outline:0}
@media(max-width:760px){.private-rides{padding:20px 16px}.private-rides-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.private-rides .private-ride-icon-button{width:118px;height:118px}.private-ride-card-details{padding:3px 0 0}.private-ride-card-details strong{font-size:.84rem}.private-ride-card-details>span{font-size:.7rem}.private-ride-card-details small,.private-ride-card-details time{font-size:.62rem}}
.private-ride-form .private-ride-spectator-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #bbb;background:#fff}.private-ride-spectator-option input{width:20px;height:20px;margin:2px 0 0;flex:0 0 20px}.private-ride-spectator-option span{display:grid;gap:3px}.private-ride-spectator-option small{font-weight:500;color:#555}.private-ride-modal .private-ride-spectator-button{background:#f4c430;border-color:#d5a900;color:#241d00}.private-ride-spectator-note{padding:10px 12px;border-left:4px solid #f4c430;background:#fff7cf;font-weight:700}.private-ride-spectator-riders{display:flex;gap:8px;overflow:auto;margin:10px 0;padding:4px 0}.private-ride-spectator-riders>span{display:flex;align-items:center;gap:6px;min-width:max-content;padding:6px 9px;border-radius:18px;background:#e7e7e7}.private-ride-spectator-riders img{width:27px;height:27px;border-radius:50%;object-fit:cover}.private-ride-spectator-live{margin-top:8px}.private-ride-spectator-live .private-ride-map{height:min(56vh,500px)}
@media(max-width:600px){.private-ride-form-actions{flex-wrap:wrap}.private-ride-form-actions button{flex:1 1 42%}.private-ride-form-actions .is-primary{order:3;flex-basis:100%}}
.private-ride-page-main{padding:24px 0 48px}.private-ride-page-back{display:inline-flex;margin-bottom:14px;color:#202020;font-weight:900;text-decoration:none}.private-ride-page-shell{background:#f5f6f7;border-top:5px solid #ed1c24;box-shadow:0 12px 34px rgba(0,0,0,.2);padding:22px}.private-ride-page-content{min-height:65vh}.private-ride-page-content>h2{margin:0;font-size:clamp(1rem,2vw,1.3rem);color:#df2027;text-transform:uppercase;letter-spacing:.08em}.private-ride-page-content>h3{margin:4px 0 12px;font-size:clamp(1.7rem,4vw,3rem);line-height:1}.private-ride-page-content>.private-ride-group-image{width:72px;height:72px;border-radius:50%}.private-ride-page-content .private-ride-detail-actions{justify-content:flex-end}.private-ride-page-content .private-ride-members{margin-bottom:10px}.private-ride-page-content .private-ride-live{height:min(68vh,720px);min-height:500px;margin-top:12px}.private-ride-page-content .private-ride-map{height:100%}.private-ride-page-content .private-ride-chat{display:block;top:64px;max-height:min(38vh,360px)}.private-ride-page-content .private-ride-chat[hidden]{display:none}.private-ride-page-content .private-ride-chat-form{bottom:14px}.private-ride-page-loading{padding:80px 20px;text-align:center;font-size:1.1rem;font-weight:800}
.private-ride-map-maximize{position:absolute;right:66px;top:12px;z-index:500;width:44px;height:44px;border-radius:6px;padding:9px!important;background:#fff!important;border:1px solid #777!important;color:#202020!important}.private-ride-map-maximize svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.private-ride-map-maximize:hover,.private-ride-map-maximize:focus-visible{background:#ed1c24!important;color:#fff!important}.private-ride-map-maximize.is-active{background:#202020!important;color:#fff!important}
body.has-private-ride-map-maximized{overflow:hidden}.has-private-ride-map-maximized .header-main,.has-private-ride-map-maximized .private-ride-page-back,.has-private-ride-map-maximized .mobile-bottom-nav{display:none!important}.has-private-ride-map-maximized .private-ride-page-main{position:fixed;inset:0;z-index:12000;box-sizing:border-box;width:100%;max-width:none;padding:0;background:#f5f6f7}.has-private-ride-map-maximized .private-ride-page-shell{box-sizing:border-box;width:100%;height:100%;padding:10px 14px;border-top-width:4px;box-shadow:none}.has-private-ride-map-maximized .private-ride-page-content{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(0,1fr);gap:4px 14px;height:100%;min-height:0}.has-private-ride-map-maximized .private-ride-page-group{grid-column:1;grid-row:1;align-self:end}.has-private-ride-map-maximized .private-ride-page-title{grid-column:1;grid-row:2;align-self:start;margin:0;font-size:1.45rem}.has-private-ride-map-maximized .private-ride-detail-meta{grid-column:2;grid-row:1;margin:0;align-self:end}.has-private-ride-map-maximized .private-ride-detail-meta span{padding:5px 8px;font-size:.75rem}.has-private-ride-map-maximized .private-ride-detail-actions{grid-column:2;grid-row:2;margin:0;align-self:start}.has-private-ride-map-maximized .private-ride-detail-actions button{padding:7px 11px;font-size:.76rem}.has-private-ride-map-maximized .private-ride-group-image,.has-private-ride-map-maximized .private-ride-description,.has-private-ride-map-maximized .private-ride-riders-heading,.has-private-ride-map-maximized .private-ride-members{display:none}.has-private-ride-map-maximized .private-ride-live{grid-column:1/-1;grid-row:3;width:100%;height:100%;min-height:0;margin:4px 0 0}.has-private-ride-map-maximized .private-ride-map{height:100%}
@media(max-width:760px){.private-ride-page-main{padding:0 0 72px}.private-ride-page-back{margin:12px 16px}.private-ride-page-shell{border-left:0;border-right:0;padding:16px 12px;box-shadow:none}.private-ride-page-content .private-ride-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.private-ride-page-content .private-ride-detail-actions button{padding:9px 6px;font-size:.72rem}.private-ride-page-content .private-ride-live{height:calc(100dvh - 260px);min-height:480px}.private-ride-page-content .private-ride-chat{right:8px;top:58px;width:min(300px,calc(100% - 16px));max-height:34vh}.private-ride-page-content .private-ride-chat-toggle{right:8px;top:8px}.private-ride-page-content .private-ride-map-maximize{right:60px;top:8px}.private-ride-page-content .private-ride-chat-form{left:8px;right:8px;bottom:8px}.has-private-ride-map-maximized .private-ride-page-shell{padding:7px 8px}.has-private-ride-map-maximized .private-ride-page-content{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto minmax(0,1fr);gap:2px 6px}.has-private-ride-map-maximized .private-ride-page-title{font-size:1.05rem}.has-private-ride-map-maximized .private-ride-page-group{font-size:.68rem}.has-private-ride-map-maximized .private-ride-detail-meta{display:flex;grid-column:1;grid-row:3;align-self:start}.has-private-ride-map-maximized .private-ride-detail-meta span{padding:3px 6px;font-size:.58rem}.has-private-ride-map-maximized .private-ride-detail-actions{grid-column:2;grid-row:1/4;align-self:center;display:flex}.has-private-ride-map-maximized .private-ride-detail-actions button{padding:6px 8px;font-size:.62rem}.has-private-ride-map-maximized .private-ride-live{grid-row:4;height:100%;min-height:0}}

/* Dedicated private-ride controls and chat placement. */
.private-ride-action-icon{display:grid!important;place-items:center;flex:0 0 46px!important;width:46px;height:46px;min-width:46px;padding:0!important;border:0!important;border-radius:50%;color:#fff;box-shadow:0 3px 8px rgba(0,0,0,.28)}
.private-ride-action-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.private-ride-action-icon.is-end{background:#f59e0b!important}
.private-ride-action-icon.is-end svg rect{fill:currentColor;stroke:none}
.private-ride-action-icon.is-cancel{background:#df2027!important}
.private-ride-action-icon:hover,.private-ride-action-icon:focus-visible{filter:brightness(.9);outline:3px solid rgba(32,32,32,.2);outline-offset:2px}
.private-ride-action-chip{flex:0 0 auto!important;min-width:0!important;padding:8px 14px!important;border:0!important;border-radius:999px;color:#fff;font-size:.72rem!important;font-weight:900;line-height:1;text-transform:uppercase;box-shadow:0 2px 7px rgba(0,0,0,.24)}
.private-ride-action-chip.is-end{background:#f59e0b!important}
.private-ride-action-chip.is-cancel{background:#df2027!important}
.private-ride-action-chip:hover,.private-ride-action-chip:focus-visible{filter:brightness(.9);outline:3px solid rgba(32,32,32,.2);outline-offset:2px}
.private-ride-photo-field{display:grid;gap:7px}.private-ride-photo-field>strong{font-weight:800}.private-ride-photo-field>small,.private-ride-form label>small{color:#555;font-size:.78rem}.private-ride-photo-picker{display:grid!important;place-items:center;width:132px!important;height:132px!important;padding:0!important;border:2px dashed #a8adb3!important;border-radius:12px;background:#eef1f3!important;color:#34383c!important;overflow:hidden;text-transform:none!important}.private-ride-photo-picker:hover,.private-ride-photo-picker:focus-visible{border-color:#df2027!important;outline:3px solid rgba(223,32,39,.16)}.private-ride-photo-placeholder{display:grid;place-items:center;gap:7px}.private-ride-photo-placeholder svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.8}.private-ride-photo-placeholder b{font-size:.76rem;text-transform:uppercase}.private-ride-photo-picker img{width:100%;height:100%;object-fit:cover}
.private-ride-page-content .private-ride-chat{left:12px;right:auto;top:auto;bottom:66px;width:min(360px,calc(100% - 24px));height:min(336px,calc(100% - 140px));max-height:336px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.is-private-ride-page .mobile-header-session .account-notification-button{position:absolute;left:-4px;bottom:-4px;z-index:4;display:grid;place-items:center;width:22px;min-width:22px;height:22px;min-height:22px;padding:0;border:2px solid #fff;border-radius:50%;color:#fff;background:#df2027;box-shadow:0 2px 6px rgba(0,0,0,.35);font-size:9px;font-weight:900}
.is-private-ride-page .mobile-header-session .account-notification-button[hidden]{display:none}
.is-private-ride-page .mobile-header-session .account-notification-button b{font-size:9px;line-height:1}

@media(max-width:980px){
  .is-private-ride-page .header-main>.customer-login,.is-private-ride-page .header-main>.customer-session{display:none!important}
}

@media(max-width:760px){
  .private-ride-page-content .private-ride-detail-actions{display:flex;justify-content:flex-end;gap:8px}
  .private-ride-page-content .private-ride-detail-actions button:not(.private-ride-action-chip){flex:1;padding:9px 6px;font-size:.72rem}
  .private-ride-page-content .private-ride-chat{left:8px;right:auto;top:auto;bottom:62px;width:min(300px,calc(100% - 16px));height:min(320px,calc(100% - 132px));max-height:320px}
  .has-private-ride-map-maximized .private-ride-detail-actions button:not(.private-ride-action-chip){padding:6px 8px;font-size:.62rem}
}

/* Compact participant stack and map controls. */
.private-ride-page-content .private-ride-members{display:flex;align-items:center;gap:0;overflow:visible;padding:6px 0 10px 10px}
.private-ride-page-content .private-ride-member{position:relative;display:grid;place-items:center;flex:0 0 48px;min-width:48px;width:48px;height:48px;margin-left:-10px;padding:0;border:3px solid #fff;border-radius:50%;background:#404244;color:#fff;box-shadow:0 2px 7px rgba(0,0,0,.24);overflow:hidden;font:inherit;cursor:default}
.private-ride-page-content button.private-ride-member{cursor:pointer}
.private-ride-page-content .private-ride-member:first-child{margin-left:0}
.private-ride-page-content .private-ride-member img{width:100%;height:100%;margin:0;border-radius:50%;object-fit:cover;background:#404244}
.private-ride-member-initial{font-size:1rem;font-weight:900;text-transform:uppercase}
.private-ride-members-overflow{position:relative;z-index:7;display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;margin-left:-10px;border:3px solid #fff;border-radius:50%;background:#404244;color:#fff;font-weight:900;box-shadow:0 2px 7px rgba(0,0,0,.24)}
.private-ride-map-maximize{right:12px;top:12px}
.private-ride-chat-toggle{right:12px;top:64px;display:grid;place-items:center;width:44px;height:44px;padding:9px!important;border:1px solid #aaa!important;border-radius:6px;background:#fff!important;color:#202020!important;box-shadow:0 2px 7px rgba(0,0,0,.2)}
.private-ride-chat-toggle svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.private-ride-chat-toggle:hover,.private-ride-chat-toggle:focus-visible{background:#f2f2f2!important;color:#202020!important;outline:2px solid #202020;outline-offset:1px}

@media(max-width:760px){
  .private-ride-page-content .private-ride-map-maximize{right:8px;top:8px}
  .private-ride-page-content .private-ride-chat-toggle{right:8px;top:60px}
}

/* Private ride chips, actions, and avatar fallbacks. */
.private-ride-page-content .private-ride-detail-meta{align-items:center;gap:7px}
.private-ride-page-content .private-ride-detail-chip{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;background:#454748;color:#fff;font-size:.72rem;font-weight:900;line-height:1;text-transform:uppercase;box-shadow:0 2px 5px rgba(0,0,0,.15)}
.private-ride-page-content .private-ride-detail-status.is-live{background:#08a64a}
.private-ride-page-content .private-ride-detail-status.is-idle{background:#f5c62b;color:#171717}
.private-ride-page-content .private-ride-detail-status.is-inactive{background:#7b7d7e}
.private-ride-page-content .private-ride-detail-status.is-ended{background:#d82027}
.private-ride-page-content .private-ride-detail-actions.is-centered{clear:both;justify-content:center;width:100%}
.private-ride-icon-action{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto!important;width:auto!important;gap:8px;min-width:150px;padding:11px 20px!important;border:0!important;border-radius:999px;color:#fff!important;font-weight:900!important;text-transform:uppercase;box-shadow:0 3px 9px rgba(0,0,0,.22)}
.private-ride-icon-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.private-ride-icon-action.is-end{background:#df2027!important}
.private-ride-icon-action.is-leave{background:#df2027!important}
.private-ride-icon-action:hover,.private-ride-icon-action:focus-visible{filter:brightness(.9);outline:3px solid rgba(32,32,32,.18);outline-offset:2px}
.private-ride-chat-avatar-initials{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border:2px solid #fff;border-radius:50%;background:#404244;color:#fff;font-size:.66rem;font-weight:900;line-height:1;text-shadow:none;box-shadow:0 1px 4px rgba(0,0,0,.35)}

@media(max-width:760px){
  .private-ride-page-content .private-ride-detail-actions{display:flex;justify-content:center}
  .private-ride-page-content .private-ride-icon-action{flex:0 0 auto;min-width:150px;padding:10px 18px!important;font-size:.76rem!important}
}

.private-ride-page-content .private-ride-icon-action.is-end{min-width:118px;padding:8px 14px!important;font-size:.68rem!important}
.private-ride-page-content .private-ride-icon-action.is-end svg{width:15px;height:15px}
.private-ride-page-content>.private-ride-group-media{position:relative;float:left;width:72px;height:72px;margin:0 16px 18px 0}
.private-ride-page-content .private-ride-group-media .private-ride-group-image{float:none;width:100%;height:100%;margin:0;border-radius:50%;object-fit:cover}
.private-ride-page-content .private-ride-detail-status.is-picture-overlay{position:absolute;left:50%;bottom:-8px;z-index:2;transform:translateX(-50%);padding:4px 8px;border:2px solid #fff;font-size:.56rem;line-height:1;box-shadow:0 2px 7px rgba(0,0,0,.3);white-space:nowrap;pointer-events:none}
.has-private-ride-map-maximized .private-ride-group-media{display:none}

/* Private ride page toolbar. */
.private-ride-page-main{position:relative}
.private-ride-page-back{display:grid;place-items:center;width:38px;height:38px;margin-bottom:14px;border-radius:50%;background:#404244;color:#fff;box-shadow:0 2px 7px rgba(0,0,0,.2)}
.private-ride-page-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.private-ride-page-back:hover,.private-ride-page-back:focus-visible{background:#df2027;outline:3px solid rgba(223,32,39,.2);outline-offset:2px}
.private-ride-page-content .private-ride-detail-actions.is-centered{position:absolute;z-index:20;right:0;top:28px;clear:none;width:auto;margin:0}
.has-private-ride-map-maximized .private-ride-page-content .private-ride-detail-actions.is-centered{position:static;z-index:auto;clear:none;width:auto}
.private-rides-refresh{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:8px!important;border-color:#07843a!important;border-radius:999px;background:#08a64a!important;color:#fff!important}
.private-rides-title-row{display:flex;align-items:center;gap:12px}
.private-rides-title-row h2{min-width:0}
.private-rides-refresh svg,.private-ride-page-refresh svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.private-rides-refresh svg{width:16px;height:16px}
.private-rides-refresh:hover,.private-rides-refresh:focus-visible,.private-ride-page-refresh:hover,.private-ride-page-refresh:focus-visible{background:#067d36!important;outline:3px solid rgba(8,166,74,.22);outline-offset:2px}
.private-rides-refresh.is-refreshing svg,.private-ride-page-refresh.is-refreshing svg{animation:private-ride-refresh-spin .72s linear infinite}
@keyframes private-ride-refresh-spin{to{transform:rotate(360deg)}}
.private-ride-page-content .private-ride-page-refresh{position:absolute;z-index:30;right:10px;top:86px;display:grid!important;place-items:center;gap:0;min-width:34px!important;width:34px!important;height:34px;padding:7px!important;border:0!important;border-radius:50%;background:#08a64a!important;color:#fff!important;box-shadow:0 2px 7px rgba(0,0,0,.22)}
.private-ride-page-content .private-ride-page-refresh svg{width:18px;height:18px}
.private-ride-page-content .private-ride-page-refresh span{display:none}
.private-ride-page-content .private-ride-live{overflow:hidden}
.private-ride-page-content .private-ride-map{position:absolute;inset:0;width:100%;height:100%}
.private-ride-chat-form[hidden]{display:none!important}

/* Match the compact red avatar markers used by Kapotpot Finder. */
.private-ride-marker{position:relative;display:grid;place-items:center;width:100%;height:100%;border:3px solid #fff;border-radius:50%;overflow:hidden;background:#ed1c24;box-shadow:0 0 0 2px #ed1c24,0 3px 9px rgba(0,0,0,.34);cursor:pointer}
.private-ride-marker .kapotpot-marker-avatar{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#ed1c24}
.private-ride-marker .kapotpot-marker-fallback{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;color:#fff;font-size:9px;font-weight:900;letter-spacing:-.03em}

@media(max-width:760px){
  .private-ride-page-back{margin:12px 16px}
  .private-ride-page-content .private-ride-detail-actions.is-centered{right:16px;top:4px}
  .private-ride-page-content .private-ride-page-refresh{right:12px;top:86px}
  .has-private-ride-map-maximized .private-ride-page-content .private-ride-detail-actions.is-centered{position:static}
}
