/*
 * 965 Toys - P2 store layer (Figma "965 toys": Category, Product, Cart, Checkout, Contact, Home sections, Footer, Mobile).
 * Loaded after 965-p1.css. Markup comes from inc/965-store.php and the parts/*-p2.html drafts.
 */

:root {
	--t965-peach-soft: #fdf1e3;
	--t965-green: #3f9b5a;
	--t965-dash: #f2c58a;
	--t965-muted: #8a83a0;
	--t965-shadow: 0 10px 30px rgba(26, 11, 69, .07);
}

.website-wrapper {
	overflow-x: clip;
}

/* Admin-only placeholders for content the owner has not supplied yet. */
.t965-pending {
	display: inline-block;
	border: 1.5px dashed #a996e0;
	color: #4d3d91;
	background: rgba(169, 150, 224, .12);
	border-radius: 10px;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
}
div.t965-pending {
	display: block;
	margin: 10px 0;
}

/* Prices: a space between the amount and د.ك (Figma "89.900 د.ك"); the store's price format is unchanged. */
.woocommerce-Price-currencySymbol {
	margin-inline-start: 3px;
}

/* ------------------------------------------------------------------ breadcrumb, banners, chips */
.t965-crumbs {
	font-size: 14px;
	color: var(--t965-ink);
	margin: 20px 0 16px;
}
.t965-crumbs a {
	color: var(--t965-ink);
}
.t965-crumbs a:hover {
	color: var(--t965-red);
}
.t965-crumbs__sep {
	margin: 0 8px;
	opacity: .55;
}

.t965-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 280px;
	border-radius: var(--t965-r-xl);
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(90deg, rgba(26, 11, 69, 0) 15%, rgba(26, 11, 69, .45) 55%, rgba(26, 11, 69, .82) 100%),
		var(--t965-banner-img, linear-gradient(120deg, #f7c6d3 0%, #d7a6dc 40%, #7c4fa6 75%, #3b2170 100%)) center / cover no-repeat;
}
.t965-banner--vehicles.no-img {
	--t965-banner-img: linear-gradient(120deg, #ff8a3d 0%, #e55b38 30%, #3b2170 70%, #140a35 100%);
}
.t965-banner--games.no-img {
	--t965-banner-img: linear-gradient(120deg, #e9a15a 0%, #b5562f 45%, #5b2a1a 100%);
}
.t965-banner--baby.no-img {
	--t965-banner-img: linear-gradient(140deg, #fff3e6 0%, #f6dcc5 55%, #e9c3a7 100%);
}
.t965-banner__body {
	position: relative;
	z-index: 1;
	padding: 40px 52px;
	max-width: 760px;
}
.t965-banner__kicker {
	margin: 0 0 6px;
	color: var(--t965-yellow);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.t965-banner .t965-banner__title {
	margin: 0 0 8px;
	color: #fff !important;
	font-size: clamp(30px, 4vw, 54px);
	line-height: 1.1;
}
.t965-banner__text {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, .92);
	font-size: 17px;
}
.t965-banner .t965-pending {
	background: rgba(255, 255, 255, .88);
}

.t965-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 6px;
}
.t965-chip {
	display: inline-flex;
	align-items: center;
	padding: 10px 22px;
	border: 1px solid var(--t965-line);
	border-radius: var(--t965-r-pill);
	background: #fff;
	color: var(--t965-navy);
	font-weight: 700;
	font-size: 15px;
	white-space: nowrap;
	transition: border-color .2s, background-color .2s;
}
.t965-chip:hover {
	border-color: var(--t965-yellow);
	color: var(--t965-navy);
}
.t965-chip.is-active {
	background: var(--t965-yellow);
	border-color: var(--t965-yellow);
}

/* ------------------------------------------------------------------ shop / category */
.t965-archive-head {
	padding-bottom: 10px;
}
.shop-loop-head .wd-breadcrumbs,
.shop-loop-head .woocommerce-breadcrumb,
.shop-loop-head .wd-products-per-page,
.shop-loop-head .wd-products-shop-view,
.shop-loop-head .wd-shop-view {
	display: none !important;
}
.shop-loop-head {
	align-items: center;
	margin-bottom: 18px;
}
.woocommerce-result-count {
	color: var(--t965-ink);
	font-size: 14px;
}
.woocommerce-ordering select,
.woocommerce-ordering .orderby {
	border: 1px solid var(--t965-line) !important;
	border-radius: var(--t965-r-pill) !important;
	background-color: #fff !important;
	padding-inline: 18px 34px !important;
	min-height: 42px;
	font-weight: 700;
	color: var(--t965-navy);
}

.t965-filter-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--t965-line);
}
.t965-filter-head span {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 21px;
	font-weight: 800;
	color: var(--t965-navy);
}
.t965-filter-head a {
	color: var(--t965-red);
	font-weight: 700;
	font-size: 14px;
}
.sidebar-container .sidebar-widget,
.sidebar-container .widget {
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--t965-line);
}
.sidebar-container .widget-title,
.sidebar-container .widgettitle {
	margin-bottom: 12px;
	font-size: 17px !important;
	font-weight: 800;
	color: var(--t965-navy);
	text-transform: none;
	letter-spacing: 0;
}
.sidebar-container .product-categories li,
.sidebar-container .woocommerce-widget-layered-nav-list__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 5px 0;
}
.sidebar-container .product-categories li a,
.sidebar-container .woocommerce-widget-layered-nav-list__item a {
	color: var(--t965-ink);
	font-size: 15px;
}
.sidebar-container .product-categories li a::before,
.sidebar-container .woocommerce-widget-layered-nav-list__item a::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-inline-end: 10px;
	vertical-align: -4px;
	border: 1.5px solid #cfc6dd;
	border-radius: 5px;
	background: #fff;
}
.sidebar-container .product-categories .current-cat > a::before,
.sidebar-container .woocommerce-widget-layered-nav-list__item--chosen a::before {
	background: var(--t965-red);
	border-color: var(--t965-red);
	box-shadow: inset 0 0 0 3px #fff;
}
.sidebar-container .product-categories .children {
	width: 100%;
	padding-inline-start: 18px;
}
.sidebar-container .count {
	color: var(--t965-muted);
	font-size: 12px;
	background: none;
}
.sidebar-container .price_slider .ui-slider-range,
.sidebar-container .ui-slider .ui-slider-range {
	background: var(--t965-navy);
}
.sidebar-container .ui-slider .ui-slider-handle {
	border: 2px solid var(--t965-navy);
	background: #fff;
	border-radius: 50%;
}
.sidebar-container .price_slider_amount .button {
	border-radius: var(--t965-r-pill);
	background: var(--t965-yellow);
	color: var(--t965-navy);
	font-weight: 800;
}

/* Load more with "شاهدت 12 من 46 منتج" (Figma). */
.t965-progress {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 30px auto 14px;
	color: var(--t965-ink);
	font-size: 14px;
}
.t965-progress i {
	display: block;
	width: 170px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--t965-red) var(--p, 0%), var(--t965-line) var(--p, 0%));
	transform: scaleX(-1);
}
.wd-loop-footer .wd-load-more,
.wd-loop-footer .wd-products-load-more,
.wd-loop-footer .btn {
	border: 1px solid var(--t965-line) !important;
	border-radius: var(--t965-r-pill) !important;
	background: #fff !important;
	color: var(--t965-navy) !important;
	font-weight: 800;
	min-width: 170px;
}

.t965-empty {
	padding: 40px 20px;
	text-align: center;
}
.t965-empty__title {
	font-size: 24px;
	font-weight: 800;
	color: var(--t965-navy);
	margin-bottom: 6px;
}
.t965-empty .t965-chips {
	justify-content: center;
}

/* ------------------------------------------------------------------ product card (Figma "ProductCard / Premium") */
.wd-product .wd-product-wrapper {
	position: relative;
	height: 100%;
	padding: 8px 8px 12px;
	border: 1.5px dashed var(--t965-dash);
	border-radius: var(--t965-r-card);
	background: #fff;
}
.wd-product .wd-product-thumb {
	border-radius: var(--t965-r-md);
	overflow: hidden;
	background: #fff;
}
.wd-product .product-element-bottom {
	padding: 10px 6px 0;
}
.wd-product .wd-product-cats {
	display: none;
}
.product-labels .product-label.t965-low-stock {
	background: var(--t965-red);
	color: #fff;
	font-weight: 800;
	font-size: 12px;
	padding: 4px 10px;
	min-width: 0;
}
.wd-product .product-labels {
	inset-inline-start: auto;
	inset-inline-end: 10px;
	top: 10px;
}

/* ------------------------------------------------------------------ product page */
.single-product .summary .product_title {
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.2;
}
.t965-stockline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin: 6px 0 14px;
	font-size: 14px;
	color: var(--t965-ink);
}
.t965-stockline__ok {
	color: var(--t965-green);
	font-weight: 700;
}
.t965-stockline__ok::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-inline-end: 6px;
	vertical-align: 1px;
	border-radius: 50%;
	background: var(--t965-green);
}
.t965-stockline__out {
	color: var(--t965-red);
	font-weight: 700;
}
.single-product .summary .price {
	font-size: 32px;
}
.single-product .summary .price del {
	font-size: 18px;
	opacity: .55;
}
.t965-save {
	display: inline-block;
	padding: 4px 12px;
	border-radius: var(--t965-r-pill);
	background: #fde3dc;
	color: var(--t965-red);
	font-size: 13px;
	font-weight: 800;
	vertical-align: middle;
}
.single-product .summary form.cart .stock,
.single-product .summary > .stock {
	display: none;
}
.single-product .summary form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.single-product .summary form.cart .quantity {
	order: 1;
	margin: 0 !important;
}
.single-product .summary form.cart .single_add_to_cart_button {
	order: 2;
	flex: 1 1 200px;
	min-height: 52px;
	font-size: 16px;
}
.single-product .summary form.cart .t965-heart {
	order: 3;
	flex: 0 0 52px !important;
	width: 52px;
	margin: 0;
}
.single-product .summary form.cart .wd-buy-now-btn {
	order: 4;
	flex: 1 1 100%;
	min-height: 50px;
	margin: 0 !important;
}
.single-product .summary .t965-heart > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--t965-line);
	border-radius: 50%;
	background: #fff;
}
.single-product .summary .t965-heart .wd-action-text {
	display: none;
}
.single-product .summary .wd-compare-btn {
	display: none !important;
}
.t965-wa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 50px;
	margin-top: 12px;
	border: 1.5px solid var(--t965-line);
	border-radius: var(--t965-r-pill);
	background: #fff;
	color: var(--t965-navy);
	font-weight: 800;
}
.t965-wa-btn:hover {
	border-color: var(--t965-navy);
	color: var(--t965-navy);
}
.t965-trust-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	font-weight: 700;
	font-size: 14px;
	color: var(--t965-navy);
}
.woocommerce-product-gallery .wd-carousel-item,
.woocommerce-product-gallery .woocommerce-product-gallery__image,
.woocommerce-product-gallery .wd-gallery-images {
	border-radius: var(--t965-r-lg);
	overflow: hidden;
	background: #fff;
}
.woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-item {
	border-radius: var(--t965-r-sm);
	border: 2px solid transparent;
}
.woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-item.wd-thumb-active,
.woocommerce-product-gallery .wd-gallery-thumb .wd-active {
	border-color: var(--t965-red);
}
.t965-specs {
	margin: 40px 0 10px;
	padding: 28px 32px;
	border: 1px solid var(--t965-line);
	border-radius: var(--t965-r-lg);
	background: #fff;
}
.t965-specs h2 {
	margin: 0 0 10px;
	font-size: 28px;
}
.t965-specs table,
.t965-specs tbody {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
}
.t965-specs tbody {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 48px;
}
.t965-specs tr {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--t965-line);
}
.t965-specs th,
.t965-specs td {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	width: auto !important;
}
.t965-specs th {
	color: var(--t965-ink);
	font-weight: 400;
}
.t965-specs td,
.t965-specs td p {
	margin: 0;
	color: var(--t965-navy);
	font-weight: 800;
	text-align: end;
}
.single-product .related-and-upsells,
.single-product .wd-single-products-related,
.single-product .related.products {
	background: var(--t965-peach-soft);
}
.single-product .related.products {
	margin-inline: calc(50% - 50vw);
	padding: 48px max(16px, calc(50vw - var(--t965-container) / 2 + 8px)) 32px;
}
.single-product .related.products > h2,
.single-product .related.products .wd-el-title {
	font-size: clamp(24px, 3vw, 34px);
}

/* ------------------------------------------------------------------ cart (Figma "Cart — Desktop") */
.t965-page-head h1 {
	margin: 4px 0 26px;
	font-size: clamp(32px, 4vw, 50px);
}
.t965-page-head h1 small {
	font-size: 18px;
	font-weight: 400;
	color: var(--t965-ink);
}
.woocommerce-cart-form .shop_table {
	border: 0;
}
.woocommerce-cart-form .shop_table thead th {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--t965-line);
	color: var(--t965-ink);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}
.woocommerce-cart-form .cart_item td {
	padding: 18px 8px;
	border-bottom: 1px solid var(--t965-line);
	vertical-align: middle;
}
.woocommerce-cart-form .product-thumbnail img {
	width: 96px;
	border-radius: var(--t965-r-md);
	background: #fff;
}
.woocommerce-cart-form td.product-name a {
	display: block;
	color: var(--t965-navy);
	font-weight: 800;
	font-size: 17px;
}
.woocommerce-cart-form .t965-brand {
	margin-bottom: 2px;
}
.t965-cart-sku {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--t965-muted);
}
.woocommerce-cart-form td.product-remove .remove {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
	width: auto !important;
	height: auto !important;
	font-size: 13px !important;
	color: var(--t965-ink) !important;
	background: none !important;
}
.woocommerce-cart-form td.product-remove .remove:hover {
	color: var(--t965-red) !important;
}
.woocommerce-cart-form .coupon {
	display: none !important;
}
.cart_totals {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border: 1px solid var(--t965-line);
	border-radius: var(--t965-r-lg);
	background: #fff;
	box-shadow: var(--t965-shadow);
}
.cart_totals > h2 {
	order: -2;
	font-size: 24px;
	text-transform: none;
}
.t965-coupon {
	order: -1;
	display: flex;
	gap: 8px;
	margin: 6px 0 14px;
	padding: 5px;
	border: 1px solid var(--t965-line);
	border-radius: var(--t965-r-pill);
	background: #fff;
}
.t965-coupon input {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	padding-inline: 14px;
}
.t965-coupon .button {
	border-radius: var(--t965-r-pill) !important;
	background: var(--t965-yellow) !important;
	color: var(--t965-navy) !important;
	font-weight: 800;
	padding-inline: 22px;
}
.cart_totals .shop_table th,
.cart_totals .shop_table td {
	border: 0;
	padding: 8px 0;
}
.cart_totals .order-total th,
.cart_totals .order-total td {
	padding-top: 14px;
	border-top: 1px solid var(--t965-line) !important;
	font-size: 20px;
	color: var(--t965-navy);
}
.t965-checkout-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: var(--t965-btn-h-lg);
	font-size: 17px !important;
}
.t965-continue {
	display: block;
	margin: 12px 0 8px;
	text-align: center;
	color: var(--t965-navy);
	font-weight: 800;
	text-decoration: underline;
}
.t965-pay {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 6px;
}
.t965-pay span {
	padding: 4px 10px;
	border: 1px solid var(--t965-line);
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	color: var(--t965-navy);
}
.t965-cart-more {
	margin: 56px calc(50% - 50vw) 0;
	padding: 48px max(16px, calc(50vw - var(--t965-container) / 2 + 8px)) 28px;
	background: var(--t965-peach-soft);
}
.t965-cart-more h2 {
	margin: 0 0 22px;
	font-size: clamp(24px, 3vw, 34px);
}
.t965-kicker {
	margin: 0 0 4px;
	color: var(--t965-red);
	font-weight: 700;
	font-size: 14px;
}
.woocommerce .cart-empty,
.wd-empty-page {
	color: var(--t965-navy);
}
.return-to-shop .button {
	border-radius: var(--t965-r-pill) !important;
	background: var(--t965-yellow) !important;
	color: var(--t965-navy) !important;
	font-weight: 800;
}

/* ------------------------------------------------------------------ checkout (Figma "Checkout — Desktop") */
body.woocommerce-checkout:not(.woocommerce-order-received) .whb-top-bar,
body.woocommerce-checkout:not(.woocommerce-order-received) .whb-header-bottom,
body.woocommerce-checkout:not(.woocommerce-order-received) .whb-general-header .wd-search-form {
	display: none !important;
}
form.checkout .customer-details,
form.checkout #order_review {
	padding: 26px;
	border: 1px solid var(--t965-line);
	border-radius: var(--t965-r-lg);
	background: #fff;
	box-shadow: var(--t965-shadow);
}
form.checkout #order_review_heading {
	font-size: 24px;
	text-transform: none;
}
.woocommerce-billing-fields > h3 {
	margin-bottom: 14px;
	font-size: 22px;
}
.t965-co-title {
	width: 100%;
	clear: both;
	margin: 6px 0 14px;
	font-size: 22px;
}
.woocommerce-billing-fields__field-wrapper .t965-co-title:not(:first-child) {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--t965-line);
}
.t965-hide-field {
	display: none !important;
}
form.checkout .form-row label {
	font-weight: 700;
	color: var(--t965-navy);
}
form.checkout .input-text,
form.checkout select,
form.checkout textarea,
form.checkout .select2-container .select2-selection--single {
	min-height: var(--t965-input-h);
	border: 1px solid var(--t965-line) !important;
	border-radius: var(--t965-r-sm) !important;
	background: #fff;
}
#ship-to-different-address,
.woocommerce-shipping-fields {
	display: none !important;
}
#place_order {
	width: 100%;
	min-height: 56px;
	font-size: 17px;
}
.woocommerce-checkout-payment,
#payment {
	border-radius: 16px;
	background: var(--t965-cream) !important;
}

/* ------------------------------------------------------------------ pages: contact, brands, policies */
.t965-page__title {
	margin: 4px 0 28px;
	font-size: clamp(34px, 4.5vw, 56px);
}
.t965-contact {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) 1.65fr;
	gap: 28px;
	align-items: start;
}
.t965-contact__side {
	order: -1;
}
.t965-contact__form {
	padding: 30px;
	border: 1px solid var(--t965-line);
	border-radius: var(--t965-r-lg);
	background: #fff;
	box-shadow: var(--t965-shadow);
}
.t965-contact__form h2 {
	margin: 0 0 4px;
	font-size: 28px;
}
.t965-contact__form > p {
	margin-bottom: 18px;
}
.t965-contact__card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 14px;
	padding: 18px 20px;
	border: 1px solid var(--t965-line);
	border-radius: var(--t965-r-card);
	background: #fff;
}
.t965-contact__card strong {
	display: block;
	color: var(--t965-navy);
	font-size: 17px;
}
.t965-contact__card a,
.t965-contact__card span,
.t965-contact__card small {
	display: block;
	color: var(--t965-ink);
	direction: ltr;
	text-align: end;
}
.t965-contact__card .t965-pending {
	direction: rtl;
	text-align: start;
}
.t965-contact__ico {
	display: inline-flex !important;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fde9df;
	color: var(--t965-red) !important;
}
.t965-contact__map {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 220px;
	border-radius: var(--t965-r-card);
	background: #efe9e2;
	color: #7b7390;
}
.t965-cf7-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.t965-cf7-row > p {
	display: contents;
}
.t965-contact__form .wpcf7 br {
	display: none;
}
.t965-contact__form .wpcf7 label {
	display: block;
	margin-bottom: 14px;
	font-weight: 700;
	color: var(--t965-navy);
}
.t965-contact__form .wpcf7 input:not([type="submit"]),
.t965-contact__form .wpcf7 select,
.t965-contact__form .wpcf7 textarea {
	width: 100%;
	margin-top: 6px;
	border: 1px solid var(--t965-line);
	border-radius: var(--t965-r-sm);
	background: #fff;
	min-height: var(--t965-input-h);
}
.t965-contact__form .wpcf7 textarea {
	min-height: 130px;
}
.t965-contact__form .wpcf7-submit {
	padding: 12px 34px !important;
	border-radius: var(--t965-r-pill) !important;
	background: var(--t965-yellow) !important;
	color: var(--t965-navy) !important;
	font-weight: 800;
}
.t965-faq {
	margin: 56px calc(50% - 50vw) 0;
	padding: 56px max(16px, calc(50vw - var(--t965-container) / 2 + 8px));
	background: var(--t965-peach-soft);
}
.t965-faq h2 {
	margin: 0 0 22px;
	font-size: clamp(26px, 3vw, 36px);
}
.t965-faq__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	align-items: start;
}
.t965-faq__item {
	padding: 16px 20px;
	border-radius: 16px;
	background: #fff;
}
.t965-faq__item summary {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	list-style: none;
	cursor: pointer;
	color: var(--t965-navy);
	font-weight: 800;
}
.t965-faq__item summary::-webkit-details-marker {
	display: none;
}
.t965-faq__item summary::after {
	content: "+";
	color: var(--t965-navy);
	font-size: 22px;
	line-height: 1;
}
.t965-faq__item[open] summary::after {
	content: "−";
	color: var(--t965-red);
}
.t965-faq__item > div {
	margin-top: 8px;
	color: var(--t965-ink);
}
.t965-brands {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
}
.t965-brands__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px;
	border: 1.5px dashed var(--t965-dash);
	border-radius: var(--t965-r-card);
	background: #fff;
	color: var(--t965-navy);
}
.t965-brands__item strong {
	font-size: 20px;
}
.t965-brands__item span {
	color: var(--t965-muted);
	font-size: 13px;
}
.t965-policy {
	max-width: 820px;
	line-height: 1.9;
}

/* ------------------------------------------------------------------ home sections (parts/home-p2.html) */
body.home .page-title,
body.home .wd-prefooter {
	display: none !important;
}
.t965-home .t965h-section {
	padding: 56px 0 8px;
}
.t965-home .t965h-bleed {
	margin-inline: calc(50% - 50vw);
}
.t965-home .t965-banner--hero {
	min-height: clamp(380px, 46vw, 600px);
	border-radius: 0;
}
.t965-home .t965-banner--hero .t965-banner__body {
	padding-inline: max(24px, calc(50vw - var(--t965-container) / 2 + 8px));
}
.t965-marquee {
	overflow: hidden;
	padding: 14px 0;
	background: var(--t965-peach);
	color: var(--t965-navy);
	font-weight: 700;
}
.t965-marquee ul {
	display: flex;
	gap: 48px;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: t965-marquee 40s linear infinite;
}
@keyframes t965-marquee {
	to {
		transform: translateX(50%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.t965-marquee ul {
		animation: none;
	}
}
.t965h-section__head .t965-kicker {
	margin-bottom: 2px;
}
.t965-home .t965h-cats {
	grid-template-columns: repeat(5, 1fr);
}
.t965h-feature {
	padding-top: 56px;
}
.t965h-feature .t965-banner {
	min-height: 420px;
	border-radius: 0;
	padding-bottom: 80px;
}
.t965h-feature .t965-banner__body {
	padding-inline: max(24px, calc(50vw - var(--t965-container) / 2 + 8px));
}
.t965h-overlap {
	position: relative;
	z-index: 2;
	max-width: 1100px;
	margin: -110px auto 0;
	padding: 18px;
	border-radius: var(--t965-r-lg);
	background: #fff;
	box-shadow: 0 18px 44px rgba(26, 11, 69, .12);
}
.t965h-split {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 28px;
	align-items: stretch;
}
.t965h-split .t965-banner {
	min-height: 420px;
	align-items: flex-end;
}
.t965h-band {
	margin-top: 56px;
	padding: 56px max(16px, calc(50vw - var(--t965-container) / 2 + 8px));
	background: var(--t965-peach-soft);
}
.t965h-baby {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: center;
}
.t965h-baby h2 {
	font-size: clamp(30px, 4vw, 48px);
	margin: 0 0 10px;
}
.t965h-baby .t965-banner {
	min-height: 380px;
}
.t965h-brandrow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 18px 28px;
	padding: 22px 0;
	border-top: 1px solid var(--t965-line);
	border-bottom: 1px solid var(--t965-line);
}
.t965h-brandrow a {
	color: var(--t965-ink);
	font-size: 19px;
	font-weight: 800;
	opacity: .8;
}
.t965h-brandrow a:hover {
	color: var(--t965-red);
	opacity: 1;
}
.t965h-games .t965-banner {
	min-height: 300px;
	margin-bottom: 22px;
}

/* ------------------------------------------------------------------ footer (parts/footer-p2.html) */
.t965-footer {
	background: #fff;
}
.t965-footer .t965-stripe {
	height: 5px;
	background: linear-gradient(90deg, #e55b38 0 25%, #fcb837 25% 50%, #8bc34a 50% 75%, #e55b38 75% 100%);
}
.t965-footer__logo img {
	display: block;
	width: 170px;
	height: auto;
	margin-bottom: 10px;
}
.t965-fcol > summary {
	list-style: none;
	margin: 0 0 12px;
	color: var(--t965-navy);
	font-size: 16px;
	font-weight: 800;
	pointer-events: none;
}
.t965-fcol > summary::-webkit-details-marker {
	display: none;
}
.t965-fcol a,
.t965-fcol > div > span {
	display: block;
	padding: 4px 0;
	color: var(--t965-ink);
}
.t965-fcol a:hover {
	color: var(--t965-red);
}
.t965-social {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.t965-footer__bottom .t965-pending {
	margin: 0;
}

/* ------------------------------------------------------------------ mobile (Figma 390 px frames) */
@media (max-width: 1024px) {
	.t965h-split,
	.t965h-baby {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 768px) {
	.t965-banner {
		min-height: 220px;
		border-radius: var(--t965-r-card);
	}
	.t965-banner__body {
		padding: 26px 22px;
	}
	.t965-banner .t965-banner__title {
		font-size: 28px;
	}
	.t965-banner__text {
		font-size: 15px;
	}
	.t965-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 6px;
		scrollbar-width: none;
	}
	.t965-chips::-webkit-scrollbar {
		display: none;
	}
	.t965-chip {
		padding: 8px 16px;
		font-size: 14px;
	}
	.wd-product .wd-product-wrapper {
		padding: 6px 6px 10px;
		border-radius: var(--t965-r-md);
	}
	.t965-specs {
		padding: 20px;
	}
	.t965-specs tbody {
		grid-template-columns: 1fr;
	}
	.t965-contact,
	.t965-faq__grid,
	.t965-cf7-row {
		grid-template-columns: 1fr;
	}
	.t965-home .t965h-cats {
		grid-template-columns: repeat(3, 1fr);
	}
	.t965h-feature .t965-banner {
		min-height: 300px;
		padding-bottom: 60px;
	}
	.t965h-overlap {
		margin: -60px 0 0;
		padding: 10px;
	}
	.t965h-band {
		padding: 40px 16px;
	}
	.t965h-brandrow {
		justify-content: flex-start;
	}
	.t965h-brandrow a {
		font-size: 16px;
	}
	.woocommerce-cart-form .product-thumbnail img {
		width: 72px;
	}
	.t965-footer__inner {
		display: block !important;
	}
	.t965-footer__brand {
		margin-bottom: 18px;
	}
	.t965-fcol {
		border-bottom: 1px solid var(--t965-line);
	}
	.t965-fcol > summary {
		display: flex;
		justify-content: space-between;
		margin: 0;
		padding: 14px 0;
		pointer-events: auto;
		cursor: pointer;
	}
	.t965-fcol > summary::after {
		content: "+";
		font-size: 20px;
		line-height: 1;
	}
	.t965-fcol[open] > summary::after {
		content: "−";
	}
	.t965-fcol[open] > div {
		padding-bottom: 12px;
	}
	.t965-footer__bottom {
		flex-direction: column;
		gap: 8px;
	}
}

/* ------------------------------------------------------------------ refinements after the first production review */

/* Product card: brand, name, then price and the round "+" on one row; heart on the picture (Figma). */
.wd-product .wd-product-wrapper {
	display: flex;
	flex-direction: column;
}
.wd-product .product-element-bottom {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto 1fr auto;
	align-items: center;
	column-gap: 8px;
	text-align: start;
}
.wd-product .product-element-bottom > * {
	grid-column: 1 / -1;
	margin-inline: 0;
}
.wd-product .product-element-bottom > .wd-entities-title {
	align-self: start;
}
.wd-product .product-element-bottom > .product-rating-price {
	grid-column: 1;
	grid-row: 3;
	align-self: center;
	justify-content: flex-start;
	margin: 8px 0 0;
}
.wd-product .product-element-bottom > .wd-product-card-hover {
	grid-column: 2;
	grid-row: 3;
	align-self: center;
	margin: 8px 0 0;
}
.wd-product .product-element-bottom > .t965-brand {
	grid-row: 1;
}
.wd-product .product-element-bottom > .wd-entities-title {
	grid-row: 2;
}
.wd-product .product-element-bottom,
.wd-product .wd-product-card-hover,
.wd-product .wd-bottom-actions,
.wd-product .hover-content {
	position: static !important;
}
.wd-product .wd-bottom-actions {
	margin: 0 !important;
	justify-content: flex-end !important;
}
.wd-product .wd-bottom-actions .wd-wishlist-btn {
	position: absolute;
	top: 16px;
	inset-inline-start: 16px;
	z-index: 3;
	margin: 0;
}
.wd-product .wd-bottom-actions .wd-wishlist-btn > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(26, 11, 69, .14);
}
.wd-product .price {
	text-align: start;
}

/* Banner without a dark overlay for the light baby photo slot. */
.t965-banner--baby {
	background: var(--t965-banner-img, linear-gradient(140deg, #fff3e6 0%, #f6dcc5 55%, #e9c3a7 100%)) center / cover no-repeat;
}

/* Home: no gap above the hero. */
body.home .main-page-wrapper,
body.home .wd-content-layout {
	padding-top: 0 !important;
}
body.home .site-content {
	margin-bottom: 0;
}

/* Footer: stripe across the full width, one copyright line (WoodMart's own bar is hidden). */
.t965-footer .t965-stripe {
	margin-inline: calc(50% - 50vw);
}
.wd-copyrights,
.copyrights-wrapper {
	display: none !important;
}

/* Product page. */
.single-product .summary .stock,
.single-product .summary .wd-product-stock {
	display: none !important;
}
.single-product .wd-products-nav {
	display: none !important;
}
.single-product .summary form.cart .single_add_to_cart_button {
	flex: 1 1 0;
	min-width: 150px;
}
.single-product .summary form.cart .quantity {
	display: inline-flex;
	align-items: center;
	height: 52px;
	padding: 0 6px;
	border: 1px solid var(--t965-line);
	border-radius: var(--t965-r-pill);
	background: #fff;
}
.single-product .summary form.cart .quantity input,
.single-product .summary form.cart .quantity .qty {
	width: 38px;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	font-weight: 800;
	color: var(--t965-navy);
}
.single-product .summary form.cart .quantity .minus,
.single-product .summary form.cart .quantity .plus {
	width: 34px;
	border: 0 !important;
	background: none !important;
	color: var(--t965-navy);
	font-size: 18px;
}

/* Cart. */
.woocommerce-cart-form .t965-brand {
	display: block;
}
.woocommerce-cart-form td.product-remove .remove::before {
	display: none !important;
}
.cart_totals .cart-totals-inner {
	display: flex;
	flex-direction: column;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: none !important;
}
.cart_totals .cart-totals-inner > h2 {
	order: -2;
	font-size: 24px;
	text-transform: none;
}
.cart_totals .cart-totals-inner > .t965-coupon {
	order: -1;
}
.woocommerce-cart-form .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--t965-line);
	border-radius: var(--t965-r-pill);
	background: #fff;
	padding: 0 4px;
}
.woocommerce-cart-form .quantity input,
.woocommerce-cart-form .quantity .minus,
.woocommerce-cart-form .quantity .plus {
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

/* Checkout: contact fields side by side, block / street / house in one row (Figma). */
.woocommerce-billing-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
}
.woocommerce-billing-fields__field-wrapper > .form-row {
	flex: 1 1 100%;
	width: auto !important;
	float: none !important;
	margin-inline: 0 !important;
}
#billing_phone_field,
#billing_email_field {
	flex: 1 1 calc(50% - 8px) !important;
}
#billing_address_1_field,
#billing_address_2_field,
#billing_house_field {
	flex: 1 1 calc(33.333% - 11px) !important;
}
#billing_first_name_field::before {
	content: "التوصيل";
	display: block;
	margin: 18px 0 14px;
	padding-top: 22px;
	border-top: 1px solid var(--t965-line);
	color: var(--t965-navy);
	font-size: 22px;
	font-weight: 800;
}
@media (max-width: 768px) {
	.single-product .summary form.cart .single_add_to_cart_button {
		min-width: 0;
		font-size: 15px;
	}
	.single-product .summary form.cart .quantity input,
	.single-product .summary form.cart .quantity .qty {
		width: 28px;
	}
	.single-product .summary form.cart .quantity .minus,
	.single-product .summary form.cart .quantity .plus {
		width: 26px;
	}
	#billing_phone_field,
	#billing_email_field,
	#billing_address_1_field,
	#billing_address_2_field,
	#billing_house_field {
		flex-basis: 100% !important;
	}
	.t965-banner__body {
		max-width: none;
	}
}
