/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: This is a child theme of OceanWP.
Author: Shafiqul
Author URI: https://www.suvronur.com/
Template: oceanwp
Version: 1.0
*/


/* Hide SKU, category, tags on WooCommerce products */
.product_meta {
    display: none !important;
}

/* Hide the extra "Description" heading */
.woocommerce-tabs h2:first-child,
.woocommerce-Tabs-panel h2:first-child {
    display: none !important;
}

/* Clean up spacing */
.woocommerce-tabs {
    margin-top: 30px;
}


/* Make header sticky on all screen sizes */
/* Desktop header */
#site-header {
  position: sticky !important;
  top: 0;
  background: #fff;
  z-index: 99999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* OceanWP mobile header */
@media (max-width: 959px) {
  #site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  body {
    padding-top: 70px;
  }

  body.admin-bar #site-header {
    top: 46px !important;
  }
}

/* Optional: Add shadow for visual separation */
#site-header,
.oceanwp-mobile-header {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/*Prtenting Tips category*/
/* ===== WRAPPER ===== */
.rtt-parenting-hub {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== HERO ===== */
.rtt-ph-hero {
  background: linear-gradient(135deg, #fff4e6 0%, #f3e8ff 50%, #e0f2fe 100%);
  border-radius: 28px;
  padding: 48px 28px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  margin-bottom: 28px;
  text-align: center;
}

.rtt-ph-badge {
  display: inline-block;
  background: #fff;
  color: #7c3aed;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.rtt-ph-hero h1 {
  font-size: 40px;
  margin-bottom: 14px;
  color: #1f2937;
}

.rtt-ph-hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #374151;
}

/* ===== BUTTONS ===== */
.rtt-ph-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
}

.rtt-ph-btn-primary {
  background: #8b5cf6;
  color: #fff !important;
}

.rtt-ph-btn-secondary {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151 !important;
}

/* ===== FEATURED ===== */
.rtt-ph-featured-card {
  display: grid;
  grid-template-columns: 1.5fr 120px;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
  margin-bottom: 28px;
}

.rtt-ph-featured-icon {
  font-size: 70px;
  text-align: center;
}

.rtt-ph-label {
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  background: #fff7ed;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
}

.rtt-ph-featured-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.rtt-ph-featured-card p {
  margin: 0 0 12px;
  color: #4b5563;
}

/* ===== INTRO + CTA ===== */
.rtt-ph-intro,
.rtt-ph-bottom-cta {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  margin-bottom: 28px;
}

.rtt-ph-intro h2,
.rtt-ph-bottom-cta h2 {
  margin-top: 0;
  font-size: 30px;
}

/* ===== GRID ===== */
.rtt-ph-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ===== CARDS ===== */
.rtt-ph-card {
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
  transition: all 0.25s ease;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rtt-ph-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.rtt-ph-card-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.rtt-ph-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.rtt-ph-card p {
  font-size: 16px;
  color: #374151;
  margin-bottom: 14px;
}

/* ===== CARD COLORS ===== */
.rtt-ph-card-1 {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.rtt-ph-card-2 {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.rtt-ph-card-3 {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.rtt-ph-card-4 {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

/* ===== REAL LINKS ===== */
.rtt-ph-link {
  font-weight: 700;
  color: #7c3aed !important;
  text-decoration: none !important;
  display: inline-block;
}

.rtt-ph-link:hover {
  text-decoration: underline !important;
}

/* ===== MINI FEATURES ===== */
.rtt-ph-highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.rtt-ph-mini-box {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.rtt-ph-mini-icon {
  font-size: 26px;
}

.rtt-ph-mini-box h3 {
  margin: 0;
  font-size: 18px;
}

.rtt-ph-mini-box p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #4b5563;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .rtt-ph-grid {
    grid-template-columns: 1fr;
  }

  .rtt-ph-featured-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rtt-ph-highlight-row {
    grid-template-columns: 1fr;
  }

  .rtt-ph-hero h1 {
    font-size: 30px;
  }
}
.rtt-ph-popular {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.rtt-ph-popular li {
  margin-bottom: 10px;
}

.rtt-ph-popular a {
  font-weight: 600;
  color: #7c3aed !important;
  text-decoration: none !important;
}

.rtt-ph-popular a:hover {
  text-decoration: underline !important;
}

/*modern random comments*/
/* modern random comments – mobile safe */
/* modern random comments – hard reset */
.random-testimonial {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;

  /* IMPORTANT */
  text-align: left;      /* start from the LEFT */
  height: auto;
  overflow: visible;
}

/* testimonial text */
#testimonial-text {
  display: block;        /* full-width block */
  width: 100%;
  max-width: 100%;
  margin: 0;

  /* TEXT */
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  line-height: 1.45;

  /* FORCE WRAPPING */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;

  /* REMOVE CENTERING EFFECTS */
  text-align: left;
  transform: none !important;   /* kill horizontal translate */
  opacity: 1;

  /* Keep fade only */
  transition: opacity 0.6s ease;
}

/* Mobile refinement */
@media (max-width: 600px) {
  .random-testimonial {
    padding: 0 10px;     /* safe left/right padding */
  }

  #testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}



/* === Modern PMPro Levels Styling === */
.membership-levels {
  background: linear-gradient(135deg, #fffaf3, #ffffff);
  text-align: center;
  padding: 60px 20px;
  border-radius: 20px;
  max-width: 1100px;
  margin: 60px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
}

.membership-levels .membership-title {
  font-size: 2.6rem;
  color: #ff7b00;
  margin-bottom: 40px;
  font-weight: 800;
}

/* Reset PMPro’s default table */
.membership-levels #pmpro_levels_table,
.membership-levels #pmpro_levels_table tbody,
.membership-levels #pmpro_levels_table tr,
.membership-levels #pmpro_levels_table td {
  background: transparent;
  border: none;
}

/* Hide old header */
.membership-levels #pmpro_levels_table thead {
  display: none;
}

/* Convert levels into cards */
.membership-levels #pmpro_levels_table {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  border: none;
}

/* Individual membership cards */
.membership-levels #pmpro_levels_table tbody tr {
  background: #fff;
  border: 2px solid #ffd17b;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  padding: 30px;
  width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
  color: #444;
}

.membership-levels #pmpro_levels_table tbody tr:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Level titles */
.membership-levels #pmpro_levels_table strong {
  color: #ff7b00;
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 700;
  display: block;
}

/* Text and price area */
.membership-levels #pmpro_levels_table td,
.membership-levels #pmpro_levels_table td p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Buttons */
.membership-levels .pmpro_btn,
.membership-levels .pmpro_btn-submit {
  background: #ff7b00;
  color: #fff;
  border-radius: 8px;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: 15px;
  border: none;
  font-family: 'Poppins', sans-serif;
}

.membership-levels .pmpro_btn:hover,
.membership-levels .pmpro_btn-submit:hover {
  background: #e66b00;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .membership-levels #pmpro_levels_table {
    flex-direction: column;
    align-items: center;
  }
  .membership-levels #pmpro_levels_table tbody tr {
    width: 90%;
  }
  .membership-levels .membership-title {
    font-size: 2rem;
  }
}
.membership-levels #pmpro_levels_table tbody tr:first-child {
  border: 3px solid #ff7b00;
  box-shadow: 0 10px 30px rgba(255,123,0,0.25);
  position: relative;
}

.membership-levels #pmpro_levels_table tbody tr:first-child::before {
  content: "⭐ Most Popular";
  position: absolute;
  top: -14px;
  right: -14px;
  background: #ff7b00;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
}
