/* ==========================================================
   MASSAGE ARMY SPA - INTERACTIVE PRICELIST COMPONENT
   ========================================================== */

.mas-pl-wrapper {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  background: #ffdeaa;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: #333;
  padding: 24px 16px;
  box-sizing: border-box;
  border-radius: 20px;
  position: relative;
}

.mas-pl-wrapper *, .mas-pl-wrapper *::before, .mas-pl-wrapper *::after {
  box-sizing: border-box;
}

.mas-pl-wrapper .mas-pl-intro { text-align: center; margin-bottom: 16px; }
.mas-pl-wrapper .mas-pl-intro h1 {
  color: #d5893b; font-size: 22px; font-weight: 700;
  margin: 0 0 4px 0; padding: 0; line-height: 1.3;
}
.mas-pl-wrapper .mas-pl-intro p {
  color: #555; font-size: 13px; margin: 0; padding: 0;
}

/* Container Grid 2 Kolom (Mobile Friendly) */
.mas-pl-wrapper .mas-pl-cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
  align-items: start;
}

/* Card / Box Menu Kategori */
.mas-pl-wrapper .mas-pl-cat-card {
  background: transparent;
  display: flex;
  flex-direction: column;
}

/* Card aktif membentang penuh 2 kolom */
.mas-pl-wrapper .mas-pl-cat-card.active {
  grid-column: 1 / -1;
}

.mas-pl-wrapper .mas-pl-cat-btn {
  background: #FFFAF7; border: 2px solid #ffdeaa; border-radius: 12px;
  padding: 12px 8px; text-align: center; cursor: pointer;
  font-size: 13px; font-weight: 700; color: #3981d6;
  transition: all 0.2s ease; line-height: 1.3; user-select: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  width: 100%;
}
.mas-pl-wrapper .mas-pl-cat-btn .emoji { font-size: 20px; display: block; margin-bottom: 2px; }

.mas-pl-wrapper .mas-pl-cat-btn:hover {
  border-color: #3981d6;
  box-shadow: 0 4px 12px rgba(57,129,214,0.15);
}

.mas-pl-wrapper .mas-pl-cat-card.active .mas-pl-cat-btn {
  background: #3981d6; color: #fff; border-color: #3981d6;
}

/* Panel Keterangan */
.mas-pl-wrapper .mas-pl-panel {
  display: none;
  background: #FFFAF7;
  border-radius: 12px;
  padding: 16px 14px;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1.5px solid #3981d6;
  animation: masPlFade 0.25s ease;
  width: 100%;
}

.mas-pl-wrapper .mas-pl-cat-card.spa-theme .mas-pl-panel {
  border-color: #d5893b;
}

.mas-pl-wrapper .mas-pl-cat-card.active .mas-pl-panel {
  display: block;
}

@keyframes masPlFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mas-pl-wrapper .mas-pl-panel h2 {
  font-size: 16px; font-weight: 700; color: #d5893b;
  margin: 0 0 4px 0; padding: 0;
}
.mas-pl-wrapper .mas-pl-panel .mas-pl-desc {
  font-size: 12px; color: #666; line-height: 1.4; margin: 0 0 12px 0; padding: 0;
}

/* Accordion Item di dalam Panel */
.mas-pl-wrapper .mas-pl-item {
  border: 1px solid #f5ecdb;
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 6px;
  overflow: hidden;
}

.mas-pl-wrapper .mas-pl-item-header {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
}

.mas-pl-wrapper .mas-pl-name {
  font-size: 12.5px; font-weight: 700; color: #333; margin: 0; text-align: left;
}

.mas-pl-wrapper .mas-pl-arrow {
  font-size: 10px; color: #d5893b; transition: transform 0.2s ease;
}

.mas-pl-wrapper .mas-pl-item-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 12px; background: #fffcf8;
}

.mas-pl-wrapper .mas-pl-item.open { border-color: #d5893b; }
.mas-pl-wrapper .mas-pl-item.open .mas-pl-arrow { transform: rotate(180deg); }
.mas-pl-wrapper .mas-pl-item.open .mas-pl-item-body {
  max-height: 250px; padding: 10px 12px; border-top: 1px dashed #f5ecdb;
}

/* Prices & Badges */
.mas-pl-wrapper .mas-pl-prices {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px;
}
.mas-pl-wrapper .mas-pl-price-chip {
  background: #e8f1fb; color: #2358a6; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px; text-align: center;
}
.mas-pl-wrapper .mas-pl-cat-card.spa-theme .mas-pl-price-chip {
  background: #ffdeaa; color: #d5893b;
}
.mas-pl-wrapper .mas-pl-item .mas-pl-note {
  font-size: 10.5px; color: #888; font-style: italic; margin-top: 4px; text-align: left;
}

.mas-pl-wrapper .mas-pl-subtitle {
  font-size: 12.5px; font-weight: 700; color: #3981d6; margin: 14px 0 6px 0; text-align: left;
}
.mas-pl-wrapper .mas-pl-cat-card.spa-theme .mas-pl-subtitle { color: #d5893b; }

/* Info City Rows */
.mas-pl-wrapper .mas-pl-city-groups { display: flex; flex-direction: column; gap: 6px; }
.mas-pl-wrapper .mas-pl-city-row {
  display: flex; flex-direction: column; text-align: left;
  font-size: 11.5px; padding: 6px 0; border-top: 1px solid #f5ecdb;
}
.mas-pl-wrapper .mas-pl-city-row:first-child { border-top: none; }
.mas-pl-wrapper .mas-pl-city-row .fee { font-weight: 700; color: #3981d6; }
.mas-pl-wrapper .mas-pl-city-row .cities { color: #555; }

.mas-pl-wrapper .mas-pl-link {
  display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 700;
  color: #3981d6; text-decoration: none; border-bottom: 1.5px solid #3981d6;
}

.mas-pl-wrapper .mas-pl-footnote {
  font-size: 11px; color: #777; text-align: center; margin-top: 16px; font-style: italic;
}

/* CTA Button */
.mas-pl-wrapper .mas-pl-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px; margin: 16px 0 0 0;
  border: none; border-radius: 50px; background: #25D366; color: #fff !important;
  font-size: 14px; font-weight: 700; text-decoration: none !important;
  font-family: 'Poppins', sans-serif; cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,211,102,0.30);
  transition: background 0.2s, transform 0.15s;
}
.mas-pl-wrapper .mas-pl-cta-btn:hover { background: #1ebe5d; transform: translateY(-2px); color: #fff !important; }
.mas-pl-wrapper .mas-pl-wa-icon { width: 18px; height: 18px; flex-shrink: 0; }