.operator-page {
  min-height: 60vh;
}

.operator-page-top {
  margin-bottom: 28px;
}

.operator-page-top .eyebrow {
  margin-bottom: 12px;
}

.operator-page-top h1 {
  color: var(--navy);
  margin-bottom: 10px;
}

.operator-page-top p:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.back-home {
  order: 2;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.back-home:hover {
  background: var(--soft);
}

.operator-page [hidden] {
  display: none !important;
}

@media (max-width: 500px) {
  .back-home {
    font-size: 13px;
    padding: 9px 10px;
  }
  
  .operator-page-top h1 {
    font-size: 25px;
  }
}

.operator-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}

.operator-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

/* =========================================================
   FIX CARD PRODUK DI HALAMAN OPERATOR
   Tidak memengaruhi halaman utama
   ========================================================= */

.operator-page .product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
}

/* Logo + nama + nominal */
.operator-page .product-info {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Jangan biarkan teks melebar keluar kartu */
.operator-page .product-info>div:last-child {
  min-width: 0;
}

.operator-page .product-name,
.operator-page .product-quota {
  overflow-wrap: anywhere;
}

/* Masa aktif */
.operator-page .duration {
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: left;
  white-space: normal;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

/* Harga jual */
.operator-page .price {
  grid-column: 1;
  grid-row: 3;
  padding-left: 0;
  text-align: left;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy2);
  white-space: nowrap;
}

/* Tombol WhatsApp */
.operator-page .buy-btn {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: center;
  white-space: nowrap;
}


/* =========================================================
   LOGO OPERATOR
   ========================================================= */

.operator-page .operator-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}

.operator-page .operator-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}


/* =========================================================
   HP
   ========================================================= */

@media (max-width: 600px) {
  
  .operator-page .product-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    column-gap: 10px;
    row-gap: 7px;
    padding: 17px 14px;
  }
  
  .operator-page .product-info {
    gap: 11px;
  }
  
  .operator-page .operator-icon {
    width: 58px;
    height: 58px;
  }
  
  .operator-page .product-name {
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  .operator-page .product-quota {
    font-size: 14px;
  }
  
  .operator-page .duration {
    font-size: 12px;
  }
  
  .operator-page .price {
    font-size: 16px;
  }
  
  .operator-page .buy-btn {
    padding: 9px 11px;
    font-size: 12px;
    min-height: 40px;
  }
}


/* =========================================================
   HP SANGAT KECIL
   ========================================================= */

@media (max-width: 360px) {
  
  .operator-page .product-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
  
  .operator-page .product-info {
    grid-column: 1;
    grid-row: 1;
  }
  
  .operator-page .duration {
    grid-column: 1;
    grid-row: 2;
  }
  
  .operator-page .price {
    grid-column: 1;
    grid-row: 3;
  }
  
  .operator-page .buy-btn {
    grid-column: 1;
    grid-row: 4;
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }
}