/* ============================================================
   SITE-WIDE HEADER STYLES
   Shared by design.php, categories.php, account.php
   ============================================================ */

/* ---- Scrollbar variables (needed by cat-header) ----------- */
:root {
	--scrollbar-width-thin: 4px;
	--scrollbar-width-thick: 4px;
	--scrollbar-thumb-color: #B1B1B1;
	--scrollbar-thumb-hover-color: #888;
	--scrollbar-track-color: transparent;
	--scrollbar-border-radius: 4px;
}

/* ---- Cat-header horizontal scrollbar ---------------------- */
.cat-header::-webkit-scrollbar {
	height: var(--scrollbar-width-thin);
}

.cat-header:hover::-webkit-scrollbar {
	height: var(--scrollbar-width-thick);
}

.cat-header::-webkit-scrollbar-track {
	background: var(--scrollbar-track-color);
}

.cat-header::-webkit-scrollbar-thumb {
	background: var(--scrollbar-thumb-color);
	border-radius: var(--scrollbar-border-radius);
}

.cat-header::-webkit-scrollbar-thumb:hover {
	background: var(--scrollbar-thumb-hover-color);
}

/* ---- Header: main bar ------------------------------------- */
.header-main {
	background: linear-gradient(90deg, #5298A1 0%, #006775 50%, #5298A1 100%);
	padding: 10px 30px;
	display: flex;
	justify-content: space-between;
}

.user_cart {
	display: flex;
	justify-content: flex-end;
	grid-gap: 15px;
	align-content: center;
	align-items: center;
	color: #fff;
}

.design_logo img {
    width: 110px;
    position: relative;
    top: 5px;
    transition: transform 0.2s ease, filter 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.design_logo img:hover {
        transform: translateY(-1px) scale(1.05);
    }

.design_logo img:active {
    transform: translateY(0) scale(0.92) !important;
    transition: all 0.05s;
}

.header-account {
	cursor: pointer;
}

/* editor_logo: visible only when .design.block-center is active (design page) */
.editor_logo {
	display: none;
}

.design.block-center .editor_logo {
	display: block;
}

.design.block-center .editor_logo img {
	max-height: 40px;
}

.design.block-center .user_cart {
	z-index: 100;
	background: linear-gradient(to right, #5298A1 0%, #006775 50%, #5298A1 100%);
	color: #fff;
	position: relative;
	padding: 20px;
	align-items: center;
}

.design.block-center .editor_logo {
	display: block;
	flex: 1;
}

/* ---- Category pills --------------------------------------- */
.cat_item {
	padding: 3px 12px 1px;
	border-radius: 50px;
	cursor: pointer;
	background: #fff;
	font-size: 14px;
	letter-spacing: -0.05px;
	white-space: nowrap;
	text-align: center;
	display: flex;
	width: 100%;
	min-width: fit-content;
	color: #5a6162;
	border: 1px solid #fff;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.cat_item span {
	padding: 2px;
	white-space: nowrap;
	text-align: center;
	font-weight: 600;
	display: inline-block;
}

.cat_image {
	display: inline-block;
	width: 20px;
	height: 20px;
	z-index: 9;
	border-radius: 50px;
	position: relative;
	left: -4px;
	top: -1px;
}

.hb-lang .cat_image {
	left: auto;
	right: -12px;
}

.hb-lang .cat_item {
	flex-direction: row-reverse;
}

.active .cat_item	{
	border: 1px solid #A7B7BD;
	cursor: pointer;
	color: #000;
}

.cat_item:hover {
	background: #D7DFE2;
	color:#000;
}


/*
.cat_item.active {
	background: #D7DFE280;
	pointer-events: none;
	cursor: pointer;
	color: #000;
}

.cat-group.active
.cat_item.active:hover ,
.cat_item:not(.active):hover {
	background: #D7DFE2;
	color:#000;
	box-shadow: 0.5px 1px 2px rgba(0, 0, 0, 0.15);
	transform: translateY(-1px);
	border-color: #c1c7cb;
}

.cat_item:not(.active):active {
 	transform: translateY(1px) scale(0.98);
	background: #FAFAFA;
	transition: all 0.05s ease;
}*/


/* ---- Category groups (leader + related) ------------------- */
.cat-group {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	border-radius: 50px;
}



/*---------------------------------------------------------------------------------------------------
.cat-group.active {
	background: #f3f3f3;
	padding: 5px 8px;
	gap: 5px;
}
.cat-group.active .cat_item.active {
	background: linear-gradient(to right, #5298A1 0%, #006775 100%);
	color: #fff;
	border-color: transparent;
	background: #fff;
	pointer-events: auto;
    cursor: default;
	transition: transform 0.1s ease, box-shadow 0.2s ease, filter 0.2s;
}
.cat-group.active .cat_item.active:hover {
    filter: brightness(1.1);
    box-shadow: 0.5px 1px 2px rgba(0, 103, 117, 0.25);
    transform: translateY(-1px);
}
.cat-group.active .cat_item.active:active {
	background: #D7DFE2;
	transform: translateY(1px) scale(0.97);
    filter: brightness(0.9);
    box-shadow: none;
    transition: all 0.05s ease;
}
---------------------------------------------------------------------------------------------------*/

.cat-slider-track.is-dragging .cat_item {
	pointer-events: none;
}

.cat-slider-viewport.is-dragging {
	cursor: grabbing;
}

/* ---- Search box ------------------------------------------- */
.cat-search {
	width: 40px;
	position: relative;
	transition: all 0.3s ease-in-out;
}

.cat-search.active {
	width: 250px;
}

.search-box {
	display: flex;
	border: 1px solid #D7DFE2;
	border-radius: 20px;
	overflow: hidden;
	width: 40px;
	transition: all 0.3s ease;
	padding-right: 10px;
}

.cat-search.active .search-box {
	background: #fff;
	width: 250px;
	max-width: 100%;
	border: 0.5px solid #576064;

}

.search-box i {
	display: flex;      
    align-items: center;
    width: 33px;           
    font-size: 13px;
	padding: 5px 8px;
	cursor: pointer;
	color: #D7DFE2;
}

.cat-search.active .search-box i {
	color: #A7B7BD;
}

.search-box:hover {
	border: 0.5px solid #576064;
}

.search-box:hover i {
    color: #576064;
}


.cat-input {
	display: block;
	width: 100%;
	border: 0 none;
	height: 26px;
	background: transparent;
	outline: 0;
	padding: 0;
	margin: 0;
	color: #576064;
}

.search_list {
	position: absolute;
	z-index: 12;
	background: #fff;
	border-radius: 10px;
	padding: 10px;
	font-size: 13px;
	width: max-content;
	min-width: 250px;
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
}

.search_item {
	display: block;
	padding: 5px;
	cursor: pointer;
	color: #000;
}

.search_item:hover {
	background: #FAFAFA;
}

/* ---- Cat-header bar --------------------------------------- */
.cat-header {
	display: flex;
	align-items: center;
	padding: 5px 30px;
	box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.15);
	background: #FFFFFF;
	position: relative;
	z-index: 999;
}

.preview_open .cat-header {
	z-index: 9;
}

/* ---- Desktop cat-menu icon -------------------------------- */
#desktop-cat-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-right: 10px;
	height: 30px;
	width: 40px;
	transition: background 0.2s ease;
	position: relative;
}
#desktop-cat-menu::after {
 content: "";
    position: absolute;
    left: 45px; 
    height: 70%;
    width: 1px;
    background-color: #ebeff2;
}

#desktop-cat-menu i {
	color: #A7B7BD;
	font-size: 17px;
}

#desktop-cat-menu:hover i {
	color: #576064;
}

/* ---- Custom Cat Slider ------------------------------------ */
.cat-slider-container {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	margin-left: 10px;
	margin-right: 10px;
	position: relative;
}

.cat-slider-viewport {
	flex: 1;
	min-width: 0;
	overflow-x: scroll;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.cat-slider-viewport::-webkit-scrollbar {
	display: none;
}

.cat-slider-track {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 2px 0;
	user-select: none;
	justify-content: safe center;
}

.cat-slider-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #A7B7BD;
	font-size: 10px;
	padding: 8px 7px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	transition: color 0.2s;
	border-radius: 25px;
	border: solid 0.5px #fff;
}

.cat-slider-btn:hover {
	color: #818d91;
	border: solid 0.5px #e8ecf1;
	box-shadow: 0.5px 1px 1px rgba(0, 0, 0, 0.05);
}

.cat-slider-btn:active {
    transform: scale(0.85);  
    transition: all 0.05s;
}

/* ---- Notification bar ------------------------------------- */
.notification {
	position: fixed;
	bottom: -60px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 442px;
	z-index: 9999;
	max-width: 90%;
	text-align: center;
	background: #006775;
	color: #fff;
	padding: 10px;
	border-radius: 10px;
	transition: bottom 0.3s ease;
}

.notification.show {
	bottom: 30px;
}

/* ---- Signin Popup ----------------------------------------- */
.signin_popup {
	display: none;
}

.signin_popup.show {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	align-items: center;
	justify-content: center;
}

.signin_popup .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.signin_popup_content {
	position: relative;
	z-index: 2;
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
}

.signin_form_box {
	background: linear-gradient(to left, #006775 0%, #006775 50%, #5298A1 100%);
	border-radius: 40px;
	text-align: center;
	opacity: 1;
	overflow: hidden;
	padding: 0.5vw;
}

.signin_form_head {
	color: #fff;
	padding: 1.5vw;
	font-size: 2.5vw;
	font-weight: bold;
}

.signin_form_body {
	background: #fff;
	border-bottom-right-radius: 35px;
	border-bottom-left-radius: 35px;
	padding: 3vw;
}

.signin_form_input input {
	font-size: 22px;
	width: 100%;
	border: 1px solid #006775;
	background: #fff;
	text-align: center;
	line-height: 53px;
	border-radius: 25px;
	height: 53px;
	margin-bottom: 0;
}

.signin_form_input input:focus {
	outline: 0 none;
}

.signin_form_input input::placeholder {
	color: #B1B1B1;
	font-weight: 300;
}

.signin_form_input #popup_password {
	margin-top: 28px;
}

.signin_forgot_password {
	font-size: 1.3vw;
	margin-top: 20px;
	display: block;
}

.signin_form_button .btn.btn-primary {
	border: 1px solid #006775;
	line-height: 53px;
	border-radius: 25px;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	background: #006775;
	cursor: pointer;
	height: 53px;
	margin-top: 28px;
}

.signin_form_button .btn.btn-secondary {
	border: 1px solid #000;
	line-height: 53px;
	border-radius: 25px;
	font-size: 20px;
	color: #000;
	cursor: pointer;
	height: 53px;
	margin-top: 28px;
	display: block;
	text-decoration: none;
}

.signin_form_button .google img {
	width: auto;
	vertical-align: top;
	margin-right: 10px;
	height: 100%;
	padding: 2%;
}

.signin_no_account {
	margin-top: 2vw;
	color: #000;
	font-size: 1.3vw;
}

.signin_no_account .link_signup {
	color: #006775;
}

.signin_popup .popup_close {
	position: absolute;
	top: 0;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 2.5vw;
	z-index: 3;
	color: #fff;
	padding: 3.2vw 1vw;
}

.signin-trigger {
	cursor: pointer;
}

#signin-popup-message {
	margin: 15px 0;
	padding: 12px 18px;
	border-radius: 6px;
	font-size: 1rem;
	display: none;
	transition: all 0.3s;
}

#signin-popup-message.success {
	background: #e6ffed;
	color: #207245;
	border: 1px solid #b7ebc6;
}

#signin-popup-message.error {
	background: #fff0f0;
	color: #b71c1c;
	border: 1px solid #f5c6cb;
}

.signin_popup .field-error {
	color: #b71c1c;
	font-size: 0.95em;
	margin: 3px 0 8px 2px;
	display: none;
}

/* ---- Account / User Dropdown ------------------------------ */
.user-account-trigger {
	position: relative;
	cursor: pointer;
}

.user-dropdown {
	position: absolute;
	top: 23px;
	right: -14px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	min-width: 180px;
	margin-top: 5px;
}

.user-dropdown::before {
	content: '';
	position: absolute;
	top: -6px;
	right: 15px;
	width: 12px;
	height: 12px;
	background: #fff;
	border: 1px solid #ddd;
	border-bottom: none;
	border-right: none;
	transform: rotate(45deg);
}

.dropdown-item {
	padding: 12px 16px;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: background-color 0.2s;
	font-size: 14px;
	color: #474747;
	border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
	border-bottom: none;
	border-radius: 0 0 8px 8px;
}

.dropdown-item:first-child {
	border-radius: 8px 8px 0 0;
}

.dropdown-item:hover {
	background-color: #f8f9fa;
}

.dropdown-item i {
	margin-right: 10px;
	width: 16px;
	text-align: center;
	color: #666;
}

.dropdown-item.user-logout {
	color: #dc3545;
}

.dropdown-item.user-logout:hover {
	background-color: #f8d7da;
}

.dropdown-item.user-logout i {
	color: #dc3545;
}

/* ---- Wishlist Heart Styles -------------------------------- */
.wishlist-heart i {
	font-size: 16px;
	color: #A7B7BD;
	transition: all 0.3s ease;
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */

/* Signin popup - mobile */
@media screen and (max-width: 767px) {
	.signin_popup_content {
		width: 95%;
	}

	.signin_form_head {
		padding: 10px;
		font-size: 30px;
	}

	.signin_popup .popup_close {
		font-size: 30px;
		padding: 26px 10px;
	}

	.signin_form_body {
		padding: 45px 30px;
	}

	.signin_form_input input {
		font-size: 16px;
		line-height: 30px;
		height: 30px;
	}

	.signin_form_input #popup_password {
		margin-top: 22px;
	}

	.signin_forgot_password {
		font-size: 16px;
	}

	.signin_form_button .btn.btn-primary {
		line-height: 30px;
		font-size: 20px;
		height: 30px;
		margin-top: 22px;
	}

	.signin_form_button .btn.btn-secondary {
		line-height: 30px;
		font-size: 16px;
		height: 30px;
		margin-top: 22px;
	}

	.signin_no_account {
		font-size: 14px;
	}
	.cat_item {
	font-size: 18px;
	letter-spacing: -0.05px;
	color: #5a6162;
	}
	.cat-group.active {
    position: relative;     
    border: none;          
    border-radius: 0;      
    background: none;
    padding: 5px 15px;
    gap: 7px;
    display: flex;         
    align-items: center;
	}

	.cat-group.active::before,
	.cat-group.active::after {
    content: "";
    position: absolute;           
    height: 50%;          
    width: 0.5px;            
    background-color: #A7B7BD; 
	}

	.cat-group.active::before {
    left: 3px;
	}

	.cat-group.active::after {
    right: 3px;
	}
	.cat_item span {
	padding: 1px 10px 3px;
	white-space: nowrap;
	text-align: center;
	font-weight: 400;
	display: inline-block;
	}
	.cat_image {
    left: 4px;
	}
}

/* Account dropdown - mobile */
@media screen and (max-width: 767px) {
	.user-dropdown {
		min-width: 160px;
		right: -10px;
	}

	.dropdown-item {
		padding: 10px 14px;
		font-size: 13px;
	}

	#related-cats-bar .cat_item span {
	padding: 1px 0 2px;
		}
}

/* Wishlist heart - mobile */
@media screen and (max-width: 767px) {
	.wishlist-heart i {
		font-size: 14px;
	}
}

/* Cat-header on mobile */
@media screen and (max-width: 768px) {

	.cat-header .menu-trigger,
	#desktop-cat-menu {
		display: none !important;
	}

	.cat-slider-container {
		width: 100%;
		margin: 0 !important;
	}

	/* header-main visible on mobile for non-design pages
	   (design.php's own design.css overrides this for mobile) */
	.design-header .header-main {
		display: none;
	}

	.design-header {
		position: sticky;
		top: 60px;
		z-index: 98;
	}

	.cat-search {
		display: none;
	}

	.design_logo img {
		width: 110px;
  	  position: relative;
    	top: 5px;
	}

	.user_cart {
		grid-gap: 10px;
	}

	.cat-header {
		padding: 10px 0 10px;
		background: #F5FAFC;
		box-shadow: none;
	}

	.design-header.is-stuck .cat-header {
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}
}

/* Mobile editor note (shown above slider on design.php) */
.mobile-editor-note {
	background: #fff;
	text-align: center;
	font-size: 12px;
	color: #424a4c;
	padding: 20px 30px;
	line-height: 1.2;
}

/* ============================================================
   CHECKOUT POPUP STYLES (universal — used on all pages)
   ============================================================ */

.checkout_popup {
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
	opacity: 1;
	transition: opacity 0.3s ease;
	display: none;
}

.popup_box.show-flex {
	display: flex;
}

.checkout_popup>.overlay {
	position: absolute;
	width: 100vw;
	height: 100vh;
	background: rgba(6, 6, 6, 0.25);
}

.checkout_popup .popup_content {
	background: #fff;
	border-radius: 25px;
	box-shadow: 0 0px 30px rgba(0, 0, 0, 0.8);
	max-width: 900px;
	text-align: center;
	opacity: 1;
	transform: scale(0.8);
	position: relative;
	overflow: hidden;
	width: 100%;
}

.checkout_popup .popup_close {
	position: absolute;
	top: 30px;
	right: 30px;
	color: #fff;
	font-size: 30px;
	padding: 5px;
	cursor: pointer;
}

.checkout_popup .popup_head {
	background: linear-gradient(to right, #5298A1 0%, #006775 50%, #006775 100%);
	font-size: 40px;
	color: #fff;
	font-weight: 600;
	padding: 30px 20px 20px;
}

.checkout_popup .popup_body {
	padding: 50px 60px;
	max-height: calc(100vh - 50px);
	overflow: auto;
}

.checkout_popup .popup_text {
	font-size: 20px;
	padding-bottom: 20px;
	max-width: 640px;
	margin: 0 auto;
	line-height: 1.25;
	color: #000;
}

.checkout_popup .popup_button .btn {
	background: linear-gradient(to right, #5298A1 0%, #006775 100%);
	font-size: 25px;
	color: #fff;
	border: 0 none;
	border-radius: 40px;
	margin: 0 auto 30px;
	cursor: pointer;
	line-height: 50px;
	font-weight: 600;
	padding: 0 5vw;
	max-width: 100%;
	display: block;
}

.checkout_popup .email-note {
	font-size: 20px;
	color: #000;
}

/* Checkout items list */
.cart_items_summary {
	margin: 25px 0;
	text-align: left;
	max-width: 630px;
	margin-left: auto;
	margin-right: auto;
}

.cart_items_summary h4 {
	font-size: 22px;
	color: #006775;
	margin-bottom: 15px;
	font-weight: 600;
}

.checkout_cart_item {
	display: flex;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid #FAFAFA;
	gap: 15px;
}

.checkout_cart_item:last-child {
	border-bottom: none;
}

.checkout_item {
	display: flex;
	grid-gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid #eeeeee;
}
.checkout_item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.checkout_item_image {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.checkout_item_image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.checkout_item_image i {
	font-size: 24px;
	color: #B1B1B1;
}

.checkout_item_details {
	flex: 1;
}

.checkout_item_name {
	font-size: 18px;
	font-weight: 600;
	color: #474747;
	margin-bottom: 5px;
}

.checkout_item_category {
	font-size: 16px;
	color: #666;
	margin-bottom: 5px;
}

.checkout_item_simcha {
	font-size: 14px;
	color: #006775;
	font-weight: 500;
}

.checkout_item_price {
	font-size: 20px;
	font-weight: 600;
	color: #006775;
}

/* Email section in checkout */
.checkout_email_section {
	margin: 25px 0;
}

.checkout_email_section.hidden {
	display: none;
}

#checkout_email,
.coupon-code-input {
	width: 100%;
	margin: 0 auto;
	font-size: 25px;
	border-radius: 25px;
	border: 0 none;
	line-height: 2;
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
	text-align: left;
	padding: 0px 20px;
	outline: 0;
}

#checkout_email::placeholder,
.coupon-code-input::placeholder {
	color: #A7B7BD;
	font-weight: 300;
}

/* Coupon */
.coupon-label {
	text-align: left;
	color: #000;
	font-size: 15px;
	margin-bottom: 8px;
	margin-left: 15px;
}

.coupon-section {
	margin: 20px 0;
}

.coupon-input-row {
	display: flex;
	gap: 10px;
}

.apply-coupon-btn {
	padding: 4px 25px;
	background: #A7B7BD;
	color: #ffffff;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	box-shadow: 0px 3px 6px rgba(128, 128, 128, 0.25);
	font-size: 20px;
}

.coupon-message {
	font-size: 15px;
	margin-top: 8px;
	text-align: left;
	margin-left: 15px;
}

.coupon-message.success {
	color: #006775;
}

.coupon-message.error {
	color: #BD0404;
}

/* Price breakdown */
.price-breakdown {
	margin: 30px auto 20px;
	padding: 20px 40px;
	background: #F0F7FA;
	border-radius: 25px;
	width: fit-content;
	min-width: 350px;
	font-size: 20px;
}

.price-row {
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
	max-width: 316px;
	color: #000;
}

.price-row.total {
	font-weight: 700;
	margin-top: 5px;
}

.price-row.discount {
	color: #006775;
}

#buy_discounts_container {
	color: #006775;
}

/* Total display */
.card_total {
	text-align: center;
	font-size: 30px;
	margin-bottom: 22px;
}

.card_total div {
	display: inline;
}

.card_info {
	margin-top: 20px;
}

.total-section {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 20px;
	font-weight: 400;
	color: #000;
	width: 100%;
	padding: 10px 6px 0px;
}

/* iFields */
.ifields-container {
	margin-bottom: 0;
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
	border-radius: 25px;
	overflow: hidden;
}

.ifield-iframe {
	width: 100%;
	height: 50px;
	border: 0 none;
	padding: 0;
	font-size: 14px;
}

.ifield-error {
	color: #d9534f;
	font-size: 24px;
	margin-top: 5px;
	display: none;
}

.card-inputs-row {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.card-inputs-row>div {
	flex: 1;
}

#checkout_card_expiry {
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
	border-radius: 25px;
	font-size: 25px;
	border: 0 none;
	line-height: 2;
	text-align: left;
	padding: 0px 20px;
	outline: 0;
}

iframe[data-ifields-id].valid {
	border-color: #006775 !important;
}

iframe[data-ifields-id].invalid {
	border-color: #474747 !important;
}

iframe[data-ifields-id].neutral {
	border-color: #B1B1B1 !important;
}

/* Payment progress */
.payment-progress-container {
	position: relative;
}

.payment-progress-container .overlay {
	position: fixed;
	width: 100vw;
	height: 100vh;
	background: #006775;
	opacity: 0.5;
	top: 0;
	right: 0;
	left: 0;
	z-index: 99;
}

.progress-box {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #ffffff;
	padding: 40px 30px;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	z-index: 10000;
	min-width: 400px;
	text-align: center;
}

.payment-progress-title {
	color: #fff;
	background: #A7B7BD;
	width: 66px;
	height: 66px;
	display: flex;
	margin: 0 auto;
	align-items: center;
	justify-content: center;
	border-radius: 50px;
	font-size: 35px;
}

.payment-progress-message {
	margin-bottom: 20px;
	font-size: 25px;
	color: #A7B7BD;
	line-height: 1.25;
}

.payment-progress-warning {
	color: #000;
	font-weight: 700;
}

.payment-progress-bar-wrapper {
	background: #FAFAFA;
	border-radius: 4px;
	height: 10px;
	overflow: hidden;
	margin-bottom: 10px;
}

.payment-progress-bar {
	background: #006775;
	height: 100%;
	width: 0%;
	transition: width 0.3s ease;
}

.payment-progress-text {
	font-size: 15px;
	color: #A7B7BD;
}

/* Login option inside checkout */
.login_option {
	margin-top: 15px;
	font-size: 15px;
	color: #A7B7BD;
	text-align: center;
	margin-right: 10px;
}

.login_link_btn {
	background: none;
	border: none;
	color: #A7B7BD;
	font-size: 15px;
	cursor: pointer;
	font-weight: 500;
}

.login_link_btn:hover {
	color: #004c57;
}

/* fadeInUp animation (used by popup_content entry animation) */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: scale(0.8);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Email input wrapper inside checkout popup */
.checkout_popup .popup_input {
	display: flex;
	flex-direction: column;
	grid-gap: 20px;
	margin-bottom: 30px;
}

/* Card info section (iFields card number + expiry/CVV row) */
.checkout_popup .card_info {
	margin-top: 50px;
}

/* Card fields inside checkout — minimal override (ifields handles card number;
   only the expiry text input needs basic reset here) */
.checkout_popup .card_info input {
	border: 0 none;
	font-size: max(28px, 2vw);
}

.checkout_popup .card_info input:focus {
	outline: 0 none;
}

.checkout_popup .card_info input::placeholder {
	color: #757575;
	font-weight: 300;
}

/* Expiry field width/inline display (mirrors design.css grouped rule) */
#checkout_card_expiry {
	width: 49%;
	display: inline;
	font-family: 'arial';
	font-weight: 500;
}

/* Terms link */
.checkout_popup .term_link {
	margin-bottom: 30px;
	display: inline-block;
	font-size: 20px;
	color: #A7B7BD;
}

/* Checkout popup — tablet responsive */
@media screen and (max-width: 767px) {
	.checkout_popup .popup_content {
		max-width: 95%;
	}

	.checkout_popup .popup_body {
		padding: 25px 30px;
	}

	.cart_items_summary {
		margin: 20px 0;
		max-width: 100%;
	}

	.cart_items_summary h4 {
		font-size: 20px;
		margin-bottom: 12px;
	}

	.checkout_cart_item {
		padding: 12px 0;
		gap: 12px;
	}

	.checkout_item_image {
		width: 55px;
		height: 55px;
	}

	.checkout_item_name {
		font-size: 16px;
	}

	.checkout_item_category {
		font-size: 14px;
	}

	.checkout_item_price {
		font-size: 18px;
	}

	#checkout_email,
	.coupon-code-input {
		padding: 0 15px;
		font-size: 20px;
	}

	.apply-coupon-btn {
		font-size: 20px;
	}

	.price-breakdown {
		min-width: auto;
		width: 100%;
	}

	.ifield-iframe {
		height: 36px;
	}

	.login_option {
		font-size: 16px;
	}

	.login_link_btn {
		font-size: 16px;
	}
}

/* Checkout popup — mobile responsive */
@media screen and (max-width: 480px) {
	.checkout_popup .popup_content {
		max-width: 98%;
	}

	.cart_items_summary {
		margin: 15px 0;
	}

	.cart_items_summary h4 {
		font-size: 18px;
		margin-bottom: 10px;
	}

	.checkout_cart_item {
		padding: 10px 0;
		gap: 10px;
	}

	.checkout_item_image {
		width: 50px;
		height: 50px;
	}

	.checkout_item_name {
		font-size: 14px;
	}

	.checkout_item_category {
		font-size: 12px;
	}

	.checkout_item_price {
		font-size: 16px;
	}

	.login_option {
		font-size: 14px;
	}

	.login_link_btn {
		font-size: 14px;
	}
}

/* ---- Hamburger / Mobile Navigation bar -------------------- */
.hamburger-menu {
	display: none;
}

/* ---- Expandable header search (desktop + mobile) ---------- */
.header-search-wrapper {
	display: flex;
	align-items: center;
}

.search-trigger-icon {
	font-size: 20px;
	cursor: pointer;
	color: #333;
}

.search-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 1000;
	align-items: center;
	padding: 0 15px;
	box-sizing: border-box;
}

.header-search-wrapper.active .search-overlay {
	display: flex;
}

.search-input-group {
	display: flex;
	align-items: center;
	width: 100%;
	background: #f5f5f5;
	border-radius: 50px;
	padding: 8px 15px;
}

.search-input-group input {
	flex: 1;
	border: none;
	background: transparent;
	outline: none;
	font-size: 16px;
	margin: 0 10px;
}

.search-input-group .close-search {
	font-size: 18px;
	color: #999;
	cursor: pointer;
	padding: 5px;
}

.search-overlay .search_list {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	border-top: 1px solid #eee;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	max-height: 300px;
	overflow-y: auto;
}

/* ---- Desktop: hide mobile-only search icon ---------------- */
@media (min-width: 769px) {
	.header-search-wrapper.mobile-only {
		display: none;
	}
}

/* ---- Mobile navigation bar -------------------------------- */
@media screen and (max-width: 768px) {
	.hamburger-menu {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: flex-start !important;
		background: linear-gradient(to right, #5298A1 0%, #006775 100%);
		width: 100%;
		height: 60px;
		padding: 0 15px !important;
		gap: 10px;
		position: sticky;
		top: 0;
		z-index: 99;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		box-sizing: border-box;
		overflow: hidden;
	}

	.hamburger-menu.open {
		z-index: 1000;
	}

	#hamburger {
		order: 1;
		font-size: 20px;
		color: #CCE1E3;
		padding: 0;
		cursor: pointer;
		margin-right: 0;
	}

	.logo-mobile {
		order: 2;
		position: static;
		transform: none;
		display: flex;
		align-items: center;
	}

	.logo-mobile img {
		height: 20px;
		width: auto;
		display: block;
	}

	.header-search-wrapper {
		order: 3;
		margin-left: auto;
	}

	.cart-mobile-wrapper {
		order: 4;
		display: flex;
		align-items: center;
	}

	.cart-mobile-wrapper .cart {
		color: #fff;
		display: flex;
		align-items: center;
		position: relative;
	}

	.cart-mobile-wrapper .cart > i {
		color: #CCE1E3;
		font-size: 18px;
		cursor: pointer;
	}

	.cart-mobile-wrapper .cart-badge {
		background: #fff;
		color: #006775;
	}

	.lang-toggle-mobile {
		order: 5;
		display: flex;
	}

	.header-search-wrapper.mobile-only {
		display: flex !important;
		align-items: center;
	}

	.search-trigger-icon i {
		color: #CCE1E3 !important;
		font-size: 18px;
		cursor: pointer;
	}

	.header-search-wrapper.active .search-overlay {
		display: flex !important;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 60px;
		background: #fff;
		z-index: 9999;
		padding: 0 15px;
		align-items: center;
	}

	.search-input-group {
		display: flex;
		width: 100%;
		background: #f1f3f4;
		border-radius: 50px;
		padding: 5px 15px;
		align-items: center;
	}

	.search-input-group input {
		border: none;
		background: transparent;
		width: 100%;
		padding: 8px;
		outline: none;
		color: #333;
		font-size: 16px;
	}

	.design-header {
		position: sticky;
		top: 60px;
		z-index: 98;
	}
	.cat-slider-btn {
        display: none !important;
    }
}
