.almira-fleet-showcase,
.almira-fleet-showcase * {
  box-sizing: border-box;
}

.almira-fleet-showcase {
  margin: 15px 0 55px;
  font-family: 'Poppins', Arial, sans-serif;
}

.afs-heading {
  margin-bottom: 28px;
}

.afs-kicker {
  display: block;
  color: #ae874c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.afs-heading h2 {
  color: #172434;
  font-size: clamp(26px, 3vw, 38px);
  margin: 12px 0;
}

.afs-heading p {
  color: #657386;
  font-size: 14px;
}

.afs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
}

.afs-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e7ebef;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(17, 29, 43, .07);
  transition: transform .25s, box-shadow .25s;
}

.afs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(17, 29, 43, .13);
}

.afs-image {
  position: relative;
  height: 195px;
  overflow: hidden;
  background: #162331;
}

.afs-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.afs-card:hover .afs-image img {
  transform: scale(1.05);
}

.afs-type {
  position: absolute;
  left: 13px;
  bottom: 13px;
  background: rgba(12, 22, 33, .88);
  color: #e5c28a;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.afs-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 19px;
}

.afs-category {
  color: #af894e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
}

.afs-body h3 {
  color: #142232;
  font-size: 18px;
  line-height: 1.4;
  margin: 10px 0;
}

.afs-body p {
  color: #687586;
  font-size: 12px;
  line-height: 1.85;
  margin: 0 0 20px;
}

.afs-actions {
  margin-top: auto;
}

.afs-reserve {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #152334;
  color: #fff !important;
  border-radius: 8px;
  padding: 13px;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 700;
}

.afs-reserve:hover {
  background: #ac8347;
}

.afs-disclaimer {
  margin: 18px 0 0;
  color: #738091;
  font-size: 11px;
}

@media (max-width: 1050px) {
  .afs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .afs-grid {
    grid-template-columns: 1fr;
  }

  .afs-image {
    height: 230px;
  }
}

/* ALMIRA FLEET V3 */

.afs-image-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
}

.afs-image-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.afs-zoom {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 9px 11px;
  background: rgba(10,20,30,.85);
  color: #fff;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 600;
}

.afs-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,.95);
  color: #182536;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 700;
}

.afs-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.afs-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5b27b;
  color: #8b682f !important;
  background: #fffaf2;
  padding: 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}

.afs-detail:hover {
  background: #f5e8d2;
}

.afs-lightbox {
  width: min(1000px,94vw);
  max-width: 1000px;
  max-height: 94vh;
  padding: 0;
  border: 1px solid rgba(205,167,104,.4);
  border-radius: 17px;
  background: #0b141f;
  color: #fff;
  overflow: auto;
}

.afs-lightbox[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 999999;
}

.afs-lightbox::backdrop {
  background: rgba(3,9,15,.88);
  backdrop-filter: blur(6px);
}

.afs-lightbox-inner {
  padding: 19px;
}

.afs-lightbox-head,
.afs-lightbox-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.afs-lightbox-head {
  padding-bottom: 16px;
}

.afs-lightbox-head strong {
  color: #e5c48d;
  font-size: 17px;
}

#afsClose {
  border: 0;
  border-radius: 7px;
  background: #243446;
  color: #fff;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

.afs-lightbox-media {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) 40px;
  align-items: center;
  gap: 10px;
}

.afs-lightbox-media img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 10px;
}

.afs-lightbox-media button {
  background: #263748;
  border: 0;
  color: #fff;
  border-radius: 8px;
  font-size: 29px;
  cursor: pointer;
  height: 55px;
}

.afs-lightbox-media button:disabled {
  opacity: .25;
  cursor: default;
}

.afs-lightbox-foot {
  padding-top: 16px;
  font-size: 12px;
  color: #b6c3d0;
}

.afs-lightbox-foot a {
  color: #e5c48d;
  text-decoration: none;
  font-weight: 700;
}

@media(max-width:600px) {
  .afs-lightbox-inner {
    padding: 12px;
  }

  .afs-lightbox-media {
    grid-template-columns: 28px minmax(0,1fr) 28px;
    gap: 5px;
  }

  .afs-lightbox-media button {
    height: 43px;
    font-size: 24px;
  }

  .afs-lightbox-head strong {
    font-size: 14px;
  }
}
