/*
 Theme Name:  Divi Child Theme
 Theme URL:    https://akoca-seo.co.uk/
 Description:  Child Theme for Divi
 Author:       Akoca SEO
 Author URI:   https://akoca-seo.co.uk/
 Template:     Divi
 Version:      1.0.0
*/

/***** Custom CSS *****/

/* Responsive Headings */

h1, .et_pb_text_inner h1 {
    font-family: 'EB Garamond', Georgia, Cardo;
    font-size: clamp(40px, 6vw, 100px);
    font-weight: 400;
    line-height: 1.3em;
	text-transform: uppercase;
	letter-spacing: 1px;

}

h2, .sub-title-home, .sub-title-home p {
    font-family: 'EB Garamond', Georgia, Cardo;
    font-size: clamp(36px, 4.5vw, 53px);
    font-weight: 400;
    line-height: 1.3em;
	text-transform: uppercase;

}

h3, .coffee-bottom h2 {
    font-family: 'EB Garamond', Georgia, Cardo;
    font-size: clamp(28px, 3vw, 35px);
    font-weight: 400;
    line-height: 1.3em;
	text-transform: uppercase;
}

h4 {
    font-family: 'EB Garamond', Georgia, Cardo;
    font-size: clamp(14px, 2vw, 17px);
    font-weight: 400;
    line-height: 1.3em;
	text-transform: uppercase;
}

h5 {
    font-family: 'EB Garamond', Georgia, Cardo;
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: 400;
    line-height: 1.3em;
	text-transform: uppercase;
}

h6 {
    font-family: 'EB Garamond', Georgia, Cardo;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 400;
    line-height: 1.3em;
	text-transform: uppercase;
}

/* Responsive Body Text */

body, p, ol, li, ul, .dsm-faq-content {
    font-family: Cardo;
    font-size: clamp(12px, 4vw, 18px);
    font-weight: 500;
    line-height: 1.8em;
}

.sub-title, .sub-title p {
    font-family: 'EB Garamond', Georgia, Cardo;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.8em;
    padding-bottom: 10px;
}

/* coffee products title */
.et_pb_wc_title_0_tb_body h1 {
    font-family: 'EB Garamond', Georgia, Cardo;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.8em;
    padding-bottom: 10px;
}

.subheading, .subheading p, .subheading body, .coffee-footer a {
    font-family: Cardo;
    font-size: clamp(16px, 1.5vw, 24px);
    font-weight: 500;
    line-height: 1.3em;
}

.woocommerce-loop-product__title {
        font-family: 'EB Garamond', Georgia, Cardo!important;
	text-transform: capitalize;

}
.highlight-red {
    color: #9f2743!important; /* Replace with your brand's red color */
}

/* 📌 Main Split Menu Styling */
.custom-split-menu {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Ensures left and right navs take up full width */
.split-nav ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 📌 Style the Main Menu Items */
.split-nav li {
  position: relative; /* Needed for dropdown positioning */
}

.split-nav li a {
  text-decoration: none;
  font-variant: small-caps;
  font-family: 'EB Garamond', Georgia, Cardo;
  font-size: clamp(13px, 1.75vw, 22px);
  font-weight: 400;
  color: #fcf2df !important;
  padding: 8px 12px;
  position: relative;
  transition: color 0.3s ease-in-out;
  display: flex;
  align-items: center; /* Keeps text and arrow aligned */
}

/* 📌 Add a Downward Arrow for Items with Dropdowns */
.has-dropdown > a::after {
  content: " \25BE"; /* Unicode downwards arrow ▼ */
  font-size: 0.8em;
  margin-left: 6px;
  transition: transform 0.2s ease-in-out;
}

/* Rotate Arrow on Hover */
.has-dropdown:hover > a::after {
  transform: rotate(90deg);
}

/* 📌 DROPDOWN MENU STYLING */
.sub-menu {
  display: none; /* Initially hidden */
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-top: 3px solid #9f2743;
  list-style: none;
  padding: 0;
  width: 200px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.has-dropdown .sub-menu {
	display: none;
	}
/* 📌 Show Dropdown ONLY on Hover */
.has-dropdown:hover .sub-menu {
  display: block;
}

/* Stacked Dropdown Menu Items */
.sub-menu li {
  padding: 10px 15px;
  width: 100%;
}

/* 📌 Style Dropdown Links */
.sub-menu li a {
  font-family: 'EB Garamond', Georgia, Cardo;
  font-size: 16px;
  color: #085076 !important;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 10px 15px;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* 📌 Hover Effect for Dropdown */
.sub-menu li a:hover {
  background: #f4f4f4;
  color: #9f2743 !important;
}

/* 📌 Account & Cart Icons */
.account-icon, .cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.account-icon a::before,
.cart-icon a::before {
  font-family: 'ETmodules';
  font-size: 1.5em;
  color: #fcf2df;
}

.account-icon a::before {
  content: '\e08a';
}
.cart-icon a::before {
  content: '\e07a';
}

/* 📌 Optionally Hide Cart Icon on Mobile */
@media (max-width: 1365px) {
  .cart-icon {
    display: none !important;
  }
}

/* 📌 Mobile Optimization */
@media (max-width: 980px) {
  .split-logo-slot img {
    max-width: 120px;
  }
}


/* -------------- HERO SECTION STYLES -------------- */
.hero-section {
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem 1rem; /* Responsive spacing */
	box-sizing: border-box;
	overflow: hidden; /* Prevents cropping */
	text-align: center;
}

/* ------------- WOO ------------------- */

/* Side Cart */
.divilife-wsc-icon-cross::before {
  content: "\51"!important;
}

/* Hide Checkout button, user journey to basket for coupon use */
.divilife-wsc-footer-b a.divilife-wsc-chkt { 
	display: none !important; 
}


/* Hide the Divi Life icon inside single product ATC buttons */
.single-product .single_add_to_cart_button .divilife-wsc-icon-atc{
  display: none !important;
}

/* ----------------------- POP Up ------------------------------ */
.fluentform_wrapper_4 .ff_t_c {
    text-align: center;
    color: #ffffff !important;
}