.as-ybm-container {
  max-width: 1200px;

  margin: 50px auto;
}

.as-ybm-row {
  display: flex;

  flex-wrap: wrap;

  gap: 30px;
}

.as-ybm-card {
  flex: 0 0 calc(50% - 15px);

  border: 1px solid #ddd;

  border-radius: 8px;

  overflow: hidden;

  background: #fff;

  transition: all 0.3s;
}

.as-ybm-image-wrap {
  position: relative;

  overflow: hidden;
}

.as-ybm-image-wrap img {
  width: 100%;

  display: block;

  height: auto;
}

.as-ybm-badge {
  position: absolute;

  top: 10px;

  left: 10px;

  background: #2ecc71;

  color: #fff;

  padding: 5px 10px;

  border-radius: 3px;

  font-size: 12px;
}

.as-ybm-content-wrap {
  padding: 20px;
}

.as-ybm-location {
  font-size: 12px;

  color: #999;

  margin-bottom: 6px;
}

.as-ybm-title {
  font-size: 20px;

  margin: 0 0 10px;
}

.as-ybm-meta {
  font-size: 14px;

  color: #555;

  margin-bottom: 12px;
}

.as-ybm-footer {
  border-top: 1px solid #eee;

  padding-top: 12px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.as-ybm-price {
  font-size: 16px;

  font-weight: 600;

  color: #333;
}

.as-ybm-regular-price {
  text-decoration: line-through;

  color: #999;

  margin-right: 8px;

  font-weight: 400;
}

.as-ybm-sale-price {
  color: #e74c3c;

  font-weight: 700;
}

.as-ybm-book-now a {
  background-color: #00adee;

  color: #fff;

  padding: 9px 21px;

  border-radius: 5px;
}

/* Primary color */

.as-ybm-button,
.as-ybm-price,
.as-ybm-badge,
.as-ybm-booking-form button {
  background-color: #00adee;

  color: #fff;
}

.as-ybm-single-container {
  display: flex;

  flex-wrap: wrap;

  max-width: 1200px;

  margin: 50px auto;
}

.as-ybm-single-container .as-ybm-description {
  padding-right: 20px;
}

.as-ybm-main-content {
  max-width: 60%;

  flex: 2 1 60%;
}

.as-ybm-sidebar {
  flex: 1 1 35%;

  border: 1px solid #ddd;

  padding: 20px;

  border-radius: 6px;

  display: flex;

  flex-direction: column;

  gap: 20px;
}

.as-ybm-title {
  font-size: 32px;

  margin: 20px 0 10px;
}

.as-ybm-meta {
  font-size: 14px;

  color: #666;

  margin-bottom: 30px;
}

.as-ybm-gallery-slider {
  display: flex;

  overflow-x: auto;

  gap: 10px;

  margin-bottom: 20px;
}

.as-ybm-slide img {
  height: 250px;

  border-radius: 6px;

  max-width: 100%;
}

.as-ybm-description,
.as-ybm-faq-section,
.as-ybm-related-section {
  margin-bottom: 30px;
}

.as-ybm-price-box {
  font-size: 18px;
}

.as-ybm-booking-form {
  display: flex;

  flex-direction: column;

  gap: 12px;
}

.as-ybm-booking-form input[type="date"],
.as-ybm-booking-form input[type="text"],
.as-ybm-booking-form select {
  padding: 8px;

  width: 100%;

  border: 1px solid #ccc;

  border-radius: 4px;
}

.as-ybm-booking-form label {
  font-weight: 500;

  font-size: 14px;
}

.as-ybm-extras-wrap label {
  display: block;

  margin-bottom: 8px;
}

.as-ybm-button {
  padding: 12px;

  border: none;

  cursor: pointer;

  border-radius: 4px;

  font-weight: 600;

  text-align: center;
}

.as-ybm-contact {
  font-size: 14px;

  text-align: center;
}

/* Accordion */

.as-ybm-faq-list .as-ybm-faq-item {
  border-bottom: 1px solid #ddd;
}

.as-ybm-faq-title {
  font-weight: bold;

  padding: 10px 0;

  cursor: pointer;

  position: relative;

  width: 100%;

  background-color: transparent;

  text-align: start;
}

.as-ybm-faq-content {
  display: none;

  padding-bottom: 10px;

  font-size: 14px;
}

/* Carousel scrollbar hide (optional) */

.as-ybm-gallery-slider::-webkit-scrollbar {
  display: none;
}

.as-ybm-extras-list {
  display: flex;

  flex-direction: column;
}

.as-ybm-filter-bar {
  display: flex;

  align-items: flex-end;

  gap: 15px;

  background: #fff;

  padding: 20px;

  border-radius: 10px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);

  max-width: 100%;

  flex-wrap: wrap;
}

.as-ybm-filter-item {
  display: flex;

  flex-direction: column;

  min-width: 180px;
}

.as-ybm-filter-item label {
  font-size: 12px;

  font-weight: 600;

  color: #0b3558;

  margin-bottom: 5px;
}

.as-ybm-filter-item select,
.as-ybm-filter-item input[type="date"] {
  padding: 8px 12px;

  border: 1px solid #d0d7de;

  border-radius: 6px;

  font-size: 14px;
}

.as-ybm-search-btn {
  background: #0099e6;

  color: #fff;

  border: none;

  padding: 10px 18px;

  border-radius: 6px;

  font-size: 14px;

  cursor: pointer;

  display: flex;

  align-items: center;

  gap: 5px;

  height: 40px;
}

.as-ybm-search-btn:hover {
  background: #0077b6;
}

.filter-wrap {
  margin-bottom: 20px;
}

.booking-wrapper {
  max-width: 90%;

  display: flex;

  flex-wrap: wrap;

  gap: 30px;
}

.calendar-section {
  flex: 1;

  min-width: 300px;
}

.booking-box {
  flex: 1;

  max-width: 320px;

  background: #f9f9f9;

  padding: 20px;

  border-radius: 10px;

  font-family: Arial, sans-serif;
}

.booking-box label {
  display: block;

  margin-top: 15px;

  font-weight: bold;
}

.booking-box input {
  width: 100%;

  padding: 8px;

  margin-top: 5px;

  border: 1px solid #ccc;

  border-radius: 5px;
}

#book-now {
  background: #009fe3;

  color: #fff;

  padding: 10px;

  width: 100%;

  margin-top: 20px;

  border: none;

  border-radius: 5px;

  cursor: pointer;
}

.note {
  font-size: 13px;

  color: #555;

  margin-top: 10px;
}

.as-ybm-user-details-wrap {
  margin-bottom: 20px;

  max-width: 400px;

  width: 100%;
}

.as-ybm-user-details-wrap label {
  display: block;

  margin: 10px 0;

  font-weight: 600;

  font-size: 14px;

  color: #333;
}

.as_ybm_person_to_travel,
.as_ybm_user_first_name,
.as_ybm_user_last_name {
  width: 100%;

  padding: 10px 14px;

  font-size: 16px;

  border: 1px solid #ccc;

  border-radius: 6px;

  transition: border-color 0.3s, box-shadow 0.3s;
}

.as_ybm_person_to_travel::placeholder,
.as_ybm_user_first_name::placeholder,
.as_ybm_user_last_name::placeholder {
  color: #aaa;
  font-size: 14px;
}

.as_ybm_person_to_travel:focus,
.as_ybm_user_first_name:focus,
.as_ybm_user_last_name:focus {
  border-color: #0073aa;

  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);

  outline: none;
}

.as_ybm-dashboard {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  max-width: 65%;
  width: 100%;
}

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

.as_ybm-table th,
.as_ybm-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.as_ybm-table th {
  background-color: #003366;
  color: #fff;
}

.as_ybm-row:nth-child(even) {
  background-color: #f2f2f2;
}

.as_ybm-btn-pay {
  display: inline-block;
  padding: 6px 12px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.as_ybm-btn-pay:hover {
  background-color: #005b8c;
}

.as_ybm-message {
  padding: 15px;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-radius: 5px;
}

.as-ybm-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.as-ybm-loading::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: as-ybm-spin 0.7s linear infinite;
}

@keyframes as-ybm-spin {
  to {
    transform: rotate(360deg);
  }
}

.as_ybm-tabs {
  display: flex;
  margin-bottom: 20px;
}

.as_ybm-tab-button {
  padding: 10px 20px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
  margin-right: 5px;
}

.as_ybm-tab-button.active {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.as_ybm-tab-content {
  display: none;
}

.as_ybm-tab-content.active {
  display: block;
}

/* ************************************thank you page css start***************************************** */
.as_ybm-thankyou-wrapper {
  max-width: 800px;
  margin: 40px auto;
  padding: 25px;
  background: #f7f9fb;
  border-radius: 10px;
  font-family: "Segoe UI", sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.as_ybm-heading {
  text-align: center;
  margin-bottom: 50px;
  font-size: 24px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.as-ybm-yacht-box {
  text-align: center;
  margin-bottom: 20px;
}

.as-ybm-yacht-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.as-ybm-yacht-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.as_ybm-header,
.as_ybm-customer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.as_ybm-user-notes {
  text-align: center;
  padding-top: 20px;
}

.user-booking-details-wrap {
  display: flex;
  justify-content: space-evenly;
}

.as_ybm-order {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.as_ybm-price {
  font-size: 20px;
  font-weight: 700;
  color: #2d2d2d;
}

.as_ybm-yacht-info {
  margin-bottom: 25px;
}

.as_ybm-yacht-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.as_ybm-yacht-info p {
  margin: 3px 0;
  font-size: 15px;
  color: #333;
}

.as_ybm-breakdown {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.as_ybm-breakdown table {
  width: 100%;
  font-size: 16px;
}

.as_ybm-breakdown td {
  padding: 6px 0;
}

.as_ybm-breakdown td:first-child {
  font-weight: 500;
  color: #444;
}

.as_ybm-breakdown td:last-child {
  text-align: right;
  font-weight: bold;
  color: #222;
}

/* ************************************thank you page css end***************************************** */
/* ************************************payment page css end***************************************** */
.as-ybm-wrapper {
  max-width: 800px;
  margin: 40px auto;
  padding: 25px;
  background: #f7f9fb;
  border-radius: 12px;
  font-family: "Segoe UI", sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.as-ybm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.as-ybm-order-id {
  font-size: 18px;
  font-weight: bold;
}

.as-ybm-order-total {
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.as-ybm-info-block {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.as-ybm-left,
.as-ybm-right {
  flex: 1 1 45%;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.as-ybm-yacht-name {
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
}

.as-ybm-left img {
  margin: 10px 0;
  max-width: 100%;
  border-radius: 6px;
}

.as-ybm-left p,
.as-ybm-right p {
  font-size: 14px;
  margin: 6px 0;
}

.as-ybm-breakdown {
  margin-top: 20px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.as-ybm-breakdown table {
  width: 100%;
  font-size: 16px;
}

.as-ybm-breakdown td {
  padding: 6px 0;
}

.as-ybm-breakdown td:first-child {
  font-weight: 500;
  color: #444;
}

.as-ybm-breakdown td:last-child {
  text-align: right;
  font-weight: bold;
  color: #222;
}

.as-ybm-payment-button-wrap {
  margin-top: 30px;
}

.as-ybm-pay-btn {
  background: #0073aa;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.as-ybm-pay-btn:hover {
  background: #005f8d;
}

/* ************************************payment page css end***************************************** */
