.favorite-share-group {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
    gap: 8px !important;
    z-index: 100 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.favorite-share-group .favorite-toggle,
.favorite-share-group .share-toggle {
    width: 34px !important;
    height: 34px !important;
    border: none !important;
    border-radius: 50% !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.favorite-share-group .favorite-toggle {
    color: #db2d2e !important;
}

.favorite-share-group .favorite-toggle:hover,
.favorite-share-group .share-toggle:hover {
    background: #db2d2e !important;
    color: white !important;
    transform: scale(1.1);
}

.favorite-share-group .favorite-toggle.is-active,
.favorite-share-group .favorite-toggle.is-active:hover,
.favorite-share-group .favorite-toggle.is-active:focus,
.favorite-share-group button.favorite-toggle.is-active,
.favorite-share-group button.favorite-toggle.is-active:hover {
    background: #db2d2e !important;
    color: white !important;
}

.favorite-share-group .favorite-toggle.is-active i,
.favorite-share-group .favorite-toggle.is-active:hover i,
.favorite-share-group button.favorite-toggle.is-active i {
    color: white !important;
}

.favorite-share-group .share-toggle {
    color: #333;
}

.table-detail td{
    border-collapse: collapse;
    border: 1px solid #E6E6E6;
    text-align: left;
    color: #000000;
    background-color: #FFFFFF;
    padding: 4px 0 4px 6px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-size: 12px;
}
.table-detail .th{
    /* background-color: #db2d2e; */
    background-color: #665a5a;
    overflow: hidden;
    color: #FFFFFF;
}

.th-1st{
    width: 88px;
}
.td-1st{
    width: 97px;
}


.th-2nd{
    width: 61px;
}
.td-2nd{
    width: 61px;
}
.th-3rd{
    width: 34px;
}
.th-4th{
    width: 45px;
}

/* Share Modal Options */
.share-options {
    padding: 15px 0;
}

.share-options .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -5px;
}

.share-options .col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 5px;
    box-sizing: border-box;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 8px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #f8f8f8;
}

.share-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.share-option i {
    font-size: 24px;
    margin-bottom: 8px;
}

.share-option span {
    font-size: 11px;
    font-weight: 600;
    color: #333;
}

/* Facebook - Blue */
.share-option.facebook { background: #e8f0fe; }
.share-option.facebook i { color: #1877f2; }
.share-option.facebook:hover { background: #1877f2; }
.share-option.facebook:hover i { color: #fff; }
.share-option.facebook:hover span { color: #fff; }

/* Twitter/X - Black */
.share-option.twitter { background: #f0f0f0; }
.share-option.twitter i { color: #000000; }
.share-option.twitter:hover { background: #000000; }
.share-option.twitter:hover i { color: #fff; }
.share-option.twitter:hover span { color: #fff; }

/* LinkedIn - Blue */
.share-option.linkedin { background: #e8f0fe; }
.share-option.linkedin i { color: #0a66c2; }
.share-option.linkedin:hover { background: #0a66c2; }
.share-option.linkedin:hover i { color: #fff; }
.share-option.linkedin:hover span { color: #fff; }

/* WhatsApp - Green */
.share-option.whatsapp { background: #e8f5e9; }
.share-option.whatsapp i { color: #25d366; }
.share-option.whatsapp:hover { background: #25d366; }
.share-option.whatsapp:hover i { color: #fff; }
.share-option.whatsapp:hover span { color: #fff; }

/* Telegram - Blue */
.share-option.telegram { background: #e0f2fe; }
.share-option.telegram i { color: #0088cc; }
.share-option.telegram:hover { background: #0088cc; }
.share-option.telegram:hover i { color: #fff; }
.share-option.telegram:hover span { color: #fff; }

/* Pinterest - Red */
.share-option.pinterest { background: #ffe8e8; }
.share-option.pinterest i { color: #e60023; }
.share-option.pinterest:hover { background: #e60023; }
.share-option.pinterest:hover i { color: #fff; }
.share-option.pinterest:hover span { color: #fff; }

/* Reddit - Orange */
.share-option.reddit { background: #ffe8e0; }
.share-option.reddit i { color: #ff4500; }
.share-option.reddit:hover { background: #ff4500; }
.share-option.reddit:hover i { color: #fff; }
.share-option.reddit:hover span { color: #fff; }

/* Email - Gray */
.share-option.email { background: #f3f3f3; }
.share-option.email i { color: #666666; }
.share-option.email:hover { background: #666666; }
.share-option.email:hover i { color: #fff; }
.share-option.email:hover span { color: #fff; }

/* Copy Link Button */
#copy-link-btn {
    background-color: #db2d2e !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

#copy-link-btn:hover {
    background-color: #b02021 !important;
}

/* ==========================================
   Grid Card Styling (Client-side Switching)
   ========================================== */

.car-item--grid {
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.09);
  border: 1px solid #ebebeb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.car-item--grid .car-image img {
  width: 100%;
  display: block;
}

.car-item--grid .car-content {
  padding: 8px 14px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-card-title {
  margin: 0 0 4px 0;
}

.car-card-title a {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.car-card-title a:hover {
  color: #db2d2e;
}

.car-card-price {
  margin-top: 4px;
  padding-top: 0;
}

.car-card-price .new-price {
  font-size: 19px;
  font-weight: 700;
  color: #db2d2e;
}

/* Footer action bar */
.car-card-footer {
  display: flex;
  border-top: 1px solid #ebebeb;
}

.car-card-footer-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #fff !important;
  transition: color 0.5s;
}

.car-card-footer-btn:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.car-card-footer-btn:hover:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.5);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.5);
}

.car-card-footer-btn+.car-card-footer-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.car-card-footer-btn:hover {
  text-decoration: none;
  color: #fff !important;
}

.car-card-footer-btn--whatsapp {
  background: #25d366;
}

.car-card-footer-btn--whatsapp:before {
  background: #128c7e;
}

.car-card-footer-btn--details {
  background: #333;
}

.car-card-footer-btn--details:before {
  background: #db2d2e;
}

.car-card-footer-btn--inquiry {
  background: #db2d2e;
}

.car-card-footer-btn--inquiry:before {
  background: #323232;
}

/* Center-align title, price and overlay icons */
.car-item--grid .car-content {
  text-align: center;
}

.car-item--grid .car-card-title a {
  display: block;
}

/* Center and middle-align overlay banner icons */
.car-overlay-banner ul {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  -webkit-transform: translate(-50%, -50%) !important;
  width: 100% !important;
}

.car-overlay-banner ul li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.car-overlay-banner ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  width: 36px !important;
  height: 36px !important;
  background: transparent !important;
  transition: all 0.3s !important;
}

.car-overlay-banner ul li a:hover {
  background: #ffffff !important;
  color: #db2d2e !important;
}

.car-overlay-banner ul li a i {
  line-height: 1 !important;
  font-size: 14px !important;
  display: inline-block !important;
}