.brp-single,
.brp-search,
.brp-dashboard {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
  color: #17202a;
}

.brp-single {
  padding-top: 86px;
  scroll-margin-top: 110px;
}

.brp-bike-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 28px;
  align-items: start;
}

.brp-bike-main {
  min-width: 0;
}

.brp-product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px;
  align-items: start;
}

.brp-gallery,
.brp-summary,
.brp-booking-widget,
.brp-tabs-wrap,
.brp-panel,
.brp-dashboard {
  border: 1px solid rgba(20, 32, 44, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 45px rgba(31, 45, 61, .08);
}

.brp-gallery {
  overflow: hidden;
}

.brp-main-image {
  aspect-ratio: 4 / 3;
  background: #eef2f5;
}

.brp-main-image img,
.brp-bike-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brp-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 10px;
}

.brp-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.brp-summary,
.brp-booking-widget,
.brp-tabs-wrap,
.brp-dashboard,
.brp-panel {
  padding: 20px;
}

.brp-kicker {
  margin: 0 0 8px;
  color: #0f766e;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

.brp-summary h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
}

.brp-rating {
  color: #f59e0b;
  font-weight: 700;
}

.brp-rating span {
  color: #5d6b78;
  font-weight: 500;
  margin-left: 8px;
}

.brp-price {
  margin: 22px 0;
  font-size: 32px;
  font-weight: 800;
}

.brp-price span {
  font-size: 15px;
  color: #5d6b78;
}

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

.brp-spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #f7fafc;
  border-radius: 6px;
}

.brp-status {
  margin-top: 18px;
  padding: 12px;
  border-radius: 6px;
  color: #065f46;
  background: #dff7ec;
  font-weight: 700;
}

.brp-sticky {
  position: sticky;
  top: 110px;
}

.brp-booking-widget {
  display: grid;
  gap: 11px;
  max-height: calc(100vh - 132px);
  overflow: auto;
  scrollbar-width: thin;
}

.brp-booking-widget h3 {
  margin: 0;
  font-size: 20px;
}

.brp-booking-widget label,
.brp-customer {
  display: grid;
  gap: 6px;
}

.brp-booking-widget input,
.brp-booking-widget select,
.brp-booking-widget textarea,
.brp-filter select,
.brp-availability-form input,
.brp-availability-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfd8df;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}

.brp-date-fields,
.brp-customer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.brp-package-fields {
  display: none;
}

.brp-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.brp-switch label,
.brp-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #f7fafc;
  border-radius: 6px;
}

.brp-switch input,
.brp-check input {
  width: auto;
  min-height: auto;
}

.brp-form-section {
  border: 1px solid #d9e2e8;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.brp-form-section h4 {
  margin: 0 0 12px;
  font-weight: 800;
  color: #17324d;
}

.brp-form-section .brp-customer {
  padding: 0;
}

.brp-booking-widget fieldset {
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
}

.brp-booking-widget .brp-addons-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
}

.brp-booking-widget .brp-documents-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.brp-booking-widget .brp-documents-grid label {
  padding: 10px;
  border-radius: 6px;
  background: #f7fafc;
}

.brp-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #eef8f6;
  border: 1px solid #b9e6dd;
  color: #102a43;
  border-radius: 8px;
}

.brp-total strong {
  font-size: 22px;
  color: #0f766e !important;
  min-width: 100px;
  text-align: right;
}

.brp-total span {
  color: #102a43 !important;
  font-weight: 800;
}

.brp-button,
.brp-booking-widget button,
.brp-filter button,
.brp-cancel {
  border: 0;
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 16px;
  background: #0f766e;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.brp-button:hover,
.brp-booking-widget button:hover,
.brp-filter button:hover,
.brp-cancel:hover,
.brp-button:focus,
.brp-booking-widget button:focus,
.brp-filter button:focus,
.brp-cancel:focus {
  background: #115e59 !important;
  color: #fff !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

.brp-calculate {
  background: #1f2d3d !important;
}

.brp-calculate:hover,
.brp-calculate:focus {
  background: #14202d !important;
}

.brp-message {
  min-height: 22px;
  font-weight: 700;
}

.brp-message.is-ok {
  color: #047857;
}

.brp-message.is-error {
  color: #b91c1c;
}

.brp-tabs-wrap {
  margin-top: 24px;
}

.brp-tab-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid #e5ecf2;
  margin-bottom: 18px;
}

.brp-tab-nav button {
  border: 0;
  background: transparent;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.brp-tab-nav button.active {
  border-color: #0f766e;
  color: #0f766e;
}

.brp-tab-panel {
  display: none;
}

.brp-tab-panel.active {
  display: block;
}

.brp-filter {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 22px;
}

.brp-availability-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(145px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(20, 32, 44, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(31, 45, 61, .07);
  margin-bottom: 22px;
}

.brp-availability-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.brp-availability-form button {
  border: 0;
  border-radius: 6px;
  min-height: 40px;
  padding: 8px 16px;
  background: #0f766e;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.brp-search-results-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin: 12px 0 18px;
}

.brp-search-results-title h3,
.brp-search-results-title p {
  margin: 0;
}

.brp-empty {
  padding: 18px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.brp-bike-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.brp-bike-card {
  overflow: hidden;
  border: 1px solid #dfe8ef;
  border-radius: 8px;
  background: #fff;
}

.brp-bike-card > a {
  display: block;
  aspect-ratio: 4 / 3;
  background: #eef2f5;
}

.brp-bike-card div {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.brp-dashboard table {
  width: 100%;
  border-collapse: collapse;
}

.brp-dashboard th,
.brp-dashboard td {
  border-bottom: 1px solid #e5ecf2;
  padding: 12px;
  text-align: left;
}

.brp-showcase {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
  color: #17202a;
}

.brp-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.brp-showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(31, 45, 61, .1);
  overflow: hidden;
}

.brp-showcase-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 20px 0;
}

.brp-showcase-top h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.brp-showcase-top h3 a {
  color: #17202a;
  text-decoration: none;
}

.brp-showcase-rating {
  color: #f59e0b;
  font-weight: 700;
  font-size: 14px;
}

.brp-showcase-rating span {
  color: #5d6b78;
  font-weight: 500;
}

.brp-showcase-badges {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.brp-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.brp-showcase-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
}

.brp-showcase-meta {
  display: grid;
  gap: 14px;
}

.brp-showcase-meta span {
  display: block;
  color: #5d6b78;
  font-size: 13px;
}

.brp-showcase-meta strong {
  font-size: 17px;
}

.brp-showcase-image {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #f7fafc;
}

.brp-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brp-showcase-packages {
  display: none;
  position: relative;
  margin: 0 20px 16px;
  padding: 14px;
  border-radius: 12px;
  background: #f7fafc;
  border: 1px solid #e2e8f0;
}

.brp-showcase-card.brp-packages-open .brp-showcase-packages {
  display: block;
}

.brp-showcase-close {
  position: absolute;
  top: -14px;
  right: -8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: #0f766e;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.brp-showcase-package-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.brp-package-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d9e2e8;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #17202a;
}

.brp-package-option strong {
  font-size: 15px;
}

.brp-package-option .brp-package-limit {
  text-align: right;
  font-size: 12px;
  color: #5d6b78;
}

.brp-package-option.is-active {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.brp-package-option.is-active .brp-package-limit {
  color: #d1fae5;
}

.brp-showcase-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 20px 16px;
}

.brp-showcase-price-row strong {
  display: block;
  font-size: 24px;
}

.brp-showcase-price-row .brp-view-packages {
  font-size: 13px;
  color: #0f766e;
  text-decoration: underline;
}

.brp-showcase-book {
  background: #17202a !important;
}

.brp-showcase-book:hover,
.brp-showcase-book:focus {
  background: #000 !important;
}

.brp-showcase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #f2f4f6;
  font-weight: 600;
}

.brp-showcase-vehicles {
  color: #ea580c;
  font-weight: 700;
}

@media (max-width: 1060px) {
  .brp-bike-layout {
    grid-template-columns: 1fr;
  }
  .brp-product {
    grid-template-columns: 1fr 1fr;
  }
  .brp-sticky {
    position: static;
  }
  .brp-booking-widget {
    max-height: none;
  }
  .brp-availability-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brp-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .brp-single {
    padding-top: 72px;
  }
  .brp-product,
  .brp-date-fields,
  .brp-customer,
  .brp-filter,
  .brp-bike-grid,
  .brp-availability-form,
  .brp-booking-widget .brp-addons-grid,
  .brp-booking-widget .brp-documents-grid {
    grid-template-columns: 1fr;
  }
  .brp-summary h1 {
    font-size: 30px;
  }
  .brp-showcase-grid {
    grid-template-columns: 1fr;
  }
  .brp-showcase-body {
    grid-template-columns: 1fr;
  }
  .brp-showcase-package-grid {
    grid-template-columns: 1fr;
  }
}
