.mmm-mega {
  display: none;
  position: absolute;
  left: 0;
  top: 85px;
  max-width: 1920px;
  margin: 0 auto;
  background: rgba(255, 250, 243, 0.94);
  padding: 30px 60px;
  box-sizing: border-box;
  z-index: 9999;
  left: 0;
  right: 0;
  width: 100%;
}

.mmm-inner {
  max-width: 100%;
  margin: 0 auto;
}

.mmm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mmm-header h3 {
	margin: 0;
	font-size: 34px;
	color: #2e3d37;
	font-family: "Chronicle Display A";
	font-weight: 500;
}

.mmm-cta {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 14px;
  margin-top: 15px;
}

.mmm-close {
  cursor: pointer;
  margin-left: 18px;
  font-weight: 700;
  font-size: 12px;
}

.mmm-border {
  border-bottom: 1px solid #e6ded6;
  margin-bottom: 20px;
}

/* Default grid - 4 columns when NO links */
.mmm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 24px;
  flex: 1;
}

/* When links exist - 2 columns grid */
.mmm-wrapper.has-submenu .mmm-grid {
  grid-template-columns: repeat(2, 1fr);
  flex: 2;
}

/* NEW: Single image with links - Full width */
.mmm-wrapper.has-submenu.single-image .mmm-grid {
  grid-template-columns: 1fr;
  flex: 2;
}

/* Make single image taller when it's full width */
.mmm-wrapper.has-submenu.single-image .mmm-item img {
  height: 250px;
}

.mmm-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.mmm-item p {
  text-align: center;
  margin: 20px 0 0;
font-family: "Chronicle Display A";
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.6;
  font-weight: 400;
}

@media(max-width:1023px) {
  .mmm-mega {
    display: none !important;
  }
}

/* Mega Menu Wrapper Flex */
.mmm-wrapper {
  display: flex;
  gap: 50px;
}

.mmm-submenu {
  flex: 1;
}

/* Custom links area */
.mmm-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.mmm-links ul {
  width: 100%;
}

.mmm-links ul li {
	line-height: normal;
	display: flex;
	align-items: center;
	justify-content: space-between;

	padding: 12px 0;
}
.mmm-links ul li+li{
	border-top: 1px solid #ddd;
}

.mmm-links .mmm-link-item {
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	width: 100%;
	align-items: center;
	color: #2e3d37;
	font-weight: 500;
	font-family: "Chronicle Display A";
	text-transform: capitalize;
  font-size: 20px;
}

.top-right {
  display: flex;
  flex-direction: column-reverse;
  line-height: normal;
  align-items: end;
}

/* CHEVRON/DROPDOWN ARROW STYLING */
.mmm-chevron {
  font-size: 12px;
  margin-left: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
  color: inherit;
}

/* Rotate chevron when mega menu is open */
.menu-item:hover .mmm-chevron {
  transform: rotate(180deg);
}

/* Alternative chevron using CSS arrow instead of unicode */
.mmm-chevron-alt {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.menu-item:hover .mmm-chevron-alt {
  transform: rotate(180deg);
}

/* Only show chevron on menu items that have mega menu data */
.has-mega-menu {
  position: relative;
}

.has-mega-menu.menu-link.active .ast-icon.icon-arrow {
  rotate: 180deg;
  margin-right: -10px;
  top: 43%;
}

/* new */


/* Fix for positioning under specific menu item (not page center) */
.mmm-mega.mmm-reduced-width {
  max-width: 250px;
  width: 250px;
  padding: 15px 20px;
  transform: none;
  /* Remove page centering transform */
  right: auto;
  margin-left: 0;
  /* Align with parent menu item */
  left: auto;
  /* Remove page centering */

}

/* Adjust spacing for reduced width */
.mmm-mega.mmm-reduced-width .mmm-header {
  margin-bottom: 8px;
}

.mmm-mega.mmm-reduced-width .mmm-border {
  margin-bottom: 12px;
}

.mmm-mega.mmm-reduced-width .mmm-links ul li {
  padding: 8px 0;
  /* Reduced padding for links */
}