/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #3a3a3a 100%);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}

.page-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: 0.75rem;
}

.page-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
}
.page-hero-content h1 span{
  color:var(--steel-blue) ;
}

.page-hero-content p {
  font-size: 1.0rem;
  color: #b0b0b0;
}

/* ========== FILTER BAR ========== */
.filter-bar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2re;
  position:sticky;
  top: 70px;
  z-index: 900;
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 0.45rem 1.2rem;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--mid-grey);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--steel-blue);
  color: var(--steel-blue);
}

.filter-btn.active {
  background-color: var(--steel-blue);
  border-color: var(--steel-blue);
  color: var(--white);
  font-weight: 600;
}

/* ========== SHOP SECTION ========== */
.shop-section {
  background-color: var(--light-grey);
  padding: 4rem 2rem;
}

.shop-container {
  max-width: 1200px;
  margin: 0 auto;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ========== OFFICE CARD ========== */
.office-card {
  background-color: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.office-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px var(--steel-blue);
}

/* ── Card Image Placeholder ── */
.card-image {
  width: 100%;
  height: 180px;
  background-color: #d8d8d8;
  background-image: repeating-linear-gradient(45deg,
      #cfcfcf 0px,
      #cfcfcf 1px,
      #d8d8d8 1px,
      #d8d8d8 12px);
  position: relative;
}

.card-image{
  background-image: #c8c8c8;
}

/* ── Badge ── */
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--steel-blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-sold {
  background-color: var(--mid-grey);
}

/* ── Card Body ── */
.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

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

.card-top h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
}

.card-size {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid-grey);
  background-color: var(--light-grey);
  border: 1px solid var(--border);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--mid-grey);
  line-height: 1.6;
}

/* ── Features List ── */
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card-features li {
  font-size: 0.83rem;
  color: var(--charcoal);
}

/* ── Card Footer ── */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
}

.card-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--mid-grey);
}

/* ── Disabled Button ── */
.btn-disabled {
  background-color: var(--mid-grey) !important;
  cursor: not-allowed !important;
  pointer-events: none;
  transform: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  z-index: 2000;
}

.modal[aria-hidden="false"] {
  display: flex
}

.modal-inner {
  background: #fff;
  padding: 1.25rem;
  border-radius: 12px;
  max-width: 720px;
  width: 92%;
  position: relative
}
#modal-img{
    width: 100%;
    height:300px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.modal p{
  font-weight: bold;
  color:#3a3a3a;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: none;
  background: transparent;
  font-size: 1.15rem;
  
}

.modal-close:hover {
  background: var(--steel-blue);
  border-radius: 2px;
  
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero-content h1 {
    font-size: 2rem;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    top: 0;
  }

  .card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .card-footer .btn-primary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-hero-content h1 {
    font-size: 1.7rem;
  }

  .filter-container {
    gap: 0.5rem;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
}