/*
Theme Name: Alkhidma BD
Theme URI: https://alkhidmabd.com/
Author: Alkhidma BD
Description: A custom, responsive WooCommerce theme for Alkhidma BD.
Version: 0.1.0
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: alkhidma-bd
*/

:root {
	--ak-primary: #fc8934;
	--ak-ink: #242824;
	--ak-warm: #f6f4ec;
	--ak-green-soft: #e7ede5;
	--ak-white: #fff;
	--ak-border: #e5e7e5;
	--ak-green: #46654b;
	--ak-radius: 18px;
	--ak-shadow: 0 12px 34px rgba(36, 40, 36, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ak-ink);
	background: var(--ak-white);
	font-family: "Hind Siliguri", sans-serif;
	font-size: 17px;
	line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.ak-container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.ak-skip-link { position: absolute; left: -9999px; z-index: 1000; }
.ak-skip-link:focus { left: 16px; top: 16px; padding: 10px 16px; background: white; }

.ak-announcement { padding: 7px 16px; text-align: center; background: var(--ak-green-soft); font-size: 14px; }
.ak-header { position: relative; z-index: 20; background: var(--ak-white); border-bottom: 1px solid var(--ak-border); }
.ak-header-inner { min-height: 84px; display: flex; align-items: center; gap: 34px; }
.ak-brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; font-size: 25px; font-weight: 700; line-height: 1.1; }
.ak-brand-mark { color: var(--ak-green); width: 34px; height: 34px; }
.ak-brand small { display: block; margin-top: 3px; color: #657064; font-size: 11px; font-weight: 500; }
.ak-brand .custom-logo-link { display: inline-flex; }
.ak-brand .custom-logo { width: auto; max-width: 190px; max-height: 58px; object-fit: contain; }
.ak-nav { flex: 1; }
.ak-nav ul { display: flex; justify-content: center; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.ak-nav a { font-size: 16px; }
.ak-nav a:hover, .ak-nav .current-menu-item > a { color: #b95d19; }
.ak-header-actions { display: flex; align-items: center; gap: 12px; }
.ak-icon-link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ak-warm); }
.ak-icon-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ak-search { display: flex; align-items: center; width: 214px; height: 42px; padding: 0 5px 0 13px; border: 1px solid var(--ak-border); border-radius: 99px; background: #fff; }
.ak-search input[type="search"] { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; }
.ak-search button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--ak-ink); background: var(--ak-warm); font-size: 23px; line-height: 1; cursor: pointer; }
.ak-cart-count { min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; color: white; background: var(--ak-primary); font: 12px/18px sans-serif; text-align: center; }
.ak-menu-toggle { display: none; width: 38px; height: 38px; flex-direction: column; justify-content: center; gap: 5px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.ak-menu-toggle span { width: 20px; height: 2px; margin-inline: auto; border-radius: 2px; background: var(--ak-ink); }
.ak-cart-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(23, 29, 24, .42); }
.ak-cart-backdrop[hidden] { display: none; }
.ak-cart-drawer { position: fixed; inset: 0 0 0 auto; z-index: 81; display: flex; width: min(440px, 100%); flex-direction: column; padding: 24px; background: white; box-shadow: var(--ak-shadow); transform: translateX(105%); transition: transform .25s ease; }
.ak-cart-drawer.is-open { transform: translateX(0); }
.ak-cart-is-open { overflow: hidden; }
.ak-cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--ak-border); }
.ak-cart-drawer-head h2 { margin: 0; font-size: 25px; }
.ak-cart-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ak-warm); font-size: 28px; line-height: 1; cursor: pointer; }
.ak-cart-drawer .widget_shopping_cart_content { flex: 1; overflow-y: auto; padding: 16px 0; }
.ak-cart-drawer .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.ak-cart-drawer .woocommerce-mini-cart-item { position: relative; min-height: 82px; padding: 0 24px 14px 82px !important; margin: 0 0 14px !important; border-bottom: 1px solid var(--ak-border); }
.ak-cart-drawer .woocommerce-mini-cart-item img { position: absolute; left: 0; top: 0; width: 68px !important; height: 68px; object-fit: cover; border-radius: 10px; }
.ak-cart-drawer .woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 0; color: #7b817a !important; }
.ak-cart-drawer .woocommerce-mini-cart__total { margin: 14px 0; padding: 12px 0; border-top: 1px solid var(--ak-border); }
.ak-cart-drawer .woocommerce-mini-cart__buttons { display: flex; gap: 10px; }
.ak-cart-drawer .woocommerce-mini-cart__buttons a { flex: 1; margin: 0 !important; text-align: center; }
.ak-drawer-cart-link { padding: 13px 20px; border-radius: 999px; background: var(--ak-primary); text-align: center; font-weight: 600; }

.ak-hero { padding: 66px 0; background: var(--ak-warm); overflow: hidden; }
.ak-hero-inner { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 52px; }
.ak-eyebrow { margin: 0 0 12px; color: var(--ak-green); font-weight: 600; }
.ak-hero h1 { max-width: 650px; margin: 0; font-size: clamp(38px, 5.1vw, 66px); line-height: 1.13; letter-spacing: -.025em; }
.ak-hero-copy { max-width: 530px; margin: 18px 0 28px; color: #5d625c; font-size: 20px; }
.ak-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 11px 25px;
	border: 0; border-radius: 999px; color: var(--ak-ink); background: var(--ak-primary); font-weight: 600; cursor: pointer;
}
.ak-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { color: var(--ak-ink); background: #f47a20; }
.ak-hero-art { min-height: 390px; display: grid; place-items: center; border-radius: 48% 48% 24px 24px; background: var(--ak-green-soft); }
.ak-hero-art-inner { position: relative; width: min(76%, 370px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--ak-green); background: rgba(255,255,255,.56); }
.ak-hero-leaf { width: 43%; height: 43%; }
.ak-art-pill { position: absolute; padding: 8px 15px; border: 1px solid rgba(70,101,75,.12); border-radius: 999px; color: var(--ak-green); background: rgba(255,255,255,.9); box-shadow: 0 8px 26px rgba(36,40,36,.08); font-size: 14px; font-weight: 600; }
.ak-art-pill--one { transform: translate(-135px, -115px); }
.ak-art-pill--two { transform: translate(135px, 115px); }

.ak-section { padding: 76px 0; }
.ak-section--warm { background: var(--ak-warm); }
.ak-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.ak-section-heading h2 { margin: 0; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.2; }
.ak-section-heading p { margin: 7px 0 0; color: #686d67; }
.ak-text-link { color: #8f4a18; font-weight: 600; }
.ak-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ak-benefit { padding: 24px; border: 1px solid var(--ak-border); border-radius: var(--ak-radius); background: white; }
.ak-benefit-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 50%; color: var(--ak-green); background: var(--ak-green-soft); font-size: 22px; }
.ak-benefit h3 { margin: 0 0 4px; font-size: 20px; }
.ak-benefit p { margin: 0; color: #686d67; }
.ak-category-section { padding: 68px 0 20px; }
.woocommerce ul.products li.product-category { padding: 12px; border: 1px solid var(--ak-border); border-radius: var(--ak-radius); background: white; }
.woocommerce ul.products li.product-category a img { aspect-ratio: 1.22; object-fit: cover; margin: 0 0 11px; border-radius: 12px; background: var(--ak-green-soft); }
.woocommerce ul.products li.product-category h2 { padding: 0; color: var(--ak-ink); font-size: 19px; }
.woocommerce ul.products li.product-category h2 mark { color: #777; background: transparent; }
.ak-bottom-cta { padding: 20px 0 76px; }
.ak-bottom-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 44px; border-radius: 24px; background: var(--ak-green-soft); }
.ak-bottom-cta h2 { max-width: 620px; margin: 0; font-size: clamp(27px, 3.6vw, 40px); line-height: 1.2; }
.ak-bottom-cta .ak-eyebrow { margin-bottom: 7px; }
.ak-content-page { min-height: 55vh; padding-block: 54px 76px; }
.ak-entry-content { max-width: 850px; }
.ak-not-found { display: flex; min-height: 60vh; flex-direction: column; align-items: flex-start; justify-content: center; }
.ak-not-found h1 { max-width: 700px; font-size: clamp(34px, 5vw, 52px); line-height: 1.2; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.ak-footer { padding: 52px 0 22px; color: #f8f8f4; background: #26362a; }
.ak-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 42px; }
.ak-footer .ak-brand { color: white; }
.ak-footer p { max-width: 380px; color: #d2d9d1; }
.ak-footer h2 { margin: 0 0 12px; font-size: 19px; }
.ak-footer ul { margin: 0; padding: 0; list-style: none; }
.ak-footer li { margin: 5px 0; color: #d2d9d1; }
.ak-footer-bottom { margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); color: #d2d9d1; font-size: 14px; }

.woocommerce .products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; margin: 0; padding: 14px; border: 1px solid var(--ak-border); border-radius: var(--ak-radius); background: white; }
.woocommerce ul.products li.product a img { aspect-ratio: 1; object-fit: cover; margin: 0 0 12px; border-radius: 12px; background: var(--ak-warm); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; color: var(--ak-ink); font-size: 18px; }
.woocommerce ul.products li.product .price { color: var(--ak-green); font-weight: 600; }
.woocommerce span.onsale { min-height: auto; padding: 4px 9px; border-radius: 99px; color: var(--ak-ink); background: var(--ak-primary); line-height: 1.5; }
.woocommerce div.product .product_title { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ak-green); }
.woocommerce div.product div.images img { border-radius: var(--ak-radius); }
.woocommerce div.product form.cart .button { min-height: 48px; }
.woocommerce .quantity .qty { min-height: 46px; border: 1px solid var(--ak-border); border-radius: 8px; }
.woocommerce table.shop_table { border-color: var(--ak-border); border-radius: 12px; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--ak-green); background: var(--ak-green-soft); }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--ak-green); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 46px; padding: 10px 12px; border: 1px solid var(--ak-border); border-radius: 8px; }
.woocommerce-page .entry-title, .entry-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }

@media (max-width: 900px) {
	.ak-header-inner { min-height: 72px; gap: 16px; }
	.ak-menu-toggle { display: inline-flex; }
	.ak-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 24px 20px; border-bottom: 1px solid var(--ak-border); background: white; }
	.ak-nav.is-open { display: block; }
	.ak-nav ul { align-items: stretch; flex-direction: column; gap: 3px; }
	.ak-nav a { display: block; padding: 8px 0; }
	.ak-header-actions { margin-left: auto; }
	.ak-search { display: none; }
	.ak-account-link { display: none; }
	.ak-hero { padding: 48px 0; }
	.ak-hero-inner { gap: 30px; }
	.ak-hero-art { min-height: 300px; }
	.woocommerce .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.ak-container { width: min(100% - 32px, 540px); }
	body { font-size: 16px; }
	.ak-brand { font-size: 21px; }
	.ak-brand-mark { width: 30px; height: 30px; }
	.ak-hero { padding: 36px 0 28px; }
	.ak-hero-inner { grid-template-columns: 1fr; gap: 26px; }
	.ak-hero h1 { font-size: clamp(36px, 10vw, 48px); }
	.ak-hero-copy { margin: 12px 0 20px; font-size: 17px; }
	.ak-hero-art { min-height: 240px; border-radius: 40% 40% 18px 18px; }
	.ak-art-pill--one { transform: translate(-95px, -83px); }
	.ak-art-pill--two { transform: translate(95px, 83px); }
	.ak-section { padding: 52px 0; }
	.ak-section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 20px; }
	.ak-category-section { padding-top: 48px; }
	.ak-bottom-cta { padding-bottom: 52px; }
	.ak-bottom-cta-inner { align-items: flex-start; flex-direction: column; padding: 26px 22px; }
	.ak-benefits { grid-template-columns: 1fr; gap: 12px; }
	.ak-benefit { padding: 18px; }
	.woocommerce .products { gap: 12px; }
	.woocommerce ul.products li.product { padding: 9px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; }
	.woocommerce ul.products li.product .button { padding: 9px 12px; font-size: 13px; }
	.ak-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
	.ak-footer-grid > :first-child { grid-column: 1 / -1; }
}
