/*======================================
Theme Name: ecommerce
Theme URI: https://divicake.com/
Description: ecommerce-chield
Version: 1.0
Author: Dipankar
Author URI: https://divicake.com/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

/* CommLend Global Header (Figma) */
/* Menu item spacing: Figma items have 10px padding + 16px gap (36px between labels). */
.cl-header-menu .et-menu > li {
	padding-left: 18px;
	padding-right: 18px;
}
/* Current page link: Figma shows the active item in DM Sans 600 (top level, dropdown and mobile menu). */
.et-l--header .cl-header-menu li.current-menu-item > a,
.et-l--header .cl-header-menu li.current-menu-ancestor > a {
	font-weight: 600;
}
/* "Discuss your deal" arrow: exact Figma vector (14.55 x 10.95, white), 6px after the label. */
body #page-container .et_pb_section .et_pb_button.cl-btn-arrow::after {
	content: "" !important;
	display: inline-block !important;
	position: static !important;
	opacity: 1 !important;
	width: 14.55px;
	height: 10.95px;
	margin: 0 0 0 6px !important;
	vertical-align: 0;
	font-size: 0 !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='145.25 3.2 14.55 10.95'%3E%3Cpath fill='%23fff' d='M159.215 5.16063L152.043 3.239C151.853 3.19141 151.651 3.22067 151.481 3.32047C151.312 3.42027 151.188 3.58264 151.138 3.77259C151.087 3.96255 151.112 4.16489 151.209 4.33605C151.306 4.50721 151.466 4.63348 151.655 4.68767L157.078 6.1407L145.656 12.7354C145.483 12.8349 145.358 12.9987 145.306 13.1909C145.255 13.383 145.282 13.5877 145.381 13.76C145.481 13.9322 145.644 14.0579 145.837 14.1094C146.029 14.1609 146.233 14.1339 146.406 14.0345L157.828 7.43974L156.375 12.8625C156.348 12.9582 156.34 13.0585 156.351 13.1574C156.363 13.2563 156.394 13.3519 156.443 13.4385C156.492 13.5252 156.558 13.6012 156.637 13.6622C156.716 13.7232 156.806 13.7679 156.902 13.7936C156.998 13.8194 157.098 13.8258 157.197 13.8123C157.296 13.7989 157.391 13.766 157.477 13.7154C157.562 13.6649 157.637 13.5978 157.697 13.518C157.757 13.4382 157.8 13.3473 157.824 13.2507L159.745 6.07905C159.797 5.88695 159.77 5.68228 159.67 5.51005C159.571 5.33782 159.407 5.21213 159.215 5.16063Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* CommLend Global Header: tablet and phone menu */
@media (max-width: 980px) {
	/* Menu fills the space after the logo so the toggle sits at the right edge (the CTA is hidden here). */
	.cl-header-menu,
	.cl-header-menu .et_pb_menu_inner_container {
		flex: 1 1 auto;
	}
	.et-l--header .cl-header-menu .et_pb_menu__wrap {
		margin-left: auto;
	}
	/* The CTA is hidden below 981px; drop its empty wrapper so it takes no gap. */
	.et-l--header .et_pb_button_module_wrapper {
		display: none;
	}
	/* Open menu spans the full header row, under the header line. */
	.et-l--header .et_pb_column,
	.cl-header-menu,
	.cl-header-menu .et_pb_menu_inner_container {
		position: static;
	}
	/* Open menu hangs from the header line, inset to the content width like the reference site. */
	.cl-header-menu .et_mobile_menu {
		top: 100%;
		left: calc((100% - min(90%, 1440px)) / 2);
		width: min(90%, 1440px);
	}
}

/* CommLend Global Header: desktop dropdown */
@media (min-width: 981px) {
	.cl-header-menu .et-menu li ul.sub-menu {
		width: auto;
		min-width: 240px;
	}
	.cl-header-menu .et-menu li li {
		display: block;
	}
	/* Keyboard: open the dropdown while focus is inside it (Divi only opens on mouse hover). */
	.cl-header-menu .et-menu li.menu-item-has-children:focus-within > ul.sub-menu {
		visibility: visible;
		opacity: 1;
	}
	.cl-header-menu .et-menu li li a {
		width: auto;
		white-space: nowrap;
	}
}

/* CommLend Global Header: smooth mobile accordion (with js/cl-mobile-menu.js) */
.et-l--header .cl-header-menu.et_pb_menu--collapsible-mobile .et_mobile_menu li.menu-item-has-children > .sub-menu {
	display: block !important;
	height: 0;
	overflow: hidden;
	visibility: hidden !important;
	transition: height 0.3s ease, visibility 0s linear 0.3s;
}
.et-l--header .cl-header-menu.et_pb_menu--collapsible-mobile .et_mobile_menu li.menu-item-has-children.et_pb_collapsible_menu_open > .sub-menu {
	visibility: visible !important;
	transition: height 0.3s ease, visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
	.et-l--header .cl-header-menu.et_pb_menu--collapsible-mobile .et_mobile_menu li.menu-item-has-children > .sub-menu {
		transition: none;
	}
}

/* CommLend Global Header: sticky mobile menu fits the screen */
@media (max-width: 980px) {
	/* The header is sticky, so the open menu scrolls inside itself instead of running off-screen. */
	.cl-header-menu .et_mobile_menu {
		max-height: calc(100vh - 140px);
		max-height: calc(100dvh - 140px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

/* CommLend buttons: Figma right arrow */
body #page-container .et_pb_section .et_pb_button.cl-btn-arrow-right::after,
body #page-container .et_pb_section .et_pb_button.cl-btn-arrow-right-dark::after {
	content: "" !important;
	display: inline-block !important;
	position: static !important;
	opacity: 1 !important;
	width: 27.67px;
	height: 10.06px;
	margin: 0 0 0 10px !important;
	vertical-align: middle;
	font-size: 0 !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='179 25.44 27.67 10.06'%3E%3Cpath fill='%23fff' d='M206.043 31.0664H179.569C179.254 31.0664 179 30.812 179 30.4971C179 30.1822 179.254 29.9278 179.569 29.9278H204.667L201.212 26.4727C200.99 26.2503 200.99 25.8892 201.212 25.6668C201.435 25.4444 201.796 25.4444 202.018 25.6668L206.447 30.095C206.61 30.2587 206.658 30.5024 206.569 30.7159C206.48 30.9277 206.272 31.0664 206.043 31.0664Z M201.609 35.5001C201.463 35.5001 201.317 35.445 201.207 35.3329C200.985 35.1105 200.985 34.7493 201.207 34.5269L205.641 30.0934C205.863 29.871 206.224 29.871 206.447 30.0934C206.669 30.3158 206.669 30.6769 206.447 30.8993L202.013 35.3329C201.901 35.445 201.755 35.5001 201.609 35.5001Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
body #page-container .et_pb_section .et_pb_button.cl-btn-arrow-right-dark::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='179 25.44 27.67 10.06'%3E%3Cpath fill='%23142E36' d='M206.043 31.0664H179.569C179.254 31.0664 179 30.812 179 30.4971C179 30.1822 179.254 29.9278 179.569 29.9278H204.667L201.212 26.4727C200.99 26.2503 200.99 25.8892 201.212 25.6668C201.435 25.4444 201.796 25.4444 202.018 25.6668L206.447 30.095C206.61 30.2587 206.658 30.5024 206.569 30.7159C206.48 30.9277 206.272 31.0664 206.043 31.0664Z M201.609 35.5001C201.463 35.5001 201.317 35.445 201.207 35.3329C200.985 35.1105 200.985 34.7493 201.207 34.5269L205.641 30.0934C205.863 29.871 206.224 29.871 206.447 30.0934C206.669 30.3158 206.669 30.6769 206.447 30.8993L202.013 35.3329C201.901 35.445 201.755 35.5001 201.609 35.5001Z'/%3E%3C/svg%3E");
}

/* CommLend hero: "The right capital." in Figma olive (global Secondary colour) */
.cl-hero-title em {
	font-style: normal;
	color: var(--gcid-secondary-color);
}

/* CommLend buttons: Figma up-right arrow in teal (footer CTA) */
body #page-container .et_pb_section .et_pb_button.cl-btn-arrow.cl-btn-arrow-teal::after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='145.25 3.2 14.55 10.95'%3E%3Cpath fill='%23142E36' d='M159.215 5.16063L152.043 3.239C151.853 3.19141 151.651 3.22067 151.481 3.32047C151.312 3.42027 151.188 3.58264 151.138 3.77259C151.087 3.96255 151.112 4.16489 151.209 4.33605C151.306 4.50721 151.466 4.63348 151.655 4.68767L157.078 6.1407L145.656 12.7354C145.483 12.8349 145.358 12.9987 145.306 13.1909C145.255 13.383 145.282 13.5877 145.381 13.76C145.481 13.9322 145.644 14.0579 145.837 14.1094C146.029 14.1609 146.233 14.1339 146.406 14.0345L157.828 7.43974L156.375 12.8625C156.348 12.9582 156.34 13.0585 156.351 13.1574C156.363 13.2563 156.394 13.3519 156.443 13.4385C156.492 13.5252 156.558 13.6012 156.637 13.6622C156.716 13.7232 156.806 13.7679 156.902 13.7936C156.998 13.8194 157.098 13.8258 157.197 13.8123C157.296 13.7989 157.391 13.766 157.477 13.7154C157.562 13.6649 157.637 13.5978 157.697 13.518C157.757 13.4382 157.8 13.3473 157.824 13.2507L159.745 6.07905C159.797 5.88695 159.77 5.68228 159.67 5.51005C159.571 5.33782 159.407 5.21213 159.215 5.16063Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* CommLend buttons: Figma right arrow in lime (dark card links) */
body #page-container .et_pb_section .et_pb_button.cl-btn-arrow-right.cl-btn-arrow-right-lime::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='179 25.44 27.67 10.06'%3E%3Cpath fill='%23C6E98C' d='M206.043 31.0664H179.569C179.254 31.0664 179 30.812 179 30.4971C179 30.1822 179.254 29.9278 179.569 29.9278H204.667L201.212 26.4727C200.99 26.2503 200.99 25.8892 201.212 25.6668C201.435 25.4444 201.796 25.4444 202.018 25.6668L206.447 30.095C206.61 30.2587 206.658 30.5024 206.569 30.7159C206.48 30.9277 206.272 31.0664 206.043 31.0664Z M201.609 35.5001C201.463 35.5001 201.317 35.445 201.207 35.3329C200.985 35.1105 200.985 34.7493 201.207 34.5269L205.641 30.0934C205.863 29.871 206.224 29.871 206.447 30.0934C206.669 30.3158 206.669 30.6769 206.447 30.8993L202.013 35.3329C201.901 35.445 201.755 35.5001 201.609 35.5001Z'/%3E%3C/svg%3E");
}

/* CommLend text links: reference hover colour on the arrow too (#64854B) */
body #page-container .et_pb_section .et_pb_button.cl-textlink:hover::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='179 25.44 27.67 10.06'%3E%3Cpath fill='%2364854B' d='M206.043 31.0664H179.569C179.254 31.0664 179 30.812 179 30.4971C179 30.1822 179.254 29.9278 179.569 29.9278H204.667L201.212 26.4727C200.99 26.2503 200.99 25.8892 201.212 25.6668C201.435 25.4444 201.796 25.4444 202.018 25.6668L206.447 30.095C206.61 30.2587 206.658 30.5024 206.569 30.7159C206.48 30.9277 206.272 31.0664 206.043 31.0664Z M201.609 35.5001C201.463 35.5001 201.317 35.445 201.207 35.3329C200.985 35.1105 200.985 34.7493 201.207 34.5269L205.641 30.0934C205.863 29.871 206.224 29.871 206.447 30.0934C206.669 30.3158 206.669 30.6769 206.447 30.8993L202.013 35.3329C201.901 35.445 201.755 35.5001 201.609 35.5001Z'/%3E%3C/svg%3E");
}

/* CommLend buttons: Figma right arrow in olive (loan card links) */
body #page-container .et_pb_section .et_pb_button.cl-btn-arrow-right-dark.cl-btn-arrow-right-olive::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='179 25.44 27.67 10.06'%3E%3Cpath fill='%236B8362' d='M206.043 31.0664H179.569C179.254 31.0664 179 30.812 179 30.4971C179 30.1822 179.254 29.9278 179.569 29.9278H204.667L201.212 26.4727C200.99 26.2503 200.99 25.8892 201.212 25.6668C201.435 25.4444 201.796 25.4444 202.018 25.6668L206.447 30.095C206.61 30.2587 206.658 30.5024 206.569 30.7159C206.48 30.9277 206.272 31.0664 206.043 31.0664Z M201.609 35.5001C201.463 35.5001 201.317 35.445 201.207 35.3329C200.985 35.1105 200.985 34.7493 201.207 34.5269L205.641 30.0934C205.863 29.871 206.224 29.871 206.447 30.0934C206.669 30.3158 206.669 30.6769 206.447 30.8993L202.013 35.3329C201.901 35.445 201.755 35.5001 201.609 35.5001Z'/%3E%3C/svg%3E");
}

/* CommLend FAQ accordion: Home "What are you financing?" row style */
.cl-faq .et_pb_accordion { counter-reset: cl-faq; }
.cl-faq .et_pb_accordion .et_pb_toggle { counter-increment: cl-faq; transition: none; }
.cl-faq .et_pb_accordion .et_pb_toggle_title { padding-left: 68px; padding-right: 41px; }
.cl-faq .et_pb_accordion .et_pb_toggle_title::after {
	content: counter(cl-faq, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	font-family: 'DM Sans', Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 32px;
	letter-spacing: 0;
	color: var(--gcid-body-color);
}
.cl-faq .et_pb_accordion .et_pb_toggle_title::before {
	content: "" !important;
	right: 10px;
	top: 8px;
	margin-top: 0;
	width: 21px;
	height: 15.67px;
	background: url("/wp-content/uploads/2026/11/commlend-arrow-up-right-olive.svg") no-repeat center / contain;
	transition: transform 0.2s;
}
.cl-faq .et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title::before { display: block; transform: rotate(90deg); }
.cl-faq .et_pb_accordion .et_pb_toggle_content { padding: 12px 41px 0 68px; }
@media (max-width: 767px) {
	.cl-faq .et_pb_accordion .et_pb_toggle_title { padding-left: 44px; }
	.cl-faq .et_pb_accordion .et_pb_toggle_content { padding-left: 44px; padding-right: 0; }
}

/* CommLend Get financing: full-width image captcha (plugin forces inline-block; no setting for it) */
.cl-getfin-body .captcha-image {
	display: block;
}

/* CommLend Single Post: article spacing (Post Content module has no per-element spacing setting) */
.cl-post-body .et_pb_post_content :is(h2, h3, h4):not(:first-child) {
	padding-top: 22px;
}
.cl-post-body .et_pb_post_content .wp-block-image {
	margin: 30px 0;
}
