/*
Theme Name: KanShop
Theme URI: https://kanbox.vn/kanshop
Author: KanShop
Description: Block theme WooCommerce cho shop Việt Nam. Dùng kèm plugin KanShop Core. Mỗi khách hàng dùng một child theme riêng.
Version: 0.7.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: kanshop
Tags: block-theme, e-commerce, full-site-editing
*/

/* ---------- Khung chung ---------- */
html, body { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.ks-main { padding-block: 16px 8px; }
.ks-home > * + * { margin-block-start: clamp(28px, 5vw, 52px) !important; }
.ks-shop > * + *, .ks-product > * + * { margin-block-start: 18px !important; }
.ks-archive-title { margin: 0; font-size: clamp(22px, 3vw, 30px); }
.woocommerce-breadcrumb, .wc-block-breadcrumbs { font-size: 13px; color: var(--wp--preset--color--muted); }

/* ---------- Thanh trên cùng ---------- */
.ks-topbar { background: var(--wp--preset--color--primary-dark); color: #fff; padding-block: 6px; }
@media (max-width: 767px) { .ks-topbar .ks-store__welcome { display: none; } .ks-topbar .ks-store--topbar { justify-content: center; } }

/* ---------- Đầu trang ---------- */
.ks-site-header { background: var(--wp--preset--color--base); }
@media (min-width: 1024px) {
	.ks-site-header { position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 var(--wp--preset--color--line); }
	.admin-bar .ks-site-header { top: 32px; }
}
.ks-header { padding-block: 10px 0; }
.ks-header__grid { display: grid; align-items: center; gap: 10px 14px; grid-template-columns: auto 1fr; grid-template-areas: "logo actions" "nav search"; padding-bottom: 10px; }
.ks-header__logo { grid-area: logo; margin: 0; }
.ks-header__logo img { width: auto; max-height: 44px; max-width: 170px; object-fit: contain; }
.ks-header__search { grid-area: search; margin: 0; min-width: 0; }
.ks-header__actions { grid-area: actions; justify-self: end; gap: 8px !important; }
.ks-header__nav { grid-area: nav; }
.ks-header__search .wp-block-search__inside-wrapper { border: 1px solid var(--wp--preset--color--line) !important; border-radius: 10px; background: var(--wp--preset--color--surface); padding: 3px !important; }
.ks-header__search .wp-block-search__input { border: 0 !important; background: transparent; font-size: 14px; padding: 8px 10px; min-width: 0; }
.ks-header__search .wp-block-search__button { margin: 0; border-radius: 8px; padding: 6px 12px; background: var(--wp--preset--color--primary); color: #fff; border: 0; }
.ks-header__search .wp-block-search__button svg { fill: currentColor; width: 20px; height: 20px; }
@media (max-width: 1023px) {
	.ks-header__actions .ks-store__hl { display: none; }
	.ks-header__actions .ks-store__icon { width: 38px; height: 38px; }
}
@media (min-width: 1024px) {
	.ks-header { padding-top: 14px; }
	.ks-header__grid { grid-template-columns: auto minmax(280px, 620px) 1fr; grid-template-areas: "logo search actions" "nav nav nav"; gap: 14px 32px; padding-bottom: 0; }
	.ks-header__logo img { max-height: 54px; max-width: 220px; }
	.ks-header__nav { position: relative; margin-top: 4px !important; background: var(--wp--preset--color--primary); }
	.ks-header__nav::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--wp--preset--color--primary); }
}
.wc-block-mini-cart__button { padding: 8px; border-radius: 10px; }
.wc-block-mini-cart__badge { background: var(--wp--preset--color--primary) !important; color: #fff !important; }

/* ---------- Cam kết ---------- */
.ks-usp { gap: 12px !important; }
.ks-usp__item { position: relative; padding: 16px 16px 16px 76px; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; background: var(--wp--preset--color--base); }
.ks-usp__item::before { content: ""; position: absolute; left: 16px; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: var(--wp--preset--color--primary-soft); }
.ks-usp__item::after { content: ""; position: absolute; left: 27px; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: var(--wp--preset--color--primary); -webkit-mask: var(--ks-usp-icon) center / contain no-repeat; mask: var(--ks-usp-icon) center / contain no-repeat; }
.ks-usp__item--shield { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6l-8-3z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.ks-usp__item--swap { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h13l-3-3M20 16H7l3 3'/%3E%3C/svg%3E"); }
.ks-usp__item--truck { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='18' r='1.8'/%3E%3Ccircle cx='17' cy='18' r='1.8'/%3E%3C/svg%3E"); }
.ks-usp__item--store { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h16l-1.5-4h-13zM5 9v10h14V9M9 19v-5h6v5'/%3E%3C/svg%3E"); }
.ks-usp__title { margin: 0; font-weight: 700; font-size: 15px; }
.ks-usp__text { margin: 2px 0 0 !important; font-size: 13px; color: var(--wp--preset--color--muted); line-height: 1.45; }

/* ---------- Tin tức ---------- */
.ks-news .ks-section-head { margin-bottom: 14px; }
.ks-news .ks-section-more { margin: 0; }
.ks-news .ks-section-more a { text-decoration: none; }
.ks-news__list.is-grid { gap: 16px; padding: 0; }
.ks-news__list li { margin: 0 !important; width: auto !important; }
@media (max-width: 781px) { .ks-news__list.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 782px) { .ks-news__list.is-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ks-news__list .wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; border-radius: 10px; }
.ks-news__list .wp-block-latest-posts__post-title { display: block; margin-top: 8px; font-weight: 600; line-height: 1.4; color: var(--wp--preset--color--ink); text-decoration: none; }
.ks-news__list time { font-size: 12px; color: var(--wp--preset--color--muted); }

/* ---------- Trang sản phẩm ---------- */
.ks-product__top { gap: clamp(16px, 4vw, 40px) !important; align-items: flex-start; }
.ks-product__summary > * + * { margin-block-start: 14px; }
.ks-product__title { margin: 0; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.3; }
.ks-product__excerpt { font-size: 15px; color: var(--wp--preset--color--ink); }
.ks-product .woocommerce-product-gallery { border-radius: 14px; overflow: hidden; background: var(--wp--preset--color--surface); }
.ks-product .single_add_to_cart_button, .ks-product .wc-block-components-product-button__button { background: var(--wp--preset--color--primary) !important; color: #fff !important; border-radius: 10px !important; padding: 12px 22px !important; font-weight: 700; }
.ks-product form.cart { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.ks-product .quantity input { height: 100%; min-height: 46px; border-radius: 10px; border: 1px solid var(--wp--preset--color--line); }
.ks-product .wc-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 !important; border-bottom: 1px solid var(--wp--preset--color--line); }
.ks-product .wc-tabs li { list-style: none; margin: 0; }
.ks-product .wc-tabs li a { display: block; padding: 10px 14px; font-weight: 600; text-decoration: none; color: var(--wp--preset--color--muted); }
.ks-product .wc-tabs li.active a { color: var(--wp--preset--color--primary); box-shadow: inset 0 -2px 0 var(--wp--preset--color--primary); }
.ks-product .woocommerce-Tabs-panel { padding-top: 16px; line-height: 1.7; }
.ks-product .woocommerce-Tabs-panel img { border-radius: 10px; }
@media (max-width: 781px) { .ks-product__top { flex-wrap: wrap !important; } .ks-product__top > .wp-block-column { flex-basis: 100% !important; } }

/* ---------- Bài viết ---------- */
.ks-posts .wp-block-post-featured-image img { border-radius: 10px; }
.ks-posts .wp-block-post-title { font-size: 17px; margin-top: 8px; }
.ks-posts .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--ink); }
.ks-posts .wp-block-post-date { font-size: 13px; color: var(--wp--preset--color--muted); }
.ks-post__date { color: var(--wp--preset--color--muted); font-size: 14px; }
.ks-post__thumb img { border-radius: 14px; }

/* ---------- Chân trang ---------- */
.ks-footer { margin-top: clamp(32px, 6vw, 64px); padding-block: clamp(32px, 5vw, 52px) 20px; background: var(--wp--preset--color--footer); color: #d6dae1; }
.ks-footer a { color: #fff; }
.ks-footer .ks-store__name, .ks-footer .ks-flinks__title { color: #fff; }
.ks-footer .ks-store__list .ks-icon { color: #fff; opacity: .75; }
.ks-footer .ks-store__map { color: #fff !important; text-decoration: underline; }
.ks-footer .ks-social { margin-top: 16px; }
.ks-footer__cols { gap: clamp(20px, 4vw, 40px) !important; }
@media (max-width: 781px) { .ks-footer__cols { flex-wrap: wrap !important; } .ks-footer__cols > .wp-block-column { flex-basis: 100% !important; } }
.ks-footer__legal { margin-top: 28px !important; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .14); }

/* Chừa chỗ cho nút nổi trên mobile */
@media (max-width: 767px) { .ks-footer { padding-bottom: 96px; } }

/* ---------- Sửa chi tiết ---------- */
.ks-header__grid > * { margin: 0 !important; }
.ks-product .onsale, .woocommerce span.onsale, .wc-block-components-product-sale-badge { min-width: 0; min-height: 0; padding: 4px 10px !important; border: 0 !important; border-radius: 999px !important; background: var(--wp--preset--color--sale) !important; color: #fff !important; font-size: 13px; font-weight: 700; line-height: 1.4 !important; top: 12px !important; left: 12px !important; }

/* ---------- Khối của thư viện mẫu ---------- */
.ks-hero { gap: 16px !important; align-items: stretch !important; }
@media (max-width: 1023px) { .ks-hero > .ks-hero__side { display: none !important; } .ks-hero > .ks-hero__main { flex-basis: 100% !important; } }
.ks-cta { padding: clamp(24px, 5vw, 48px) clamp(16px, 4vw, 40px); border-radius: 18px; background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--primary-dark)); color: #fff; text-align: center; }
.ks-cta .ks-section-title, .ks-cta h2 { color: #fff; }
.ks-cta__text { opacity: .92; }
.ks-cta .wp-block-buttons { justify-content: center; }
.ks-cta .wp-block-button__link { background: #fff; color: var(--wp--preset--color--primary); }
.ks-cta .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #fff; }
.ks-faq__item { padding: 14px 16px; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; background: var(--wp--preset--color--base); }
.ks-faq__item summary { font-weight: 600; cursor: pointer; }
.ks-faq__item p { margin: 10px 0 0; color: var(--wp--preset--color--muted); }
.ks-promo2 { gap: 16px !important; }
.ks-promo-card { padding: clamp(20px, 4vw, 36px); border-radius: 16px; background: linear-gradient(135deg, var(--wp--preset--color--primary-soft), #fff); border: 1px solid var(--wp--preset--color--line); }
.ks-promo-card--dark { background: linear-gradient(135deg, #1f2937, #0f172a); color: #fff; border: 0; }
.ks-promo-card--dark h2 { color: #fff; }
.ks-promo-card__eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--wp--preset--color--primary); }
.ks-promo-card--dark .ks-promo-card__eyebrow { color: #fca5a5; }
.ks-promo-hero { padding: clamp(28px, 6vw, 64px) 20px; border-radius: 18px; text-align: center; background: radial-gradient(circle at 30% 20%, var(--wp--preset--color--primary-soft), var(--wp--preset--color--surface)); }
.ks-promo-hero__title { margin: 6px 0; font-size: clamp(26px, 4.4vw, 46px); }
.ks-contact { gap: 24px !important; }
.ks-contact__box { padding: 24px; border-radius: 16px; background: var(--wp--preset--color--surface); }
.ks-post-chips { margin-bottom: 18px; }
.ks-landing > * + * { margin-block-start: clamp(28px, 5vw, 52px) !important; }
.ks-steps { counter-reset: ks-step; list-style: none; padding: 0; display: grid; gap: 10px; }
.ks-steps li { counter-increment: ks-step; position: relative; padding: 14px 16px 14px 60px; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; background: var(--wp--preset--color--base); }
.ks-steps li::before { content: counter(ks-step); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wp--preset--color--primary); color: #fff; font-weight: 800; }

/* ---------- 0.4: thêm icon cho ô cam kết (đổi icon bằng lớp ks-usp__item--TEN) ---------- */
.ks-usp__item--phone { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.ks-usp__item--chat { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H8l-4 4z'/%3E%3Cpath d='M8 10h8M8 13h5'/%3E%3C/svg%3E"); }
.ks-usp__item--pin { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.ks-usp__item--star { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1L3.2 9.5l6.1-.9z'/%3E%3C/svg%3E"); }
.ks-usp__item--tag { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.5'/%3E%3C/svg%3E"); }
.ks-usp__item--gift { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M5 12v9h14v-9M12 8v13M12 8c-2-4-6-4-6-1.5S10 8 12 8zm0 0c2-4 6-4 6-1.5S14 8 12 8z'/%3E%3C/svg%3E"); }
.ks-usp__item--card { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E"); }
.ks-usp__item--clock { --ks-usp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
a.ks-usp__item, .ks-usp__item a { color: inherit; text-decoration: none; }
.ks-usp--cta .ks-usp__item { background: var(--wp--preset--color--primary-soft); border-color: transparent; }
.ks-usp--compact .ks-usp__item { padding: 12px 12px 12px 64px; }
.ks-usp--compact .ks-usp__item::before { width: 40px; height: 40px; margin-top: -20px; left: 12px; }
.ks-usp--compact .ks-usp__item::after { left: 21px; width: 22px; height: 22px; margin-top: -11px; }
.ks-partners .wp-block-image { margin: 0; }
.ks-partners .wp-block-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; padding: 12px; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; background: #fff; transition: box-shadow .2s; }
.ks-partners .wp-block-image a:hover img { box-shadow: 0 8px 24px rgb(0 0 0 / .08); }
.ks-partners figcaption { margin-top: 8px; text-align: center; font-size: 13px; font-weight: 600; color: var(--wp--preset--color--ink); }
.ks-cta-cover { border-radius: 18px; overflow: hidden; }

/* ---------- 0.4.1: sửa đồng bộ ---------- */
/* Ô icon & logo đối tác: tự giãn đều, không chừa ô trống cuối hàng */
.ks-usp.is-layout-grid, .ks-usp { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important; }
.ks-partners.is-layout-grid, .ks-partners { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)) !important; gap: 14px !important; }
.ks-partners > .wp-block-image { display: flex; flex-direction: column; }
/* Khoảng cách đều giữa các khu vực trang chủ / trang dựng tự do */
.ks-home .wp-block-post-content > * + *, .ks-landing .wp-block-post-content > * + * { margin-block-start: clamp(28px, 5vw, 52px) !important; }
.ks-boxes > * + * { margin-top: 14px; }
.ks-product > .ks-boxes, .ks-product > .wp-block-group.ks-boxes { margin-block: 8px; }
/* Bảng trong mô tả sản phẩm / bài viết */
.woocommerce-Tabs-panel table, .wp-block-post-content table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.woocommerce-Tabs-panel table td, .woocommerce-Tabs-panel table th, .wp-block-post-content table td, .wp-block-post-content table th { padding: 9px 12px !important; border: 1px solid var(--wp--preset--color--line); line-height: 1.5; vertical-align: top; }
.woocommerce-Tabs-panel table tr:nth-child(odd) td:first-child { background: var(--wp--preset--color--surface); }
.woocommerce-Tabs-panel img { max-width: 100%; height: auto; }

/* v0.5 – Ảnh nhỏ của gallery: ô vừa ảnh, không chừa ô trắng; ẩn khi chỉ có 1 ảnh. */
.ks-product .woocommerce-product-gallery { background: none; }
.ks-product .woocommerce-product-gallery .flex-viewport, .ks-product .woocommerce-product-gallery__wrapper { border-radius: 14px; background: var(--wp--preset--color--surface); }
.ks-product .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0 !important; padding: 0 !important; }
.ks-product .flex-control-thumbs li { float: none !important; width: 72px !important; margin: 0 !important; list-style: none; }
.ks-product .flex-control-thumbs li:only-child { display: none; }
.ks-product .flex-control-thumbs img { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--wp--preset--color--line); opacity: .7; }
.ks-product .flex-control-thumbs img.flex-active, .ks-product .flex-control-thumbs img:hover { opacity: 1; border-color: var(--wp--preset--color--primary); }
.ks-hero > .ks-hero__aside { min-width: 0; }
@media (max-width: 781px) { .ks-hero > .ks-hero__aside .ks-slider--stack { flex-direction: row; } .ks-hero > .ks-hero__aside .ks-slider__slide { aspect-ratio: 16/9; } }
/* Ô cam kết dùng ảnh làm icon: chèn khối Ảnh có lớp ks-usp__icon vào ô. */
.ks-usp__item:has(.ks-usp__icon)::before, .ks-usp__item:has(.ks-usp__icon)::after { display: none; }
.ks-usp__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 50px; margin: 0 !important; }
.ks-usp__icon img { display: block; width: 50px !important; height: 50px !important; object-fit: contain; }

/* v0.5.1 */
/* Breadcrumb thẳng hàng với nội dung. */
.ks-main > .wc-block-breadcrumbs.alignwide { max-width: var(--wp--style--global--content-size) !important; }
/* Gallery lấp đầy cột ảnh, khoảng cách với khung thông tin gọn hơn. */
.ks-product .woocommerce-product-gallery, .ks-product div.images { width: 100% !important; float: none !important; max-width: none; }
.ks-product__top { gap: 24px !important; }
/* Ô chính sách: tiêu đề 1 dòng, mô tả 2 dòng, icon căn giữa. */
.ks-usp--compact .ks-usp__item { display: flex; flex-direction: column; justify-content: center; min-height: 84px; padding: 12px 12px 12px 74px; }
.ks-usp--compact .ks-usp__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.ks-usp--compact .ks-usp__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; }
.ks-product .woocommerce-product-gallery__image img:not(.zoomImg), .ks-product .woocommerce-product-gallery__image--placeholder img { width: 100% !important; height: auto; }
.ks-product .woocommerce-product-gallery__image img.zoomImg { width: auto !important; height: auto !important; max-width: none !important; }
.ks-footer__legal.ks-store--legal { justify-content: center; gap: 16px 40px; }
