.emptyCartTr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
}

.emptyCartTd1 {
  border: none !important;
}

.error-message {
  color: #005AA9;
  font-size: 12px;
}

#loadingIndicator {
  color: #005AA9;
}

.my-choose td {
  padding: 15px 20px 15px 0 !important;
}

/* Style for custom option container */
.payment-options {
  display: flex;
}

.shopping-cart__totals {
  border: 1px solid #e4e4e4;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

/* Style for custom option */
.custom-option {
  display: flex;
  cursor: pointer;
  font-size: 12px !important;
  color: #005AA9;

  align-items: center;
  justify-content: center;
  border: 1px solid #005AA9;
  padding: 10px;
}

/* Style for selected option */
.custom-option.selected {
  background-color: #005AA9;
  /* Adjust color as needed */
  color: #fff;
}

@media (max-width: 768px) {
  .my-choose {
    flex-direction: column-reverse;
  }

  .clearButtons {
    margin-bottom: 10px;
  }

  .my-properties table h2 {
    margin: 9px 0 9px 0;
  }

  .payment-options {
    width: 100%;
  }

  .clearButtons {
    width: 100%;
  }

  .custom-option {
    width: 50%;
  }

  .emptyCartTr {
    padding: 10px 0px !important;
  }
}

.updateNumberShareMinus,
.updateNumberSharePlus {
  width: 3px;
  height: 3px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coupon-code-panel {
  border: 2px solid #d9d9d9 !important;
  border-radius: 11px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1vh;
}

.coupon-code-panel input {
  margin: 0;
  border: none;
  width: 100%;
  position: relative;
  font-size: 12px;
}

.coupon-code-panel,
.quantity {
  position: relative;
}

.fancy {
  background-color: transparent;
  border: 3px dashed #ea2b2a;
  border-radius: 8px;
  box-sizing: border-box;
  color: #fff;
  display: inline-block;
  float: left;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  outline: none;
  overflow: visible;
  width: 100%;
  height: 80%;
  align-content: center;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  user-select: none;
  font-size: 12px;
}

/*       .fancy::before {
                        content: " ";
                        width: 1.5625rem;
                        height: 2px;
                        background: black;
                        top: 50%;
                        left: 1.5em;
                        position: absolute;
                        transform: translateY(-50%);
                        transform-origin: center;
                        transition: background 0.3s linear, width 0.3s linear;
                    }
             */
.fancy .text {
  font-size: 1.125em;
  line-height: 1.33333em;
  display: block;
  text-align: center;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  text-decoration: none;
  color: #005AA9;
}

.fancy .top-key {
  height: 2px;
  width: 1.5625rem;
  top: -2px;
  left: 0.625rem;
  position: absolute;
  background: #e8e8e8;
  transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy .bottom-key-1 {
  height: 2px;
  width: 1.5625rem;
  right: 1.875rem;
  bottom: -2px;
  position: absolute;
  background: #e8e8e8;
  transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy .bottom-key-2 {
  height: 2px;
  width: 0.625rem;
  right: 0.625rem;
  bottom: -2px;
  position: absolute;
  background: #e8e8e8;
  transition: width 0.5s ease-out, right 0.3s ease-out;
}

.remove-coupon-btn {
  background-color: #005AA9;
  color: white;
  border: none;
  border-radius: 10px !important;
  padding: 5px 10px;
  cursor: pointer !important;
  margin-left: 10px;
  bottom: 0;
}

.remove-coupon-btn:hover {
  background-color: #c82333;
}

.fancy:hover {
  color: white;
  background: #005AA9;
}

.fancy:hover::before {
  width: 0.9375rem;
  background: white;
}

.fancy:hover .text {
  color: white;
  padding-left: 1.5em;
}

.fancy:hover .top-key {
  left: -2px;
  width: 0px;
}

.fancy:hover .bottom-key-1,
.fancy:hover .bottom-key-2 {
  right: 0;
  width: 0;
}

.coupon-code-panel .apply-coupon-btn {
  position: absolute;
  right: 5px;
  top: 39%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color: var(--dark-gray);
  line-height: 30px;
  letter-spacing: 0;
  padding: 0;
  background: white !important;
}

.coupon-code-panel .apply-coupon-btn:hover {
  background: rgb(233, 45, 45) !important;
  color: white;
}

#loading-spinner {
  position: fixed;
  /* Sayfanın üzerinde sabit kalır */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Sayfanın üzerine yarı saydam bir arka plan ekler */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Diğer içeriklerin üstünde görünür */
}

/* Genel kupon listesi stili */
.coupons-container {
  display: flex;
  justify-content: start;
}

/* Ticket kupon stili */
.coupon-ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border: 2px solid #007bff;
  border-radius: 8px;
  background-color: #f9f9f9;
  color: #007bff;
  font-size: 16px;
  font-weight: bold;
  width: 200px;
  text-align: center;
  overflow: hidden;
  margin: 20px;
}

/* Uçak bileti gibi kesilmiş kenarlar */
.coupon-ticket::before,
.coupon-ticket::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px;
  border-color: transparent transparent #007bff transparent;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.coupon-ticket::after {
  top: auto;
  bottom: -10px;
  border-color: #007bff transparent transparent transparent;
}

/* Kupon kodu stili */
.coupon-code {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Kupon açıklaması stili */
.coupon-description {
  font-size: 14px;
  color: #555;
}

/* Kupon kaldırma simgesi stili */
.remove-coupon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  color: #dc3545;
  cursor: pointer;
}

.remove-coupon:hover {
  color: #ffdddd;
}

.spinner {
  border: 16px solid #e6e6e6;
  /* Gri dış halka */
  border-top: 16px solid #3498db;
  /* Mavi üst halka */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  /* Dönen animasyon */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.big-title h3 {
  font-size: 20px !important;
}

.my-properties tbody tr td {
  text-align: start !important;
}

.inner h3 {
  margin-bottom: 2rem;
  font-size: 18px;
  font-weight: 500;
}

.outer-coupon-panel {
  display: flex;
  justify-content: space-around;
}

.coupon-code-panel .btn {
  margin: 0px !important;
}

.tr-single-box {
  background: #fff !important;
  border: 1px solid #e8e8e8 !important;
  align-content: center;
}

.widget-boxed {
  background: #D1E8FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1rem;
}

.sidebar-widget {
  padding: 3rem;
}

.side-list ul li {
  font-size: 14px !important;
  justify-content: space-between;
  display: flex;
}

.img-container img {
  border-radius: 15px;
  width: 100%;
  /* Scale image to fill width */
  height: 100%;
  /* Scale image to fill height */
  object-fit: cover;
  /* Ensures the image covers the container without distortion */
}

.img-container {
  border-radius: 15px;
  width: 100%;
  /* Take full width of the column */
  position: relative;
  overflow: hidden;
  /* Ensures the image doesn't overflow */
  background-color: #007bff;
  /* Fallback background color */
}

.custom-grid {
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 1rem;
}

.first-custom-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns, 4), 1fr);
  /* Default to 4 columns */
  gap: 9px;
  /* Adjust spacing between items */
  justify-items: center;
  padding-bottom: 2rem;
  margin-bottom: 1rem;
}

.has-border-bottom {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns, 4), 1fr);
  /* Default to 4 columns */
  gap: 9px;
  /* Adjust spacing between items */
  border-bottom: 1px solid #ccc;
  justify-items: center;
  padding-bottom: 2rem;
  margin-bottom: 1rem;
}

.grid-header {
  font-weight: bold;
  padding: 5px 30px;
  justify-content: center;
  /* Center headers */
  align-items: center;
  /* Ensure headers are vertically aligned */
}

.grid-ara-odeme {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  border: solid 1px #e6e6e6;
  /* Border around each item */
  border-right: 0px solid;
}

.grid-ara-odeme-content {
  border-right: 1px solid #ccc;
  /* Border around each item */
  padding: 15px;
  /* Space inside the box */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  /* Rounded corners */
}

.grid-ara-odeme-content strong {
  margin-bottom: 0.7rem;
}

.middle-body p {
  margin: 0px !important;
}

.middle-body h2 {
  margin: 0px !important;
}

.middle-body {
  margin-top: 2px;
  margin-bottom: 1rem;
}

.remove-from-cart:hover {
  background-color: #005AA9 !important;
  color: #fff !important;
}

/* Small screens */
@media (max-width: 576px) {
  .first-custom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two columns: headers and content */
    grid-auto-flow: dense;
    /* Ensure explicit placement of items */
    gap: 10px;
    /* Adjust spacing */
    justify-items: flex-start;
    border: 2px solid #d6d6d6 !important;
    padding-top: 10px;
  }

  /* All headers in the first column */
  .grid-header:nth-child(-n + 5) {
    grid-column: 1;
    /* Place first 5 headers in the first column */
    grid-row: auto;
    /* Let the browser assign row numbers */
  }

  /* All content in the second column */
  .grid-content:nth-child(n + 6) {
    grid-column: 2;
    /* Place next 5 content items in the second column */
    grid-row: auto;
    /* Align content with its corresponding header */
  }

  /* Ara Ödeme content should take full width in mobile view */
  .grid-ara-odeme-content {
    grid-column: span 2;
    /* Make Ara Ödeme content take up full width */
    padding-bottom: 20px;
    /* Optional: space between Ara Ödeme rows */
  }

  .grid-ara-odeme {
    grid-template-columns: repeat(auto-fill, minmax(13vw, 1fr));
  }

  .cart-body p {
    font-size: 12px !important;
  }

  .cart-body h2 {
    font-size: 13px !important;
  }
}

@media (max-width: 576px) {
  .tr-single-box {
    margin-top: 5px;
  }

  .details-col {
    padding-left: 0px !important;
  }

  .button-body .text {
    display: none;
    /* Hide the text on mobile */
  }

  .first-custom-grid {
  }
}

@media (min-width: 576px) {
  .remove-col {
    padding: 0px !important;
  }

  .details {
    flex-direction: column;
  }

  .title-div h3 {
    font-size: 16px !important;
  }

  .middle-body h3 {
    font-size: 14px !important;
  }

  .middle-body {
    margin-top: 1vh;
  }

  .title-div {
    justify-content: space-between;
  }

  #itemPrice {
    font-size: 14px !important;
  }
}

/* Medium screens */
@media (min-width: 768px) and (max-width: 991px) {
  .first-custom-grid {
    grid-template-columns: 1fr 1fr;
    /* 2 columns: 1 for header, 1 for content */
    gap: 5px;
  }

  .grid-header,
  .grid-content {
    padding: 8px;
    font-size: 14px;
  }
}

.plus .btn {
  margin: 3px !important;
}

.button-body:hover svg path {
  stroke: #fff;
}

.listing-card-wrapper {
  display: flex;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  width: 100%;
}

.listing-card-image-container {
  position: relative;
  /* height kaldırıldı */
}

.listing-card-image {
  width: 245px;
  height: 136px;
  object-fit: cover;
  border-right: 1px solid #e8e8e8;
  display: block;
  /* alt boşluğu engeller */
}

.listing-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #fff;
  color: #000;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.listing-card-content {
  padding: 15px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.listing-card-header {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.listing-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #111;
}

.listing-card-date {
  font-size: 14px;
  color: #444;
}

.listing-card-location {
  color: #357edd;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-card-features {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: end !important;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-card-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-card-feature {
  border: 1px solid #e8e8e8;
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 14px;
  background-color: #fff;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.listing-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.listing-card-price {
  font-size: 20px;
  font-weight: bold;
  color: #1a237e;
}

.listing-card-button {
  background-color: #223a80;
  color: #fff;
  padding: 7px 50px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  font-size: 15px;
  white-space: nowrap;
}

.listing-card-button:hover {
  background-color: #1e3182;
}
