/* LessonPlug Core — front-end styles */

/* ===== Find a Musician: search bar ===== */
.page-id-94 .wcfmmp-store-search-form,
.elementor-widget-shortcode .wcfmmp-store-search-form {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  max-width: 640px;
  margin: 0 auto;
}
.page-id-94 input.wcfmmp-store-search {
  width: 100% !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 16px 26px !important;
  font-size: 16px !important;
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
  box-sizing: border-box !important;
  transition: box-shadow 0.2s ease;
}
.page-id-94 input.wcfmmp-store-search:focus {
  box-shadow: 0 2px 14px rgba(12,232,228,0.45) !important;
  outline: none !important;
}

/* ===== Musician cards ===== */
.wcfmmp-stores-lists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.wcfmmp-stores-lists .wcfmmp-single-store {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.wcfmmp-single-store .store-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.wcfmmp-single-store .store-wrapper:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

/* banner: uniform height, cover crop */
.wcfmmp-single-store .store-content .store-cover-link .store-info,
.wcfmmp-single-store .store-info {
  height: 180px !important;
  background-size: cover !important;
  background-position: center !important;
}

/* avatar overlaps the banner */
.wcfmmp-single-store .store-avatar {
  width: 64px !important;
  height: 64px !important;
  margin-top: -32px !important;
  margin-left: 20px !important;
  position: relative;
  z-index: 2;
  float: none !important;
}
.wcfmmp-single-store .store-avatar img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  border: 3px solid #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  object-fit: cover;
}

/* card body */
.wcfmmp-single-store .store-footer {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 20px 20px !important;
}
.wcfmmp-single-store .store-data-container { float: none !important; width: 100% !important; }
.wcfmmp-single-store .store-data h2 {
  font-size: 20px;
  margin: 10px 0 2px !important;
  line-height: 1.25;
}
.wcfmmp-single-store .store-data h2 a { color: #202020 !important; text-decoration: none !important; }
.wcfmmp-single-store .bd_rating { margin: 2px 0 8px !important; }
.wcfmmp-single-store .musician-meta { font-size: 14px !important; color: #555; }
.wcfmmp-single-store .musician-meta p { margin: 3px 0; }
.wcfmmp-single-store .store-username {
  color: #999 !important;
  font-size: 13px !important;
  margin-top: 6px !important;
}
.wcfmmp-single-store .store-footer .spacer { flex: 1; }

/* action row */
.lpc-card-actions { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.lpc-card-actions .wcfmmp-visit-store,
.wcfmmp-single-store .wcfmmp-visit-store {
  display: block;
  text-align: center;
  width: 100%;
  border: 2px solid #0ce8e4 !important;
  color: #202020 !important;
  background: #fff !important;
  border-radius: 50px !important;
  padding: 11px 16px !important;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none !important;
  position: static !important;
  margin: 0 !important;
}
.wcfmmp-single-store .wcfmmp-visit-store:hover { background: #0ce8e4 !important; }

/* ===== FAQ: contained ===== */
.page-id-94 .elementor-widget-toggle,
.page-id-94 .elementor-widget-accordion { max-width: 860px; margin-left: auto; margin-right: auto; }

@media (max-width: 640px) {
  .wcfmmp-stores-lists { grid-template-columns: 1fr; }
}

/* Parked full-page redesign styles (active only when LPC_REDESIGN_PAGES is on) */
.lpc-fam { padding: 48px 0 72px; }
.lpc-fam-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.lpc-fam-hero h1 { font-size: 42px; margin: 0 0 10px; color: #202020; }
.lpc-fam-hero p { font-size: 17px; color: #555; max-width: 640px; margin: 0 0 28px; }
.lpc-fam-filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 28px; }
.lpc-fam-filters input[type="search"] { flex: 1; min-width: 240px; padding: 12px 16px; border: 1px solid #ddd; border-radius: 50px; font-size: 15px; }
.lpc-fam-filters select { padding: 12px 16px; border: 1px solid #ddd; border-radius: 50px; font-size: 15px; background: #fff; min-width: 180px; }
.lpc-fam-empty { color: #888; font-style: italic; padding: 32px 0; text-align: center; }
.lpc-fam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.lpc-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); display: flex; flex-direction: column; }
.lpc-card-banner { height: 150px; background: #e9fbfb center/cover no-repeat; }
.lpc-card-body { padding: 0 20px 20px; display: flex; flex-direction: column; flex: 1; }
.lpc-card-head { display: flex; align-items: center; gap: 12px; margin-top: -22px; }
.lpc-card-avatar { width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.15); object-fit: cover; }
.lpc-card-name { font-size: 19px; margin: 0; }
.lpc-card-name a { color: #202020; text-decoration: none; }
.lpc-card-handle { font-size: 13px; color: #888; }
.lpc-card-meta { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14px; color: #444; flex: 1; }
.lpc-card-meta li { margin: 3px 0; }
.lpc-card-actions { display: flex; gap: 10px; margin-top: 16px; }
.lpc-btn { flex: 1; text-align: center; padding: 11px 16px; border-radius: 50px; font-weight: bold; font-size: 14px; text-decoration: none !important; }
.lpc-btn-outline { border: 2px solid #0ce8e4; color: #202020 !important; background: transparent; }
.lpc-btn-outline:hover { background: #0ce8e4; }
.lpc-fam-faq { margin-top: 56px; max-width: 760px; }
.lpc-fam-faq h2 { font-size: 26px; margin: 0 0 16px; color: #202020; }
.lpc-fam-faq details { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px 20px; margin: 0 0 10px; }
.lpc-fam-faq summary { font-weight: bold; color: #202020; cursor: pointer; }
.lpc-fam-faq details p { color: #555; margin: 10px 0 0; }
@media (max-width: 640px) {
  .lpc-fam-hero h1 { font-size: 30px; }
  .lpc-fam-grid { grid-template-columns: 1fr; }
  .lpc-card-actions { flex-direction: column; }
}

/* Find a Musician fixes round 2 */
.page-id-94 .elementor-widget-shortcode:has(.wcfmmp-store-search-form) { margin-top: 28px; margin-bottom: 32px; }
.page-id-94 .wcfmmp-store-search-form { display: block; }

/* avatar straddles the banner/body boundary */
.wcfmmp-single-store .store-content { position: relative; }
.wcfmmp-single-store .store-avatar {
  margin-top: -36px !important;
  margin-bottom: 6px;
}

/* VIEW button: text centered inside the pill */
.wcfmmp-single-store .wcfmmp-visit-store,
.lpc-card-actions .wcfmmp-visit-store {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px;
  line-height: 1 !important;
  gap: 5px;
}
.wcfmmp-single-store .wcfmmp-visit-store span { display: inline; }

/* kill the theme's link underline/hover artifacts on cards */
.wcfmmp-single-store a,
.wcfmmp-single-store a:hover,
.wcfmmp-single-store .wcfmmp-visit-store:hover {
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none;
}
.wcfmmp-single-store .store-wrapper:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.10) !important; }
.wcfmmp-single-store .store-cover-link::after { display: none !important; }

/* Grid belongs on the inner UL (the theme forces flex-wrap there) */
.wcfmmp-stores-content ul.wcfmmp-store-wrap {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.wcfmmp-stores-content ul.wcfmmp-store-wrap > li.wcfmmp-single-store {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* search bar spacing (round 3): pad the boxed container holding it */
.page-id-94 .e-con-boxed:has(.wcfmmp-store-search-form) { padding-top: 24px !important; padding-bottom: 8px !important; }
.page-id-94 .elementor-widget-shortcode:has(.wcfmmp-store-search-form) { margin-top: 0 !important; margin-bottom: 24px !important; }

/* round 3: search padding on the actual wrapper, plus video banner equalization fallback */
.page-id-94 #wcfmmp-stores-lists { padding-top: 28px !important; }
.page-id-94 #wcfmmp-stores-lists .wcfmmp-store-search-form { margin-bottom: 28px; }
.wcfmmp-single-store .store-content .store-info iframe { height: 180px !important; }

/* Avatar: theme img rules carry !important, so out-priority them */
.wcfmmp-single-store .store-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  display: block !important;
}

/* Hover: kill theme overlay/background shifts on the banner link */
.wcfmmp-single-store .store-cover-link:hover .store-info,
.wcfmmp-single-store .store-info:hover {
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.wcfmmp-single-store .store-cover-link::before,
.wcfmmp-single-store .store-cover-link::after { display: none !important; content: none !important; }

/* kill the stray turquoise divider under card banners */
.wcfmmp-single-store .store-content,
.wcfmmp-single-store .store-cover-link,
.wcfmmp-single-store .store-cover-link .store-info {
  border-bottom: none !important;
  border-top: none !important;
}

/* Final grid fix: beat the theme's ID-scoped flex rules */
#wcfmmp-stores-lists ul.wcfmmp-store-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  justify-content: stretch !important;
}
#wcfmmp-stores-lists ul.wcfmmp-store-wrap > li.wcfmmp-single-store {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
}
@media (max-width: 1024px) {
  #wcfmmp-stores-lists ul.wcfmmp-store-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  #wcfmmp-stores-lists ul.wcfmmp-store-wrap { grid-template-columns: 1fr !important; }
}
