/*
Theme Name:     Divi Child
Theme URI:      https://example.com
Description:    A child theme for Divi
Author:         Your Name
Author URI:     https://example.com
Template:       Divi
Version:        1.0.0
*/

/* Import Divi base */
@import url("../Divi/style.css");

/* Global background */
body {
  background-color: rgba(114, 173, 56, 0.05);
}

/* Force header/nav to always sit above everything else */
#main-header,
#et-top-navigation,
.et_menu_container,
.et_pb_fullwidth_menu {
  position: relative;
  z-index: 9999 !important;
}

/* Ensure dropdowns from the menu aren't clipped or hidden */
.et_pb_section,
.et_pb_row,
.et_pb_column,
.et_pb_module {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

/* Specific fix for dropdown menus inside the header */
#et-top-navigation nav ul li ul {
  z-index: 99999 !important;
}

/* Optional: scope this just to courses if needed */
.single-course .et_pb_section,
.single-course .et_pb_row {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}
/* Paste in child theme’s style.css */
.eb-purchase-for-someone-else {
    display: block !important;
}
.eb-purchase-for-someone-else,
#purchase-for-someone-else-checkbox:checked ~ .eb-purchase-for-someone-else {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* ===== Guardian heading style ===== */
#ool-guardian-block > .ool-guardian-heading {
	/* match Woo/Billing heading */
	font-size: 1.5rem;          /* same as h3 on most themes */
	font-weight: 600;
	margin: 0 0 1rem 0;
	display: flex;
	align-items: center;
	gap: .5rem;
}
/* ——— Guardian “heading” line ——— */
.ool-guardian-heading{
	/* same look & spacing as Woo heading h3. adjust to taste */
	font-size: 1.5rem !important;
	font-weight: 600;
	margin: 0 0 1.5rem 0;
	display: flex;
	align-items: center;
	gap:.5rem;
}
.ool-guardian-heading input[type=checkbox]{
	margin:0;
	transform:scale(1.2);        /* visually matches Woo checkboxes */
}
