/* AppKit theme: the Shop app's look for the store's website. --ak-accent comes from the
   store's color in AppKit (set inline). Logical properties keep it right for RTL and LTR. */

:root {
	--ak-accent: #5a31f4;
	--ak-on-accent: #fff;
	--ak-black: #0d0d0d;
	--ak-text: #0d0d0d;
	--ak-muted: #6b6b6b;
	--ak-fill: #f2f2f2;
	--ak-fill-2: #e8e8e8;
	--ak-border: #e6e6e6;
	--ak-radius: 20px;
	--ak-side: 260px;
	--ak-bottom-bar: 0px;
	--ak-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--ak-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ak-text);
	background: #fff;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ak-accent); }
h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed !important; inset-inline-start: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 100000; background: #fff; padding: 10px 16px; border-radius: 12px; }

.ak-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
.ak-icon { flex: none; }
.ak-muted { color: var(--ak-muted); }

/* Buttons: pills, the store's color first, black second. */
.ak-btn, .button, button.button, a.button, input.button, .wc-block-components-button,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
	background: var(--ak-accent); color: var(--ak-on-accent);
	font: 700 16px/1 var(--ak-font); cursor: pointer; text-decoration: none;
	transition: transform .15s ease, opacity .15s ease;
}
.ak-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .button:hover { color: var(--ak-on-accent); opacity: .92; background: var(--ak-accent); }
.ak-btn:active, .button:active { transform: scale(.98); }
.ak-btn--black, .woocommerce button.button.ak-btn--black { background: var(--ak-black); color: #fff; }
.ak-btn--black:hover { background: var(--ak-black); color: #fff; }
.ak-btn--ghost { background: transparent; color: var(--ak-text); border: 1.5px solid var(--ak-border); }
.ak-btn--ghost:hover { background: var(--ak-fill); color: var(--ak-text); }
.ak-btn--light { background: #fff; color: var(--ak-black); }
.ak-btn--light:hover { background: #fff; color: var(--ak-black); }
.ak-btn--wide { width: 100%; }
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt { background: var(--ak-accent); color: var(--ak-on-accent); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .45; }

/* Round grey buttons. */
.ak-circle {
	position: relative; display: inline-grid; place-items: center;
	width: 42px; height: 42px; border: 0; border-radius: 50%;
	background: var(--ak-fill); color: var(--ak-text); cursor: pointer;
}
.ak-circle:hover { color: var(--ak-text); background: var(--ak-fill-2); }
.ak-count {
	position: absolute; top: -4px; inset-inline-end: -4px;
	min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	background: var(--ak-accent); color: var(--ak-on-accent);
	font: 800 12px/20px var(--ak-font); text-align: center;
}
.ak-count[data-count="0"] { display: none; }

/* Forms: soft grey fields with round corners. */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input[type="url"],
textarea, select, .select2-container .select2-selection--single {
	width: 100%; min-height: 50px; padding: 12px 16px;
	border: 2px solid transparent; border-radius: 14px;
	background: var(--ak-fill); color: var(--ak-text); font: 400 16px/1.4 var(--ak-font);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ak-accent); background: #fff; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 24px; padding: 0; }
.select2-container .select2-selection--single .select2-selection__arrow { top: 12px; }
label { font-weight: 600; font-size: 14px; }

/* ---------- Header ---------- */
.ak-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--ak-border); }
.admin-bar .ak-header { top: 32px; }
.ak-header__bar { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.ak-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ak-text); }
.ak-brand:hover { color: var(--ak-text); }
.ak-brand__logo { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; background: #fff; border: 1px solid var(--ak-border); }
.ak-search { flex: 1; display: flex; align-items: center; gap: 8px; max-width: 560px; margin-inline: auto; padding-inline: 16px; height: 46px; border-radius: 999px; background: var(--ak-fill); color: var(--ak-muted); }
.ak-search input { min-height: 0; height: 100%; padding: 0; border: 0; background: transparent; }
.ak-search input:focus { background: transparent; border: 0; }
.ak-header__actions { display: flex; gap: 10px; }
.ak-header__menu { display: none; }
.ak-header__cats { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.ak-header__cats::-webkit-scrollbar { display: none; }
.ak-header__cats a { flex: none; padding: 7px 16px; border-radius: 999px; background: var(--ak-fill); font-weight: 600; font-size: 14px; }
.ak-header__cats a:hover { background: var(--ak-fill-2); color: var(--ak-text); }

/* The owner's choice on computers: a side bar instead of the top categories. */
.ak-side { display: none; }
@media (min-width: 1025px) {
	.ak-nav-side .ak-side {
		display: flex; flex-direction: column; gap: 18px;
		position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 60;
		width: var(--ak-side); padding: 20px 14px; overflow-y: auto;
		background: #fafafa; border-inline-end: 1px solid var(--ak-border);
	}
	.admin-bar.ak-nav-side .ak-side { top: 32px; }
	.ak-nav-side .ak-header, .ak-nav-side .ak-main, .ak-nav-side .ak-footer { margin-inline-start: var(--ak-side); }
	.ak-nav-side .ak-header .ak-brand, .ak-nav-side .ak-header__cats { display: none; }
	.ak-side__nav { display: flex; flex-direction: column; gap: 2px; }
	.ak-side__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 600; }
	.ak-side__nav a:hover { background: var(--ak-fill); color: var(--ak-text); }
	.ak-side__cat img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
	.ak-only-wide { display: inline-grid; }
}

/* Drawer (menu on phones). */
.ak-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.35); }
.ak-drawer[hidden] { display: none; }
.ak-drawer__panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(86vw, 360px); padding: 16px; overflow-y: auto; background: #fff; border-start-end-radius: 24px; border-end-end-radius: 24px; }
.ak-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ak-drawer__cat { display: flex; align-items: center; gap: 12px; padding: 10px 6px; font-weight: 700; border-bottom: 1px solid var(--ak-border); }
.ak-drawer__cat img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--ak-fill); }
.ak-drawer__menu { list-style: none; margin: 12px 0 0; padding: 0; }
.ak-drawer__menu a { display: block; padding: 10px 6px; }

/* ---------- Bottom bar (phones and tablets) ---------- */
.ak-bottom { display: none; }
@media (max-width: 1024px) {
	.ak-has-bottom-bar { --ak-bottom-bar: 76px; }
	.ak-has-bottom-bar .ak-bottom {
		display: flex; align-items: center; justify-content: space-between;
		position: fixed; inset-inline: 16px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
		pointer-events: none;
	}
	.ak-bottom > * { pointer-events: auto; }
	.ak-bottom__circle, .ak-bottom__pill { background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.14); }
	.ak-bottom__circle { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--ak-text); }
	.ak-bottom__cart { background: var(--ak-accent); color: var(--ak-on-accent); }
	.ak-bottom__cart:hover { color: var(--ak-on-accent); }
	.ak-bottom__cart .ak-count { background: #fff; color: var(--ak-accent); }
	.ak-bottom__pill { display: flex; gap: 2px; padding: 5px; border-radius: 30px; }
	.ak-bottom__pill a { display: grid; place-items: center; width: 56px; height: 46px; border-radius: 23px; color: var(--ak-text); }
	.ak-bottom__pill a[aria-current="page"] { background: #f0f0f0; }
	.ak-has-bottom-bar .ak-footer { padding-bottom: calc(var(--ak-bottom-bar) + 24px); }
	.ak-header__menu { display: inline-grid; }
	.ak-header__cats, .ak-only-wide { display: none; }
	.ak-has-bottom-bar .ak-header .ak-cart-link { display: none; }
	.ak-search { order: 3; flex-basis: 100%; max-width: none; margin: 0 0 10px; }
	.ak-header__bar { flex-wrap: wrap; min-height: 60px; }
	.ak-brand { margin-inline-end: auto; font-size: 18px; }
}
@media (min-width: 1025px) { .ak-only-wide { display: inline-grid; } }

/* ---------- Home ---------- */
.ak-home { padding-block: 16px 40px; }
.ak-store-card {
	position: relative; display: grid; place-items: center; min-height: 340px; margin-bottom: 14px; overflow: hidden;
	border-radius: 30px; background: linear-gradient(180deg, var(--ak-accent), color-mix(in srgb, var(--ak-accent) 55%, #000));
	background-size: cover; background-position: center; color: #fff; text-align: center;
}
.ak-store-card.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.6)); }
.ak-store-card__inner { position: relative; padding: 32px 20px; }
.ak-store-card h1 { margin: 0 0 8px; font-size: clamp(34px, 6vw, 56px); }
.ak-store-card p { margin: 4px 0; opacity: .9; }
.ak-store-card__title { font-size: 20px; font-weight: 700; opacity: 1 !important; }
.ak-store-card__logo { width: 84px; height: 84px; margin: 0 auto 14px; object-fit: contain; border-radius: 50%; background: #fff; }
.ak-store-card .ak-btn { margin-top: 18px; }

.ak-chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 4px 8px; scrollbar-width: none; }
.ak-chips::-webkit-scrollbar { display: none; }
.ak-chip-link { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 5px; border-radius: 999px; background: var(--ak-fill); font-weight: 700; font-size: 15px; }
[dir="rtl"] .ak-chip-link { padding: 5px 5px 5px 16px; }
.ak-chip-link img, .ak-chip-link__icon { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; display: grid; place-items: center; }
.ak-chip-link:hover { background: var(--ak-fill-2); color: var(--ak-text); }

.ak-section, .ak-panel { margin-top: 26px; }
.ak-panel { padding: 4px 18px 20px; border-radius: 30px; background: var(--ak-fill); }
.ak-panel .ak-card__media { background: #fff; }
.ak-section-title { margin: 18px 0 14px; font-size: 22px; }
.ak-section-title a { display: inline-flex; align-items: center; gap: 8px; }
.ak-arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ak-fill); }
.ak-panel .ak-arrow { background: #fff; }
.ak-arrow .ak-icon { width: 16px; height: 16px; }
[dir="rtl"] .ak-arrow .ak-icon { transform: scaleX(-1); }

/* Product cards (home rows, grids and every WooCommerce list). */
.ak-grid, .woocommerce ul.products, .woocommerce-page ul.products {
	display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px;
	margin: 0 !important; padding: 0 !important; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; }
@media (min-width: 700px) { .ak-grid, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1025px) { .ak-grid, .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; } }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; }
.ak-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
@media (min-width: 1025px) { .ak-row { grid-auto-columns: calc((100% - 4 * 14px) / 5); } }
.ak-row > * { scroll-snap-align: start; }
.ak-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ak-card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: var(--ak-fill); }
.ak-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ak-card:hover .ak-card__media img { transform: scale(1.04); }
.ak-chip { position: absolute; top: 10px; inset-inline-start: 10px; display: inline-flex; gap: 5px; align-items: baseline; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: #000; font-size: 13px; font-weight: 800; }
.ak-chip del { font-weight: 400; color: #777; font-size: 12px; }
.ak-chip--dark { top: auto; bottom: 10px; background: rgba(0,0,0,.75); color: #fff; }
.ak-card__title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-card__rating { color: var(--ak-muted); font-size: 13px; }
.ak-card__rating::first-letter { color: #f5b400; }

.ak-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 1025px) { .ak-tiles { grid-template-columns: repeat(6, 1fr); } }
.ak-tile { display: flex; flex-direction: column; gap: 8px; font-weight: 700; text-align: center; }
.ak-tile img { aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--ak-fill); }
.ak-banners { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 700px) { .ak-banners { grid-template-columns: repeat(2, 1fr); } }
.ak-banner img { width: 100%; border-radius: 24px; }
.ak-post { display: flex; flex-direction: column; gap: 6px; }
.ak-post img { aspect-ratio: 16/10; width: 100%; object-fit: cover; border-radius: 18px; background: var(--ak-fill); }
.ak-post span { color: var(--ak-muted); font-size: 13px; }
.ak-posts { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---------- Pages ---------- */
.ak-main { min-height: 50vh; }
.ak-content, .ak-woo { padding-block: 20px 48px; }
.ak-page-head { margin: 8px 0 22px; }
.ak-page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 36px); }
.ak-crumbs { color: var(--ak-muted); font-size: 14px; margin-bottom: 6px; }
.ak-prose { max-width: 820px; font-size: 17px; line-height: 1.8; }
.ak-woo .ak-prose { max-width: none; }
.ak-article { padding-block: 20px 48px; max-width: 860px; }
.ak-article__cover img { width: 100%; border-radius: 26px; margin-bottom: 18px; }
.ak-404 { text-align: center; padding-block: 80px; }
.ak-404 h1 { font-size: 96px; margin: 0; color: var(--ak-accent); }
.ak-404 .ak-btn { margin: 8px 4px; }

/* WooCommerce notices: soft cards. */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	margin: 0 0 18px !important; padding: 14px 18px !important; border: 0 !important; border-radius: 16px;
	background: var(--ak-fill) !important; color: var(--ak-text); list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-error { background: #fff0ee !important; color: #8e0b21; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; padding: 0 16px; font-size: 14px; float: none !important; margin-inline-start: 10px; }

/* Shop toolbar. */
.woocommerce .woocommerce-result-count { color: var(--ak-muted); margin: 0 0 18px; }
.woocommerce .woocommerce-ordering { margin: 0 0 18px; }
.woocommerce .woocommerce-ordering select { width: auto; min-height: 42px; border-radius: 999px; padding-block: 6px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ak-fill); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ak-black); color: #fff; }

/* ---------- Single product (Shop's product page) ---------- */
.woocommerce div.product { display: grid; gap: 28px; }
@media (min-width: 900px) { .woocommerce div.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { position: relative; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
	display: flex; gap: 10px; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper::-webkit-scrollbar { display: none; }
.woocommerce div.product div.images .woocommerce-product-gallery__image {
	flex: 0 0 100%; width: 100% !important; margin: 0 !important; scroll-snap-align: center;
	aspect-ratio: 1; overflow: hidden; border-radius: 26px; background: var(--ak-fill);
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: cover; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 14px; inset-inline-end: 14px; inset-inline-start: auto; border-radius: 50%; background: rgba(255,255,255,.9); }
@media (min-width: 900px) { .woocommerce div.product div.summary { position: sticky; top: 100px; } }
.woocommerce div.product .product_title { font-size: clamp(24px, 3vw, 32px); margin: 0 0 6px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ak-text) !important; font-size: 26px !important; font-weight: 800; }
.woocommerce div.product p.price del { color: var(--ak-muted); font-weight: 400; font-size: .7em; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: #f5b400; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 17px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 !important; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart .quantity { margin: 0 !important; float: none !important; }
.woocommerce .quantity .qty { width: 110px; min-height: 50px; border-radius: 999px; text-align: center; font-weight: 800; background: #fff; border: 1.5px solid var(--ak-border); }
.woocommerce div.product form.cart .single_add_to_cart_button, .ak-buy-now { flex: 1 1 200px; float: none !important; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .variations { margin-bottom: 12px; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { display: block; padding: 4px 0; text-align: start; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.ak-promo { display: flex; align-items: center; gap: 12px; margin: 14px 0; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.08); color: var(--ak-accent); font-weight: 800; }
.ak-promo .ak-icon { width: 28px; height: 28px; }
.ak-delivery { margin-top: 18px; padding: 18px; border-radius: 24px; background: var(--ak-fill); }
.ak-delivery h3 { margin: 0 0 12px; font-size: 18px; }
.ak-delivery p { display: flex; gap: 10px; align-items: center; margin: 8px 0; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; padding: 0; margin: 0 0 18px; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0 !important; border-radius: 999px !important; background: var(--ak-fill) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 9px 18px !important; font-weight: 700; color: var(--ak-text) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ak-black) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce div.product .woocommerce-tabs .panel { padding: 20px; border-radius: 24px; background: var(--ak-fill); }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 24px; }
.woocommerce span.onsale { display: none; }
.product_meta { color: var(--ak-muted); font-size: 14px; }

/* ---------- Cart and checkout (Shop's Review & Pay) ---------- */
.woocommerce table.shop_table { border: 1px solid var(--ak-border); border-radius: 22px; border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { font-weight: 700; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top-color: var(--ak-border); padding: 14px 16px; }
.woocommerce table.cart img { width: 72px; border-radius: 14px; background: var(--ak-fill); }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; }
.woocommerce table.cart td.actions .coupon .input-text { width: 180px; }
.woocommerce a.remove { color: var(--ak-muted) !important; background: var(--ak-fill); }
.woocommerce a.remove:hover { background: #fff0ee; color: #d72c0d !important; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; max-width: 480px; float: none; margin-inline-start: auto; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 22px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; font-size: 17px !important; }
@media (max-width: 768px) {
	.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr { border-radius: 18px; }
	.woocommerce table.cart td.actions .coupon { flex-direction: column; }
	.woocommerce table.cart td.actions .coupon .input-text { width: 100%; }
}

.woocommerce-checkout .col2-set, .woocommerce-checkout #order_review, .woocommerce-checkout #order_review_heading { width: 100%; float: none; }
@media (min-width: 1025px) {
	.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
	.woocommerce-checkout form.checkout > * { grid-column: 1; }
	.woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 2; }
	.woocommerce-checkout #order_review_heading { grid-row: 1; margin-top: 0; }
	.woocommerce-checkout #order_review { grid-row: 2 / span 5; position: sticky; top: 100px; }
}
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-shipping-fields, .woocommerce-checkout .woocommerce-additional-fields, .woocommerce-checkout #order_review {
	padding: 20px; border: 1px solid var(--ak-border); border-radius: 22px; margin-bottom: 18px;
}
.woocommerce-checkout h3 { font-size: 18px; margin-top: 0; }
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row label { margin-bottom: 6px; display: block; }
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0; border: 0; display: grid; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 14px 16px; border: 1.5px solid var(--ak-border); border-radius: 16px; background: #fff; }
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--ak-black); background: var(--ak-fill); }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; font-size: 16px; }
.woocommerce-checkout #payment div.payment_box { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--ak-muted); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row { padding: 16px 0 0; }
.woocommerce-checkout #place_order { width: 100%; min-height: 56px; font-size: 18px; float: none; }
.woocommerce-checkout .woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
.woocommerce-checkout .woocommerce-shipping-methods li { padding: 6px 0; }

/* Order received: big confirmation, transfer box from AppKit. */
.woocommerce-order .woocommerce-thankyou-order-received { font-size: 28px; font-weight: 800; background: none !important; padding: 0 !important; }
.woocommerce-order ul.order_details { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; padding: 0; margin: 18px 0 !important; }
.woocommerce-order ul.order_details::before, .woocommerce-order ul.order_details::after { display: none; }
.woocommerce-order ul.order_details li { float: none; margin: 0; padding: 14px; border: 0 !important; border-radius: 16px; background: var(--ak-fill); }
.appkit-transfer { background: var(--ak-fill); border: 0 !important; border-radius: 24px !important; }

/* My Account. */
.woocommerce-account .woocommerce { display: grid; gap: 24px; }
@media (min-width: 900px) { .woocommerce-account .woocommerce { grid-template-columns: 260px minmax(0, 1fr); } }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; border-radius: 22px; background: var(--ak-fill); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 14px; font-weight: 600; }
.woocommerce-MyAccount-navigation li.is-active a { background: #fff; }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--ak-border) !important; border-radius: 22px !important; padding: 22px !important; }

/* ---------- Footer ---------- */
.ak-footer { margin-top: 48px; padding-top: 40px; background: var(--ak-fill); border-start-start-radius: 32px; border-start-end-radius: 32px; }
.ak-footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ak-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.ak-footer h3 { font-size: 15px; margin: 0 0 12px; }
.ak-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ak-footer p { color: var(--ak-muted); }
.ak-footer .appkit-social { margin-top: 10px; }
.ak-footer .appkit-social a { display: grid !important; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.ak-footer .appkit-store-info { color: var(--ak-muted); line-height: 1.9; }
.ak-footer__bottom { padding-block: 24px; margin-top: 24px; border-top: 1px solid var(--ak-fill-2); color: var(--ak-muted); font-size: 14px; }

/* ---------- Landing page ---------- */
.ak-landing__hero { display: grid; gap: 28px; padding-block: 24px; }
@media (min-width: 900px) { .ak-landing__hero { grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 70vh; } }
.ak-landing__media img { width: 100%; border-radius: 30px; background: var(--ak-fill); }
.ak-landing__brand { font-size: 16px; color: var(--ak-muted); }
.ak-landing__info h1 { font-size: clamp(32px, 5vw, 52px); margin: 12px 0; }
.ak-landing__price { font-size: 28px; font-weight: 800; }
.ak-landing__price del { color: var(--ak-muted); font-weight: 400; font-size: .7em; }
.ak-landing__price ins { text-decoration: none; }
.ak-landing__rating { color: var(--ak-muted); }
.ak-landing__points { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.ak-landing__points li { padding: 12px 16px; border-radius: 16px; background: var(--ak-fill); font-weight: 600; }
.ak-landing__points li::before { content: "✓"; color: var(--ak-accent); font-weight: 900; margin-inline-end: 10px; }
.ak-landing__info .ak-btn { margin-top: 10px; }
.ak-countdown { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff0ee; color: #d72c0d; font-weight: 700; }
.ak-landing__videos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding-block: 20px; }
.ak-landing__videos video { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 24px; background: #000; }
.ak-landing__gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-block: 20px; }
.ak-landing__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
.ak-landing__about, .ak-landing__reviews { padding-block: 24px; }
.ak-review { margin: 0; padding: 18px; border-radius: 22px; background: var(--ak-fill); }
.ak-review__stars { color: #f5b400; }
.ak-review cite { color: var(--ak-muted); font-style: normal; font-size: 14px; }
.ak-landing__bar { position: sticky; bottom: calc(var(--ak-bottom-bar) + 8px); z-index: 80; padding-block: 8px; }
.ak-landing__bar .ak-container { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.14); max-width: 720px; }
.ak-landing__bar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ak-landing__bar .ak-container > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ak-landing__bar strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* The floating WhatsApp button (from AppKit) sits above the bottom bar. */
.appkit-whatsapp { bottom: calc(16px + var(--ak-bottom-bar) + env(safe-area-inset-bottom)) !important; }

/* WooCommerce styles its form fields with more specific selectors; match them. */
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce-page form .form-row .input-text,
.woocommerce form .form-row textarea, .woocommerce table.cart td.actions .coupon .input-text {
	min-height: 50px; padding: 12px 16px; border: 2px solid transparent; border-radius: 14px; background: var(--ak-fill); line-height: 1.4;
}
.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus { border-color: var(--ak-accent); background: #fff; }
.woocommerce form .form-row.woocommerce-invalid .input-text { border-color: #d72c0d; }
.woocommerce-checkout #order_review table.shop_table { border: 0; }
.woocommerce-checkout #order_review table.shop_table td, .woocommerce-checkout #order_review table.shop_table th { padding-inline: 0; }
/* The landing page has its own WhatsApp button and a buy bar where the floating one would sit. */
.ak-landing-page .appkit-whatsapp { display: none !important; }
