/* Asaan Lease product catalog — used by Home.html and products.html */
.al-phone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.al-phone-grid-home {
  margin-top: 8px;
}
.al-phone-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .35s ease, border-color .35s ease;
}
.al-phone-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.1);
  border-color: rgba(255, 92, 0, 0.22);
}
.al-phone-visual {
  position: relative;
  height: 188px;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.al-phone-visual .al-device {
  width: 86px;
  height: 148px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.28);
  position: relative;
  border: 2px solid rgba(255,255,255,.18);
}
.al-phone-visual .al-device::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,.22);
}
.al-phone-visual .al-device-screen {
  position: absolute;
  inset: 18px 8px 10px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Sora, Manrope, sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: .04em;
  text-align: center;
  padding: 6px;
  line-height: 1.25;
}
.al-phone-brand-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15,23,42,.08);
}
.al-phone-card h5 {
  font-size: 1.02rem;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.25;
}
.al-phone-storage {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 8px;
}
.al-phone-price {
  display: none !important;
}
.al-phone-price small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.al-phone-plans {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.al-phone-plans span {
  font-size: 0.68rem;
  font-weight: 800;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 8px;
}
.al-phone-card .al-phone-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  background: #0f172a;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px;
  border-radius: 12px;
  letter-spacing: .01em;
  transition: background .2s ease;
}
.al-phone-card:hover .al-phone-cta { background: #ff5c00; }

.al-brand-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 8px 0 28px;
}
.al-brand-filter button {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: .2s ease;
}
.al-brand-filter button:hover {
  border-color: rgba(255,92,0,.35);
  color: #c2410c;
}
.al-brand-filter button.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}
.al-products-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.al-products-count {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
}
.al-products-search {
  min-width: min(100%, 280px);
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 11px 14px 11px 40px;
  font-weight: 600;
  color: #0f172a;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") 14px 50% no-repeat;
}
.al-products-search:focus {
  outline: none;
  border-color: #ff5c00;
  box-shadow: 0 0 0 4px rgba(255,92,0,.12);
}
.al-brand-section {
  margin-bottom: 42px;
}
.al-brand-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
}
.al-brand-section-head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.al-brand-section-head span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 5px 10px;
}
.al-products-empty {
  text-align: center;
  padding: 48px 16px;
  color: #64748b;
  font-weight: 650;
}
@media (max-width: 1199.98px) {
  .al-phone-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .al-phone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .al-phone-visual { height: 160px; }
  .al-phone-card h5 { font-size: .92rem; }
  .al-phone-price { font-size: 1rem; }
}
