/*
Theme Name: XPLUS24 Premium
Theme URI: https://xplus24.com/
Author: XPLUS24
Description: A premium, responsive WooCommerce theme for the XPLUS24 digital software marketplace.
Version: 1.3.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: xplus24
*/

:root {
	--xp-orange: #ff6500;
	--xp-orange-dark: #e95200;
	--xp-orange-soft: #fff1e7;
	--xp-ink: #141414;
	--xp-muted: #68707d;
	--xp-line: #e8e8e8;
	--xp-surface: #fff;
	--xp-bg: #fafafa;
	--xp-radius: 12px;
	--xp-shadow: 0 14px 36px rgba(18, 24, 40, .08);
	--xp-wrap: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--xp-bg);
	color: var(--xp-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { clip: auto; width: auto; height: auto; margin: 10px; padding: 12px 16px; z-index: 99999; background: #fff; }
.xp-wrap { width: min(calc(100% - 32px), var(--xp-wrap)); margin-inline: auto; }
.xp-icon { width: 1.2em; height: 1.2em; display: inline-grid; place-items: center; flex: 0 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.xp-utility { background: linear-gradient(90deg, #ff7300, #ff5600); color: #fff; font-size: 13px; font-weight: 720; }
.xp-utility__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.xp-utility__group { display: flex; align-items: center; gap: 28px; }
.xp-utility span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.xp-mainbar__inner { min-height: 82px; display: grid; grid-template-columns: 230px minmax(280px, 1fr) auto; gap: 38px; align-items: center; }
.xp-brand { display: inline-flex; align-items: flex-end; font-weight: 900; letter-spacing: -.055em; font-size: 31px; line-height: .9; }
.xp-brand__x { color: var(--xp-orange); margin-right: 2px; }
.xp-brand__hub { color: #fff; background: var(--xp-orange); padding: 5px 8px; border-radius: 5px; margin-left: 4px; letter-spacing: -.02em; }
.xp-brand__tag { display: block; font-size: 8px; letter-spacing: .25em; color: #6f6f6f; margin-top: 8px; text-align: center; font-weight: 600; }
.xp-search { height: 46px; display: grid; grid-template-columns: 170px 1fr 50px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: #fff; }
.xp-search select, .xp-search input { border: 0; outline: 0; min-width: 0; background: transparent; }
.xp-search select { border-right: 1px solid #e4e4e4; padding: 0 18px; font-weight: 680; font-size: 14px; }
.xp-search input { padding: 0 20px; font-size: 14px; }
.xp-search input::placeholder { color: #7a8089; opacity: 1; }
.xp-search button { border: 0; color: #fff; background: var(--xp-orange); cursor: pointer; transition: background .2s; }
.xp-search button:hover { background: var(--xp-orange-dark); }
.xp-actions { display: flex; align-items: center; gap: 25px; }
.xp-action { position: relative; display: flex; align-items: center; gap: 9px; line-height: 1.25; }
.xp-action__icon { width: 30px; font-size: 24px; }
.xp-action strong { display: block; font-size: 14px; font-weight: 750; }
.xp-action small { color: #555; white-space: nowrap; font-size: 12px; }
.xp-badge { position: absolute; left: 20px; top: -7px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--xp-orange); color: white; font-size: 10px; font-weight: 800; }
.xp-nav { background: var(--xp-orange); color: #fff; }
.xp-nav__inner { min-height: 44px; display: flex; align-items: stretch; }
.xp-category-toggle { min-width: 230px; border: 0; padding: 0 18px; display: flex; align-items: center; gap: 11px; color: #fff; background: rgba(177,63,0,.32); font-size: 13px; font-weight: 800; cursor: pointer; }
.xp-category-toggle[aria-expanded="true"] { background: rgba(130,43,0,.48); }
.xp-category-dropdown {
	position: absolute; top: 100%; left: max(16px, calc((100% - var(--xp-wrap)) / 2)); z-index: 1002;
	width: 300px; max-height: min(620px, calc(100vh - 170px)); overflow-y: auto;
	padding: 9px; border: 1px solid var(--xp-line); border-radius: 0 0 10px 10px;
	background: #fff; color: var(--xp-ink); box-shadow: 0 16px 34px rgba(18,24,40,.16);
}
.xp-category-dropdown[hidden] { display: none !important; }
.xp-category-dropdown ul { list-style: none; margin: 0; padding: 0; }
.xp-category-dropdown li + li { border-top: 1px solid #f0f0f0; }
.xp-category-dropdown li a {
	min-height: 47px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 13px;
	border-radius: 6px; font-size: 15px; line-height: 1.35; font-weight: 700; transition: color .2s, background .2s, padding .2s;
}
.xp-category-dropdown li a:hover { padding-left: 16px; color: var(--xp-orange); background: var(--xp-orange-soft); }
.xp-category-dropdown__all { min-height: 45px; margin-top: 10px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--xp-orange); color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.xp-menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; color: #fff; font-size: 22px; }
.xp-primary-menu { list-style: none; margin: 0; padding: 0 0 0 38px; display: flex; align-items: stretch; gap: 4px; }
.xp-primary-menu a { height: 44px; padding: 0 18px; display: grid; place-items: center; font-size: 16px; font-weight: 760; letter-spacing: .005em; position: relative; }
.xp-primary-menu a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: #fff; transform: scaleX(0); transition: transform .2s; }
.xp-primary-menu a:hover::after, .xp-primary-menu .current-menu-item a::after { transform: scaleX(1); }
.xp-primary-menu a[href*="/contact"] { background: rgba(255,255,255,.12); border-radius: 5px; }
.xp-primary-menu a[href*="/contact"]:hover { background: rgba(255,255,255,.2); }

/* Home hero */
.xp-hero-shell { display: grid; grid-template-columns: 230px 1fr; gap: 22px; padding-top: 14px; }
.xp-category-rail { background: #fff; border: 1px solid var(--xp-line); border-radius: 9px; overflow: hidden; align-self: start; }
.xp-category-rail ul { list-style: none; margin: 0; padding: 0; }
.xp-category-rail li + li { border-top: 1px solid var(--xp-line); }
.xp-category-rail a { min-height: 42px; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 9px; padding: 0 14px; font-size: 13px; transition: color .2s, background .2s, padding .2s; }
.xp-category-rail a:hover { color: var(--xp-orange); background: var(--xp-orange-soft); padding-left: 18px; }
.xp-category-rail .xp-cat-icon { color: var(--xp-orange); font-size: 18px; }
.xp-category-rail .xp-chevron { color: #9ca3af; }
.xp-category-rail__all { margin: 12px; min-height: 38px !important; display: flex !important; justify-content: center; background: var(--xp-orange); color: #fff !important; border-radius: 6px; font-weight: 800; }
.xp-hero { min-height: 358px; border-radius: 12px; overflow: hidden; position: relative; display: flex; align-items: center; background-color: #ffe8d7; background-size: cover; background-position: center; }
.xp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,248,240,.96) 0%, rgba(255,248,240,.88) 30%, rgba(255,248,240,0) 57%); }
.xp-hero__content { position: relative; z-index: 2; width: 51%; padding: 44px 50px; }
.xp-eyebrow { margin: 0 0 12px; color: var(--xp-orange); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; }
.xp-hero h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.01; letter-spacing: -.045em; }
.xp-hero h1 em { display: block; color: var(--xp-orange); font-style: normal; }
.xp-hero__lead { margin: 12px 0 17px; font-size: 16px; }
.xp-checks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.xp-checks li { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.xp-checks li::before { content: "✓"; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--xp-orange); font-size: 12px; font-weight: 900; }
.xp-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px;
	border: 1px solid var(--xp-orange) !important; border-radius: 7px !important; padding: 0 26px !important;
	background: var(--xp-orange) !important; color: #fff !important; font-weight: 780 !important; font-size: 14px !important;
	transition: transform .2s, box-shadow .2s, background .2s !important;
}
.xp-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255,101,0,.25); background: var(--xp-orange-dark) !important; }

/* Trust bar */
.xp-trustbar { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--xp-line); border-radius: 10px; background: #fff; overflow: hidden; }
.xp-trust { min-height: 74px; padding: 14px 22px; display: flex; align-items: center; gap: 14px; }
.xp-trust + .xp-trust { border-left: 1px solid var(--xp-line); }
.xp-trust__icon { font-size: 29px; color: var(--xp-orange); transition: transform .25s; }
.xp-trust:hover .xp-trust__icon { transform: translateY(-3px) scale(1.07); }
.xp-trust:nth-child(2) .xp-trust__icon { color: #38bd57; }
.xp-trust:nth-child(3) .xp-trust__icon { color: #994be4; }
.xp-trust:nth-child(4) .xp-trust__icon { color: #f2b400; }
.xp-trust strong, .xp-trust small { display: block; }
.xp-trust strong { font-size: 13px; }
.xp-trust small { color: var(--xp-muted); line-height: 1.3; }

/* Sections & cards */
.xp-section { padding: 48px 0 0; }
.xp-section--last { padding-bottom: 64px; }
.xp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.xp-section-title { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; text-transform: uppercase; position: relative; padding-bottom: 10px; }
.xp-section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--xp-orange); border-radius: 2px; }
.xp-section-link { color: var(--xp-orange); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.xp-products, .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 18px !important; margin: 0 !important; }
.xp-product, .woocommerce ul.products li.product {
	float: none !important; width: auto !important; min-width: 0; height: 100%; min-height: 540px; margin: 0 !important; padding: 14px !important; position: relative;
	display: flex; flex-direction: column;
	border: 1px solid var(--xp-line); border-radius: 12px; background: #fff; text-align: center; overflow: hidden;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.xp-product:hover, .woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--xp-shadow); border-color: #ffd2b5; }
.woocommerce ul.products li.product > .woocommerce-LoopProduct-link { min-width: 0; display: flex; flex: 1 1 auto; flex-direction: column; color: inherit; }
.xp-product-media {
	width: 100%; height: 260px; min-height: 260px; margin: 0 0 16px; padding: 28px;
	display: grid; place-items: center; overflow: hidden;
	border: 1px solid #f0f1f3; border-radius: 9px; background: #fff;
}
.xp-product-media img,
.xp-product__image,
.woocommerce ul.products li.product .xp-product-media img {
	display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important;
	margin: auto !important; object-fit: contain !important; object-position: center center !important; image-rendering: auto;
	transform: none !important; transition: opacity .2s ease;
}
.xp-product:hover .xp-product__image, .woocommerce ul.products li.product:hover .xp-product-media img { transform: none !important; }
.xp-product-card__title { height: 62px; min-height: 62px; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; }
.xp-product__name, .woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box; min-height: 0; max-height: 60px; margin: 0 !important; padding: 0 3px !important;
	overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
	font-size: 15px !important; line-height: 1.42; font-weight: 650; letter-spacing: -.006em; text-wrap: balance;
}
.xp-product-card__meta { min-height: 58px; display: grid; grid-template-rows: 20px 32px; align-items: center; margin-top: 5px; }
.xp-product__rating, .woocommerce ul.products li.product .star-rating { grid-row: 1; color: #ffb000; font-size: 12px !important; margin: 0 auto !important; }
.xp-product__price, .woocommerce ul.products li.product .price {
	grid-row: 2; align-self: center; min-height: 25px; margin: 0 !important;
	display: flex !important; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 5px;
	color: #16a34a !important; font-size: 18px !important; line-height: 1.2; font-weight: 800 !important; letter-spacing: -.01em;
}
.xp-product__price del, .woocommerce ul.products li.product .price del { color: #9aa0aa !important; font-size: 12px; font-weight: 500; opacity: 1 !important; }
.xp-product__tools { position: absolute; right: 10px; top: 10px; display: grid; gap: 7px; transform: translateX(46px); opacity: 0; transition: .2s; }
.xp-product:hover .xp-product__tools { transform: none; opacity: 1; }
.xp-tool { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--xp-line); border-radius: 50%; background: #fff; cursor: pointer; }
.xp-tool:hover { color: #fff; background: var(--xp-orange); border-color: var(--xp-orange); }
.xp-sale, .woocommerce span.onsale { position: absolute; z-index: 3; left: 10px !important; top: 10px !important; right: auto !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 4px 8px !important; border-radius: 4px !important; line-height: 1 !important; background: #e31a1a !important; color: white; font-size: 10px !important; font-weight: 850 !important; text-transform: uppercase; }
.woocommerce ul.products li.product .button { width: 100%; min-height: 44px; margin-top: 12px !important; flex: 0 0 auto; background: transparent !important; color: var(--xp-orange) !important; padding: 0 15px !important; font-size: 13px !important; }
.woocommerce ul.products li.product .button:hover { background: var(--xp-orange) !important; color: #fff !important; }
.woocommerce ul.products li.product .added_to_cart { display: block; margin-top: 8px; color: var(--xp-orange); font-size: 12px; font-weight: 800; }
.xp-empty { grid-column: 1 / -1; padding: 38px; border: 1px dashed #d6d6d6; border-radius: 10px; text-align: center; background: #fff; color: var(--xp-muted); }
.xp-categories { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.xp-category-card { min-height: 90px; padding: 18px; display: flex; align-items: center; gap: 15px; border: 1px solid var(--xp-line); border-radius: 10px; background: #fff; transition: .25s; }
.xp-category-card:hover { transform: translateY(-4px); border-color: #ffc49d; box-shadow: var(--xp-shadow); }
.xp-category-card__icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; color: var(--xp-orange); background: var(--xp-orange-soft); font-size: 23px; }
.xp-category-card:nth-child(3n+2) .xp-category-card__icon { color: #2678ed; background: #eaf2ff; }
.xp-category-card:nth-child(3n) .xp-category-card__icon { color: #38b958; background: #e9faee; }
.xp-category-card strong, .xp-category-card small { display: block; }
.xp-category-card small { color: var(--xp-muted); }

/* Why & CTA */
.xp-why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; padding: 50px; border-radius: 16px; background: #17191d; color: #fff; overflow: hidden; position: relative; }
.xp-why::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -180px; background: rgba(255,101,0,.18); filter: blur(4px); }
.xp-why h2 { margin: 8px 0 14px; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.xp-why p { color: #c4c7ce; }
.xp-why__grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.xp-why__item { padding: 20px; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; background: rgba(255,255,255,.05); }
.xp-why__item strong { display: block; margin: 8px 0 2px; }
.xp-why__item small { color: #babdc5; }
.xp-newsletter { padding: 28px 0; background: linear-gradient(100deg, #ff7000, #f24b00); color: white; }
.xp-newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.xp-newsletter h2 { margin: 0; font-size: 24px; }
.xp-newsletter p { margin: 3px 0 0; opacity: .9; }
.xp-newsletter form { display: grid; grid-template-columns: 1fr auto; padding: 5px; border-radius: 8px; background: #fff; }
.xp-newsletter input { min-width: 0; height: 44px; padding: 0 15px; border: 0; outline: 0; }
.xp-newsletter button { border: 0; border-radius: 6px; padding: 0 22px; background: #15171b; color: #fff; font-weight: 800; cursor: pointer; }

/* Standard content / WooCommerce */
.site-content { min-height: 50vh; }
.xp-content { padding-block: 40px 64px; }
.woocommerce .woocommerce-breadcrumb { color: var(--xp-muted); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--xp-orange) !important; background: #fff !important; border-radius: 8px; font-size: 15px; line-height: 1.55; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--xp-orange) !important; }
.woocommerce div.product { padding: 24px; border-radius: 12px; background: #fff; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #16a34a; font-size: 22px; font-weight: 800; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--xp-orange); }
.woocommerce div.product div.summary { padding: 8px 10px 0 24px; }
.woocommerce div.product .product_title { margin-bottom: 12px; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; letter-spacing: -.035em; }
.woocommerce div.product form.cart { margin: 22px 0 14px; padding-bottom: 20px; border-bottom: 1px solid var(--xp-line); }
.woocommerce div.product form.cart div.quantity .qty { min-height: 48px; border: 1px solid #ddd; border-radius: 7px; font-size: 15px; }
.xp-product-extras { margin-top: 5px; }
.xp-product-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.xp-product-action,
.xp-product-actions .yith-wcwl-add-to-wishlist a,
.xp-product-actions .compare {
	width: 100%; min-height: 46px; margin: 0 !important; padding: 0 16px !important;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 1px solid #dedede !important; border-radius: 7px !important;
	background: #fff !important; color: var(--xp-ink) !important;
	font-size: 14px !important; font-weight: 720 !important; cursor: pointer;
	transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.xp-product-action:hover,
.xp-product-action.is-active,
.xp-product-actions .yith-wcwl-add-to-wishlist a:hover,
.xp-product-actions .compare:hover {
	color: var(--xp-orange) !important; border-color: #ffb17c !important; background: var(--xp-orange-soft) !important; transform: translateY(-1px);
}
.xp-product-actions .yith-wcwl-add-to-wishlist,
.xp-product-actions .yith-wcwl-add-to-wishlist div { margin: 0; }
.xp-product-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px; border: 1px solid #f0ded1; border-radius: 9px; background: #fffaf6; }
.xp-product-trust > div { min-height: 34px; display: flex; align-items: center; gap: 9px; color: #34373d; font-size: 13px; }
.xp-product-trust > div span { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #fff; color: var(--xp-orange); box-shadow: 0 2px 8px rgba(29,31,36,.08); font-size: 11px; font-weight: 900; }
.xp-product-trust strong { font-weight: 700; line-height: 1.2; }
.woocommerce table.shop_table, .woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--xp-line); border-radius: 10px; background: #fff; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 650; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce select { min-height: 46px; padding: 12px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 15px; }

@media (min-width: 769px) {
	.woocommerce div.product div.images { width: 42% !important; }
	.woocommerce div.product div.summary { width: 54% !important; }
	.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { width: 88%; margin-inline: auto; }
}
.woocommerce div.product div.images .woocommerce-product-gallery__image { display: grid; place-items: center; background: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 560px; margin: auto !important; object-fit: contain !important; object-position: center !important; }

/* Footer */
.site-footer { background: #111318; color: #c6c8ce; }
.xp-footer-main { padding: 58px 0 42px; display: grid; grid-template-columns: 1.45fr repeat(3, 1fr) 1.2fr; gap: 44px; }
.site-footer .xp-brand { color: #fff; }
.xp-footer-intro { margin: 20px 0; max-width: 290px; color: #aeb1b8; font-size: 15px; line-height: 1.75; }
.xp-socials { display: flex; gap: 9px; }
.xp-socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #343740; border-radius: 50%; transition: .2s; }
.xp-socials a:hover { background: var(--xp-orange); border-color: var(--xp-orange); color: #fff; }
.xp-footer-col h3 { margin: 0 0 18px; color: #fff; font-size: 17px; font-weight: 780; text-transform: uppercase; letter-spacing: .05em; }
.xp-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.xp-footer-col p, .xp-footer-col li, .xp-footer-col a { font-size: 15px; line-height: 1.55; }
.xp-footer-col a:hover { color: var(--xp-orange); }
.xp-footer-support p { margin: 0 0 16px; color: #b6b9c0; }
.xp-footer-support strong { color: #fff; font-size: 16px; }
.xp-footer-contact { width: fit-content; min-height: 44px; padding: 0 19px; display: inline-flex; align-items: center; border: 1px solid var(--xp-orange); border-radius: 6px; color: #fff; background: var(--xp-orange); font-size: 14px; font-weight: 780; transition: .2s; }
.xp-footer-contact:hover { color: #fff !important; background: var(--xp-orange-dark); transform: translateY(-1px); }
.xp-payment { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.xp-paypal { padding: 8px 12px; border-radius: 5px; background: #fff; color: #063b78; font-weight: 900; font-style: italic; }
.xp-footer-bottom { border-top: 1px solid #292c33; padding: 18px 0; font-size: 13px; }
.xp-footer-bottom .xp-wrap { display: flex; justify-content: space-between; gap: 20px; }

/* Responsive */
@media (max-width: 1100px) {
	.xp-mainbar__inner { grid-template-columns: 200px 1fr auto; gap: 18px; }
	.xp-action__copy, .xp-search select { display: none; }
	.xp-search { grid-template-columns: 1fr 50px; }
	.xp-products, .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
	.xp-product, .woocommerce ul.products li.product { min-height: 510px; }
	.xp-product-media { height: 230px; min-height: 230px; padding: 24px; }
	.xp-categories { grid-template-columns: repeat(3, 1fr); }
	.xp-footer-main { grid-template-columns: 1.4fr repeat(2, 1fr); }
}
@media (max-width: 860px) {
	body.admin-bar .site-header { top: 46px; }
	.xp-utility__group span:nth-child(n+3), .xp-utility__locale { display: none; }
	.xp-mainbar__inner { min-height: 68px; grid-template-columns: 180px 1fr auto; }
	.xp-brand { font-size: 25px; }
	.xp-actions .xp-action:nth-child(-n+2) { display: none; }
	.xp-category-toggle { min-width: 180px; }
	.xp-category-dropdown { left: 16px; width: min(300px, calc(100% - 32px)); max-height: calc(100vh - 145px); }
	.xp-menu-toggle { display: block; padding: 0 14px; cursor: pointer; }
	.xp-primary-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 16px; background: #ed5900; flex-direction: column; align-items: stretch; }
	.xp-primary-menu.is-open { display: flex; }
	.xp-primary-menu a { justify-items: start; }
	.xp-primary-menu a[href*="/contact"] { border-radius: 5px; }
	.xp-hero-shell { grid-template-columns: 1fr; }
	.xp-category-rail { display: none; }
	.xp-category-rail.is-open { display: block; }
	.xp-hero { min-height: 370px; background-position: 63% center; }
	.xp-hero__content { width: 63%; padding: 38px; }
	.xp-trustbar { grid-template-columns: repeat(2, 1fr); }
	.xp-trust:nth-child(3) { border-left: 0; border-top: 1px solid var(--xp-line); }
	.xp-trust:nth-child(4) { border-top: 1px solid var(--xp-line); }
	.xp-products, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.xp-product, .woocommerce ul.products li.product { min-height: 490px; }
	.xp-product-media { height: 215px; min-height: 215px; padding: 22px; }
	.xp-why { grid-template-columns: 1fr; padding: 38px; }
	.xp-newsletter__inner { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 620px) {
	.xp-wrap { width: min(calc(100% - 22px), var(--xp-wrap)); }
	.xp-utility__inner { min-height: 31px; justify-content: center; }
	.xp-utility__group { gap: 15px; }
	.xp-utility__group span:nth-child(2) { display: none; }
	.xp-mainbar__inner { grid-template-columns: 1fr auto; padding-block: 11px; }
	.xp-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
	.xp-brand { font-size: 24px; }
	.xp-hero { min-height: 455px; align-items: flex-start; background-position: 68% bottom; background-size: auto 66%; background-repeat: no-repeat; }
	.xp-hero::after { background: linear-gradient(180deg, rgba(255,248,240,.99) 0%, rgba(255,248,240,.92) 43%, rgba(255,248,240,0) 70%); }
	.xp-hero__content { width: 100%; padding: 30px 26px; }
	.xp-hero h1 { font-size: 36px; }
	.xp-hero__lead { margin-bottom: 10px; }
	.xp-checks { display: none; }
	.xp-trustbar { grid-template-columns: 1fr; }
	.xp-trust + .xp-trust { border-left: 0; border-top: 1px solid var(--xp-line); }
	.xp-products, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.xp-product, .woocommerce ul.products li.product { min-height: 440px; padding: 10px !important; }
	.xp-product-media { height: 190px; min-height: 190px; margin-bottom: 12px; padding: 18px; }
	.xp-product-card__title { height: 58px; min-height: 58px; }
	.xp-product__name, .woocommerce ul.products li.product .woocommerce-loop-product__title { max-height: 60px; font-size: 14px !important; }
	.xp-product-card__meta { min-height: 54px; grid-template-rows: 18px 30px; }
	.xp-categories { grid-template-columns: 1fr 1fr; }
	.xp-category-card { min-height: 82px; padding: 12px; }
	.xp-category-card__icon { width: 38px; height: 38px; }
	.xp-why { padding: 28px 22px; }
	.xp-why__grid { grid-template-columns: 1fr; }
	.woocommerce div.product { padding: 16px; }
	.woocommerce div.product div.summary { padding: 14px 0 0; }
	.woocommerce div.product .product_title { font-size: 28px; }
	.xp-product-actions, .xp-product-trust { grid-template-columns: 1fr; }
	.xp-newsletter form { grid-template-columns: 1fr; }
	.xp-newsletter button { height: 42px; }
	.xp-footer-main { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
	.xp-footer-brand { grid-column: 1 / -1; }
	.xp-footer-bottom .xp-wrap { flex-direction: column; }
}

/* Official XPLUS24 brand asset; dimensions preserve the supplied logo ratio. */
.xp-brand--official { display: inline-flex; width: min(210px, 100%); line-height: 0; }
.xp-brand--official img { display: block; width: 100%; height: auto; max-height: 64px; object-fit: contain; }
.site-footer .xp-brand--official { width: min(230px, 100%); }
@media (max-width: 620px) { .xp-brand--official { width: 165px; } .xp-brand--official img { max-height: 52px; } }
