/* ==========================================================
   Balilaundry Pricing Cards 
   ========================================================== */

/* ---- Wrapper ---- */
.bl-pricing-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ---- Layout ---- */
.bl-pricing-list {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  padding: 0;
  margin: 80px auto 40px;
  list-style: none;
  max-width: 980px;
}

/* ---- Cards ---- */
.bl-pricing-item {
  position: relative;
  width: 260px;
  padding: 100px 32px 40px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.14);
  transition: all 0.3s ease;
  list-style: none;
}

.bl-card-featured {
  margin-bottom: 10px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.bl-pricing-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.20);
}

/* ---- Top image ---- */
.bl-top-img-wrap {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  border-radius: 40px;
  background: #d9d9d9;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.bl-top-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Inner content ---- */
.bl-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---- Plan title ---- */
.bl-plan-name {
  margin: 24px 0 24px;
  font-size: 20px;
  font-weight: 600;
  color: #EB5945;
  letter-spacing: 0.02em;
}

/* ---- Price ---- */
.bl-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bl-price-amount {
  font-size: 42px;
  line-height: 1;
  color: #111827;
  letter-spacing: -0.04em;
  position: relative !important;
}

.bl-price-period {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #9ca3af;
}

/* ========================================
   Rp and /kg styling for ALL cards
   ======================================== */

/* Rp prefix - desktop */
.bl-pricing-item .bl-price-amount::before {
  content: "Rp" !important;
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #6b7280 !important;
  margin-right: 2px !important;
  letter-spacing: 0 !important;
  transform: translateY(-0.9em) !important;
  vertical-align: super !important;
}

/* /kg suffix - desktop */
.bl-pricing-item .bl-price-amount::after {
  content: "/kg" !important;
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  color: #6b7280 !important;
  margin-left: 2px !important;
  letter-spacing: 0 !important;
  transform: translateY(0.12em) !important;
}

/* ---- SAVE pill ---- */
.bl-save-pill {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(90deg, #EB5945, #EB5945, #EB5945);  /* ← Same as plan name */
  box-shadow: 0 10px 25px rgba(235, 89, 69, 0.65);  /* ← Matching shadow */
  white-space: nowrap;
  z-index: 5;
}

/* === Thin text badge (50% above / 50% inside), no bg/shadow === */
.bl-top-img-wrap.is-thintext{
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;

  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  padding: 0;
  pointer-events: none;
  z-index: 3;
}

.bl-top-img-wrap.is-thintext .bl-top-text{
  color: #000;
  font-weight: 100;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}

/* ========================================
   TABLETS & LARGE MOBILES (481px - 999px)
   ======================================== */
@media (max-width: 999px) and (min-width: 481px) {
  .bl-pricing-item .bl-price-amount::before {
    font-size: 9px !important;
    margin-right: 1px !important;
    transform: translateY(-0.6em) !important;
  }
  
  .bl-pricing-item .bl-price-amount::after {
    font-size: 9px !important;
    margin-left: 1px !important;
    transform: translateY(0.1em) !important;
  }
}

/* ========================================
   MOBILE (max 768px)
   ======================================== */
@media (max-width: 768px) {
  .bl-pricing-list {
    max-width: 100%;
    gap: 10px;
    margin: 60px auto 0px;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .bl-pricing-item {
    width: 140px;
    padding: 70px 4px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
  }

  .bl-top-img-wrap {
    width: 90px;
    height: 90px;
    top: -45px;
    border-radius: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.2);
  }

  .bl-plan-name {
    margin: 16px 0 16px;
    font-size: 13px;
  }

  .bl-price-amount {
    font-size: 24px;
    letter-spacing: -0.03em;
  }

  .bl-price-period {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .bl-pricing-item {
    padding-bottom: 40px;
  }

  .bl-save-pill {
    font-size: 9px;
    padding: 6px 14px;
    bottom: -10px;
  }

  .bl-card-featured {
    margin-bottom: 0;
  }

  .bl-top-img-wrap.is-thintext .bl-top-text{
    font-size: 32px;
    letter-spacing: 0.05em;
  }
}


/* ========================================
   SMALL MOBILE (max 480px)
   ======================================== */
@media (max-width: 480px) {
    /* Remove wrapper padding completely */
    .bl-pricing-wrap {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Minimal side padding with flex gap */
    .bl-pricing-list {
        padding-left: 1px !important;
        padding-right: 1px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-between !important;
        gap: 6px !important; /* 6px gap between cards */
    }
    
    /* Make cards fill available space equally */
    .bl-pricing-item {
        flex: 1 !important;
        margin: 0 !important;
        max-width: none !important;
    }
    
    /* Currency symbols */
    .bl-pricing-item .bl-price-amount::before {
        font-size: 8px !important;
        margin-right: 1px !important;
        transform: translateY(-0.3em) !important;
    }
    
    .bl-pricing-item .bl-price-amount::after {
        font-size: 8px !important;
        margin-left: 1px !important;
        transform: translateY(0.08em) !important;
    }
}




/* =========================================
   1. PRICING HEADER SECTION
   ========================================= */

.bali-pricing-header {
    text-align: center;
    padding: 60px 20px 40px; 
    background-color: transparent; 
    width: 100%;
}

.bali-container-skinny {
    max-width: 700px;
    margin: 0 auto;
}

/* Main Heading (H1) */
.pricing-h1 {
    font-family: 'Delight', sans-serif !important;
    font-size: 52px;
    line-height: 1.2 !important; 
    color: #111111; 
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

/* 1. THE UNDERLINE (Hero Style) */
.brand-underline {
    /* Exact style from your Hero Section */
    text-decoration: underline !important;
    text-decoration-color: #ff9e7a !important; /* Salmon */
    text-decoration-thickness: 5px !important;
    text-underline-offset: 4px !important; /* Matches Hero offset */
    
    color: #111111; /* Ensures text stays Black */
}

/* 2. THE TEXT COLOR (Blue #7d8dff) */
.text-highlight {
    color: #7d8dff !important; /* Forces Blue */
}

/* Subtext Badge */
.pricing-subtext {
    display: inline-block;
    background-color: #EBF2FF; 
    color: #4C6EF5; 
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border-radius: 50px; 
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .pricing-h1 {
        font-size: 38px; 
    }
}