/*
  Property Card Mobile Styles Spec
  Source target: Figma file ckmsCaLPotVzbJgC6gZHWW, node 88:44483.
  Status: MCP cannot access the file under current account, so this is the implementation-ready
  mobile style contract reconstructed from the current approved /figma-catalog/ card component.
*/

@media (max-width: 760px) {
  .property-card {
    position: relative;
    width: 335px;
    max-width: 100%;
    height: 468px;
    min-height: 468px;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
  }

  .property-media {
    position: relative;
    height: 208px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #d8ddd9;
  }

  .property-media-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
  }

  .property-media img {
    display: block;
    width: 100%;
    height: 208px;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: none;
    transition: transform .36s ease;
  }

  .property-card:hover .property-media img {
    transform: scale(1.035);
  }

  .gallery-dots {
    position: absolute;
    left: 10px;
    top: 190px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    transform: none;
  }

  .gallery-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(233, 227, 204, .55);
  }

  .gallery-dots span:first-child {
    background: #ffffff;
  }

  .exclusive-pill {
    position: absolute;
    left: 0;
    top: 9px;
    z-index: 2;
    min-height: 18px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 5px 9px;
    gap: 10px;
    border-radius: 0 80px 80px 0;
    background: #064632;
    color: #e9e3cc;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    backdrop-filter: blur(17px);
  }

  .favorite-button {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e7e9eb;
    color: #bea575;
    font-size: 31px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
  }

  .favorite-button:hover {
    transform: scale(1.04);
  }

  .favorite-button.is-active,
  .favorite-button[aria-pressed="true"] {
    background: #bea575;
    color: #ffffff;
  }

  .id-pill {
    position: absolute;
    right: 15px;
    top: 196px;
    z-index: 2;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: #e9e3cc;
    color: #13233b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
  }

  .property-body {
    height: 260px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    padding: 23px 15px 17px;
  }

  .property-info {
    min-width: 0;
  }

  .property-title {
    width: 100%;
    max-width: 100%;
    margin: 0 0 13px;
    color: #13233b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.16;
    text-transform: none;
  }

  .property-title a {
    color: #13233b;
    text-decoration: none;
  }

  .property-description {
    width: 305px;
    max-width: 100%;
    height: 35px;
    margin: 0 0 9px;
    overflow: hidden;
    color: #13233b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.22;
    text-overflow: ellipsis;
  }

  .property-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 5px;
    margin-bottom: 13px;
    overflow: hidden;
  }

  .property-meta span {
    min-width: 0;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    color: rgba(19, 35, 59, .5);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
  }

  .property-meta i.property-meta-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: transparent;
    font-size: 0;
    line-height: 0;
  }

  .property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 9px;
  }

  .property-tags span {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #e7e9eb;
    color: #13233b;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
  }

  .property-bottom {
    min-height: 41px;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
  }

  .price-block {
    min-width: 0;
  }

  .old-price {
    display: block;
    margin-bottom: 3px;
    color: #a1a7b1;
    font-size: 14px;
    line-height: 1;
    text-decoration: line-through;
  }

  .current-price {
    display: block;
    color: #13233b;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    white-space: nowrap;
  }

  .details-link {
    flex: 0 0 auto;
    width: 112px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: #bea575;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
  }
}
