/* ==========================================================================
   Akonda Fashion – design layer for the Elementor templates
   ========================================================================== */
:root {
	--ak-black: #111111;
	--ak-red: #E01A32;
	--ak-orange: #F98800;
	--ak-light: #F4F3F2;
	--ak-gray: #ECECEC;
	--ak-border: #DDDDDD;
	--ak-text: #222222;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: var(--ak-text);
	overflow-x: hidden;
}

/* ---------- Header ----------
   Desktop: logo | menu | search bar | account | wishlist | cart
   Mobile/tablet (<=1024px): search icon | logo ...... burger menu */
.ak-header .ak-header-row {
	position: relative;
}
.ak-header .ak-header-row > .e-con-inner {
	flex-wrap: nowrap !important;
	align-items: center;
}
.ak-header .elementor-widget.ak-logo {
	flex: 0 0 auto;
	width: 150px !important;
	max-width: 150px;
	background: var(--ak-black);
	padding: 6px 10px;
	margin: 0;
}
.ak-header .ak-logo img {
	width: 100%;
	height: auto;
	display: block;
}
.ak-header .elementor-widget.ak-nav {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
}
.ak-header .elementor-widget.ak-search {
	flex: 0 1 260px;
	width: 260px !important;
}
.ak-header .elementor-widget.ak-icon,
.ak-header .elementor-widget.ak-cart {
	flex: 0 0 auto;
	width: auto !important;
}
.ak-header .ak-icon .elementor-icon {
	display: flex;
}
.ak-header .ak-search .elementor-search-form__container {
	min-height: 38px;
}
.ak-header .ak-cart .elementor-menu-cart__toggle .elementor-button {
	padding: 4px;
	background: transparent;
}
.ak-header .elementor-widget.ak-search-toggle {
	display: none;
}
.elementor-sticky--effects.ak-header {
	box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

@media (max-width: 1024px) {
	.ak-header .elementor-widget.ak-search-toggle {
		display: block;
		order: 1;
	}
	.ak-header .elementor-widget.ak-logo {
		order: 2;
		width: 120px !important;
		max-width: 120px;
		padding: 5px 8px;
	}
	.ak-header .elementor-widget.ak-nav {
		order: 3;
		flex: 0 0 auto;
		margin-left: auto;
	}
	.ak-header .elementor-widget.ak-account,
	.ak-header .elementor-widget.ak-wishlist,
	.ak-header .elementor-widget.ak-cart {
		display: none;
	}
	/* Search drops down under the header */
	.ak-header .elementor-widget.ak-search {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100% !important;
		padding: 10px 14px;
		background: #fff;
		border-bottom: 1px solid #eee;
		box-shadow: 0 6px 12px rgba(0, 0, 0, .08);
		z-index: 98;
	}
	.ak-header.ak-search-open .elementor-widget.ak-search {
		display: block;
		animation: ak-drop .2s ease;
	}
	.ak-header .ak-nav .elementor-menu-toggle {
		margin-left: auto;
	}
}
@keyframes ak-drop {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Category grid ---------- */
.ak-cat-grid > .e-con-inner,
.e-con-full.ak-cat-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.ak-cat-card {
	text-decoration: none;
	box-shadow: 0 3px 6px rgba(0, 0, 0, .08);
	overflow: hidden;
	background: #fff;
}
.ak-cat-card .ak-cat-img,
.ak-cat-card .ak-cat-img .elementor-widget-container {
	margin: 0;
	line-height: 0;
}
.ak-cat-card .ak-cat-img img {
	width: 100%;
	aspect-ratio: 7 / 6;
	object-fit: cover;
	transition: transform .5s ease;
}
.ak-cat-card:hover .ak-cat-img img {
	transform: scale(1.05);
}
.ak-cat-card .ak-cat-label {
	background: var(--ak-gray);
	padding: 8px 6px;
	position: relative;
	z-index: 1;
}
.ak-cat-card:hover .ak-cat-label .elementor-heading-title {
	color: var(--ak-red);
}

/* ---------- What's New carousel ---------- */
.ak-carousel {
	position: relative;
}
.ak-carousel ul.products {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 16px !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	margin: 0 !important;
	padding: 0 !important;
}
.ak-carousel ul.products::-webkit-scrollbar {
	display: none;
}
.ak-carousel ul.products::before,
.ak-carousel ul.products::after {
	display: none !important;
}
.ak-carousel ul.products li.product {
	flex: 0 0 calc((100% - 48px) / 4) !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	scroll-snap-align: start;
}
.ak-product-grid ul.products li.product {
	position: relative;
	border: 1px solid var(--ak-border);
	padding: 12px !important;
	text-align: left;
	background: #fff;
}
.ak-product-grid ul.products li.product img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: contain;
	margin: 0 !important;
}
.ak-product-grid ul.products li.product .woocommerce-loop-product__title {
	font-size: 13px !important;
	font-weight: 600;
	line-height: 20px;
	height: 20px;
	margin: 10px 0 2px !important;
	padding: 0 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--ak-black);
}
.ak-product-grid ul.products li.product .price {
	display: block;
	font-size: 13px !important;
	line-height: 20px;
	height: 20px;
	margin: 0 !important;
	white-space: nowrap;
	color: var(--ak-black) !important;
	font-weight: 700;
}
.ak-product-grid ul.products li.product .price del {
	color: #999;
	font-weight: 400;
	margin-right: 4px;
}
.ak-product-grid ul.products li.product .price ins {
	text-decoration: none;
	color: var(--ak-red);
}
.ak-product-grid ul.products li.product .onsale {
	background: var(--ak-red);
	border-radius: 0;
	min-height: 0;
	min-width: 0;
	padding: 3px 8px;
	font-size: 11px;
	line-height: 1.4;
	top: 12px;
	left: 12px;
	right: auto;
	margin: 0;
}
/* Round "+" quick add button on the image (bottom-left, as in the design) */
.ak-product-grid ul.products li.product .button {
	position: absolute;
	left: 22px;
	bottom: 76px;
	width: 30px;
	height: 30px;
	min-height: 0;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55) !important;
	font-size: 0 !important;
	line-height: 30px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: background .2s;
}
.ak-product-grid ul.products li.product .button::before {
	content: '+';
	font-size: 22px;
	font-weight: 400;
	color: #fff;
	line-height: 1;
}
.ak-product-grid ul.products li.product .button:hover {
	background: var(--ak-red) !important;
}
.ak-product-grid ul.products li.product .button.loading::after {
	display: none;
}
.ak-product-grid ul.products li.product .button.loading::before {
	content: '…';
}
.ak-product-grid ul.products li.product .button.added::before {
	content: '✓';
	font-size: 16px;
}
.ak-product-grid ul.products li.product .added_to_cart {
	display: none !important;
}
.ak-arrow {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border: 0;
	background: transparent;
	color: var(--ak-black);
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	z-index: 2;
}
.ak-arrow:hover,
.ak-arrow:focus {
	background: transparent;
	color: var(--ak-red);
}
.ak-arrow-prev {
	left: -36px;
}
.ak-arrow-next {
	right: -36px;
}

/* ---------- Promo banners ---------- */
.ak-promo .elementor-widget-text-editor p {
	margin: 0;
}

/* ---------- Footer ---------- */
.ak-newsletter .elementor-form-fields-wrapper {
	align-items: flex-start;
}
.ak-newsletter .elementor-field-group-location {
	order: 10;
}
.ak-newsletter .elementor-field-type-radio .elementor-field-option label {
	font-size: 11px;
	color: var(--ak-text);
}
.ak-footer-box {
	text-decoration: none;
	transition: filter .3s;
}
.ak-footer-box:hover {
	filter: brightness(1.15);
}

/* ---------- Floating WhatsApp ---------- */
.ak-whatsapp {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 999;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
	transition: transform .2s;
}
.ak-whatsapp:hover {
	transform: scale(1.08);
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.ak-carousel ul.products li.product {
		flex-basis: calc((100% - 32px) / 3) !important;
	}
	.ak-arrow-prev {
		left: -8px;
	}
	.ak-arrow-next {
		right: -8px;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.ak-cat-grid > .e-con-inner,
	.e-con-full.ak-cat-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.ak-carousel ul.products {
		gap: 10px !important;
	}
	.ak-carousel ul.products li.product {
		flex-basis: calc((100% - 10px) / 2) !important;
	}
	.ak-product-grid ul.products li.product {
		padding: 8px !important;
	}
	.ak-product-grid ul.products li.product .button {
		left: 14px;
		bottom: 66px;
		width: 28px;
		height: 28px;
	}
	.ak-arrow {
		display: none;
	}
	.ak-newsletter .elementor-field-group-location {
		order: 0;
	}
	.ak-whatsapp {
		width: 48px;
		height: 48px;
		right: 14px;
		bottom: 14px;
	}
}

/* ---------- Mobile bottom navigation (Home | Shop | Wishlist | Cart) ---------- */
.ak-bnav {
	display: none;
}
@media (max-width: 1024px) {
	.ak-bnav {
		position: fixed;
		left: 50%;
		bottom: calc(14px + env(safe-area-inset-bottom));
		transform: translateX(-50%);
		z-index: 1000;
		width: calc(100% - 40px);
		max-width: 420px;
		height: 62px;
		padding: 6px;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 4px;
		background: rgba(17, 17, 17, .88);
		-webkit-backdrop-filter: blur(14px) saturate(160%);
		backdrop-filter: blur(14px) saturate(160%);
		border: 1px solid rgba(255, 255, 255, .08);
		border-radius: 40px;
		box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
	}
	.ak-bnav-item {
		position: relative;
		flex: 1 1 0;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 30px;
		color: #fff;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
		transition: background .2s ease, transform .15s ease;
	}
	.ak-bnav-item:hover,
	.ak-bnav-item:focus {
		color: #fff;
	}
	.ak-bnav-item:active {
		transform: scale(.92);
	}
	.ak-bnav-item.is-active {
		background: rgba(255, 255, 255, .16);
	}
	.ak-bnav-item.is-active svg {
		stroke-width: 2.3;
	}
	.ak-bnav-count {
		position: absolute;
		top: 8px;
		left: calc(50% + 6px);
		min-width: 18px;
		height: 18px;
		padding: 0 5px;
		box-sizing: border-box;
		border-radius: 9px;
		background: var(--ak-red);
		color: #fff;
		font: 700 10px/18px 'Montserrat', sans-serif;
		text-align: center;
	}
	.ak-bnav-count.is-empty {
		display: none;
	}
	/* Lift the WhatsApp button above the bar */
	.ak-whatsapp {
		bottom: calc(90px + env(safe-area-inset-bottom));
	}
}

/* ---------- Product cards on Astra: brand colours win over the theme accent ---------- */
.ak-product-grid ul.products li.product .ast-woo-product-category,
.ak-related ul.products li.product .ast-woo-product-category {
	display: none !important;
}
.ak-product-grid ul.products li.product .astra-shop-summary-wrap,
.ak-related ul.products li.product .astra-shop-summary-wrap {
	padding: 0 !important;
}
.ak-product-grid ul.products li.product a,
.ak-product-grid ul.products li.product .woocommerce-loop-product__title,
.ak-related ul.products li.product a,
.ak-related ul.products li.product .woocommerce-loop-product__title {
	color: var(--ak-black) !important;
	text-decoration: none !important;
}
.ak-product-grid ul.products li.product a:hover .woocommerce-loop-product__title,
.ak-related ul.products li.product a:hover .woocommerce-loop-product__title {
	color: var(--ak-red) !important;
}
.ak-product-grid ul.products li.product .price,
.ak-product-grid ul.products li.product .price .amount,
.ak-related ul.products li.product .price,
.ak-related ul.products li.product .price .amount {
	color: var(--ak-black) !important;
}
.ak-product-grid ul.products li.product .price del,
.ak-product-grid ul.products li.product .price del .amount,
.ak-related ul.products li.product .price del,
.ak-related ul.products li.product .price del .amount {
	color: #999 !important;
	font-weight: 400;
}
.ak-product-grid ul.products li.product .price ins,
.ak-product-grid ul.products li.product .price ins .amount,
.ak-related ul.products li.product .price ins,
.ak-related ul.products li.product .price ins .amount {
	color: var(--ak-red) !important;
}
/* "+" button moved onto the product image by akonda.js (Astra markup) */
.ak-product-grid ul.products li.product .ak-has-btn {
	position: relative;
}
.ak-product-grid ul.products li.product .ak-has-btn .button {
	left: 10px !important;
	bottom: 10px !important;
	top: auto !important;
}

/* ---------- Side cart: also works on mobile (opens from the right) ---------- */
@media (max-width: 1024px) {
	/* Keep the cart widget in the page (icon hidden) so the side cart can open */
	body .ak-header .ak-header-row .elementor-widget.ak-cart {
		display: block !important;
		position: absolute !important;
		width: 0 !important;
		height: 0 !important;
		padding: 0 !important;
		overflow: visible;
	}
	body .ak-header .ak-cart .elementor-menu-cart__toggle {
		display: none !important;
	}
}
/* Hide the WooCommerce "added to cart" notice bar on product pages */
.single-product .woocommerce-notices-wrapper .woocommerce-message {
	display: none !important;
}
.ak-add-error {
	color: var(--ak-red);
	font-size: 13px;
	font-weight: 600;
	margin: 8px 0 0;
}

/* ---------- Checkout: hidden country field (fixed to Bangladesh) ---------- */
.woocommerce-checkout .ak-hidden-field,
.woocommerce-checkout #billing_country_field {
	display: none !important;
}
