/* Hallmark v2.0.0 · redesign: responsive layer · brand: Akria (kept: sage and ink tokens, IRANSans) · genre: editorial · shape: one column, same cards as desktop · signature: the hero photo fading into an ink panel that carries the headline */
/* critique: home.css and product.css were written for 1440 and fixed their widths; this file is the only place they are undone, and it loads last so desktop is never touched. */

@media (max-width: 767px) {
	html, body { min-width: 0; max-width: none; overflow-x: clip; }
	body .ak-container { width: calc(100% - 32px); padding-inline: 0; }

	/* Header: a glass pill on every page, logo and account. */
	body .ak-header, body.home .ak-header, body.home .ak-header.is-scrolled { padding: 10px 0 0; }
	body .ak-header__in, body.home .ak-header__in { height: 56px; padding-inline: 14px; gap: 12px; }
	body .ak-header__in, body.home .ak-header__in { justify-content: center; }
	body .ak-tools { display: none; }
	body .ak-logo img:first-child { width: 32px; }
	body .ak-logo__word { width: 92px; }

	/* Landing hero: the portrait photo is the top of the card and melts into the ink panel that carries the words. */
	body .ak-hero--home {
		position: relative; display: flex; flex-direction: column; height: auto; min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); margin: 0 16px; padding: 0 0 12px;
		border-radius: 28px; background: #F4F4F2 !important; overflow: hidden;
	}
	body .ak-slides { display: grid; grid-template-columns: minmax(0, 1fr); }
	body .ak-slide { position: relative; inset: auto; grid-area: 1 / 1; display: flex; flex-direction: column; background: none; }
	body .ak-slide::before { content: ""; display: block; flex: none; aspect-ratio: 941 / 1380; background: linear-gradient(to bottom, transparent 72%, #F4F4F2 99%), var(--hero-m) center top / cover no-repeat; }
	body .ak-hero--home::after { display: none; }
	body .ak-hero--home .ak-hero__copy { position: static; width: auto; align-self: stretch; margin-block: 6px 24px; padding: 0 16px; z-index: 1; align-items: stretch; text-align: center; }
	body .ak-hero--home h1 { font-size: min(36px, 7.4cqi); line-height: 1.4; color: #263125; margin-block-end: 8px; }
	body .ak-hero--home .ak-lead { font-size: min(16px, 4.2cqi); line-height: 1.9; color: #2F3D2E; }
	body .ak-hero--home .ak-hero__cta { margin: 20px 0 0; }
	body .ak-hero--home .ak-hero__cta .ak-btn { width: 100%; justify-content: center; }
	body .ak-hero--home .ak-btn { background: #2B352B; border-color: #2B352B; color: #fff; min-height: 48px; }
	body .ak-hero--home .ak-eyebrow { display: none; }

	/* Best sellers: a plain swipeable strip, one card wide with the next one peeking in. */
	body .ak-hcar { position: relative; inset: auto; left: auto; width: auto; height: auto; margin: auto 0 0; overflow: visible; transform: none; }
	body .ak-hcar__track { position: static; display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 4px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
	body .ak-hcar__track::-webkit-scrollbar { display: none; }
	body .ak-hcar__item, body .ak-hcar__item.is-active, body .ak-hcar__item.is-next, body .ak-hcar__item.is-prev, body .ak-hcar__item.is-far-prev {
		position: static; flex: none; width: 19.3em; height: 8.5em; font-size: 11px; opacity: 1; transition: none; scroll-snap-align: start;
	}

	/* Landing bands. */
	body.home #main .ak-container { padding-inline: 0; }
	body.home #main .ak-section { padding-block: 40px 0; }
	body.home #main .ak-section ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .ak-home-banner img { aspect-ratio: 3 / 1; object-fit: cover; object-position: center; border-radius: 20px; }
	body .ak-installment-banner { margin-block: 32px 0; }
	body .ak-installment-banner img { width: 100%; height: auto; border-radius: 20px; }
	body.home #main .ak-pill, body .ak-pill { flex-direction: column; gap: 6px; margin-block: 24px 0; padding: 20px 24px; border-radius: 28px; text-align: center; }
	body .ak-pill strong { font-size: 18px; }
	body .ak-pill span { font-size: 11px; letter-spacing: 0; }
	body.home #main .ak-services, body .ak-services { gap: 12px; padding: 16px 0 0; }
	body .ak-services li, body .ak-services li:nth-child(even), body .ak-services li:nth-child(n+3) { border: 0; }
	body .ak-services a { padding: 16px 8px; border-radius: 20px; }
	body .ak-services .ak-icon { width: 40px; height: 40px; padding: 9px; border-radius: 14px; }
	body .ak-section__head { flex-wrap: wrap; align-items: center; gap: 4px 12px; }
	body .ak-section__head h2 { font-size: 22px; }
	body .ak-more { font-size: 12px; }
	body .ak-cats a { border-radius: 20px; }

	body .ak-mag__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	body .ak-mag__visual { order: -1; width: min(100%, 320px); }
	body .ak-mag__asks li { max-width: 170px; }
	body .ak-mag__asks li:nth-child(1) { inset-inline-end: -4%; }
	body .ak-mag__asks li:nth-child(2) { inset-inline-start: -4%; }
	body .ak-mag__asks li:nth-child(3) { inset-inline-end: -2%; }
	body .ak-mag__asks a { padding: 8px 12px; font-size: 12px; }
	body .ak-mag__list li a, body .ak-mag__strip li a { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
	body .ak-mag__strip li { flex-basis: 280px; }
	body .ak-mag__nav { margin-block: 28px 12px; }
	body .ak-story--card { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: 28px; }
	body .ak-story__emblem { width: 120px; justify-self: center; border-radius: 24px; }
	body .ak-story__emblem img { width: 56px; }
	body .ak-story__emblem span { font-size: 16px; }
	body.home .ak-posts > * { border-radius: 24px; }
	body.home .ak-footer { margin-block-start: 48px; }

	/* The one product card, sized for two columns. */
	body.woocommerce ul.products li.product, body .woocommerce ul.products li.product { padding: 10px; border-radius: 24px; }
	body .woocommerce ul.products li.product .ak-card__media { border-radius: 18px; }
	body .woocommerce ul.products li.product .ak-card__cat,
	body .woocommerce ul.products li.product .woocommerce-loop-product__title,
	body .woocommerce ul.products li.product .price { padding-inline: 2px; }
	body .woocommerce ul.products li.product > .ak-wish, body .woocommerce ul.products li.product:has(.onsale) > .ak-wish { inset-block-start: 18px; inset-inline-end: 18px; }
	body .woocommerce ul.products li.product .onsale { inset-block-start: 18px; inset-inline-start: 18px; }

	/* Product page: one column, the action right after the photo. */
	body.single-product #main { padding-inline: 0; padding-block: 8px 24px; }
	body.single-product div.product { grid-template-columns: minmax(0, 1fr); column-gap: 0; row-gap: 32px; }
	body.single-product div.product div.images.woocommerce-product-gallery { grid-column: 1; grid-row: auto; }
	body.single-product div.product div.summary { grid-column: 1; grid-row: auto; padding-block: 0; }
	body.single-product div.product div.images .flex-viewport { width: 100%; height: auto !important; aspect-ratio: 1; border-radius: 24px !important; overflow: hidden !important; }
	body.single-product div.product div.images .woocommerce-product-gallery__image img { width: 100%; height: 100% !important; aspect-ratio: 1; border-radius: 24px; object-fit: contain; }
	body.single-product div.product div.images .flex-control-thumbs { gap: 10px; margin-block-start: 10px; overflow-x: auto; }
	body.single-product div.product div.images .flex-control-thumbs li { width: 52px; height: 52px; flex: none; }
	body.single-product div.product div.images.woocommerce-product-gallery .woocommerce-product-gallery__trigger { inset-block-start: 12px; inset-inline-end: 12px; width: 44px; height: 44px; border-radius: 14px; }
	body.single-product div.product > .onsale { inset-block-start: 12px; inset-inline-start: 12px; inset-inline-end: auto; }
	body.single-product div.product .product_title { font-size: 26px; line-height: 1.6; }
	body.single-product div.product p.price { display: none; } /* the sticky buy box carries the price */
	body.single-product div.product form.cart .single_add_to_cart_button { padding-inline: 16px; }
	body.single-product div.product .ak-trust { gap: 8px 20px; }
	body.single-product div.product .woocommerce-tabs { grid-row: auto; }
	body.single-product div.product .woocommerce-tabs table.shop_attributes th { width: 100px; }
	body.single-product div.product .related, body.single-product div.product .upsells { grid-row: auto; }
	body.single-product div.product .related > h2, body.single-product div.product .upsells > h2 { font-size: 22px; margin-block-end: 20px; }

	body .ak-bottom a:focus-visible, body .ak-bottom button:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 12px; }
	body .ak-bottom a:active, body .ak-bottom button:active { background: var(--sand); }

	/* Shop */
	body.woocommerce main.ak-shop { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 0 0; }
	body.woocommerce main.ak-shop .ak-filters { position: static; width: 100%; margin: 0; padding: 0; border-radius: 0; background: transparent; }
	body.woocommerce main.ak-shop .ak-mobile-shop-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-block-end: 4px; }
	body.woocommerce main.ak-shop .ak-mobile-sort label, body.woocommerce main.ak-shop .ak-mobile-filter-toggle, body.woocommerce main.ak-shop .ak-mobile-filter-open { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 14px; border: 1px solid #dfead9; border-radius: 14px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; }
	body.woocommerce main.ak-shop .ak-mobile-sort { min-width: 0; }
	body.woocommerce main.ak-shop .ak-mobile-sort label { justify-content: space-between; width: 100%; }
	body.woocommerce main.ak-shop .ak-mobile-sort span { color: var(--muted); font-size: 12px; font-weight: 500; }
	body.woocommerce main.ak-shop .ak-mobile-sort select { min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 700; text-align: start; }
	body.woocommerce main.ak-shop .ak-mobile-filter-open { color: #507a49; }
	body.woocommerce main.ak-shop .ak-mobile-filter-open .ak-icon, body.woocommerce main.ak-shop .ak-mobile-filter-toggle .ak-icon { width: 18px; height: 18px; }
	body.woocommerce main.ak-shop .ak-mobile-filter-toggle { display: none; width: 100%; margin-block: 0 4px; }
	body.woocommerce main.ak-shop .ak-filters__body { display: none; gap: 4px; padding: 4px; border-radius: 16px; background: #f1f4f4; }
	body.woocommerce main.ak-shop .ak-filters.is-open { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: rgba(36, 48, 36, .28); }
	body.woocommerce main.ak-shop .ak-filters.is-open .ak-filters__body { display: grid; max-height: min(76svh, 660px); overflow-y: auto; border-radius: 0 0 20px 20px; }
	body.woocommerce main.ak-shop .ak-filters.is-open .ak-mobile-filter-toggle { display: flex; justify-content: space-between; margin: 0; border: 0; border-radius: 20px 20px 0 0; background: var(--paper); }
	body.woocommerce main.ak-shop .ak-filters.is-open .ak-mobile-filter-toggle::after { content: 'بستن'; color: var(--muted); font-size: 12px; font-weight: 500; }
	body.woocommerce main.ak-shop .ak-filters__heading { min-height: 44px; }
	body.woocommerce main.ak-shop ul.products { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-block-end: 24px; }
	body.woocommerce main.ak-shop ul.products li.product { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: 20px 48px 1fr 36px; column-gap: 12px; height: 172px; min-height: 172px; padding: 12px; border-radius: 20px; overflow: hidden; }
	body.woocommerce main.ak-shop ul.products li.product > .woocommerce-LoopProduct-link { display: contents; }
	body.woocommerce main.ak-shop ul.products li.product .ak-card__media { grid-column: 1; grid-row: 1 / span 4; align-self: start; aspect-ratio: auto; width: 120px; height: 120px; min-height: 0; border-radius: 8px; }
	body.woocommerce main.ak-shop ul.products li.product .ak-card__media img { width: 100%; height: 100%; object-fit: contain; }
	body.woocommerce main.ak-shop ul.products li.product .ak-card__cat { grid-column: 2; grid-row: 1; align-self: end; padding: 0; color: #53604e; font-size: 12px; }
	body.woocommerce main.ak-shop ul.products li.product .woocommerce-loop-product__title { grid-column: 2; grid-row: 2; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.7; }
	body.woocommerce main.ak-shop ul.products li.product .price { grid-column: 2; grid-row: 3; align-self: end; justify-content: flex-start; width: 100%; margin: 0; padding: 8px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
	body.woocommerce main.ak-shop ul.products li.product a.button, body.woocommerce main.ak-shop ul.products li.product a.added_to_cart.button { grid-column: 2; grid-row: 4; width: 100%; min-width: 0; min-height: 36px; margin: 0; padding-inline: 12px; font-size: 12px; }
	body.woocommerce main.ak-shop ul.products li.product.outofstock a.button { border-color: transparent; background: #edf0ea; color: #7a8375; }
	body.woocommerce main.ak-shop ul.products li.product > .ak-wish, body.woocommerce main.ak-shop ul.products li.product:has(.onsale) > .ak-wish { inset-block-start: 18px; inset-inline-end: 18px; }
	body.woocommerce main.ak-shop ul.products li.product .onsale { inset-block-start: 18px; inset-inline-start: 18px; }
	body.ak-filter-modal-open { overflow: hidden; }

	/* Home product rows use the same quick-scan, horizontal card as the mobile shop. */
	body.home #main .ak-section ul.products { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	body.home #main .ak-section ul.products li.product { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: 20px 48px 1fr 36px; column-gap: 12px; height: 172px; min-height: 172px; padding: 12px; border-radius: 20px; overflow: hidden; }
	body.home #main .ak-section ul.products li.product > .woocommerce-LoopProduct-link { display: contents; }
	body.home #main .ak-section ul.products li.product .ak-card__media { grid-column: 1; grid-row: 1 / span 4; align-self: start; width: 120px; height: 120px; min-height: 0; border-radius: 8px; }
	body.home #main .ak-section ul.products li.product .ak-card__media img { width: 100%; height: 100%; object-fit: contain; }
	body.home #main .ak-section ul.products li.product .ak-card__cat { grid-column: 2; grid-row: 1; align-self: end; padding: 0; color: #53604e; font-size: 12px; }
	body.home #main .ak-section ul.products li.product .woocommerce-loop-product__title { grid-column: 2; grid-row: 2; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.7; }
	body.home #main .ak-section ul.products li.product .price { grid-column: 2; grid-row: 3; align-self: end; justify-content: flex-start; width: 100%; margin: 0; padding: 8px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
	body.home #main .ak-section ul.products li.product a.button, body.home #main .ak-section ul.products li.product a.added_to_cart.button { grid-column: 2; grid-row: 4; width: 100%; min-width: 0; min-height: 36px; margin: 0; padding-inline: 12px; font-size: 12px; }
	body.home #main .ak-section ul.products li.product.outofstock a.button { border-color: transparent; background: #edf0ea; color: #7a8375; }
	body.home #main .ak-section ul.products li.product > .ak-wish, body.home #main .ak-section ul.products li.product:has(.onsale) > .ak-wish { inset-block-start: 18px; inset-inline-end: 18px; }
	body.home #main .ak-section ul.products li.product .onsale { inset-block-start: 18px; inset-inline-start: 18px; }

	/* Cart and checkout. */
	body.woocommerce-checkout main.ak-page { padding-inline: 0; padding-block: 16px 24px; }
	body.woocommerce-checkout .ak-page__head h1 { font-size: 24px; }
	body.woocommerce-cart .ak-steps, body.woocommerce-checkout .ak-steps { gap: 6px; max-width: none; margin-block-end: 20px; }
	body.woocommerce-cart .ak-steps li, body.woocommerce-checkout .ak-steps li { gap: 6px; padding-inline: 6px; font-size: 12px; }
	body.woocommerce-cart .ak-steps__n, body.woocommerce-checkout .ak-steps__n { width: 20px; height: 20px; font-size: 11px; }
	body.woocommerce-order-received ul.order_details { grid-template-columns: minmax(0, 1fr); }
	body.woocommerce-order-received .woocommerce-order-details, body.woocommerce-order-received .woocommerce-customer-details { padding: 20px; border-radius: 24px; }
	body.woocommerce-order-received .woocommerce-columns--addresses { grid-template-columns: minmax(0, 1fr); }
	body.woocommerce-order-received .woocommerce-thankyou-order-received, body.woocommerce-order-received .woocommerce-thankyou-order-failed { padding: 24px 16px; font-size: 17px; border-radius: 24px; }

	/* Product page: the whole buy box (options, quantity, add to cart) rides above the bottom bar. */
	body.single-product { padding-block-end: calc(68px + 96px); }
	body.single-product:has(form.variations_form) { padding-block-end: calc(68px + 170px); }
	body.single-product div.product form.cart {
		position: fixed; inset-inline: 0; inset-block-end: calc(60px + env(safe-area-inset-bottom)); z-index: 35; width: auto; max-height: 60svh; overflow-y: auto; margin: 0;
		padding: 12px 16px; background: var(--paper); border-block-start: 1px solid var(--line); border-radius: 24px 24px 0 0; box-shadow: 0 -12px 24px -16px rgba(40, 44, 39, .3);
	}
	body.single-product div.product form.cart table.variations { margin-block-end: 8px; }
	body.single-product div.product form.cart table.variations tr { flex-direction: row; align-items: center; gap: 12px; }
	body.single-product div.product form.cart table.variations th { flex: none; }
	body.single-product div.product form.cart table.variations td { flex: 1; min-width: 0; }
	body.single-product div.product form.cart select { height: 44px; }
	body.single-product div.product form.cart .woocommerce-variation { margin-block-end: 8px; }
	body.single-product .ak-toast { inset-block-end: calc(60px + 100px + env(safe-area-inset-bottom)); }
	body.single-product div.product form.cart:not(.variations_form), body.single-product div.product form.cart .woocommerce-variation-add-to-cart { flex-wrap: wrap; }
	body.single-product div.product .ak-buybar__price { display: flex; flex: 0 0 100%; order: -1; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 20px; font-weight: 800; line-height: 1.5; color: var(--ink); font-variant-numeric: tabular-nums; }
	body.single-product div.product .ak-buybar__price::before { content: "قیمت"; font-size: 13px; font-weight: 500; color: var(--muted); }
	body.single-product div.product .ak-buybar__price .woocommerce-Price-currencySymbol { font-size: 13px; font-weight: 500; color: var(--muted); }
	body.single-product div.product .ak-buybar__price del { font-size: 13px; font-weight: 400; color: var(--muted); }
	body.single-product div.product .ak-buybar__price ins { text-decoration: none; }
	body.single-product div.product form.cart .woocommerce-variation-price, body.single-product div.product form.cart .woocommerce-variation-availability { display: none; }
	body.single-product { padding-block-end: calc(68px + 130px); }
	body.single-product:has(form.variations_form) { padding-block-end: calc(68px + 210px); }
	body.single-product div.product .ak-buybar__price { gap: 4px 10px; }
	body.single-product div.product .ak-buybar__price::before { margin-inline-end: auto; }
	body.single-product div.product .ak-buybar__price ins { order: 1; }
	body.single-product div.product .ak-buybar__price del { order: 2; }


	body.woocommerce-cart p.return-to-shop { padding: 12px 16px 40px; border-radius: 0 0 24px 24px; }
	/* Text pages and contact. */
	body main.ak-page { padding: 16px 0 40px; }
	body main.ak-page .ak-page__head { margin-block-end: 20px; }
	body main.ak-page .ak-page__head h1 { font-size: 24px; }
	body main.ak-page .ak-content { font-size: 15px; }
	body main.ak-page .ak-content h2 { margin-block-start: 32px; font-size: 19px; }
	body main.ak-page .ak-contact { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	body main.ak-page .ak-contact .ak-form { padding: 20px; border-radius: 24px; }
	body main.ak-page .ak-contact__info { padding: 20px; border-radius: 24px; }
	body main.ak-page .ak-form .ak-btn { width: 100%; }
	body main.ak-page .ak-page__cover { border-radius: 24px; margin-block-end: 20px; }
	body main.ak-page .ak-posts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	body main.ak-page .ak-post { border-radius: 24px; }
	body main.ak-page .ak-post__media { border-radius: 18px; }
	body.page-id-37 .ak-content { display: block; }
	body.page-id-37 .ak-content > p:first-child { margin-block-end: 24px; padding: 20px; border-radius: 24px; font-size: 17px; }
	body.page-id-37 .ak-content > h2 { margin-block-start: 28px; }

	/* Every WooCommerce product loop shares one horizontal card treatment on phones. */
	body .woocommerce ul.products, body.woocommerce-page ul.products { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	body .woocommerce ul.products li.product, body.woocommerce-page ul.products li.product { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: 20px 48px 1fr 36px; column-gap: 12px; height: 172px; min-height: 172px; padding: 12px; border-radius: 20px; overflow: hidden; }
	body .woocommerce ul.products li.product > .woocommerce-LoopProduct-link, body.woocommerce-page ul.products li.product > .woocommerce-LoopProduct-link { display: contents; }
	body .woocommerce ul.products li.product .ak-card__media, body.woocommerce-page ul.products li.product .ak-card__media { grid-column: 1; grid-row: 1 / span 4; align-self: start; width: 120px; height: 120px; min-height: 0; border-radius: 8px; }
	body .woocommerce ul.products li.product .ak-card__media img, body.woocommerce-page ul.products li.product .ak-card__media img { width: 100%; height: 100%; object-fit: contain; }
	body .woocommerce ul.products li.product .ak-card__cat, body.woocommerce-page ul.products li.product .ak-card__cat { grid-column: 2; grid-row: 1; align-self: end; padding: 0; color: #53604e; font-size: 12px; }
	body .woocommerce ul.products li.product .woocommerce-loop-product__title, body.woocommerce-page ul.products li.product .woocommerce-loop-product__title { grid-column: 2; grid-row: 2; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.7; }
	body .woocommerce ul.products li.product .price, body.woocommerce-page ul.products li.product .price { grid-column: 2; grid-row: 3; align-self: end; justify-content: flex-start; width: 100%; margin: 0; padding: 8px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
	body .woocommerce ul.products li.product a.button, body.woocommerce ul.products li.product a.added_to_cart.button, body.woocommerce-page ul.products li.product a.button, body.woocommerce-page ul.products li.product a.added_to_cart.button { grid-column: 2; grid-row: 4; width: 100%; min-width: 0; min-height: 36px; margin: 0; padding-inline: 12px; font-size: 12px; }
	body .woocommerce ul.products li.product.outofstock a.button, body.woocommerce-page ul.products li.product.outofstock a.button { border-color: transparent; background: #edf0ea; color: #7a8375; }
	body .woocommerce ul.products li.product > .ak-wish, body.woocommerce ul.products li.product:has(.onsale) > .ak-wish, body.woocommerce-page ul.products li.product > .ak-wish, body.woocommerce-page ul.products li.product:has(.onsale) > .ak-wish { inset-block-start: 18px; inset-inline-end: 18px; }
	body .woocommerce ul.products li.product .onsale, body.woocommerce-page ul.products li.product .onsale { inset-block-start: 18px; inset-inline-start: 18px; }

	/* Related and upsell loops on a single product live outside the .woocommerce wrapper. */
	body.single-product :is(.related, .upsells) ul.products { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	body.single-product :is(.related, .upsells) ul.products li.product { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: 20px 48px 1fr 36px; column-gap: 12px; height: 172px; min-height: 172px; padding: 12px; border-radius: 20px; overflow: hidden; }
	body.single-product :is(.related, .upsells) ul.products li.product > .woocommerce-LoopProduct-link { display: contents; }
	body.single-product :is(.related, .upsells) ul.products li.product .ak-card__media { grid-column: 1; grid-row: 1 / span 4; align-self: start; width: 120px; height: 120px; min-height: 0; border-radius: 8px; }
	body.single-product :is(.related, .upsells) ul.products li.product .ak-card__media img { width: 100%; height: 100%; object-fit: contain; }
	body.single-product :is(.related, .upsells) ul.products li.product .ak-card__cat { grid-column: 2; grid-row: 1; align-self: end; padding: 0; color: #53604e; font-size: 12px; }
	body.single-product :is(.related, .upsells) ul.products li.product .woocommerce-loop-product__title { grid-column: 2; grid-row: 2; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.7; }
	body.single-product :is(.related, .upsells) ul.products li.product .price { grid-column: 2; grid-row: 3; align-self: end; justify-content: flex-start; width: 100%; margin: 0; padding: 8px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
	body.single-product :is(.related, .upsells) ul.products li.product a.button, body.single-product :is(.related, .upsells) ul.products li.product a.added_to_cart.button { grid-column: 2; grid-row: 4; width: 100%; min-width: 0; min-height: 36px; margin: 0; padding-inline: 12px; font-size: 12px; }
	body.single-product :is(.related, .upsells) ul.products li.product.outofstock a.button { border-color: transparent; background: #edf0ea; color: #7a8375; }
	body.single-product :is(.related, .upsells) ul.products li.product > .ak-wish, body.single-product :is(.related, .upsells) ul.products li.product:has(.onsale) > .ak-wish { inset-block-start: 18px; inset-inline-end: 18px; }
	body.single-product :is(.related, .upsells) ul.products li.product .onsale { inset-block-start: 18px; inset-inline-start: 18px; }

	/* Sale stays on the lower-right corner of the image across every mobile product card. */
	body .woocommerce ul.products li.product .onsale, body.woocommerce-page ul.products li.product .onsale, body.single-product :is(.related, .upsells) ul.products li.product .onsale { position: absolute !important; z-index: 3; top: auto !important; right: 12px !important; bottom: 12px !important; left: auto !important; display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; width: max-content !important; max-width: 72px; min-width: 0 !important; height: 36px !important; min-height: 36px !important; margin: 0 !important; padding: 0 8px !important; border-radius: 10px !important; font-size: 11px !important; line-height: 1.6 !important; white-space: nowrap; overflow: hidden; }
}

/* Product purchase card stays in the page across screen sizes. */
@media (max-width: 767px) {
  body.single-product, body.single-product:has(form.variations_form) { padding-block-end: 24px !important; }
  body.single-product div.product form.cart { position: static !important; inset: auto !important; z-index: auto !important; width: 100% !important; max-height: none !important; overflow: visible !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
}
/* Mobile header with inline search, in normal document flow. */
@media (max-width:767px) {
  body .ak-header, body.home .ak-header, body.home .ak-header.is-scrolled { position:relative!important; inset:auto!important; z-index:20; padding:16px 0!important; background:#fff!important; border:0!important; pointer-events:auto!important; }
  body .ak-header__in, body.home .ak-header__in, body.home .ak-header.is-scrolled .ak-header__in { display:flex!important; justify-content:space-between!important; width:calc(100% - 40px)!important; height:56px!important; margin:0 auto!important; padding:0!important; gap:18px!important; border:0!important; border-radius:0!important; box-shadow:none!important; background:#fff!important; -webkit-backdrop-filter:none!important; backdrop-filter:none!important; }
  body .ak-header .ak-logo { flex:0 0 auto; }
  body .ak-header .ak-logo img:first-child { display:none!important; }
  body .ak-header .ak-logo__word { width:82px!important; }
  body .ak-header .ak-mobile-search { display:flex; flex:1 1 auto; min-width:0; max-width:295px; height:56px; align-items:center; justify-content:space-between; gap:12px; padding:0 18px; border:1px solid #d6d6dc; border-radius:20px; background:#fff; color:#a0a0aa; font:inherit; font-size:15px; cursor:pointer; }
  body .ak-header .ak-mobile-search .ak-icon { width:23px; height:23px; flex:none; color:#111; }
}
@media (max-width:767px) {
  body .ak-mobile-shipping-note { display:block; width:100%; min-height:28px; padding:3px 12px; background:#b8d7af; color:#282c27; text-align:center; font-size:11px; font-weight:700; line-height:22px; }
  body .ak-header .ak-shipping-note { display:none!important; }
  body .ak-header .ak-mobile-search span { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}
@media (max-width:767px) {
  body .ak-header, body.home .ak-header, body.home .ak-header.is-scrolled { border-bottom:1px solid #e4e4e8!important; }
}
@media (max-width:767px) {
  body .ak-header .ak-mobile-search span { font-size:13px; font-weight:300; color:#a0a0aa; }
}
@media (max-width:767px) {
  body .ak-header .ak-mobile-search { height:48px; }
}
