/*
Theme Name: IDIDTHAT DIVI CHILD
Template: Divi
Author: IDIDTHAT
Author URI: https://ididthatmedia.com/
Description: Divi child theme
Version: 1.0.0.1764957984
Updated: 2025-12-05 18:06:24

*/

/*BEGIN Checkout error notice — blue background + white text */
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error {
  background: #004ba0 !important;      /* blue */
  padding: 16px 20px;
  border: 4px solid #dc2626 !important; /* red border */
}

/* Force ALL text inside to white */
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error,
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error li,
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error li a,
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error li strong {
  color: #ffffff !important;
}

/* Optional: clean link styling */
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error li a {
  text-decoration: underline;
}

body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error li a:hover {
  opacity: 0.85;
}
/*END Checkout error notice — blue background + white text */

/*BEGIN CART ICON STUFF */
/* badge anchor */
a.et-cart-info { 
	position: relative; 
	left: -20px;
	top: 2px;
}

/* make icon animatable */
a.et-cart-info span::before {
  display: inline-block;
  transform-origin: center;
  content: '\e015'; /* shopping cart */
  transition: color .25s ease;
  font-size: 18px;
  font-weight: 600
}

/* Hover*/
a.et-cart-info:hover span::before {
  transform: scale(1.25);
  color: #ea580c;
}

/* pulse when has items */
body.has-cart-items a.et-cart-info span::before {
  color: #ea580c;
  animation: cartPulse 1.2s ease-in-out infinite;
}
@keyframes cartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* badge */
a.et-cart-info::after {
  content: none !important;
  display: none !important;
}

a.et-cart-info.has-count::after {
  display: inline-block;
}
/*END CART ICON STUFF */

/***********************************************/


/* Disable product page links, keep Add to Cart working */
a.woocommerce-loop-product__link {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

/* Remove underline from Divi buttons and swap-video links */
.swap-video
.et_pb_button,
.et_pb_button:hover {
  text-decoration: none !important;
}

/* Bold + underline links in page content only (not header/menu/buttons) */
.et_pb_section a,
.et_pb_row a,
.et_pb_column a,
.et_pb_text a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/*Collapsible Row*/
.acc-panel{
  overflow:hidden;
  max-height:0;
  opacity:0;
  transition:max-height .6s ease, opacity .25s ease;
  will-change:max-height, opacity;
}
.acc-panel.is-open{ opacity:1; }

/* after it finishes opening */
.acc-panel.is-open.acc-stable{
  max-height:none;
  overflow:visible;
  transition:opacity .25s ease;
}
/* Make accordion trigger rows look clickable */
.acc-trigger,
.acc-trigger *{cursor:pointer;}

/********BEGIN Return to Top*/
.toTopBtn{
  position:fixed;
  top:100px;               /* adjust vertical position */
  z-index:99999;
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(234,88,12,.65);
  color:#fff;
  text-decoration:none;
  font-size:20px;
  line-height:1;
  box-shadow:0 6px 18px rgba(0,0,0,.2);
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease, visibility .3s ease;
}

.toTopBtn.show{
  opacity:1;
  visibility:visible;
}

/* Right button */
#toTopBtnRight{
  right:18px;
}

/* Left button */
#toTopBtnLeft{
  left:18px;
}

/* Hover */
.toTopBtn:hover{
  background:rgba(234,88,12);
}
/********END Return to Top*/

/* Base style for the cookie settings link */
.nsc-bara-manage-cookie-settings {
    color: #737373;
    transition: color 0.3s ease;
}

/* Black hover effect for the cookie settings link */
.nsc-bara-manage-cookie-settings:hover {
    color: #f78c2a;
}

/* Customizing text selection for Firefox */
::-moz-selection {
    /* Background color when text is selected in Firefox */
    background-color: #1F2937; /* orange color */
    /* Text color when text is selected in Firefox */
    color: #fff;
}
 
/* Customizing text selection for other browsers */
::selection {
    /* Background color when text is selected in other browsers */
    background-color: #1F2937; /* orange color */
    /* Text color when text is selected in other browsers */
    color: #fff;
}

/* Style the back to top button on hover */
body .et_pb_scroll_top:hover {
	background-color: #1F2937 !important;
}

/********* Menu Icons BEGIN */
/* Base icon-only menu items */
.menu-home > a{
  font-size: 0 !important;   /* hide text label */
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
}

/* Icon glyphs */
.menu-home > a::before {
  font-family: "ETmodules";
  font-size: 18px;
  color: #000;
  display: inline-block;
  transform-origin: center;
  transition: transform .3s ease, color .3s ease;
}

/* Individual icons */
.menu-home > a::before {
  content: '\e009'; /* home */
}

/* hover animation */
.menu-home > a:hover::before {
  transform: scale(1.25);
  color: #ea580c;
}
/********* Menu Icons END */

/* DIVI DEFAULT HEADER – ONE-LINE TOP MENU, MULTI-LINE DROPDOWNS */
@media (min-width: 981px){

  /* Header layout: logo left, menu right */
  #main-header .container{
    display: flex;
    align-items: center;
  }

  /* Logo protection */
  #main-header .logo_container{
    flex: 0 0 auto;
    padding-right: 40px;
  }

  /* Navigation fills remaining space */
  #et-top-navigation{
    flex: 1 1 auto;
    min-width: 200;
    display: flex;
    justify-content: flex-end;
  }

  /* Top-level menu: ONE LINE */
  #top-menu{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  #top-menu > li{
    white-space: nowrap;
	margin: 0 0px;
	padding-right: 12px !important;
	  
  }

  /* Reduce spacing between menu items */
  #top-menu > li > a{
    padding: 0 0px;
    padding-left: 0px;
    padding-right: 0px;
	letter-spacing: 0;
  }

  /* Dropdown menus: MULTI-LINE */
  #top-menu ul{
    white-space: normal;
    min-width: 200px;
    max-width: 320px;
  }

  #top-menu ul li a{
    white-space: normal;
    line-height: 1.4;
    padding: 4px 10px;

  }
	/*Primary Menu Hover Color*/
  #main-header #top-menu > li > a:hover {
    color: #ea580c;
  }
}