/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Product card prices: bolder so they stand out */
.wd-product .price, .wd-product .price .amount { font-weight: 700; }
.wd-product .price { font-size: 18px; }
@media (max-width: 767px) { .wd-product .price { font-size: 17px; } }

/* Homepage "Shop by Category": soft grey cards (same family as the brand tiles) with photo, name, count and an arrow */
.elementor-element-zcatgr .wd-cat-inner { position: relative; height: 100%; padding: 22px 22px 24px; border: 0; border-radius: 24px; background: #f4f5f7; box-shadow: none; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.elementor-element-zcatgr .wd-cat-inner:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(17, 24, 39, .1); }
.elementor-element-zcatgr .wd-cat-thumb, .elementor-element-zcatgr .wd-cat-image { display: block; margin: 0; border-radius: 0; background: #f4f5f7; }
.elementor-element-zcatgr .wd-cat-thumb img { display: block; width: 100%; aspect-ratio: 1 / .8; object-fit: contain; transition: transform .45s ease; }
.elementor-element-zcatgr .wd-cat-inner:hover .wd-cat-thumb img { transform: scale(1.06); }
.elementor-element-zcatgr .wd-cat.cat-design-default .wd-cat-content { position: static !important; inset: auto !important; transform: none !important; opacity: 1 !important; padding: 18px 56px 0 0 !important; text-align: left; background: none !important; }
.elementor-element-zcatgr .wd-cat .wd-entities-title { position: static !important; margin: 0; color: #111; font-size: 20px !important; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; text-transform: none; }
.elementor-element-zcatgr .wd-cat.cat-design-default .wd-cat-count, .elementor-element-zcatgr .wd-cat-count a { display: block !important; margin-top: 4px; color: #6b7280; font-size: 14px; opacity: 1 !important; transform: none !important; height: auto !important; }
.elementor-element-zcatgr .wd-cat-content::after { content: ""; position: absolute; right: 20px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 2px 8px rgba(17, 24, 39, .08); transition: background-color .25s ease; pointer-events: none; }
.elementor-element-zcatgr .wd-cat-inner:hover .wd-cat-content::after { background-color: #111; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
@media (max-width: 767px) {
	.elementor-element-zcatgr .wd-cat-inner { padding: 14px 14px 16px; border-radius: 20px; }
	.elementor-element-zcatgr .wd-cat-inner:hover { transform: none; box-shadow: none; }
	.elementor-element-zcatgr .wd-cat-thumb img { aspect-ratio: 1 / .78; }
	.elementor-element-zcatgr .wd-cat.cat-design-default .wd-cat-content { padding: 12px 38px 0 0 !important; }
	.elementor-element-zcatgr .wd-cat .wd-entities-title { font-size: 16px !important; }
	.elementor-element-zcatgr .wd-cat-count, .elementor-element-zcatgr .wd-cat-count a { font-size: 13px; }
	.elementor-element-zcatgr .wd-cat-content::after { right: 12px; bottom: 15px; width: 32px; height: 32px; background-size: 15px; }
}
/* Mobile "Categories" panel (bottom bar): a line icon in front of every category, matched by the category link */
.mobile-categories-menu > li > a .nav-link-text { display: inline-flex; align-items: center; gap: 14px; }
.mobile-categories-menu > li > a .nav-link-text::before { content: ""; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; background: #f2f3f5 var(--zmc-cat-icon, none) center / 22px no-repeat; }
.mobile-categories-menu a[href$="/product-category/tablets/"] { --zmc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3' width='17' height='18' rx='2.5'/%3E%3Cpath d='M10.5 18h3'/%3E%3C/svg%3E"); }
.mobile-categories-menu a[href$="/product-category/smartphones/"] { --zmc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2' width='11' height='20' rx='2.8'/%3E%3Cpath d='M10.5 5h3'/%3E%3C/svg%3E"); }
.mobile-categories-menu a[href$="/product-category/earbuds/"] { --zmc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4.5a3 3 0 0 0-3 3v.6a3 3 0 0 0 3 3h1.6V18.6a1.3 1.3 0 0 0 2.6 0V8.4A3.9 3.9 0 0 0 6.3 4.5z'/%3E%3Cpath d='M18 4.5a3 3 0 0 1 3 3v.6a3 3 0 0 1-3 3h-1.6V18.6a1.3 1.3 0 0 1-2.6 0V8.4a3.9 3.9 0 0 1 3.9-3.9z'/%3E%3C/svg%3E"); }
.mobile-categories-menu a[href$="/product-category/smartwatches/"] { --zmc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='3.2'/%3E%3Cpath d='M8.6 6l.7-3.2h5.4l.7 3.2M8.6 18l.7 3.2h5.4l.7-3.2'/%3E%3Cpath d='M12 9.6V12l1.6 1.2'/%3E%3Cpath d='M18 10.6h.8'/%3E%3C/svg%3E"); }
.mobile-categories-menu a[href$="/product-category/hair-care/"] { --zmc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3.5a5 5 0 0 1 0 10H8.5L3.5 12V5L8.5 3.5z'/%3E%3Ccircle cx='15' cy='8.5' r='1.8'/%3E%3Cpath d='M11.2 13.5l1.4 6.3a1 1 0 0 0 1 .7h1.6a1 1 0 0 0 1-1.2l-1.2-5.8'/%3E%3C/svg%3E"); }
.mobile-categories-menu a[href$="/product-category/accessories/"] { --zmc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2.5v5M15 2.5v5'/%3E%3Cpath d='M6.5 7.5h11v4a5.5 5.5 0 0 1-11 0z'/%3E%3Cpath d='M12 17v4.5'/%3E%3C/svg%3E"); }
.mobile-categories-menu a[href$="/product-category/bundles/"] { --zmc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8l8.2 4.4v9.6L12 21.2l-8.2-4.4V7.2z'/%3E%3Cpath d='M3.8 7.2L12 11.6l8.2-4.4M12 11.6v9.6'/%3E%3Cpath d='M7.9 5l8.2 4.4'/%3E%3C/svg%3E"); }
.mobile-categories-menu a[href$="/product-category/deals/"] { --zmc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.6 2.8H4.4a1.6 1.6 0 0 0-1.6 1.6v7.2a1.6 1.6 0 0 0 .5 1.1l8.4 8.4a1.9 1.9 0 0 0 2.7 0l6.9-6.9a1.9 1.9 0 0 0 0-2.7L12.7 3.3a1.6 1.6 0 0 0-1.1-.5z'/%3E%3Ccircle cx='7.6' cy='7.6' r='1.3'/%3E%3C/svg%3E"); }
/* Brand logos (product page + product cards): plain logo, no frame */
.zmc-brand-logo { display: inline-flex; align-items: center; margin: 0 0 12px; }
.zmc-brand-logo img { display: block; width: auto; max-width: 160px; height: 30px; object-fit: contain; }
.zmc-brand-logo span { font-size: 16px; font-weight: 700; color: #111; }
.wd-product .zmc-brand-logo { position: relative; z-index: 2; margin: 0 0 6px; }
.wd-product .zmc-brand-logo img { max-width: 110px; height: 18px; object-position: left center; }
.wd-product .zmc-brand-logo span { font-size: 13px; }
@media (max-width: 767px) {
	.zmc-brand-logo img { height: 26px; }
	.wd-product .zmc-brand-logo img { height: 16px; }
}