/* WS Woo Importer – trang chi tiết sản phẩm (template riêng, class wsi-p-*) */

body.wsi-pdp {
	background: #f4f2ee;
}
body.wsi-pdp .site-content,
body.wsi-pdp #content,
body.wsi-pdp #primary,
body.wsi-pdp .ast-container { background: transparent; }
body.wsi-pdp #primary { margin-top: 0 !important; padding-top: 0 !important; }

.wsi-p {
	--p-ink: #0b2545;
	--p-text: #2b3a4f;
	--p-muted: #66758a;
	--p-line: #e4e1da;
	--p-soft: #f7f6f2;
	--p-card: #ffffff;
	--p-red: #d90429;
	--p-red-dk: #b10322;
	--p-green: #0f8a4b;
	--p-r: 18px;
	color: var(--p-text);
	font-size: 16px;
	line-height: 1.55;
	padding: 18px 0 40px;
	clear: both;
}
.wsi-p *, .wsi-p *::before, .wsi-p *::after { box-sizing: border-box; }
.wsi-p a { color: inherit; }
.wsi-p svg { flex: 0 0 auto; }

/* ---------- Breadcrumb ---------- */
.wsi-p .wsi-p-crumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
	margin: 0 0 18px; font-size: 13px; color: var(--p-muted);
}
.wsi-p .wsi-p-crumbs a { color: var(--p-muted); text-decoration: none; }
.wsi-p .wsi-p-crumbs a:hover { color: var(--p-ink); text-decoration: underline; }
.wsi-p .wsi-p-sep { opacity: .5; }

/* ---------- Hero ---------- */
.wsi-p .wsi-p-hero {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start;
}

/* Gallery */
.wsi-p .wsi-p-gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; position: sticky; top: calc(var(--wsi-admin, 0px) + 20px); }
.wsi-p .wsi-p-gallery:not(:has(.wsi-p-thumbs)) { grid-template-columns: minmax(0, 1fr); }
.wsi-p .wsi-p-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow-y: auto; scrollbar-width: none; padding: 2px; }
.wsi-p .wsi-p-thumbs::-webkit-scrollbar { display: none; }
.wsi-p .wsi-p-thumb {
	display: block; width: 100%; aspect-ratio: 1; padding: 4px !important; margin: 0;
	background: var(--p-card) !important; border: 1px solid var(--p-line) !important; border-radius: 12px !important;
	cursor: pointer; box-shadow: none !important; transition: border-color .15s, transform .15s;
}
.wsi-p .wsi-p-thumb:hover { border-color: #b9b4aa !important; transform: translateY(-1px); }
.wsi-p .wsi-p-thumb.is-active { border: 2px solid var(--p-ink) !important; padding: 3px !important; }
.wsi-p .wsi-p-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; display: block; }

.wsi-p .wsi-p-stage {
	position: relative; aspect-ratio: 1; background: var(--p-card); border: 1px solid var(--p-line);
	border-radius: var(--p-r); overflow: hidden; cursor: zoom-in;
}
.wsi-p .wsi-p-main {
	width: 100%; height: 100%; object-fit: contain; display: block; padding: 4%;
	transition: opacity .25s ease, transform .35s ease; transform-origin: center;
}
.wsi-p .wsi-p-stage.is-loading .wsi-p-main { opacity: .35; }
.wsi-p .wsi-p-stage.is-zoomed { cursor: zoom-out; }
.wsi-p .wsi-p-stage.is-zoomed .wsi-p-main { transform: scale(2); }
.wsi-p .wsi-p-flags { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.wsi-p .wsi-p-flag {
	font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
	padding: 5px 10px; border-radius: 999px; background: var(--p-ink); color: #fff;
}
.wsi-p .wsi-p-flag--sale { background: var(--p-red); }
.wsi-p .wsi-p-flag--bestseller { background: #fff; color: var(--p-red); box-shadow: inset 0 0 0 1px #f3c6cf; }
.wsi-p .wsi-p-flag--toprated { background: #fff; color: #8a5a00; box-shadow: inset 0 0 0 1px #f0dba8; }
.wsi-p .wsi-p-flag--trending { background: #fff; color: #1d4ed8; box-shadow: inset 0 0 0 1px #cfdcfb; }
.wsi-p .wsi-p-flag--new { background: var(--p-green); }
.wsi-p .wsi-p-flag--commercial { background: #fff; color: var(--p-ink); box-shadow: inset 0 0 0 1px var(--p-line); }
.wsi-p .wsi-p-zoom,
.wsi-p .wsi-p-arrow {
	position: absolute; z-index: 3; display: grid; place-items: center; padding: 0 !important; margin: 0;
	width: 42px; height: 42px; border-radius: 50% !important; border: 1px solid var(--p-line) !important;
	background: rgba(255, 255, 255, .95) !important; color: var(--p-ink) !important; cursor: pointer;
	box-shadow: 0 4px 14px -6px rgba(11, 37, 69, .35) !important; font-size: 26px; line-height: 1;
	transition: transform .15s, background .15s;
}
.wsi-p .wsi-p-zoom { top: 14px; right: 14px; }
.wsi-p .wsi-p-arrow { top: 50%; transform: translateY(-50%); opacity: 0; }
.wsi-p .wsi-p-stage:hover .wsi-p-arrow { opacity: 1; }
.wsi-p .wsi-p-arrow--prev { left: 14px; }
.wsi-p .wsi-p-arrow--next { right: 14px; }
.wsi-p .wsi-p-arrow:hover, .wsi-p .wsi-p-zoom:hover { background: #fff !important; transform: translateY(-50%) scale(1.06); }
.wsi-p .wsi-p-zoom:hover { transform: scale(1.06); }
.wsi-p .wsi-p-counter {
	position: absolute; right: 14px; bottom: 14px; z-index: 3; font-size: 12px; font-weight: 700;
	padding: 4px 10px; border-radius: 999px; background: rgba(11, 37, 69, .75); color: #fff;
}

/* Lightbox */
.wsi-lightbox {
	position: fixed; inset: 0; z-index: 100000; background: rgba(8, 18, 33, .92);
	display: flex; align-items: center; justify-content: center; padding: 40px;
}
.wsi-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; background: #fff; }
.wsi-lightbox button {
	position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; padding: 0;
}
.wsi-lightbox button:hover { background: rgba(255, 255, 255, .25); }
.wsi-lightbox .lb-close { top: 18px; right: 18px; }
.wsi-lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.wsi-lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Buy box */
.wsi-p .wsi-p-buy { position: sticky; top: calc(var(--wsi-admin, 0px) + 20px); }
.wsi-p .wsi-p-buy-inner {
	background: var(--p-card); border: 1px solid var(--p-line); border-radius: var(--p-r); padding: 28px 30px;
}
.wsi-p .wsi-p-brandline {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
	margin: 0 0 8px; font-size: 13px; color: var(--p-muted);
}
.wsi-p .wsi-p-brandline a,
.wsi-p .wsi-p-brandline strong {
	color: var(--p-red); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.wsi-p .wsi-p-brandline a:hover { text-decoration: underline; }
.wsi-p .wsi-p-brandline span::before { content: "·"; margin-right: 10px; opacity: .6; }
.wsi-p .wsi-p-title {
	margin: 0 0 10px !important; padding: 0; color: var(--p-ink) !important;
	font-size: clamp(26px, 2.6vw, 34px) !important; line-height: 1.15 !important; font-weight: 800; letter-spacing: -.01em;
}
.wsi-p .wsi-p-rating { display: flex; align-items: center; gap: 10px; min-height: 22px; margin: 0 0 18px; font-size: 14px; }
.wsi-p .wsi-p-rating a { color: var(--p-muted); text-decoration: underline; text-underline-offset: 3px; }
.wsi-p .wsi-p-rating a:hover { color: var(--p-ink); }
.wsi-p .wsi-p-rating .star-rating { margin: 0 !important; float: none !important; color: #e8a400; }
.wsi-p .wsi-p-stars-empty { color: #d9d5cc; letter-spacing: 2px; font-size: 15px; }

.wsi-p .wsi-p-price {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
	padding: 16px 0; margin: 0 0 16px; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line);
}
.wsi-p .wsi-p-price-main { font-size: 32px; font-weight: 800; color: var(--p-ink); line-height: 1.1; }
.wsi-p .wsi-p-price-main .price,
.wsi-p .wsi-p-price-main .amount { color: inherit !important; font-size: inherit !important; font-weight: inherit; }
.wsi-p .wsi-p-price-main ins { text-decoration: none; color: var(--p-red) !important; background: none; order: 1; }
.wsi-p .wsi-p-price-main del { font-size: 18px; font-weight: 500; color: var(--p-muted) !important; margin-right: 8px; opacity: 1; }
.wsi-p .wsi-p-price-main del .amount { color: var(--p-muted) !important; }
.wsi-p .wsi-p-price-main .screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.wsi-p .wsi-p-save {
	font-size: 13px; font-weight: 800; color: var(--p-red); background: #fdebee; padding: 5px 10px; border-radius: 999px;
}
.wsi-p .wsi-p-excerpt { color: var(--p-text); font-size: 15px; margin: 0 0 14px; }
.wsi-p .wsi-p-excerpt p { margin: 0 0 8px; }

.wsi-p .wsi-p-features { list-style: none; margin: 0 0 18px !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.wsi-p .wsi-p-features li { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 14px; color: var(--p-ink); font-weight: 600; }
.wsi-p .wsi-p-features svg { width: 18px; height: 18px; color: var(--p-green); margin-top: 1px; }

/* Cart area */
.wsi-p .wsi-p-cart { background: var(--p-soft); border: 1px solid var(--p-line); border-radius: 14px; padding: 16px; margin: 0 0 16px; }
.wsi-p .wsi-p-stock { display: flex; align-items: center; gap: 6px; font-size: 14px; margin: 0 0 12px; color: var(--p-muted); }
.wsi-p .wsi-p-stock strong { color: var(--p-ink); }
.wsi-p .wsi-p-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--p-green); box-shadow: 0 0 0 4px rgba(15, 138, 75, .15); }
.wsi-p .wsi-p-dot.is-out { background: var(--p-red); box-shadow: 0 0 0 4px rgba(217, 4, 41, .12); }
.wsi-p .wsi-p-cart form.cart { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.wsi-p .wsi-p-cart form.cart:not(.variations_form),
.wsi-p .wsi-p-cart .woocommerce-variation-add-to-cart { display: flex !important; align-items: stretch; gap: 10px; flex-wrap: nowrap; }
.wsi-p .wsi-p-cart .quantity { margin: 0 !important; float: none !important; display: flex !important; }
.wsi-p .wsi-p-qty {
	display: inline-flex; align-items: center; height: 54px; border: 1px solid #d6d1c6; border-radius: 999px; background: #fff; overflow: hidden;
}
.wsi-p .wsi-p-qty button {
	width: 42px; height: 100%; padding: 0 !important; margin: 0; border: 0 !important; border-radius: 0 !important;
	background: transparent !important; color: var(--p-ink) !important; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: none !important;
}
.wsi-p .wsi-p-qty button:hover { color: var(--p-red) !important; background: var(--p-soft) !important; }
.wsi-p .wsi-p-cart input.qty {
	width: 42px !important; min-width: 0 !important; height: 100% !important; padding: 0 !important; margin: 0 !important;
	border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
	text-align: center; font-size: 16px !important; font-weight: 800; color: var(--p-ink); -moz-appearance: textfield;
}
.wsi-p .wsi-p-cart input.qty::-webkit-inner-spin-button,
.wsi-p .wsi-p-cart input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.wsi-p .wsi-p-cart .single_add_to_cart_button {
	flex: 1 1 auto; height: 54px; margin: 0 !important; padding: 0 24px !important; float: none !important;
	border: 0 !important; border-radius: 999px !important; background: var(--p-red) !important; color: #fff !important;
	font-size: 16px !important; font-weight: 800 !important; letter-spacing: .01em; text-transform: none !important;
	box-shadow: 0 10px 24px -12px rgba(217, 4, 41, .8) !important; transition: background .15s, transform .15s;
}
.wsi-p .wsi-p-cart .single_add_to_cart_button:hover { background: var(--p-red-dk) !important; transform: translateY(-1px); }
.wsi-p .wsi-p-cart .single_add_to_cart_button.disabled { opacity: .55; cursor: not-allowed; transform: none; }
.wsi-p .wsi-p-express:empty { display: none; }
.wsi-p .wsi-p-express { margin-top: 12px; }

/* Variations */
.wsi-p table.variations { width: 100%; margin: 0 0 12px !important; border: 0 !important; background: none !important; }
.wsi-p table.variations tr { display: block; margin: 0 0 12px; }
.wsi-p table.variations th, .wsi-p table.variations td { display: block; padding: 0 !important; border: 0 !important; background: none !important; text-align: left; }
.wsi-p table.variations th.label { margin: 0 0 8px; }
.wsi-p table.variations label { font-size: 14px; font-weight: 800; color: var(--p-ink); }
.wsi-p table.variations select {
	width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d6d1c6 !important; border-radius: 12px !important; background-color: #fff;
}
.wsi-p .reset_variations { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--p-muted); }
.wsi-p .single_variation_wrap .woocommerce-variation-price { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--p-ink); }
.wsi-p .single_variation_wrap .woocommerce-variation-price ins { color: var(--p-red); text-decoration: none; }
.wsi-p .single_variation_wrap .woocommerce-variation-availability p { margin: 0 0 8px; font-size: 14px; }
.wsi-p .wsi-p-chosen { font-weight: 500; color: var(--p-muted); margin-left: 6px; }
.wsi-p .wsi-p-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.wsi-p .wsi-p-swatch {
	position: relative; width: 42px; height: 42px; padding: 0 !important; border-radius: 50% !important;
	border: 3px solid #fff !important; box-shadow: 0 0 0 1px #cfc9bd !important;
	background: var(--p-soft) center / cover no-repeat; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.wsi-p .wsi-p-swatch:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--p-ink) !important; }
.wsi-p .wsi-p-swatch.is-active { box-shadow: 0 0 0 2px var(--p-ink) !important; }
.wsi-p .wsi-p-swatch.is-disabled { opacity: .35; cursor: not-allowed; }
.wsi-p .wsi-p-swatch.is-disabled::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 2px; background: var(--p-muted); transform: rotate(-45deg); }
.wsi-p .wsi-p-pill {
	min-width: 52px; padding: 10px 16px !important; border-radius: 12px !important; border: 1px solid #d6d1c6 !important;
	background: #fff !important; color: var(--p-ink) !important; font-size: 14px; font-weight: 700; cursor: pointer; line-height: 1.2;
}
.wsi-p .wsi-p-pill:hover { border-color: var(--p-ink) !important; }
.wsi-p .wsi-p-pill.is-active { border-color: var(--p-ink) !important; box-shadow: inset 0 0 0 1px var(--p-ink) !important; background: var(--p-soft) !important; }
.wsi-p .wsi-p-pill.is-disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.wsi-p .wsi-has-swatches select { position: absolute !important; opacity: 0 !important; pointer-events: none; width: 1px !important; height: 1px !important; }

/* Assurance list */
.wsi-p .wsi-p-assure { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 2px; }
.wsi-p .wsi-p-assure li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; margin: 0; border-bottom: 1px dashed var(--p-line); }
.wsi-p .wsi-p-assure li:last-child { border-bottom: 0; }
.wsi-p .wsi-p-assure svg { color: var(--p-ink); margin-top: 2px; }
.wsi-p .wsi-p-assure strong { display: block; color: var(--p-ink); font-size: 14px; }
.wsi-p .wsi-p-assure div span { display: block; color: var(--p-muted); font-size: 13px; }

.wsi-p .wsi-p-help {
	display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 14px;
	background: var(--p-ink); color: #fff !important; text-decoration: none; font-size: 14px;
}
.wsi-p .wsi-p-help strong { margin-left: auto; white-space: nowrap; }
.wsi-p .wsi-p-help-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.wsi-p .wsi-p-help:hover { background: #12345f; }

/* ---------- Perks strip ---------- */
.wsi-p .wsi-p-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 34px 0 0; }
.wsi-p .wsi-p-perk {
	display: flex; gap: 14px; align-items: center; padding: 18px 20px;
	background: var(--p-card); border: 1px solid var(--p-line); border-radius: 16px;
}
.wsi-p .wsi-p-perk .wsi-p-perk-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fdebee; color: var(--p-red); }
.wsi-p .wsi-p-perk strong { display: block; color: var(--p-ink); font-size: 15px; }
.wsi-p .wsi-p-perk div span { display: block; color: var(--p-muted); font-size: 13px; line-height: 1.4; }

/* ---------- Info tabs ---------- */
.wsi-p .wsi-p-info { margin: 28px 0 0; background: var(--p-card); border: 1px solid var(--p-line); border-radius: var(--p-r); }
.wsi-p .wsi-p-tablist {
	position: sticky; top: var(--wsi-admin, 0px); z-index: 20;
	display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
	padding: 10px 14px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--p-line); border-radius: var(--p-r) var(--p-r) 0 0;
}
.wsi-p .wsi-p-tablist::-webkit-scrollbar { display: none; }
.wsi-p .wsi-p-tab {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; margin: 0;
	padding: 11px 18px !important; border: 0 !important; border-radius: 999px !important; cursor: pointer;
	background: transparent !important; color: var(--p-muted) !important; box-shadow: none !important;
	font-size: 15px !important; font-weight: 700 !important; line-height: 1.2; text-transform: none !important; white-space: nowrap;
	transition: background .15s, color .15s;
}
.wsi-p .wsi-p-tab:hover { color: var(--p-ink) !important; background: var(--p-soft) !important; }
.wsi-p .wsi-p-tab.is-active { background: var(--p-ink) !important; color: #fff !important; }
.wsi-p .wsi-p-count { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: rgba(11, 37, 69, .08); }
.wsi-p .wsi-p-tab.is-active .wsi-p-count { background: rgba(255, 255, 255, .2); }

.wsi-p .wsi-p-panel { padding: 34px 38px 38px; animation: wsiFade .25s ease; }
.wsi-p .wsi-p-panel[hidden] { display: none !important; }
@keyframes wsiFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.wsi-p .wsi-p-overview.has-specs { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 48px; align-items: start; }
.wsi-p .wsi-p-keyspecs { background: var(--p-soft); border: 1px solid var(--p-line); border-radius: 16px; padding: 22px 24px; }
.wsi-p .wsi-p-keyspecs h3 { margin: 0 0 8px !important; font-size: 17px !important; color: var(--p-ink) !important; }
.wsi-p .wsi-p-keyspecs dl { margin: 0; }
.wsi-p .wsi-p-keyspecs dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--p-line); font-size: 14px; }
.wsi-p .wsi-p-keyspecs dl > div:last-child { border-bottom: 0; }
.wsi-p .wsi-p-keyspecs dt { color: var(--p-muted); font-weight: 500; }
.wsi-p .wsi-p-keyspecs dd { margin: 0; color: var(--p-ink); font-weight: 700; text-align: right; }
.wsi-p .wsi-p-link { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--p-red) !important; text-decoration: none; }
.wsi-p .wsi-p-link:hover { text-decoration: underline; }

/* Nội dung trong tab */
.wsi-p .wsi-p-prose { max-width: none; color: var(--p-text); font-size: 16px; }
.wsi-p .wsi-p-prose > h2:first-child,
.wsi-p .wsi-p-prose > .woocommerce-Reviews > h2:first-child { display: none; }
.wsi-p .wsi-p-prose h2 { font-size: 22px; color: var(--p-ink); margin: 0 0 14px; }
.wsi-p .wsi-p-prose h3 { font-size: 17px; color: var(--p-ink); margin: 26px 0 10px; text-transform: none; letter-spacing: 0; }
.wsi-p .wsi-p-prose h3:first-child { margin-top: 0; }
.wsi-p .wsi-p-prose p { margin: 0 0 14px; line-height: 1.75; }
.wsi-p .wsi-p-prose ul { margin: 0 0 16px; padding: 0; list-style: none; }
.wsi-p .wsi-p-prose ul li { position: relative; padding-left: 22px; margin: 0 0 9px; line-height: 1.65; }
.wsi-p .wsi-p-prose ul li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--p-red); }
.wsi-p .wsi-p-prose table { width: 100%; border-collapse: separate !important; border-spacing: 0; border: 1px solid var(--p-line) !important; border-radius: 14px; overflow: hidden; margin: 0 0 16px; }
.wsi-p .wsi-p-prose table th,
.wsi-p .wsi-p-prose table td { padding: 13px 18px !important; border: 0 !important; border-bottom: 1px solid var(--p-line) !important; text-align: left; vertical-align: top; font-style: normal; background: #fff; }
.wsi-p .wsi-p-prose table th { width: 34%; background: var(--p-soft) !important; color: var(--p-ink); font-weight: 700; }
.wsi-p .wsi-p-prose table tr:last-child th,
.wsi-p .wsi-p-prose table tr:last-child td { border-bottom: 0 !important; }
.wsi-p .wsi-p-prose table td p { margin: 0; }

/* FAQ */
.wsi-p .wsi-faq details { border: 1px solid var(--p-line); border-radius: 14px; margin: 0 0 10px; background: #fff; }
.wsi-p .wsi-faq details[open] { background: var(--p-soft); }
.wsi-p .wsi-faq summary { list-style: none; cursor: pointer; padding: 17px 56px 17px 20px; position: relative; font-weight: 700; color: var(--p-ink); }
.wsi-p .wsi-faq summary::-webkit-details-marker { display: none; }
.wsi-p .wsi-faq summary::after {
	content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; border: 1px solid var(--p-line); color: var(--p-red); font-size: 18px; line-height: 1;
}
.wsi-p .wsi-faq details[open] summary::after { content: "–"; }
.wsi-p .wsi-faq .wsi-faq-a { padding: 0 20px 18px; line-height: 1.7; }

/* Reviews */
.wsi-p #reviews #comments ol.commentlist { padding: 0; }
.wsi-p #review_form_wrapper { background: var(--p-soft); border: 1px solid var(--p-line); border-radius: 16px; padding: 22px 24px; margin-top: 18px; }
.wsi-p #review_form .comment-reply-title { font-size: 18px; font-weight: 800; color: var(--p-ink); }
.wsi-p #review_form textarea,
.wsi-p #review_form input[type="text"],
.wsi-p #review_form input[type="email"] { border: 1px solid #d6d1c6 !important; border-radius: 12px !important; background: #fff !important; }
.wsi-p #review_form .form-submit input[type="submit"] {
	background: var(--p-ink) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 13px 28px !important; font-weight: 800;
}

/* ---------- Related ---------- */
.wsi-p .wsi-p-more { margin-top: 40px; }
.wsi-p .wsi-p-more .related > h2,
.wsi-p .wsi-p-more .upsells > h2 { font-size: 26px !important; color: var(--p-ink); margin: 0 0 18px !important; font-weight: 800; }
.wsi-p .wsi-p-more ul.products li.product {
	background: var(--p-card); border: 1px solid var(--p-line); border-radius: 16px; padding: 14px 14px 18px !important;
	transition: transform .2s, box-shadow .2s;
}
.wsi-p .wsi-p-more ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -22px rgba(11, 37, 69, .45); }
.wsi-p .wsi-p-more ul.products li.product img { border-radius: 10px; background: #fff; }

/* ---------- CTA ---------- */
.wsi-p .wsi-p-cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	margin: 40px 0 0; padding: 30px 34px; border-radius: var(--p-r);
	background: linear-gradient(120deg, #0b2545 0%, #14365f 100%); color: #fff;
}
.wsi-p .wsi-p-cta h2 { color: #fff !important; font-size: 24px !important; margin: 0 0 4px !important; font-weight: 800; }
.wsi-p .wsi-p-cta p { margin: 0; color: rgba(255, 255, 255, .75); }
.wsi-p .wsi-p-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wsi-p .wsi-p-cta-actions a {
	display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 800; text-decoration: none;
	border: 1px solid rgba(255, 255, 255, .4); color: #fff !important;
}
.wsi-p .wsi-p-cta-actions a.is-primary { background: #fff; color: var(--p-ink) !important; border-color: #fff; }
.wsi-p .wsi-p-cta-actions a:hover { opacity: .9; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.wsi-p .wsi-p-hero { gap: 24px; }
	.wsi-p .wsi-p-buy-inner { padding: 22px; }
	.wsi-p .wsi-p-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 921px) {
	.wsi-p { padding-top: 8px; }
	.wsi-p .wsi-p-hero { grid-template-columns: 1fr; }
	.wsi-p .wsi-p-gallery, .wsi-p .wsi-p-buy { position: static; }
	.wsi-p .wsi-p-gallery { grid-template-columns: 1fr; }
	.wsi-p .wsi-p-thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; }
	.wsi-p .wsi-p-thumb { flex: 0 0 68px; width: 68px; }
	.wsi-p .wsi-p-arrow { opacity: 1; width: 36px; height: 36px; }
	.wsi-p .wsi-p-overview.has-specs { grid-template-columns: 1fr; gap: 24px; }
	.wsi-p .wsi-p-panel { padding: 24px 20px 28px; }
	.wsi-p .wsi-p-cta { padding: 24px 22px; }
}
@media (max-width: 560px) {
	.wsi-p .wsi-p-features { grid-template-columns: 1fr; }
	.wsi-p .wsi-p-perks { grid-template-columns: 1fr; }
	.wsi-p .wsi-p-price-main { font-size: 28px; }
}
