@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Saira:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700;1,900&display=swap");

/* OSEAS brand system */
:root {
  --heading-font: "Saira", sans-serif;
  --body-font: "Inter", sans-serif;
  --primary-h: 0;
  --primary-s: 87%;
  --primary-l: 47%;
  --secondary-h: 0;
  --secondary-s: 0%;
  --secondary-l: 10%;
  --dark: 0 0% 10%;
  --body-color: 0 0% 35%;
  --heading-color: 0 0% 10%;
  --border-color: 30 13% 88%;
  --section-bg: 30 23% 96%;
}

h1,
h2,
h3 {
  font-style: italic;
}

.btn,
button,
input[type="button"],
input[type="submit"] {
  border-radius: 5px;
  font-family: var(--heading-font);
  font-weight: 600;
}

.card {
  border-radius: 12px;
}

/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1e2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  -ms-border-radius: 5px !important;
  -o-border-radius: 5px !important;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: "";
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.show-filter {
  display: none;
}

@media (max-width: 767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: rgb(var(--main));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: rgb(var(--main));
  background-color: #fff;
  border-radius: 5px;
  height: 100%;
}

.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: rgb(var(--main));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border: 1px solid #fff;
  border-top-color: var(--border-color);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid hsl(var(--base));
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid hsl(var(--base));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width));
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid rgb(var(--main));
  display: inline-block;
  border-radius: 100%;
}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
    width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}

.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
  font-weight: 500;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 5px;
  }
}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.deposit-info__input .text {
  font-weight: 500;
}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px;
}

.deposit-info.border-bottom {
  margin-bottom: 10px;
}

.deposit-info.total-amount {
  margin-top: 10px;
  margin-bottom: 5px;
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: hsl(var(--base));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
  border-radius: 6px;
  color: white;
}

.payment-item__btn p {
  color: white;
}

.payment-item:hover + .payment-item__btn {
  border-top-color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

/* Header category dropdown: keep image visible when shop-block has only an image */
.main-header
  .outer-box
  .category-box
  .list-inner
  .shop-block.shop-block--image-only {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 20px;
}

.main-header
  .outer-box
  .category-box
  .list-inner
  .shop-block.shop-block--image-only
  .image {
  position: static;
  max-width: 100%;
}

/* Header menu active state: support .active class from menuActive() */
.main-menu .navigation > li.active > a {
  color: hsl(var(--base));
}

/* File input: make the "Choose File" button text readable on dark backgrounds */
.form--control[type="file"]::file-selector-button,
.form-control[type="file"]::file-selector-button,
.form--control[type="file"]::-webkit-file-upload-button,
.form-control[type="file"]::-webkit-file-upload-button {
  color: #fff;
}

/* Share modal: make links visible and readable */
.share-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 575px) {
  .share-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.share-list .sheer_icon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  color: #111;
  background: #fff;
}

.share-list .sheer_icon:hover {
  border-color: hsl(var(--base));
  color: hsl(var(--base));
  background: hsl(var(--base) / 0.1);
}

.share-list .sheer_icon i {
  font-size: 16px;
}

/* Wishlist button: show one icon only */

/* Mega menu: fit 5 columns without horizontal scroll */
.main-header .outer-box .category-box .category-list .list-inner {
  width: 1280px;
}

.main-header .outer-box .category-box .list-inner .inner-box {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  overflow-x: hidden;
  width: auto;
}

.main-header .outer-box .category-box .list-inner .inner-box p {
  white-space: nowrap;
}

.main-header .outer-box .category-box .list-inner .inner-box .single-column {
  float: none;
  width: auto;
}

/* Mega menu: reduce vertical gaps in level-3 list */
.main-header .outer-box .category-box .list-inner .inner-box .single-column ul {
  margin-top: 6px;
}

.main-header
  .outer-box
  .category-box
  .list-inner
  .inner-box
  .single-column
  ul
  li
  a {
  line-height: 26px;
  white-space: nowrap;
}

/* Product details main image: enforce 475x455 display size */
.product-details-content .image-box .thumb-slider img {
  width: 475px;
  height: 455px;
  object-fit: contain;
  margin: 0 auto;
}

/* Keep page titles and breadcrumbs on the dark side of the banner artwork */
.page-banner__title {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.page-banner .breadcrumb {
  margin-right: auto;
  margin-left: 0;
}

/* OSEAS footer */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #060708
    url("../../../images/frontend/footer/oseas-footer-bg.jpg") center/cover
    no-repeat;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(4, 5, 6, 0.98) 0%,
      rgba(4, 5, 6, 0.94) 42%,
      rgba(4, 5, 6, 0.76) 72%,
      rgba(4, 5, 6, 0.62) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.5));
}

.footer-top {
  padding-block: 72px 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.25fr)
    repeat(3, minmax(130px, 0.85fr))
    minmax(240px, 1.25fr);
  gap: 0;
}

.footer-brand,
.footer-grid > .footer-item {
  min-width: 0;
  padding-inline: 28px;
}

.footer-brand {
  padding-left: 0;
  padding-right: 40px;
}

.footer-grid > .footer-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo img {
  width: auto;
  max-width: 210px;
  max-height: 72px;
  object-fit: contain;
}

.footer-desc {
  max-width: 290px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-socials {
  justify-content: flex-start;
  margin-top: 22px;
}

.footer-socials .social-list__link {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.footer-socials .social-list__link:hover {
  border-color: hsl(var(--base));
  background: hsl(var(--base));
}

.footer-item__title {
  gap: 10px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-item__title::before {
  width: 8px;
  height: 17px;
  flex: 0 0 8px;
  border-radius: 1px;
  transform: skewX(-22deg);
  background: hsl(var(--base));
}

.footer-menu__item:not(:last-child) {
  margin-bottom: 13px;
}

.footer-menu__link {
  position: relative;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 400;
}

.footer-menu__link::before {
  content: "\f105";
  color: hsl(var(--base));
  font-family: "Line Awesome Free";
  font-size: 1rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.footer-menu__link:hover::before,
.footer-menu__link:focus::before {
  transform: translateX(3px);
}

.footer-contact-menu {
  gap: 13px;
}

.footer-contact-menu__item {
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.footer-contact-menu__icon {
  --size: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.footer-contact-menu__link {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.45;
}

.footer-contact-menu__values {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.footer-contact-menu__item--email {
  flex-wrap: wrap;
}

.footer-contact-menu__item--email .footer-contact-menu__values {
  flex: 1 1 auto;
  min-width: min-content;
}

.footer-contact-menu__values .footer-contact-menu__link {
  width: fit-content;
  max-width: 100%;
}

.footer-contact-menu__item--email .footer-contact-menu__link {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.footer-contact-menu__link.address {
  margin-bottom: 0;
}

.footer-bottom {
  padding-block: 20px;
  border-top-color: rgba(255, 255, 255, 0.16);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 400;
}

.footer-copyright a {
  font-size: inherit;
  font-weight: 600;
}

.footer-payment {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-payment__logo {
  max-width: 56px;
  height: 34px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
}

@media screen and (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .footer-desc {
    max-width: 520px;
  }

  .footer-grid > .footer-item:first-of-type {
    border-left: 0;
    padding-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .footer {
    background-position: 68% center;
  }

  .footer-overlay {
    background: rgba(4, 5, 6, 0.9);
  }

  .footer-top {
    padding-block: 48px 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 20px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-logo img {
    margin-inline: auto;
  }

  .footer-desc {
    margin-inline: auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-grid > .footer-item {
    padding-inline: 0;
    border-left: 0;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-payment {
    justify-content: center;
  }
}

@media screen and (max-width: 479px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-item__title {
    margin-bottom: 16px;
  }
}

.product-details-meta__item.product-share {
  width: auto;
  margin-top: 0;
}

.product-share__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-share__label {
  color: hsl(var(--heading-color));
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 600;
}

.product-share__link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.82rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.product-share__link--facebook {
  color: #0064e0;
  background: rgba(0, 100, 224, 0.1);
}

.product-share__link--facebook:hover {
  color: #fff;
  background: #0064e0;
}

.product-share__link--x {
  color: #111;
  background: rgba(17, 17, 17, 0.08);
}

.product-share__link--x:hover {
  color: #fff;
  background: #111;
}

.product-share__link--linkedin {
  color: #0a66c2;
  background: rgba(10, 102, 194, 0.1);
}

.product-share__link--linkedin:hover {
  color: #fff;
  background: #0a66c2;
}

.product-share__link--pinterest {
  color: #bd081c;
  background: rgba(189, 8, 28, 0.1);
}

.product-share__link--pinterest:hover {
  color: #fff;
  background: #bd081c;
}

/* Enquiry forms */
.enquiry-card {
  padding: 28px;
  border: 1px solid hsl(var(--border-color));
  border-top: 4px solid hsl(var(--base));
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(13, 17, 23, 0.08);
}

.enquiry-card__header {
  margin-bottom: 22px;
}

.enquiry-card__header h4 {
  margin-block: 4px 8px;
}

.enquiry-card__header p {
  margin: 0;
  color: hsl(var(--body-color));
  font-size: 0.9rem;
}

.enquiry-card__eyebrow,
.property-section-label {
  color: hsl(var(--base));
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enquiry-honeypot {
  display: none !important;
}

.enquiry-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-top: 4px solid hsl(var(--base));
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.enquiry-modal__header {
  align-items: flex-start;
  padding: 24px 28px 18px;
  border-bottom: 1px solid hsl(var(--border-color));
}

.enquiry-modal__header h4 {
  margin-block: 3px 5px;
}

.enquiry-modal__header p {
  margin: 0;
  color: hsl(var(--body-color));
  font-size: 0.9rem;
}

.enquiry-modal .modal-body {
  padding: 24px 28px 28px;
}

.contact-map,
.property-map {
  overflow: hidden;
  z-index: 1;
}

.property-map {
  width: 100%;
  height: 360px;
  border-radius: 16px;
}

.property-enquiry-cta {
  padding: 28px;
  border: 1px solid hsl(var(--border-color));
  border-top: 4px solid hsl(var(--base));
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(13, 17, 23, 0.08);
}

.property-enquiry-cta h4 {
  margin-block: 5px 10px;
}

.property-enquiry-cta p {
  margin-bottom: 20px;
  color: hsl(var(--body-color));
  font-size: 0.9rem;
}

/* Property catalogue */
.property-filter {
  padding: 24px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 12px;
  background: hsl(var(--section-bg));
}

.property-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 12px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}

.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-card__media img {
  transform: scale(1.04);
}

.property-card__badge,
.property-card__featured {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 4px;
  color: #fff;
  background: hsl(var(--base));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-card__featured {
  right: 16px;
  left: auto;
  background: #111;
}

.property-card__body {
  padding: 22px;
}

.property-card__price {
  margin-bottom: 5px;
  color: hsl(var(--base));
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 700;
}

.property-card__body h4 {
  margin-bottom: 7px;
  font-style: normal;
}

.property-card__body h4 a {
  color: hsl(var(--heading-color));
}

.property-card__location {
  min-height: 24px;
  margin-bottom: 16px;
  color: hsl(var(--body-color));
}

.property-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 20px;
  padding-block: 14px;
  border-block: 1px solid hsl(var(--border-color));
  font-size: 0.82rem;
}

.property-card__facts i {
  color: hsl(var(--base));
  font-size: 1rem;
}

.empty-property {
  padding: 70px 20px;
  border: 1px dashed hsl(var(--border-color));
  border-radius: 12px;
  text-align: center;
}

.property-details__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.property-details__heading h1 {
  margin-bottom: 8px;
}

.property-details__heading p {
  margin: 0;
}

.property-details__price {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  flex-shrink: 0;
}

.property-details__price strong {
  color: hsl(var(--base));
  font-family: var(--heading-font);
  font-size: 1.8rem;
}

.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 210px;
  gap: 10px;
  overflow: hidden;
  border-radius: 14px;
}

.property-gallery a {
  display: block;
  overflow: hidden;
  background: #111;
}

.property-gallery__main {
  grid-row: span 2;
}

.property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-gallery a:hover img {
  transform: scale(1.03);
}

.property-panel {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 12px;
  background: #fff;
}

.property-panel h3 {
  margin-bottom: 22px;
  font-style: normal;
}

.property-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.property-overview li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border-radius: 8px;
  background: hsl(var(--section-bg));
}

.property-overview i {
  color: hsl(var(--base));
  font-size: 1.45rem;
}

.property-overview span {
  display: flex;
  flex-direction: column;
  color: hsl(var(--body-color));
  font-size: 0.75rem;
}

.property-overview strong {
  color: hsl(var(--heading-color));
  font-size: 0.9rem;
}

.property-feature {
  height: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  background: hsl(var(--section-bg));
}

.property-feature i {
  margin-right: 5px;
  color: hsl(var(--base));
}

.property-enquiry-sticky {
  position: sticky;
  top: 110px;
}

/* Footer attribution */
.footer-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.footer-credit a {
  color: #fff;
  font-weight: 600;
}

.footer-credit a:hover {
  color: hsl(var(--base));
}

.footer-credit__heart {
  display: inline-block;
  margin-inline: 4px;
  color: hsl(var(--base));
  animation: oseas-heart-turn 2.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes oseas-heart-turn {
  0%, 20%, 100% { transform: rotateY(0deg) scale(1); }
  45% { transform: rotateY(180deg) scale(1.2); }
  70% { transform: rotateY(360deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .footer-credit__heart {
    animation: none;
  }
}

@media screen and (max-width: 991px) {
  .property-details__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-details__price {
    align-items: flex-start;
  }

  .property-gallery {
    grid-template-columns: 2fr 1fr;
  }

  .property-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-enquiry-sticky {
    position: static;
  }
}

@media screen and (max-width: 575px) {
  .enquiry-card,
  .property-panel,
  .property-filter {
    padding: 20px;
  }

  .enquiry-modal__header,
  .enquiry-modal .modal-body,
  .property-enquiry-cta {
    padding: 20px;
  }

  .property-gallery {
    display: block;
  }

  .property-gallery a {
    height: 250px;
  }

  .property-gallery a:not(:first-child) {
    display: none;
  }

  .property-overview {
    grid-template-columns: 1fr;
  }
}

/* Car listing cards: landscape image frame, no dead space */
.product-card2--listing .product-card2__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.product-card2--listing .product-card2__media {
  display: block;
  width: 100%;
  height: 100%;
}
.product-card2--listing .product-card2__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
}
.product-card2__specs {
  margin: 0 0 8px;
  color: #6B6B6B;
  font-size: 0.875rem;
  text-align: center;
}

/* Popular categories: left-aligned bordered cards */
.popular-cat .popular-cat__grid { justify-content: flex-start; }
.popular-cat .popular-cat__grid .cat-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; height: 100%; padding: 16px 12px; text-align: center;
    border: 1px solid #C9CCD1; border-radius: 10px; box-shadow: none;
    background: #fff; text-decoration: none; transition: border-color .2s ease;
}
.popular-cat .popular-cat__grid .cat-card:hover,
.popular-cat .popular-cat__grid .cat-card:focus-visible { border-color: #DE1011; text-decoration: none; }
.popular-cat .popular-cat__grid .cat-card__thumb { width: 100%; max-width: 120px; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 10px; }
.popular-cat .popular-cat__grid .cat-card__name { text-decoration: none; }

/* Brand tiles: wide logo frame */
.brand-item .brand-item__logo {
    width: 100%; max-width: 180px; height: auto; aspect-ratio: 9 / 4; margin-inline: auto;
    display: flex; align-items: center; justify-content: center; padding: 10px;
    background: #fff; border: 1px solid #C9CCD1; border-radius: 10px; box-shadow: none; overflow: hidden;
}
.brand-item .brand-item__logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.brand-item:hover .brand-item__logo { border-color: #DE1011; }

/* Car and property detail: main column with sidebar level with the photo */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.detail-layout .property-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 10px;
  border-radius: 0;
}

.detail-layout .property-gallery > * {
  display: block;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}

.detail-layout .property-gallery > .property-gallery__main {
  grid-column: 1 / -1;
  grid-row: auto;
}

.detail-layout .property-gallery a:not(:first-child) {
  display: block;
}

.detail-layout .property-enquiry-cta {
  border-radius: 10px;
  box-shadow: none;
}

.detail-layout .property-details__price {
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid hsl(var(--border-color));
}

.detail-layout .property-panel {
  border-radius: 10px;
}

.detail-layout .btn {
  border-radius: 5px;
}

@media screen and (min-width: 992px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas:
      "gallery aside"
      "body aside";
    align-items: start;
  }

  .detail-layout__gallery {
    grid-area: gallery;
  }

  .detail-layout__aside {
    grid-area: aside;
    position: sticky;
    top: 110px;
  }

  .detail-layout__body {
    grid-area: body;
  }
}

/* Related products ("You may also need") */
.related-products__title { font-family: 'Saira', sans-serif; font-weight: 700; font-style: italic; color: #1A1A1A; text-align: left; font-size: clamp(1.5rem, 4vw, 2.25rem); margin: 0 0 20px; }
.related-products__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .related-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1200px) { .related-products__grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.related-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #E6E6E6; border-radius: 10px; overflow: hidden; box-shadow: none; text-decoration: none !important; color: #1A1A1A; transition: border-color .2s; }
.related-card:hover { border-color: #DE1011; color: #1A1A1A; }
.related-card__img { display: block; position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid #F0F0F0; }
.related-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 12px; box-sizing: border-box; object-fit: contain; display: block; }
.related-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px; gap: 4px; }
.related-card__cat { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #6B6B6B; font-weight: 600; }
.related-card__name::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.related-card__name, .related-card__btn { text-decoration: none !important; }
.related-card__name:hover { color: #DE1011; }
.related-card__name { font-weight: 500; font-size: 15px; line-height: 1.35; color: #1A1A1A; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.related-card__price, .related-card__price * { color: #DE1011; font-weight: 700; font-size: 15px; }
.related-card__price del, .related-card__price del * { color: #8A8A8A; font-weight: 400; font-size: 13px; }
.related-card__btn { position: relative; z-index: 2; margin-top: auto; display: block; text-align: center; background: #DE1011; color: #fff; border-radius: 5px; padding: 10px 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; transition: background .2s; }
.related-card__price { margin-bottom: 10px; }
.related-card:hover .related-card__btn, .related-card__btn:hover { background: #B80D0E; color: #fff; }

/* Shop product images (tyres, batteries, rims): never crop. Car listing cards (--listing) keep cover. */
.product-card2:not(.product-card2--listing) .product-card2__thumb { background: #fff; }
/* Keep the white thumb inside the card's rounded border so all four edges and corners show */
.product-card2:not(.product-card2--listing) .product-card2__header,
.product-card2:not(.product-card2--listing) .product-card2__thumb { border-radius: 15px 15px 0 0; }
.product-card2:not(.product-card2--listing) .product-card2__thumb img,
.product-details-thumb-slider__slide img,
.product-details-prev-slider__slide img { object-fit: contain !important; }

/* ===== Oseas dashboard v2: enquiries, notifications, bell ===== */
.oseas-panel { border-radius: 10px; box-shadow: none !important; overflow: hidden; }
.oseas-panel .btn, .oseas-btn { border-radius: 5px !important; box-shadow: none !important; }
.oseas-enquiry-message { white-space: normal; word-break: break-word; min-width: 220px; }
@media (max-width: 767px) {
    .oseas-panel .table--custom.table--responsive-sm tbody tr { border: 1px solid hsl(var(--border-color)); border-radius: 10px; margin: 0 12px 12px; }
    .oseas-panel .table--custom.table--responsive-sm tbody tr:first-child { margin-top: 12px; }
    .oseas-enquiry-message { min-width: 0; text-align: right; }
}
.oseas-notification-list { list-style: none; margin: 0; padding: 0; }
.oseas-notification + .oseas-notification { border-top: 1px solid hsl(var(--border-color)); }
.oseas-notification a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 20px; color: hsl(var(--body-color, var(--dark))); }
.oseas-notification a:hover { background: hsl(var(--base) / 0.04); }
.oseas-notification__dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: transparent; }
.oseas-notification.is-unread .oseas-notification__dot { background: hsl(var(--base)); }
.oseas-notification.is-unread .oseas-notification__title { font-weight: 600; color: hsl(var(--dark)); }
.oseas-notification__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oseas-notification__title { word-break: break-word; }
.oseas-notification__time { font-size: 0.8125rem; color: hsl(var(--dark) / 0.55); }
.header-bell { position: relative; }
.oseas-dashboard-wishlist .wishlistItem { flex: 0 0 auto; }
@media (min-width: 1400px) { .oseas-dashboard-wishlist .wishlistItem { width: 33.3333%; } }
.oseas-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 12px; }
.oseas-empty__text { margin: 0; color: hsl(var(--dark) / 0.7); }
@media (max-width: 767px) { .oseas-panel .table--custom.table--responsive-sm tbody tr:has(.oseas-empty) { border: 0; margin: 0; } .oseas-panel .table--custom.table--responsive-sm tbody tr td:has(.oseas-empty) { justify-content: center; text-align: center; } }
@media (max-width: 767px) { .oseas-panel .table--custom.table--responsive-sm tbody tr td:has(.oseas-empty)::before { display: none; } .oseas-panel .table--custom.table--responsive-sm tbody tr td:has(.oseas-empty) { display: block; width: 100%; padding: 0; } }
