/* Qirtas Design 2027 */

/* Brand fonts (Drive font guide): headings Fustat, body Noto Kufi Arabic, English Gilroy */
@font-face { font-family: 'QD Fustat'; src: url('fonts/Fustat.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'QD Kufi'; src: url('fonts/NotoKufiArabic.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'QD Gilroy'; src: url('fonts/Gilroy-Light.otf') format('opentype'); font-weight: 300; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'QD Gilroy'; src: url('fonts/Gilroy-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'QD Gilroy'; src: url('fonts/Gilroy-SemiBold.otf') format('opentype'); font-weight: 500 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'QD Gilroy'; src: url('fonts/Gilroy-Bold.otf') format('opentype'); font-weight: 700 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+2000-206F, U+20AC, U+2122; }

:root {
	--qd-bg: #EFE5D9;
	--qd-paper: #F5EEE5;
	--qd-sand: #E2D6C6;
	--qd-plum: #5F3644;
	--qd-brown: #6B5C45;
	--qd-muted: #8A7B66;
	--qd-star: #D8CBB8;
	--qd-accent: #CF4A2C;
	--qd-accent-2: #E15A3C;
	--qd-slate: #C1CACF;
	--qd-blue: #475E70;
	--qd-err: #B23A1F;
	--qd-line: rgba(95, 54, 68, 0.18);
	--qd-line-2: rgba(95, 54, 68, 0.3);
	--qd-sans: 'QD Gilroy', 'QD Kufi', sans-serif;
	--qd-head: 'QD Gilroy', 'QD Fustat', sans-serif;
	--qd-script: var(--qd-head);
	--qd-wide: 1292px;
}

/* ---------- Base ---------- */
body.qd,
body.qd #page,
body.qd .site-content,
body.qd.ast-separate-container,
body.qd.ast-separate-container .ast-article-single,
body.qd.ast-separate-container .ast-article-post,
body.qd .ast-woocommerce-container {
	background: var(--qd-bg) !important;
}
body.qd {
	color: var(--qd-plum);
}
body.qd,
body.qd .ast-body-font-family,
body.qd #page p, body.qd #page li, body.qd #page label, body.qd #page td, body.qd #page th, body.qd #page dd, body.qd #page dt,
body.qd #page button, body.qd input, body.qd select, body.qd textarea,
body.qd #page .button {
	font-family: var(--qd-sans) !important;
	letter-spacing: 0;
}
body.qd h1, body.qd h2, body.qd h3, body.qd h4, body.qd h5, body.qd h6,
body.qd h1 *, body.qd h2 *, body.qd h3 *,
body.qd .ast-heading-font-family,
body.qd .qd-pagehead h1,
body.qd .qd-head-font {
	font-family: var(--qd-head) !important;
	letter-spacing: 0;
}
body.qd .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
body.qd .woocommerce a,
body.qd .qd-header a,
body.qd .qd-footer a {
	color: inherit;
	text-decoration: none;
}
body.qd .woocommerce a:hover,
body.qd .qd-header a:hover { color: var(--qd-accent); }
body.qd #ast-scroll-top { display: none !important; }

.qd-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}
body.qd.single-product .site-content > .ast-container,
body.qd.woocommerce-cart .site-content > .ast-container,
body.qd.woocommerce-checkout .site-content > .ast-container {
	max-width: 1240px;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}
body.qd.single-product .ast-article-single,
body.qd.woocommerce-cart .ast-article-single,
body.qd.woocommerce-checkout .ast-article-single,
body.qd.woocommerce-cart #primary,
body.qd.woocommerce-checkout #primary,
body.qd.single-product #primary {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	width: 100% !important;
}
body.qd.woocommerce-cart .entry-header,
body.qd.woocommerce-checkout .entry-header { display: none; }
body.qd #content.site-content { padding-top: 0 !important; }
body.qd.single-product #main,
body.qd.woocommerce-cart #main,
body.qd.woocommerce-checkout #main,
body.qd.single-product .ast-woocommerce-container,
body.qd.woocommerce-cart .entry-content,
body.qd.woocommerce-checkout .entry-content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}

.qd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 32px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	box-sizing: border-box;
}
.qd-btn--accent { background: var(--qd-accent); color: #fff !important; }
.qd-btn--accent:hover { background: var(--qd-accent-2); }
.qd-btn--ghost { border: 1.5px solid var(--qd-plum); color: var(--qd-plum) !important; }

/* ---------- Header (PDF) ---------- */
.qd-wrap--wide { max-width: calc(var(--qd-wide) + 48px); }
.qd-header { background: transparent; position: relative; z-index: 20; }
.qd-header > .qd-wrap { max-width: calc(var(--qd-wide) + 48px); }
.qd-header__row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding-top: 26px;
	padding-bottom: 26px;
}
.qd-header__nav { display: flex; align-items: center; font-size: 14px; }
.qd-header__nav a { color: var(--qd-brown) !important; font-size: 14px; }
.qd-header__nav--start { gap: 28px; justify-self: start; }
.qd-header__nav--end a { padding: 0 10px; }
.qd-header__logo { display: flex; justify-self: center; }
.qd-header__logo img { height: 34px; width: auto; display: block; }
.qd-header__end { display: flex; gap: 2px; align-items: center; justify-self: end; }
.qd-icon-btn {
	position: relative;
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
}
.qd-icon-btn img { height: 16px; width: auto; display: block; }
.qd-cart-link img { height: 16px; }
.qd-cart-ico { display: inline-flex; }
.qd-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent !important;
	color: var(--qd-brown) !important;
	padding: 0;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	justify-self: start;
}
.qd-mobile-nav {
	display: flex;
	flex-direction: column;
	padding: 8px 24px 20px;
	border-bottom: 1px solid var(--qd-line);
}
.qd-mobile-nav[hidden] { display: none; }
.qd-mobile-nav a { padding: 12px 0; font-size: 16px; color: var(--qd-plum) !important; border-top: 1px solid var(--qd-line); }
@media (max-width: 900px) {
	.qd-header__row { padding-top: 14px; padding-bottom: 14px; }
	.qd-header__toggle { display: inline-flex; }
	.qd-header__nav { display: none; }
	.qd-header__logo { grid-column: 2; grid-row: 1; }
	.qd-header__end { grid-column: 3; grid-row: 1; }
}

/* ---------- Footer (PDF) ---------- */
.qd-footer { background: #563842; color: var(--qd-bg); margin-top: 140px; }
.qd-footer > .qd-wrap { max-width: calc(var(--qd-wide) + 48px); }
.qd-footer__row {
	padding-top: 72px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
}
.qd-footer__logo { display: block; width: 170px; }
.qd-footer__logo img { width: 100%; height: auto; display: block; }
.qd-footer__cols { display: flex; flex-wrap: wrap; gap: 120px; align-items: center; }
.qd-footer__col { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.qd-footer__col a { color: var(--qd-bg) !important; font-size: 13px; }
.qd-footer__label { font-size: 11px; color: var(--qd-slate); margin-bottom: 8px; }
.qd-footer__social { display: flex; gap: 10px; align-items: center; }
.qd-footer__social a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; }
.qd-footer__social img { height: 15px; width: auto; display: block; }
.qd-footer__top { display: inline-flex; width: 40px; height: 40px; }
.qd-footer__top img { width: 100%; height: 100%; display: block; }
.qd-footer__bottom { margin-top: 56px; padding-bottom: 28px; }
.qd-footer__bottom > div {
	border-top: 1px solid rgba(239, 229, 217, 0.3);
	padding-top: 18px;
	font-size: 12px;
	text-align: left;
}
@media (max-width: 700px) {
	.qd-footer { margin-top: 96px; }
	.qd-footer__cols { gap: 48px; }
}

/* ---------- Shared: steps + page heading ---------- */
.qd-steps {
	list-style: none;
	margin: 24px 0 0 !important;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: var(--qd-brown);
}
.qd-steps__step { display: flex; align-items: center; gap: 10px; margin: 0; }
.qd-steps__step.is-current { font-weight: 600; color: var(--qd-plum); }
.qd-steps__num {
	display: inline-flex;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--qd-brown);
	align-items: center;
	justify-content: center;
	font-size: 13px;
	box-sizing: border-box;
}
.qd-steps__step.is-current .qd-steps__num { background: var(--qd-plum); color: var(--qd-bg); border-color: var(--qd-plum); }
.qd-steps__step.is-done .qd-steps__num { background: var(--qd-sand); border-color: var(--qd-sand); color: var(--qd-plum); }
.qd-steps__line { width: 48px; height: 1px; background: rgba(95, 54, 68, 0.3); margin: 0; }
.qd-steps__line.is-done { background: var(--qd-plum); }

.qd-pagehead {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 48px 0 32px;
}
.qd-pagehead h1 {
	margin: 0;
	font-family: var(--qd-script) !important;
	font-weight: 400;
	font-size: 72px;
	line-height: 1.2;
	color: var(--qd-brown);
}
.qd-pagehead span { font-size: 15px; color: var(--qd-brown); }
@media (max-width: 700px) {
	.qd-pagehead h1 { font-size: 48px; }
	.qd-pagehead { padding: 32px 0 24px; }
}

/* ---------- Product page ---------- */
.qd-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: var(--qd-brown);
	padding: 40px 0 32px;
}
.qd-crumbs a { color: var(--qd-brown) !important; }
.qd-crumbs > *:last-child { color: var(--qd-plum); }

body.qd.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 628px) minmax(0, 1fr);
	column-gap: 64px;
	align-items: start;
}
body.qd.single-product div.product > * { grid-column: 1 / -1; }
body.qd.single-product div.product > .woocommerce-product-gallery { grid-column: 1; }
body.qd.single-product div.product > .summary { grid-column: 2; }
body.qd.single-product div.product div.images,
body.qd.single-product div.product div.summary {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	max-width: none !important;
}
body.qd.single-product div.product .onsale { display: none; }

/* gallery: thumbnails column + square image */
body.qd.single-product .woocommerce-product-gallery {
	display: flex;
	gap: 32px;
	align-items: flex-start;
	position: relative;
	opacity: 1 !important;
}
body.qd.single-product .woocommerce-product-gallery .flex-viewport,
body.qd.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	flex: 1 1 auto;
	min-width: 0;
	border-radius: 12px;
	overflow: hidden;
	background: var(--qd-sand);
}
body.qd.single-product .woocommerce-product-gallery__image img {
	width: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}
body.qd.single-product .woocommerce-product-gallery .flex-control-thumbs {
	order: -1;
	flex: 0 0 76px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
body.qd.single-product .woocommerce-product-gallery .flex-control-thumbs li {
	width: 76px !important;
	height: 76px;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.qd.single-product .woocommerce-product-gallery .flex-control-thumbs img {
	width: 76px;
	height: 76px;
	object-fit: cover;
	border-radius: 6px;
	border: 2px solid transparent;
	opacity: 0.7;
	background: var(--qd-sand);
	box-sizing: border-box;
	cursor: pointer;
}
body.qd.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	border-color: var(--qd-plum);
	opacity: 1;
}
body.qd.single-product .woocommerce-product-gallery__trigger {
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
}

/* summary */
body.qd.single-product .summary { display: flex; flex-direction: column; }
body.qd.single-product .single-product-category,
body.qd.single-product .single-product-category a {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--qd-brown) !important;
	margin: 0;
}
body.qd.single-product .summary .product_title {
	margin: 8px 0 10px !important;
	font-size: 38px !important;
	font-weight: 400 !important;
	line-height: 1.3;
	color: var(--qd-plum);
}
.qd-rating { display: flex; align-items: center; gap: 12px; }
.qd-rating__stars { display: inline-flex; gap: 2px; color: var(--qd-star); }
.qd-rating__stars .is-on { color: var(--qd-plum); }
.qd-rating__stars svg { display: block; }
.qd-rating__link { font-size: 13px; font-weight: 500; color: var(--qd-plum) !important; min-height: 32px; display: inline-flex; align-items: center; }
body.qd.single-product .summary .woocommerce-product-rating { display: none; }
body.qd.single-product .summary > p.price,
body.qd.single-product .summary > .price {
	margin: 28px 0 0 !important;
	font-size: 36px !important;
	font-weight: 600 !important;
	color: var(--qd-plum) !important;
	line-height: 1.4;
}
body.qd.single-product .summary .price del { font-size: 0.6em; opacity: 0.6; font-weight: 400; }
body.qd.single-product .summary .price ins { text-decoration: none; }
body.qd.qd-has-desc.single-product .summary .woocommerce-product-details__short-description { display: none; }
body.qd.single-product .summary .product_meta { display: none; }

/* variations as underlined rows */
body.qd.single-product .summary form.cart { margin: 20px 0 0 !important; }
body.qd.single-product table.variations {
	border: 0 !important;
	margin: 0 !important;
	width: 100%;
	display: block;
}
body.qd.single-product table.variations tbody { display: flex; flex-direction: column; gap: 14px; }
body.qd.single-product table.variations tr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1.5px solid rgba(95, 54, 68, 0.25);
	padding-bottom: 8px;
}
body.qd.single-product table.variations th,
body.qd.single-product table.variations td {
	border: 0 !important;
	padding: 0 !important;
	background: none !important;
	display: block;
	line-height: 1.4;
}
body.qd.single-product table.variations th label { font-size: 14px; font-weight: 500; color: var(--qd-plum); }
body.qd.single-product table.variations td.value { text-align: left; }
body.qd.single-product table.variations select {
	border: 0 !important;
	background-color: transparent !important;
	font-size: 14px;
	color: var(--qd-brown);
	min-height: 36px;
	cursor: pointer;
	text-align: left;
	padding: 0 0 0 24px !important;
	box-shadow: none !important;
	width: auto !important;
	min-width: 0;
}
body.qd.single-product .reset_variations { font-size: 12px; color: var(--qd-brown) !important; margin-inline-start: 12px; }
body.qd.single-product .woocommerce-variation-price { display: none; }
body.qd.single-product .woocommerce-variation-availability,
body.qd.single-product .woocommerce-variation-description { font-size: 13px; color: var(--qd-brown); }

.qd-meta {
	margin: 24px 0 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 56px;
	font-size: 13px;
}
.qd-meta > div { display: flex; gap: 12px; }
.qd-meta dt { font-weight: 600; }
.qd-meta dd { margin: 0; color: var(--qd-brown); }
body.qd.single-product .summary p.stock { display: none; }

/* quantity + add to cart */
body.qd.single-product form.cart:not(.variations_form),
body.qd.single-product .woocommerce-variation-add-to-cart {
	margin-top: 24px !important;
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}
.qd .quantity {
	width: auto !important;
	flex: 0 0 auto !important;
	display: inline-flex !important;
	align-items: center;
	background: var(--qd-sand);
	border-radius: 6px;
	padding: 2px;
	margin: 0 !important;
	float: none !important;
}
.qd .quantity .qty {
	width: 44px !important;
	min-width: 44px;
	height: 40px !important;
	min-height: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--qd-paper) !important;
	text-align: center;
	font-size: 15px;
	color: var(--qd-plum);
	padding: 0 !important;
	box-shadow: none !important;
	-moz-appearance: textfield;
}
.qd .quantity .qty::-webkit-outer-spin-button,
.qd .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qd .quantity .qd-qty-btn {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent !important;
	color: var(--qd-plum) !important;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	box-shadow: none;
}
.qd .quantity .plus, .qd .quantity .minus,
.qd .quantity .ast-qty-placeholder { display: none !important; }
body.qd.single-product .single_add_to_cart_button {
	min-height: 48px;
	min-width: 180px;
	padding: 0 32px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: var(--qd-accent) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 48px !important;
	margin: 0 !important;
	float: none !important;
}
body.qd.single-product .single_add_to_cart_button:hover { background: var(--qd-accent-2) !important; }
body.qd.single-product .single_add_to_cart_button.disabled { opacity: 0.5; }
body.qd.single-product .summary .added_to_cart { font-size: 13px; font-weight: 600; text-decoration: underline; }

.qd-share { margin-top: 28px; display: flex; align-items: center; gap: 12px; }
.qd-share span { font-size: 14px; font-weight: 600; }
.qd-share a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--qd-plum) !important; }

/* description / reviews + side facts */
.qd-info {
	margin-top: 96px;
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: flex-start;
	padding-inline-start: clamp(0px, 8vw, 108px);
}
.qd-info__main { flex: 1 1 520px; min-width: 0; }
.qd-info__aside { flex: 0 1 260px; display: flex; flex-direction: column; gap: 20px; padding-top: 10px; }
.qd-info__aside h2 { margin: 0; font-size: 18px !important; font-weight: 500 !important; color: var(--qd-plum); }
.qd-info__aside dl { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.qd-info__aside dl > div { display: flex; flex-direction: column; gap: 4px; }
.qd-info__aside dt { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.qd-info__aside dd { margin: 0; font-size: 16px; color: var(--qd-brown); }

body.qd.single-product .woocommerce-tabs { padding: 0 !important; margin: 0 !important; border: 0 !important; }
body.qd.single-product .woocommerce-tabs ul.tabs {
	display: flex !important;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	border-bottom: 1.5px solid rgba(95, 54, 68, 0.2) !important;
	border-top: 0 !important;
	background: none !important;
	overflow: visible;
}
body.qd.single-product .woocommerce-tabs ul.tabs::before,
body.qd.single-product .woocommerce-tabs ul.tabs::after,
body.qd.single-product .woocommerce-tabs ul.tabs li::before,
body.qd.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.qd.single-product .woocommerce-tabs ul.tabs li {
	margin: 0 0 -1.5px !important;
	padding: 0 !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	background: none !important;
	border-radius: 0 !important;
}
body.qd.single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	font-size: 20px !important;
	font-weight: 400 !important;
	padding: 0 16px 14px !important;
	color: var(--qd-muted) !important;
}
body.qd.single-product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--qd-plum) !important; }
body.qd.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--qd-plum) !important; }
body.qd.single-product .woocommerce-tabs .panel {
	padding-top: 28px !important;
	margin: 0 !important;
	font-size: 15px;
	line-height: 2;
	color: var(--qd-plum);
	background: none !important;
	border: 0 !important;
}
body.qd.single-product .woocommerce-tabs .panel h2,
body.qd.single-product .woocommerce-tabs .panel h3 { font-size: 18px; font-weight: 500; color: var(--qd-plum); }
body.qd.single-product #reviews .comment-reply-title { font-size: 16px; }
body.qd.single-product #reviews input[type="submit"] {
	min-height: 44px;
	padding: 0 22px;
	border: 1.5px solid var(--qd-plum) !important;
	border-radius: 6px;
	background: transparent !important;
	color: var(--qd-plum) !important;
	font-size: 14px;
	font-weight: 600;
}

/* related products carousel */
body.qd.single-product .related.products,
body.qd.single-product .upsells.products {
	margin-top: 120px !important;
	position: relative;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}
body.qd ul.products li.product .ast-woo-shop-product-description { display: none !important; }
body.qd ul.products li.product .astra-shop-summary-wrap > .ast-loop-product__link { grid-area: title; min-width: 0; }
body.qd ul.products li.product .astra-shop-summary-wrap > .price { grid-area: price; }
body.qd.single-product .related.products > h2,
body.qd.single-product .upsells.products > h2 {
	margin: 0 0 40px !important;
	font-size: 34px !important;
	font-weight: 400 !important;
	color: var(--qd-plum);
}
.qd-rail { position: relative; }
body.qd .related.products ul.products,
body.qd .upsells.products ul.products {
	display: flex !important;
	gap: 32px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	margin: 0 !important;
	padding: 0 !important;
	grid-template-columns: none !important;
}
body.qd .related.products ul.products::-webkit-scrollbar,
body.qd .upsells.products ul.products::-webkit-scrollbar { display: none; }
body.qd .related.products ul.products::before,
body.qd .related.products ul.products::after,
body.qd .upsells.products ul.products::before,
body.qd .upsells.products ul.products::after { display: none !important; }
body.qd .related.products ul.products li.product,
body.qd .upsells.products ul.products li.product {
	flex: 0 0 244px;
	width: 244px !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	scroll-snap-align: start;
	background: none !important;
	box-shadow: none !important;
	border: 0 !important;
	text-align: start !important;
}
.qd ul.products li.product img {
	width: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
	background: var(--qd-sand);
	margin: 0 0 12px !important;
	display: block;
}
body.qd .related.products li.product .button,
body.qd .related.products li.product .added_to_cart,
body.qd .related.products li.product .ast-on-card-button,
body.qd .related.products li.product .star-rating,
body.qd .upsells.products li.product .button,
body.qd .upsells.products li.product .ast-on-card-button { display: none !important; }
body.qd .related.products li.product .astra-shop-summary-wrap,
body.qd .upsells.products li.product .astra-shop-summary-wrap {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "title price" "cat cat";
	gap: 6px 12px;
	padding: 0 !important;
}
body.qd ul.products li.product .woocommerce-loop-product__title {
	grid-area: title;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--qd-plum) !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.qd ul.products li.product .price {
	grid-area: price;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--qd-plum) !important;
	white-space: nowrap;
	margin: 0 !important;
}
body.qd ul.products li.product .ast-woo-product-category {
	grid-area: cat;
	font-size: 12px !important;
	color: var(--qd-brown) !important;
	opacity: 1 !important;
	margin: 0 !important;
	text-transform: none !important;
}
.qd-rail__btn {
	position: absolute;
	top: 100px;
	width: 48px;
	height: 48px;
	border: 0;
	background: transparent !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: var(--qd-plum) !important;
	box-shadow: none !important;
}
.qd-rail__btn[disabled] { opacity: 0.25; cursor: default; }
.qd-rail__btn--prev { right: -56px; }
.qd-rail__btn--next { left: -56px; }
@media (max-width: 1360px) {
	.qd-rail__btn--prev { right: -8px; }
	.qd-rail__btn--next { left: -8px; }
	.qd-rail__btn { background: rgba(239, 229, 217, 0.85) !important; border-radius: 50%; }
}

@media (max-width: 960px) {
	body.qd.single-product div.product { display: block; }
	body.qd.single-product .woocommerce-product-gallery { flex-direction: column; }
	body.qd.single-product .woocommerce-product-gallery .flex-viewport,
	body.qd.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { width: 100%; }
	body.qd.single-product .woocommerce-product-gallery .flex-control-thumbs { order: 1; flex-direction: row; flex: none; overflow-x: auto; max-width: 100%; }
	body.qd.single-product .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 64px; width: 64px !important; height: 64px; }
	body.qd.single-product .woocommerce-product-gallery .flex-control-thumbs img { width: 64px; height: 64px; }
	body.qd.single-product div.product div.summary { margin-top: 32px !important; }
	body.qd.single-product .summary .product_title { font-size: 30px !important; }
	body.qd.single-product .summary > p.price { font-size: 30px !important; margin-top: 20px !important; }
	.qd-info { margin-top: 64px; padding-inline-start: 0; gap: 40px; }
	body.qd.single-product .related.products { margin-top: 80px !important; }
	body.qd.single-product .related.products > h2 { font-size: 26px !important; margin-bottom: 24px !important; }
	body.qd .related.products ul.products li.product { flex-basis: 200px; width: 200px !important; }
}

/* ---------- Cart ---------- */
body.qd.woocommerce-cart .woocommerce {
	display: flex;
	flex-wrap: wrap;
	gap: 0 40px;
	align-items: flex-start;
}
body.qd.woocommerce-cart .woocommerce > * { flex: 1 1 100%; min-width: 0; }
body.qd.woocommerce-cart .woocommerce > form.woocommerce-cart-form { flex: 999 1 560px; }
body.qd.woocommerce-cart .woocommerce > .cart-collaterals { flex: 1 1 380px; }
body.qd.woocommerce-cart .cart-collaterals .cart_totals,
body.qd.woocommerce-cart .cart-collaterals .cross-sells {
	float: none !important;
	width: auto !important;
}
body.qd.woocommerce-cart table.shop_table.cart {
	border: 0 !important;
	border-top: 1px solid var(--qd-line) !important;
	border-radius: 0 !important;
	margin: 0 !important;
	background: none !important;
	width: 100%;
	display: block;
}
body.qd.woocommerce-cart table.shop_table.cart thead { display: none !important; }
body.qd.woocommerce-cart table.shop_table.cart tbody { display: block; }
body.qd.woocommerce-cart table.shop_table.cart tr.cart_item {
	display: grid !important;
	grid-template-columns: 140px auto 1fr auto;
	grid-template-areas:
		"thumb name name sub"
		"thumb qty rem rem";
	column-gap: 24px;
	row-gap: 8px;
	align-items: start;
	padding: 28px 0;
	border-bottom: 1px solid var(--qd-line);
	background: none !important;
}
body.qd.woocommerce-cart table.shop_table.cart td {
	display: block !important;
	border: 0 !important;
	padding: 0 !important;
	background: none !important;
	text-align: start !important;
	width: auto !important;
	min-width: 0;
}
body.qd.woocommerce-cart table.shop_table.cart td::before { display: none !important; }
body.qd.woocommerce-cart td.product-thumbnail { grid-area: thumb; }
body.qd.woocommerce-cart td.product-thumbnail img {
	width: 140px !important;
	height: 140px !important;
	max-width: none !important;
	object-fit: cover;
	border-radius: 12px;
	background: var(--qd-sand);
	display: block;
}
body.qd.woocommerce-cart td.product-name { grid-area: name; font-size: 19px; font-weight: 500; }
body.qd.woocommerce-cart td.product-name a { color: var(--qd-plum) !important; }
body.qd.woocommerce-cart td.product-name dl.variation,
body.qd.woocommerce-cart td.product-name .wc-item-meta { font-size: 13px; color: var(--qd-brown); font-weight: 400; margin: 6px 0 0; }
body.qd.woocommerce-cart td.product-name dl.variation dt,
body.qd.woocommerce-cart td.product-name dl.variation dd,
body.qd.woocommerce-cart td.product-name dl.variation p { display: inline; margin: 0; }
body.qd.woocommerce-cart table.shop_table.cart td.product-price { display: none !important; }
body.qd.woocommerce-cart form.woocommerce-cart-form {
	background: none !important;
	padding: 0 !important;
	box-shadow: none !important;
	border: 0 !important;
	border-radius: 0 !important;
}
body.qd.woocommerce-cart td.product-subtotal { grid-area: sub; font-size: 18px; font-weight: 600; white-space: nowrap; }
body.qd.woocommerce-cart td.product-quantity { grid-area: qty; align-self: center; margin-top: 8px !important; }
body.qd.woocommerce-cart td.product-remove { grid-area: rem; align-self: center; margin-top: 8px !important; }
body.qd.woocommerce-cart td.product-quantity .quantity { background: transparent; border: 1px solid var(--qd-line-2); border-radius: 8px; padding: 0; }
body.qd.woocommerce-cart td.product-quantity .quantity .qty { background: transparent !important; width: 28px !important; min-width: 28px; font-weight: 600; }
body.qd.woocommerce-cart td.product-remove a.remove {
	display: inline-flex !important;
	align-items: center;
	width: auto !important;
	height: 44px !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: var(--qd-plum) !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	text-decoration: underline !important;
	line-height: 1 !important;
	text-indent: 0 !important;
}
body.qd.woocommerce-cart td.product-remove a.remove::before,
body.qd.woocommerce-cart td.product-remove a.remove::after { display: none !important; }
body.qd.woocommerce-cart td.product-remove a.remove:hover { color: var(--qd-accent) !important; }
body.qd.woocommerce-cart table.shop_table.cart tr:not(.cart_item) { display: block; }
body.qd.woocommerce-cart table.shop_table.cart td.actions {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 24px 0 0 !important;
}
body.qd.woocommerce-cart td.actions .coupon {
	display: flex !important;
	gap: 8px;
	flex: 1 1 280px;
	float: none !important;
	margin: 0 !important;
}
body.qd.woocommerce-cart td.actions .coupon label { display: none; }
body.qd.woocommerce-cart td.actions .coupon .input-text {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	border: 1px solid var(--qd-line-2) !important;
	border-radius: 8px !important;
	background: var(--qd-bg) !important;
	padding: 0 14px !important;
	font-size: 14px;
	color: var(--qd-plum);
	width: auto !important;
	margin: 0 !important;
}
body.qd.woocommerce-cart td.actions .button,
body.qd .qd-outline-btn {
	min-height: 44px;
	padding: 0 18px !important;
	border: 1.5px solid var(--qd-plum) !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: var(--qd-plum) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	float: none !important;
	width: auto !important;
}
body.qd.woocommerce-cart td.actions .button[disabled] { opacity: 0.4; }
.qd-continue {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 24px;
	font-size: 14px;
	font-weight: 500;
	color: var(--qd-plum) !important;
}

.qd .cart_totals,
.qd .qd-aside-box {
	background: var(--qd-sand) !important;
	border-radius: 16px;
	padding: 32px !important;
	display: flex;
	flex-direction: column;
	gap: 18px;
	box-sizing: border-box;
	border: 0 !important;
}
.qd .cart_totals > h2:not(.qd-sum-title) { display: none; }
.qd-sum-title,
.qd .cart_totals .qd-sum-title {
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	font-size: 22px !important;
	font-weight: 500 !important;
	color: var(--qd-plum);
}
.qd .cart_totals tr.order-total td { white-space: nowrap; }
.qd .cart_totals table.shop_table {
	border: 0 !important;
	margin: 0 !important;
	background: none !important;
	border-radius: 0 !important;
	width: 100%;
}
.qd .cart_totals table.shop_table th,
.qd .cart_totals table.shop_table td {
	border: 0 !important;
	padding: 6px 0 !important;
	background: none !important;
	font-size: 15px;
	font-weight: 400;
	color: var(--qd-plum);
	vertical-align: baseline;
}
.qd .cart_totals table.shop_table th { text-align: start; width: auto !important; }
.qd .cart_totals table.shop_table td { text-align: end !important; }
.qd .cart_totals table.shop_table td::before { display: none !important; }
.qd .cart_totals tr.order-total th,
.qd .cart_totals tr.order-total td { border-top: 1px solid rgba(95, 54, 68, 0.2) !important; padding-top: 18px !important; }
.qd .cart_totals tr.order-total th { font-size: 16px; font-weight: 600; }
.qd .cart_totals tr.order-total td strong,
.qd .cart_totals tr.order-total td .amount { font-size: 28px; font-weight: 600; }
.qd .cart_totals .woocommerce-shipping-destination,
.qd .cart_totals .shipping-calculator-button { font-size: 13px; color: var(--qd-brown); }
.qd .wc-proceed-to-checkout { padding: 0 !important; margin: 0 !important; }
.qd .wc-proceed-to-checkout a.checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	border-radius: 8px !important;
	background: var(--qd-accent) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	padding: 0 24px !important;
	margin: 0 !important;
	width: 100%;
	box-sizing: border-box;
}
.qd .wc-proceed-to-checkout a.checkout-button:hover { background: var(--qd-accent-2) !important; }
.qd-trust {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 13px;
	color: var(--qd-plum);
}
.qd-trust li { display: flex; gap: 10px; align-items: center; margin: 0; }

/* empty cart */
body.qd.woocommerce-cart .cart-empty.woocommerce-info,
body.qd.woocommerce-cart .wc-empty-cart-message .cart-empty {
	border: 1px dashed rgba(95, 54, 68, 0.35) !important;
	border-bottom: 0 !important;
	border-radius: 16px 16px 0 0 !important;
	background: none !important;
	padding: 72px 24px 20px !important;
	margin: 0 !important;
	text-align: center;
	font-family: var(--qd-script) !important;
	font-size: 48px !important;
	line-height: 1.4;
	color: var(--qd-brown) !important;
}
body.qd.woocommerce-cart .cart-empty.woocommerce-info::before { display: none !important; }
body.qd.woocommerce-cart .return-to-shop {
	border: 1px dashed rgba(95, 54, 68, 0.35);
	border-top: 0;
	border-radius: 0 0 16px 16px;
	padding: 0 24px 72px;
	margin: 0 !important;
	text-align: center;
}
body.qd.woocommerce-cart .return-to-shop .button {
	display: inline-flex !important;
	align-items: center;
	min-height: 48px;
	padding: 0 28px !important;
	border-radius: 8px !important;
	background: var(--qd-accent) !important;
	color: #fff !important;
	font-weight: 600 !important;
	border: 0 !important;
}

/* cross-sells */
body.qd .cross-sells { margin-top: 120px !important; display: flex; flex-direction: column; gap: 28px; }
body.qd .cross-sells > h2 { margin: 0 !important; font-size: 26px !important; font-weight: 500 !important; color: var(--qd-plum); }
body.qd .cross-sells ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
	gap: 28px;
	margin: 0 !important;
	padding: 0 !important;
}
body.qd .cross-sells ul.products::before,
body.qd .cross-sells ul.products::after { display: none !important; }
body.qd .cross-sells ul.products li.product {
	display: flex !important;
	gap: 16px;
	align-items: center;
	background: var(--qd-paper) !important;
	border-radius: 16px;
	padding: 16px !important;
	margin: 0 !important;
	width: auto !important;
	float: none !important;
	text-align: start !important;
}
body.qd .cross-sells ul.products li.product .astra-shop-thumbnail-wrap { flex: 0 0 88px; }
body.qd .cross-sells ul.products li.product img { width: 88px !important; height: 88px; margin: 0 !important; }
body.qd .cross-sells ul.products li.product .astra-shop-summary-wrap { display: flex; flex-direction: column; gap: 6px; padding: 0 !important; }
body.qd .cross-sells ul.products li.product .woocommerce-loop-product__title { font-weight: 500 !important; }
body.qd .cross-sells ul.products li.product .price { font-weight: 400 !important; }
body.qd .cross-sells ul.products li.product .button,
body.qd .cross-sells ul.products li.product .ast-woo-product-category,
body.qd .cross-sells ul.products li.product .ast-on-card-button,
body.qd .cross-sells ul.products li.product .star-rating { display: none !important; }

@media (max-width: 600px) {
	body.qd.woocommerce-cart table.shop_table.cart tr.cart_item {
		grid-template-columns: 96px auto 1fr;
		grid-template-areas:
			"thumb name name"
			"thumb sub sub"
			"qty qty rem";
		column-gap: 16px;
	}
	body.qd.woocommerce-cart td.product-thumbnail img { width: 96px !important; height: 96px !important; }
	body.qd.woocommerce-cart td.product-name { font-size: 16px; }
	body.qd.woocommerce-cart td.product-subtotal { font-size: 16px; }
	.qd .cart_totals { padding: 24px !important; }
	body.qd.woocommerce-cart .cart-empty.woocommerce-info { font-size: 32px !important; }
}

/* ---------- Checkout ---------- */
body.qd.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.qd.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
	background: var(--qd-paper) !important;
	border: 1px solid var(--qd-line) !important;
	border-radius: 12px;
	color: var(--qd-plum) !important;
	font-size: 14px;
	margin-bottom: 24px;
}
body.qd.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { color: var(--qd-plum) !important; }
body.qd.woocommerce-checkout form.checkout_coupon {
	border: 1px solid var(--qd-line) !important;
	border-radius: 12px;
	background: var(--qd-paper);
	padding: 20px !important;
	margin: 0 0 24px !important;
}

body.qd form.checkout.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	grid-template-rows: auto auto auto 1fr;
	column-gap: 40px;
	align-items: start;
}
body.qd form.checkout > * { grid-column: 1 / -1; }
body.qd form.checkout > .woocommerce-NoticeGroup { grid-row: 1; }
body.qd form.checkout > #customer_details {
	grid-column: 1;
	grid-row: 2 / 5;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
body.qd form.checkout > #order_review_heading {
	grid-column: 2;
	grid-row: 2;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	background: var(--qd-sand);
	border-radius: 16px 16px 0 0;
	padding: 32px 32px 20px !important;
	font-size: 22px !important;
	font-weight: 500 !important;
	color: var(--qd-plum);
	border: 0 !important;
}
body.qd form.checkout > #order_review {
	grid-column: 2;
	grid-row: 3;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	background: var(--qd-sand);
	border-radius: 0 0 16px 16px;
	padding: 0 32px 32px !important;
	border: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
body.qd #customer_details .col-1,
body.qd #customer_details .col-2 {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
body.qd #customer_details .col-2:empty { display: none; }

/* cards */
body.qd .qd-card,
body.qd #customer_details .woocommerce-billing-fields,
body.qd #customer_details .woocommerce-additional-fields,
body.qd #customer_details .woocommerce-shipping-fields {
	margin: 0 !important;
	border: 1px solid var(--qd-line) !important;
	border-radius: 16px !important;
	padding: 32px !important;
	display: flex;
	flex-direction: column;
	gap: 20px;
	background: var(--qd-paper) !important;
	box-sizing: border-box;
}
body.qd #customer_details .woocommerce-billing-fields .woocommerce-shipping-fields {
	border: 0 !important;
	border-top: 1px solid var(--qd-line) !important;
	border-radius: 0 !important;
	padding: 20px 0 0 !important;
	background: none !important;
}
body.qd #customer_details .woocommerce-shipping-fields:not(:has(input:checked)) .shipping_address { display: none; }
body.qd .qd-card__title,
body.qd #customer_details h3 {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	color: var(--qd-plum);
	border: 0 !important;
	background: none !important;
}
body.qd #customer_details h3#ship-to-different-address { font-size: 15px !important; }
body.qd #customer_details h3#ship-to-different-address label { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.qd-n { color: var(--qd-accent); font-family: var(--qd-script) !important; font-size: 26px; margin-inline-end: 4px; }

/* field grids */
body.qd .qd-card__fields,
body.qd .woocommerce-billing-fields__field-wrapper,
body.qd .woocommerce-shipping-fields__field-wrapper,
body.qd .woocommerce-additional-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
body.qd .woocommerce-billing-fields__field-wrapper::before,
body.qd .woocommerce-billing-fields__field-wrapper::after,
body.qd .woocommerce-shipping-fields__field-wrapper::before,
body.qd .woocommerce-shipping-fields__field-wrapper::after { display: none !important; }
body.qd.woocommerce-checkout .form-row {
	display: flex !important;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	float: none !important;
	grid-column: span 1;
}
body.qd.woocommerce-checkout .form-row.form-row-wide,
body.qd.woocommerce-checkout .form-row.notes,
body.qd.woocommerce-checkout #billing_email_field,
body.qd.woocommerce-checkout #billing_address_1_field { grid-column: 1 / -1; }
body.qd.woocommerce-checkout .form-row.hidden,
body.qd.woocommerce-checkout .form-row[style*="display: none"] { display: none !important; }
body.qd.woocommerce-checkout .form-row label {
	font-size: 14px;
	font-weight: 500;
	color: var(--qd-plum);
	margin: 0 !important;
	line-height: 1.5;
}
body.qd.woocommerce-checkout .form-row .required { color: var(--qd-accent) !important; text-decoration: none; border: 0; }
body.qd.woocommerce-checkout .form-row .optional { font-weight: 400; color: var(--qd-brown); }
body.qd.woocommerce-checkout .form-row .woocommerce-input-wrapper { display: block; width: 100%; }
body.qd.woocommerce-checkout .form-row input.input-text,
body.qd.woocommerce-checkout .form-row select,
body.qd.woocommerce-checkout .form-row textarea,
body.qd.woocommerce-checkout .select2-container .select2-selection--single {
	width: 100% !important;
	min-height: 48px;
	border: 1px solid var(--qd-line-2) !important;
	border-radius: 8px !important;
	background: var(--qd-bg) !important;
	padding: 0 14px !important;
	font-size: 15px !important;
	color: var(--qd-plum) !important;
	box-shadow: none !important;
	box-sizing: border-box;
	line-height: 46px;
}
body.qd.woocommerce-checkout .form-row textarea { padding: 12px 14px !important; line-height: 1.7; min-height: 88px; resize: vertical; }
body.qd.woocommerce-checkout .select2-container .select2-selection--single { height: 48px !important; display: flex; align-items: center; }
body.qd.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 !important; line-height: 46px !important; color: var(--qd-plum) !important; }
body.qd.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 46px !important; left: 10px !important; right: auto !important; }
body.qd.woocommerce-checkout .form-row input.input-text:focus,
body.qd.woocommerce-checkout .form-row select:focus,
body.qd.woocommerce-checkout .form-row textarea:focus { border-color: var(--qd-plum) !important; outline: 2px solid rgba(95, 54, 68, 0.15); }
body.qd.woocommerce-checkout .form-row.woocommerce-invalid input.input-text,
body.qd.woocommerce-checkout .form-row.woocommerce-invalid select { border: 1.5px solid var(--qd-err) !important; }
body.qd.woocommerce-checkout #billing_phone,
body.qd.woocommerce-checkout #billing_email { direction: ltr; text-align: right; }

/* payment methods */
body.qd #payment,
body.qd .woocommerce-checkout-payment {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}
body.qd #payment ul.payment_methods {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
body.qd #payment ul.payment_methods li.wc_payment_method {
	display: grid;
	grid-template-columns: 20px 1fr;
	column-gap: 14px;
	align-items: start;
	padding: 18px 20px !important;
	border-radius: 12px;
	border: 1px solid rgba(95, 54, 68, 0.2);
	margin: 0 !important;
	background: transparent;
	cursor: pointer;
}
body.qd #payment ul.payment_methods li.wc_payment_method:has(input:checked) {
	background: var(--qd-bg);
	border: 1.5px solid var(--qd-plum);
}
body.qd #payment ul.payment_methods li input.input-radio {
	width: 20px;
	height: 20px;
	margin: 2px 0 0 !important;
	accent-color: var(--qd-plum);
}
body.qd #payment ul.payment_methods li label {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--qd-plum);
	margin: 0 !important;
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
body.qd #payment ul.payment_methods li label img { max-height: 22px; width: auto; margin: 0 !important; }
body.qd #payment div.payment_box {
	grid-column: 2;
	background: none !important;
	padding: 6px 0 0 !important;
	margin: 0 !important;
	font-size: 13px;
	color: var(--qd-brown) !important;
	line-height: 1.7;
	border: 0 !important;
}
body.qd #payment div.payment_box::before { display: none !important; }
body.qd #payment .woocommerce-notice,
body.qd #payment .woocommerce-info { font-size: 14px; background: none !important; border: 0 !important; color: var(--qd-brown) !important; padding: 0 !important; }
body.qd #payment .woocommerce-info::before { display: none; }

/* order review (aside) */
body.qd .woocommerce-checkout-review-order-table {
	border: 0 !important;
	margin: 0 !important;
	background: none !important;
	width: 100%;
	border-radius: 0 !important;
}
body.qd .woocommerce-checkout-review-order-table thead { display: none; }
body.qd .woocommerce-checkout-review-order-table th,
body.qd .woocommerce-checkout-review-order-table td {
	border: 0 !important;
	background: none !important;
	padding: 6px 0 !important;
	font-size: 15px;
	font-weight: 400;
	color: var(--qd-plum);
	vertical-align: middle;
}
body.qd .woocommerce-checkout-review-order-table tbody td { padding: 8px 0 !important; }
body.qd .woocommerce-checkout-review-order-table td.product-name { width: 100%; }
body.qd .woocommerce-checkout-review-order-table td.product-total { text-align: end; white-space: nowrap; font-size: 14px; padding-inline-start: 12px !important; }
body.qd .woocommerce-checkout-review-order-table tfoot th { text-align: start; }
body.qd .woocommerce-checkout-review-order-table tfoot td { text-align: end; }
body.qd .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
body.qd .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td { border-top: 1px solid rgba(95, 54, 68, 0.2) !important; padding-top: 18px !important; }
body.qd .woocommerce-checkout-review-order-table tr.order-total th,
body.qd .woocommerce-checkout-review-order-table tr.order-total td { border-top: 1px solid rgba(95, 54, 68, 0.2) !important; padding-top: 18px !important; }
body.qd .woocommerce-checkout-review-order-table tr.order-total th { font-size: 16px; font-weight: 600; }
body.qd .woocommerce-checkout-review-order-table tr.order-total td strong,
body.qd .woocommerce-checkout-review-order-table tr.order-total td .amount { font-size: 28px; font-weight: 600; }
body.qd .woocommerce-checkout-review-order-table #shipping_method { list-style: none; margin: 0; padding: 0; font-size: 13px; }
body.qd .woocommerce-checkout-review-order-table #shipping_method li { margin: 0 0 4px; }
.qd-item { display: flex; gap: 14px; align-items: center; }
.qd-item__img { position: relative; flex: 0 0 64px; }
.qd-item__img img { width: 64px !important; height: 64px !important; border-radius: 10px; object-fit: cover; display: block; background: var(--qd-bg); margin: 0 !important; }
.qd-item__qty {
	position: absolute;
	top: -8px;
	left: -8px;
	min-width: 22px;
	height: 22px;
	border-radius: 999px;
	background: var(--qd-plum);
	color: var(--qd-bg);
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	box-sizing: border-box;
}
.qd-item__name { font-size: 14px; font-weight: 500; line-height: 1.5; }
.qd-item__name dl.variation { font-size: 12px; color: var(--qd-brown); margin: 2px 0 0; }

body.qd .qd-place-order,
body.qd #order_review .place-order {
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
body.qd .woocommerce-terms-and-conditions-wrapper { font-size: 13px; line-height: 1.7; }
body.qd .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox { display: flex; gap: 10px; align-items: flex-start; }
body.qd .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { accent-color: var(--qd-plum); width: 18px; height: 18px; margin: 3px 0 0; }
body.qd .woocommerce-privacy-policy-text p { font-size: 12px; color: var(--qd-brown); margin: 0; }
body.qd #place_order {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 52px;
	border-radius: 8px !important;
	background: var(--qd-accent) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border: 0 !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 24px !important;
}
body.qd #place_order:hover { background: var(--qd-accent-2) !important; }
.qd-sub-note { margin: 0; font-size: 12px; color: var(--qd-plum); text-align: center; line-height: 1.7; }

@media (max-width: 960px) {
	body.qd form.checkout.woocommerce-checkout { display: flex; flex-direction: column; gap: 0; }
	body.qd form.checkout > #customer_details { order: 1; }
	body.qd form.checkout > #order_review_heading { order: 2; margin-top: 32px !important; }
	body.qd form.checkout > #order_review { order: 3; }
}
@media (max-width: 600px) {
	body.qd .qd-card__fields,
	body.qd .woocommerce-billing-fields__field-wrapper,
	body.qd .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	body.qd .qd-card,
	body.qd #customer_details .woocommerce-billing-fields,
	body.qd #customer_details .woocommerce-additional-fields { padding: 24px 20px !important; }
	body.qd form.checkout > #order_review_heading { padding: 24px 20px 16px !important; }
	body.qd form.checkout > #order_review { padding: 0 20px 24px !important; }
}

/* ---------- Order confirmation ---------- */
body.qd.woocommerce-order-received .entry-header { display: none; }
.qd-thanks__hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 56px 0 0; }
.qd-thanks__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; }
.qd-thanks__title {
	margin: 0 !important;
	font-family: var(--qd-script) !important;
	font-weight: 400 !important;
	font-size: clamp(64px, 9vw, 128px) !important;
	line-height: 1.1 !important;
	color: var(--qd-accent-2) !important;
}
.qd-thanks__title.is-failed { font-size: clamp(48px, 7vw, 88px) !important; }
.qd-thanks__lead { margin: 0; font-size: 26px; line-height: 1.6; color: var(--qd-brown); }
.qd-thanks__body { margin: 0; font-size: 16px; line-height: 1.9; max-width: 520px; color: var(--qd-plum); }
.qd-thanks__num {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 16px;
	background: var(--qd-sand);
	border-radius: 12px;
	padding: 14px 20px;
}
.qd-thanks__num span { font-size: 14px; }
.qd-thanks__num strong { font-size: 20px; font-weight: 600; letter-spacing: 0.04em; }
.qd-thanks__seal { display: none; }
.qd-track { margin-top: 96px; display: flex; flex-direction: column; gap: 32px; }
.qd-track h2 { margin: 0 !important; font-size: 26px !important; font-weight: 500 !important; color: var(--qd-plum); }
.qd-track ol { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.qd-track li { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.qd-track__bar { height: 4px; border-radius: 999px; background: rgba(95, 54, 68, 0.2); }
.qd-track li.is-done .qd-track__bar { background: var(--qd-plum); }
.qd-track li strong { font-size: 15px; font-weight: 500; }
.qd-track li.is-done strong { font-weight: 600; }
.qd-track li span:last-child { font-size: 13px; color: var(--qd-brown); }
.qd-cards { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.qd-card-sm {
	background: var(--qd-paper);
	border: 1px solid var(--qd-line);
	border-radius: 16px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.qd-card-sm h3 { margin: 0 !important; font-size: 14px !important; font-weight: 600 !important; color: var(--qd-brown) !important; }
.qd-card-sm p { margin: 0; font-size: 15px; line-height: 1.9; }
.qd-card-sm__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.qd-card-sm__thumbs img { width: 56px !important; height: 56px !important; border-radius: 8px; object-fit: cover; margin: 0 !important; }
.qd-card-sm > span { font-size: 14px; }
.qd-thanks__actions { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 16px; }
.qd-thanks__hero .qd-thanks__actions { margin-top: 8px; }
.qd-quote { margin-top: 120px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.qd-quote__text { margin: 0; font-family: var(--qd-script) !important; font-size: 48px; line-height: 1.4; color: var(--qd-brown); }
@media (max-width: 700px) {
	.qd-track ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.qd-track { margin-top: 64px; }
	.qd-quote { margin-top: 80px; }
	.qd-quote__text { font-size: 32px; }
	.qd-thanks__lead { font-size: 20px; }
}

/* product thumbnails: stay within the main photo's height */
@media (min-width: 961px) {
	body.qd.single-product .woocommerce-product-gallery .flex-control-thumbs {
		max-height: min(628px, calc(100vw * 0.42));
		overflow-y: auto;
		scrollbar-width: none;
	}
	body.qd.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar { display: none; }
}

/* ---------- Seal on confirmation ---------- */
.qd-thanks__seal { display: block !important; flex: 0 1 340px; margin: 0 auto; }
.qd-thanks__seal img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }

/* ---------- New page templates (PDF) ---------- */
body.qd-page .site-content > .ast-container {
	max-width: none !important;
	padding: 0 !important;
	display: block !important;
}
body.qd-page .entry-header { display: none; }
.qd-btn--sm { min-height: 40px; padding: 0 20px; font-size: 15px; border-radius: 6px; }
.qd-h2 { margin: 0 !important; font-size: 30px !important; font-weight: 500 !important; color: var(--qd-brown) !important; }

/* Homepage */
.qd-hero {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	aspect-ratio: 1292 / 680;
	background: #475E70;
	margin-top: 8px;
}
.qd-hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.qd-hero__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	border: 0;
	background: rgba(239, 229, 217, 0.35) !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.2s;
}
.qd-hero__play:hover { background: rgba(239, 229, 217, 0.5) !important; }
.qd-hero__play > img { display: none; }
.qd-hero__tri { color: var(--qd-plum); display: flex; margin-inline-start: -6px; }
.qd-hero.is-playing .qd-hero__play { display: none; }
.qd-tagline { padding: 110px 0 80px; text-align: center; }
.qd-tagline img { width: min(1030px, 100%); height: auto; display: inline-block; }
.qd-feature { display: flex; flex-direction: column; gap: 30px; scroll-margin-top: 24px; }
.qd-banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	aspect-ratio: 1292 / 384;
	border-radius: 20px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	padding: 48px 56px;
	box-sizing: border-box;
	color: #fff !important;
}
.qd-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to left, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 55%);
}
.qd-banner > * { position: relative; }
.qd-banner__text { display: flex; flex-direction: column; gap: 14px; }
.qd-banner__title { font-family: var(--qd-head) !important; font-size: 52px; font-weight: 600; line-height: 1.1; color: #fff; }
.qd-banner__sub { font-size: 18px; line-height: 1.8; color: #fff; }
.qd-banner .qd-btn { align-self: flex-end; color: #fff !important; }
.qd-cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.qd-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	aspect-ratio: 631 / 378;
	border-radius: 18px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	padding: 0 32px 34px;
	box-sizing: border-box;
}
.qd-tile__title {
	font-family: var(--qd-head) !important;
	font-size: clamp(32px, 4.4vw, 64px);
	font-weight: 600;
	line-height: 1.1;
	color: #fff !important;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.qd-banner:hover, .qd-tile:hover { filter: brightness(1.04); }
.qd-passion {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 60px 0 0;
	margin-top: 40px;
}
.qd-passion__bg { width: min(760px, 100%); height: auto; display: block; }
.qd-passion__text {
	position: absolute;
	top: 60px;
	left: 0;
	right: 0;
	aspect-ratio: 760 / 330;
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}
.qd-passion__text p { margin: 0; font-size: 18px; line-height: 1.75; color: var(--qd-plum); }
.qd-passion .qd-btn { margin-top: 56px; }

/* About */
.qd-about__hero { margin-top: 24px; }
.qd-about__hero img { width: 100%; height: auto; display: block; }
.qd-about__lead {
	margin: 96px 0 0 !important;
	max-width: 1040px;
	margin-inline: auto !important;
	font-family: var(--qd-head) !important;
	font-size: clamp(30px, 3.6vw, 52px);
	line-height: 1.45;
	color: var(--qd-brown);
}
.qd-about__story {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
	max-width: 1040px;
	margin: 64px auto 0;
}
.qd-about__seal { flex: 0 0 280px; width: 280px; height: auto; mix-blend-mode: multiply; }
.qd-about__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.qd-about__text p { margin: 0; font-size: 26px; line-height: 1.6; color: var(--qd-plum); }

/* Store */
.qd-store__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 72px 0 28px;
	border-bottom: 1px solid rgba(207, 74, 44, 0.45);
	margin-bottom: 48px;
}
.qd-store__title { margin: 0 !important; font-size: clamp(56px, 7vw, 96px) !important; font-weight: 500 !important; line-height: 1.1; color: var(--qd-brown) !important; }
.qd-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.qd-chip {
	min-width: 92px;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1.5px solid var(--qd-brown) !important;
	background: transparent !important;
	color: var(--qd-brown) !important;
	font-size: 15px !important;
	cursor: pointer;
	box-shadow: none !important;
	line-height: 1 !important;
}
.qd-chip.is-on { background: var(--qd-brown) !important; color: var(--qd-bg) !important; }
.qd-grid {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px 44px;
}
.qd-pcard { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.qd-pcard[hidden] { display: none; }
.qd-pcard__img { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--qd-sand); }
.qd-pcard__img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform 0.4s; }
.qd-pcard__img:hover img { transform: scale(1.03); }
.qd-pcard__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qd-pcard__name { margin: 0 !important; font-size: 21px !important; font-weight: 500 !important; line-height: 1.4; }
.qd-pcard__name a { color: var(--qd-plum) !important; }
.qd-badge {
	flex: none;
	font-size: 11px;
	color: var(--qd-accent);
	border: 1px solid var(--qd-accent);
	border-radius: 999px;
	padding: 2px 9px;
	line-height: 1.6;
}
.qd-pcard__price { font-size: 17px; color: var(--qd-plum); }
.qd-pcard__price del { opacity: 0.55; font-size: 0.85em; }
.qd-pcard__price ins { text-decoration: none; }
.qd-pill {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1.5px solid var(--qd-plum);
	color: var(--qd-plum) !important;
	font-size: 15px;
	background: transparent;
}
.qd-pill:hover, .qd-pill.added { background: var(--qd-plum); color: var(--qd-bg) !important; }
.qd-pill.loading { opacity: 0.6; }
.qd-pcard .added_to_cart { display: none !important; }
.qd-grid__empty { text-align: center; color: var(--qd-brown); padding: 48px 0; }

/* Mail club */
.qd-mail__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	gap: 80px;
	align-items: center;
	padding-top: 40px;
}
.qd-mail__copy { display: flex; flex-direction: column; gap: 18px; }
.qd-mail__title { margin: 0 !important; }
.qd-mail__title img { width: min(620px, 100%); height: auto; display: block; }
.qd-mail__kicker { margin: 24px 0 0 !important; font-size: 30px !important; font-weight: 500 !important; color: var(--qd-accent) !important; }
.qd-mail__copy > p { margin: 0; font-size: 17px; line-height: 2; color: var(--qd-brown); max-width: 560px; }
.qd-mail__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; font-size: 15px; color: var(--qd-brown); }
.qd-slider { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 300 / 405; background: var(--qd-sand); }
.qd-slider__track { display: flex; height: 100%; transition: transform 0.5s ease; }
.qd-slider__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; }
.qd-slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 0;
	background: rgba(239, 229, 217, 0.55) !important;
	color: var(--qd-plum) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}
.qd-slider__btn--prev { right: 14px; }
.qd-slider__btn--next { left: 14px; }
.qd-mail__box { margin-top: 120px; }
.qd-mail__note { margin: 10px 0 36px !important; font-size: 14px; color: var(--qd-brown); }
.qd-mail__list {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-bottom: 1px solid var(--qd-line);
}
.qd-mail__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 0;
	border-top: 1px solid var(--qd-line);
	font-size: 17px;
	color: var(--qd-plum);
	margin: 0;
}
.qd-mail__list li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--qd-slate); flex: none; }
.qd-mail__list li:nth-child(-n+3) { border-top: 0; }
.qd-philo {
	margin-top: 96px;
	background: #4B5E70;
	color: var(--qd-bg);
	border-radius: 28px;
	padding: 56px 64px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 64px;
	align-items: center;
}
.qd-philo__head { display: flex; flex-direction: column; gap: 12px; }
.qd-philo__label { font-size: 15px; opacity: 0.9; }
.qd-philo__title { margin: 0 !important; font-size: clamp(40px, 5vw, 64px) !important; font-weight: 500 !important; color: var(--qd-bg) !important; line-height: 1.2; }
.qd-philo__head p { margin: 8px 0 0; font-size: 15px; line-height: 1.9; color: var(--qd-bg); }
.qd-philo__table { margin: 0; }
.qd-philo__table > div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid rgba(239, 229, 217, 0.3); }
.qd-philo__table > div:first-child { border-top: 0; }
.qd-philo__table dt { font-weight: 600; font-size: 16px; }
.qd-philo__table dd { margin: 0; font-size: 16px; opacity: 0.85; }
.qd-plans { margin-top: 96px; }
.qd-plans__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.qd-plan { background: var(--qd-sand); border-radius: 8px; padding: 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.qd-plan h3 { margin: 0 !important; font-size: 28px !important; font-weight: 500 !important; color: var(--qd-brown) !important; }
.qd-plan p { margin: 0; font-size: 13px; color: var(--qd-brown); }
.qd-closing { margin-top: 120px; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.qd-closing__art { display: flex; align-items: center; justify-content: center; gap: 28px; }
.qd-closing__art img { width: min(560px, 70vw); height: auto; display: block; }
.qd-gem { color: var(--qd-slate); display: flex; }

@media (max-width: 960px) {
	.qd-tagline { padding: 64px 0 48px; }
	.qd-banner { aspect-ratio: auto; min-height: 320px; padding: 28px; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
	.qd-banner__title { font-size: 34px; }
	.qd-banner__sub { font-size: 15px; }
	.qd-banner .qd-btn { align-self: flex-start; }
	.qd-cards2 { grid-template-columns: 1fr; gap: 20px; }
	.qd-passion__text { position: static; aspect-ratio: auto; margin-top: -40px; }
	.qd-passion__text p { font-size: 16px; }
	.qd-passion__text p br { display: none; }
	.qd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
	.qd-mail__intro { grid-template-columns: 1fr; gap: 40px; }
	.qd-slider { max-width: 420px; width: 100%; margin: 0 auto; }
	.qd-mail__list { grid-template-columns: 1fr 1fr; }
	.qd-mail__list li:nth-child(-n+3) { border-top: 1px solid var(--qd-line); }
	.qd-mail__list li:nth-child(-n+2) { border-top: 0; }
	.qd-philo { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
	.qd-plans__grid { grid-template-columns: 1fr; gap: 16px; }
	.qd-about__text p { font-size: 20px; }
	.qd-about__seal { flex-basis: 200px; width: 200px; margin: 0 auto; }
}
@media (max-width: 600px) {
	.qd-hero { border-radius: 18px; }
	.qd-hero__play { width: 88px; height: 88px; }
	.qd-grid { grid-template-columns: 1fr; }
	.qd-pcard__name { font-size: 18px !important; }
	.qd-mail__list { grid-template-columns: 1fr; }
	.qd-mail__list li { border-top: 1px solid var(--qd-line) !important; }
	.qd-mail__list li:first-child { border-top: 0 !important; }
	.qd-closing__art { gap: 12px; }
}

/* display text in the heading font */
body.qd .qd-n,
body.qd .qd-tile__title,
body.qd .qd-banner__title,
body.qd .qd-quote__text,
body.qd .qd-about__lead,
body.qd .qd-thanks__title { font-family: var(--qd-head) !important; }

/* =========================================================================
 * My Account (visual only)
 * ====================================================================== */
body.qd.woocommerce-account {
	--qd-ic-dashboard: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><rect x='3.5' y='3.5' width='7' height='7' rx='1.5'/><rect x='13.5' y='3.5' width='7' height='7' rx='1.5'/><rect x='3.5' y='13.5' width='7' height='7' rx='1.5'/><rect x='13.5' y='13.5' width='7' height='7' rx='1.5'/></svg>");
	--qd-ic-orders: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><path d='M5 8h14l-1 12H6z'/><path d='M9 8V6.5a3 3 0 0 1 6 0V8'/></svg>");
	--qd-ic-downloads: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19.5h14'/></svg>");
	--qd-ic-address: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><path d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11z'/><circle cx='12' cy='10' r='2.4'/></svg>");
	--qd-ic-account: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><circle cx='12' cy='8.5' r='4'/><path d='M4.5 20.5c.9-4 4-6.2 7.5-6.2s6.6 2.2 7.5 6.2'/></svg>");
	--qd-ic-logout: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M14 4.5h4.5v15H14'/><path d='M10 8 6 12l4 4M6 12h9'/></svg>");
	--qd-ic-card: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><rect x='3' y='5.5' width='18' height='13' rx='2'/><path d='M3 10h18'/></svg>");
	--qd-ic-repeat: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12a8 8 0 0 1 13.7-5.6L20 8.5M20 4v4.5h-4.5M20 12a8 8 0 0 1-13.7 5.6L4 15.5M4 20v-4.5h4.5'/></svg>");
	--qd-ic-dot: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='3.5' fill='black'/></svg>");
	--qd-ic-shop: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><path d='M4 9.5h16v10.5H4zM3 5h18l-1 4.5H4z'/><path d='M10 20v-5h4v5'/></svg>");
	--qd-ic-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M15 5 8 12l7 7'/></svg>");
}

/* page frame (the page is built in Elementor; neutralise its box) */
body.qd.woocommerce-account #content.site-content { padding-top: 0 !important; }
body.qd.woocommerce-account .site-content > .ast-container { max-width: calc(var(--qd-wide) + 48px); padding: 0 24px; box-sizing: border-box; }
body.qd.woocommerce-account .elementor .e-con,
body.qd.woocommerce-account .elementor .e-con-inner,
body.qd.woocommerce-account .elementor .elementor-widget-shortcode,
body.qd.woocommerce-account .elementor .elementor-widget-woocommerce-my-account {
	max-width: none !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	--padding-top: 0px;
	--padding-bottom: 0px;
}
body.qd.woocommerce-account .entry-header { display: none; }

body.qd.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	grid-template-areas: "head head" "nav content";
	gap: 0 40px;
	align-items: start;
	padding: 24px 0 0;
	color: var(--qd-plum);
}
body.qd.woocommerce-account .woocommerce > * { grid-column: 1 / -1; }
body.qd.woocommerce-account .woocommerce > .qd-acc-head { grid-area: head; }
body.qd.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation { grid-area: nav; }
body.qd.woocommerce-account .woocommerce > .woocommerce-MyAccount-content { grid-area: content; }
body.qd.woocommerce-account .woocommerce-MyAccount-navigation,
body.qd.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

/* heading */
.qd-acc-head { padding: 0 0 32px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
body.qd .qd-acc-head__title { margin: 0 !important; font-size: clamp(48px, 6vw, 80px) !important; font-weight: 500 !important; line-height: 1.1; color: var(--qd-brown) !important; }
.qd-acc-head__hello { margin: 0; font-size: 18px; color: var(--qd-brown); }

/* side menu */
body.qd .woocommerce-MyAccount-navigation {
	background: var(--qd-sand);
	border-radius: 18px;
	padding: 14px !important;
	position: sticky;
	top: 24px;
}
body.qd .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 4px;
	border: 0 !important;
}
body.qd .woocommerce-MyAccount-navigation li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
body.qd .woocommerce-MyAccount-navigation li a {
	display: flex !important;
	align-items: center;
	gap: 14px;
	min-height: 50px;
	padding: 0 16px !important;
	border-radius: 12px;
	color: var(--qd-plum) !important;
	font-size: 16px !important;
	font-weight: 500;
	text-decoration: none !important;
	background: transparent;
	border: 0 !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}
body.qd .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	background-color: currentColor;
	-webkit-mask: var(--qd-ic-dot) center / contain no-repeat;
	mask: var(--qd-ic-dot) center / contain no-repeat;
	position: static !important;
	margin: 0 !important;
	transform: none !important;
	font-size: 0 !important;
	opacity: 1 !important;
}
body.qd .woocommerce-MyAccount-navigation li a { line-height: 1.3 !important; }
body.qd .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a::before { -webkit-mask-image: var(--qd-ic-dashboard); mask-image: var(--qd-ic-dashboard); }
body.qd .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a::before { -webkit-mask-image: var(--qd-ic-orders); mask-image: var(--qd-ic-orders); }
body.qd .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads a::before { -webkit-mask-image: var(--qd-ic-downloads); mask-image: var(--qd-ic-downloads); }
body.qd .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address a::before { -webkit-mask-image: var(--qd-ic-address); mask-image: var(--qd-ic-address); }
body.qd .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a::before { -webkit-mask-image: var(--qd-ic-account); mask-image: var(--qd-ic-account); }
body.qd .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--payment-methods a::before { -webkit-mask-image: var(--qd-ic-card); mask-image: var(--qd-ic-card); }
body.qd .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link[class*="subscription"] a::before { -webkit-mask-image: var(--qd-ic-repeat); mask-image: var(--qd-ic-repeat); }
body.qd .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a::before { -webkit-mask-image: var(--qd-ic-logout); mask-image: var(--qd-ic-logout); }
body.qd .woocommerce-MyAccount-navigation li a:hover { background: rgba(95, 54, 68, 0.08); color: var(--qd-plum) !important; }
body.qd .woocommerce-MyAccount-navigation li.is-active a,
body.qd .woocommerce-MyAccount-navigation li a[aria-current="page"] {
	background: var(--qd-plum) !important;
	color: var(--qd-bg) !important;
}
body.qd .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 10px !important;
	padding-top: 10px !important;
	border-top: 1px solid rgba(95, 54, 68, 0.18) !important;
}
body.qd .woocommerce-MyAccount-navigation-link--customer-logout a { color: #A63A20 !important; }
body.qd .woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: rgba(166, 58, 32, 0.08); color: #A63A20 !important; }

/* content panel */
body.qd .woocommerce-MyAccount-content {
	background: var(--qd-paper);
	border: 1px solid var(--qd-line);
	border-radius: 18px;
	padding: 36px 40px !important;
	font-size: 16px;
	line-height: 1.9;
	min-height: 320px;
	box-sizing: border-box;
}
body.qd .woocommerce-MyAccount-content > p:first-of-type { margin-top: 0; }
body.qd .woocommerce-MyAccount-content p { color: var(--qd-plum); }
body.qd .woocommerce-MyAccount-content a:not(.button):not(.qd-acc-tile) {
	color: var(--qd-plum) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
body.qd .woocommerce-MyAccount-content a:not(.button):not(.qd-acc-tile):hover { color: #A63A20 !important; }
body.qd .woocommerce-MyAccount-content h2,
body.qd .woocommerce-MyAccount-content h3,
body.qd .woocommerce-MyAccount-content legend {
	font-size: 22px !important;
	font-weight: 500 !important;
	color: var(--qd-plum) !important;
	margin: 0 0 16px !important;
}

/* dashboard shortcut tiles */
.qd-acc-tiles {
	list-style: none;
	margin: 28px 0 0 !important;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
}
.qd-acc-tiles li { margin: 0; }
.qd-acc-tile {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	box-sizing: border-box;
	padding: 22px 22px 20px;
	border-radius: 14px;
	background: var(--qd-bg);
	border: 1px solid var(--qd-line);
	color: var(--qd-plum) !important;
	text-decoration: none !important;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.qd-acc-tile:hover { border-color: var(--qd-plum); transform: translateY(-2px); }
.qd-acc-tile strong { font-size: 17px; font-weight: 600; margin-top: 10px; }
.qd-acc-tile span:last-child { font-size: 13px; line-height: 1.6; color: var(--qd-brown); }
.qd-acc-tile__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--qd-sand);
	position: relative;
}
.qd-acc-tile__icon::after {
	content: "";
	position: absolute;
	inset: 9px;
	background-color: var(--qd-plum);
	-webkit-mask: var(--qd-ic-dot) center / contain no-repeat;
	mask: var(--qd-ic-dot) center / contain no-repeat;
}
.qd-acc-tile--orders .qd-acc-tile__icon::after { -webkit-mask-image: var(--qd-ic-orders); mask-image: var(--qd-ic-orders); }
.qd-acc-tile--edit-address .qd-acc-tile__icon::after { -webkit-mask-image: var(--qd-ic-address); mask-image: var(--qd-ic-address); }
.qd-acc-tile--edit-account .qd-acc-tile__icon::after { -webkit-mask-image: var(--qd-ic-account); mask-image: var(--qd-ic-account); }
.qd-acc-tile--shop .qd-acc-tile__icon::after { -webkit-mask-image: var(--qd-ic-shop); mask-image: var(--qd-ic-shop); }

/* buttons inside the account area */
body.qd.woocommerce-account .woocommerce .button,
body.qd.woocommerce-account .woocommerce button[type="submit"] {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 24px !important;
	border-radius: 8px !important;
	background: var(--qd-accent) !important;
	color: #fff !important;
	border: 0 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}
body.qd.woocommerce-account .woocommerce .button:hover,
body.qd.woocommerce-account .woocommerce button[type="submit"]:hover { background: #B23E22 !important; }
body.qd.woocommerce-account .woocommerce-orders-table .button,
body.qd.woocommerce-account .woocommerce-MyAccount-downloads .button,
body.qd.woocommerce-account .woocommerce-Address .edit {
	min-height: 38px;
	padding: 0 16px !important;
	background: transparent !important;
	color: var(--qd-plum) !important;
	border: 1.5px solid var(--qd-plum) !important;
	border-radius: 999px !important;
	font-size: 14px !important;
	margin: 2px !important;
}
body.qd.woocommerce-account .woocommerce-orders-table .button:hover,
body.qd.woocommerce-account .woocommerce-MyAccount-downloads .button:hover { background: var(--qd-plum) !important; color: var(--qd-bg) !important; }

/* tables (orders, downloads, order details) */
body.qd.woocommerce-account table.shop_table {
	width: 100%;
	border: 0 !important;
	border-collapse: collapse !important;
	border-radius: 0 !important;
	margin: 0 0 24px !important;
	background: none !important;
	font-size: 15px;
}
body.qd.woocommerce-account table.shop_table th,
body.qd.woocommerce-account table.shop_table td {
	border: 0 !important;
	border-bottom: 1px solid var(--qd-line) !important;
	padding: 16px 12px !important;
	text-align: start;
	vertical-align: middle;
	background: none !important;
	color: var(--qd-plum);
}
body.qd.woocommerce-account table.shop_table thead th {
	font-size: 13px;
	font-weight: 600;
	color: var(--qd-brown);
	border-bottom: 1.5px solid rgba(95, 54, 68, 0.3) !important;
	padding-top: 0 !important;
}
body.qd.woocommerce-account table.shop_table tbody tr:hover td { background: rgba(95, 54, 68, 0.03) !important; }
body.qd.woocommerce-account .woocommerce-orders-table__cell-order-number a { font-weight: 600; }
body.qd.woocommerce-account .woocommerce-orders-table__cell-order-status { font-weight: 600; }
body.qd.woocommerce-account mark.order-status,
body.qd.woocommerce-account mark.order-number,
body.qd.woocommerce-account mark.order-date {
	background: var(--qd-sand);
	color: var(--qd-plum);
	padding: 2px 10px;
	border-radius: 999px;
	font-weight: 600;
}
body.qd.woocommerce-account .woocommerce-pagination { display: flex; gap: 12px; justify-content: space-between; }

/* addresses */
body.qd.woocommerce-account .woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 20px;
}
body.qd.woocommerce-account .woocommerce-Addresses::before,
body.qd.woocommerce-account .woocommerce-Addresses::after { display: none !important; }
body.qd.woocommerce-account .woocommerce-Address {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 24px !important;
	background: var(--qd-bg);
	border: 1px solid var(--qd-line);
	border-radius: 14px;
}
body.qd.woocommerce-account .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}
body.qd.woocommerce-account .woocommerce-Address-title::before,
body.qd.woocommerce-account .woocommerce-Address-title::after { display: none !important; }
body.qd.woocommerce-account .woocommerce-Address-title h2,
body.qd.woocommerce-account .woocommerce-Address-title h3 { margin: 0 !important; font-size: 18px !important; }
body.qd.woocommerce-account .woocommerce-Address-title .edit { float: none !important; display: inline-flex !important; align-items: center; text-decoration: none !important; }
body.qd.woocommerce-account .woocommerce-Address address { font-style: normal; line-height: 1.9; margin: 0; }

/* forms (account details, addresses, login, register, lost password) */
body.qd.woocommerce-account .woocommerce form .form-row {
	display: flex !important;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 18px !important;
	padding: 0 !important;
	float: none !important;
	width: auto !important;
}
body.qd.woocommerce-account .woocommerce form .form-row-first,
body.qd.woocommerce-account .woocommerce form .form-row-last { width: calc(50% - 10px) !important; display: inline-flex !important; vertical-align: top; }
body.qd.woocommerce-account .woocommerce form .form-row-first { margin-inline-end: 16px !important; }
body.qd.woocommerce-account .woocommerce form label {
	font-size: 14px;
	font-weight: 500;
	color: var(--qd-plum);
	line-height: 1.5;
	margin: 0;
}
body.qd.woocommerce-account .woocommerce form .required { color: #A63A20 !important; text-decoration: none; border: 0; }
body.qd.woocommerce-account .woocommerce form input.input-text,
body.qd.woocommerce-account .woocommerce form input[type="email"],
body.qd.woocommerce-account .woocommerce form input[type="password"],
body.qd.woocommerce-account .woocommerce form input[type="text"],
body.qd.woocommerce-account .woocommerce form input[type="tel"],
body.qd.woocommerce-account .woocommerce form select,
body.qd.woocommerce-account .woocommerce form textarea,
body.qd.woocommerce-account .select2-container .select2-selection--single {
	width: 100% !important;
	min-height: 48px;
	border: 1px solid rgba(95, 54, 68, 0.45) !important;
	border-radius: 8px !important;
	background: #FBF7F2 !important;
	padding: 0 14px !important;
	font-size: 16px !important;
	color: var(--qd-plum) !important;
	box-shadow: none !important;
	box-sizing: border-box;
}
body.qd.woocommerce-account .select2-container .select2-selection--single { display: flex; align-items: center; height: 48px !important; }
body.qd.woocommerce-account .select2-container .select2-selection__rendered { padding: 0 !important; color: var(--qd-plum) !important; line-height: 46px !important; }
body.qd.woocommerce-account .woocommerce form fieldset {
	margin: 24px 0 0;
	padding: 24px;
	border: 1px solid var(--qd-line);
	border-radius: 14px;
}
body.qd.woocommerce-account .woocommerce form em,
body.qd.woocommerce-account .woocommerce form .description,
body.qd.woocommerce-account #account_display_name_description { font-size: 13px; color: var(--qd-brown); font-style: normal; }
body.qd.woocommerce-account .woocommerce form .show-password-input { top: 50% !important; transform: translateY(-50%); left: 12px !important; right: auto !important; }
body.qd.woocommerce-account .woocommerce form .password-input { display: block; position: relative; width: 100%; }
body.qd.woocommerce-account .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; margin-inline-end: 16px; }
body.qd.woocommerce-account .woocommerce form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--qd-plum); }

/* logged-out: login + register side by side */
body.qd.woocommerce-account:not(.logged-in) .woocommerce { grid-template-columns: 1fr; grid-template-areas: none; }
body.qd.woocommerce-account .u-columns.col2-set {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 28px;
	width: 100%;
}
body.qd.woocommerce-account .u-columns.col2-set::before,
body.qd.woocommerce-account .u-columns.col2-set::after { display: none !important; }
body.qd.woocommerce-account .u-columns .u-column1,
body.qd.woocommerce-account .u-columns .u-column2 {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 36px !important;
	background: var(--qd-paper);
	border: 1px solid var(--qd-line);
	border-radius: 18px;
}
body.qd.woocommerce-account .u-columns h2 { margin: 0 0 20px !important; font-size: 26px !important; font-weight: 500 !important; color: var(--qd-brown) !important; }
body.qd.woocommerce-account form.login,
body.qd.woocommerce-account form.register,
body.qd.woocommerce-account form.lost_reset_password {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	background: none !important;
}
body.qd.woocommerce-account form.lost_reset_password {
	max-width: 560px;
	padding: 36px !important;
	background: var(--qd-paper) !important;
	border: 1px solid var(--qd-line) !important;
	border-radius: 18px !important;
}
body.qd.woocommerce-account .woocommerce-LostPassword { margin: 12px 0 0; }

/* notices */
body.qd.woocommerce-account .woocommerce-message,
body.qd.woocommerce-account .woocommerce-info,
body.qd.woocommerce-account .woocommerce-error {
	background: var(--qd-bg) !important;
	border: 1px solid var(--qd-line) !important;
	border-inline-start: 4px solid var(--qd-plum) !important;
	border-radius: 10px !important;
	color: var(--qd-plum) !important;
	padding: 16px 20px !important;
	margin: 0 0 24px !important;
	font-size: 15px;
	list-style: none;
}
body.qd.woocommerce-account .woocommerce-error { border-inline-start-color: #A63A20 !important; }
body.qd.woocommerce-account .woocommerce-message::before,
body.qd.woocommerce-account .woocommerce-info::before,
body.qd.woocommerce-account .woocommerce-error::before { display: none !important; }
body.qd.woocommerce-account .woocommerce-message .button,
body.qd.woocommerce-account .woocommerce-info .button { float: none !important; margin: 0 12px !important; min-height: 38px; }

/* order view page */
body.qd.woocommerce-account .woocommerce-order-details,
body.qd.woocommerce-account .woocommerce-customer-details { margin-top: 28px; }
body.qd.woocommerce-account .woocommerce-customer-details address {
	font-style: normal;
	line-height: 1.9;
	padding: 20px 24px;
	border: 1px solid var(--qd-line) !important;
	border-radius: 14px;
	background: var(--qd-bg);
}
body.qd.woocommerce-account .woocommerce-column--billing-address,
body.qd.woocommerce-account .woocommerce-column--shipping-address { float: none !important; width: auto !important; }

/* keyboard focus: clear, consistent ring (accessibility) */
body.qd.woocommerce-account .woocommerce a:focus-visible,
body.qd.woocommerce-account .woocommerce button:focus-visible,
body.qd.woocommerce-account .woocommerce input:focus-visible,
body.qd.woocommerce-account .woocommerce select:focus-visible,
body.qd.woocommerce-account .woocommerce textarea:focus-visible,
body.qd.woocommerce-account .qd-acc-tile:focus-visible {
	outline: 3px solid var(--qd-plum) !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 5px rgba(239, 229, 217, 0.9) !important;
}
body.qd.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:focus-visible { outline-color: var(--qd-accent) !important; }
@media (prefers-reduced-motion: reduce) {
	body.qd.woocommerce-account * { transition: none !important; transform: none !important; }
}

/* phones and tablets: menu becomes a scrollable row of pills */
@media (max-width: 960px) {
	body.qd.woocommerce-account .woocommerce { grid-template-columns: 1fr; grid-template-areas: "head" "nav" "content"; gap: 0; }
	body.qd .woocommerce-MyAccount-navigation { position: static; padding: 8px !important; margin-bottom: 20px !important; border-radius: 14px; }
	body.qd .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; }
	body.qd .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	body.qd .woocommerce-MyAccount-navigation li a { white-space: nowrap; min-height: 44px; padding: 0 14px !important; font-size: 15px !important; gap: 8px; }
	body.qd .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0 !important; padding: 0 !important; border: 0 !important; }
	body.qd .woocommerce-MyAccount-content { padding: 24px 20px !important; }
	.qd-acc-head { padding: 24px 0 20px; }
}
@media (max-width: 640px) {
	body.qd.woocommerce-account .woocommerce form .form-row-first,
	body.qd.woocommerce-account .woocommerce form .form-row-last { width: 100% !important; margin-inline-end: 0 !important; display: flex !important; }
	/* orders table: one card per order */
	body.qd.woocommerce-account table.shop_table_responsive thead { display: none; }
	body.qd.woocommerce-account table.shop_table_responsive tr { display: block; border: 1px solid var(--qd-line); border-radius: 12px; padding: 6px 14px; margin-bottom: 12px; background: var(--qd-bg); }
	body.qd.woocommerce-account table.shop_table_responsive td { display: flex !important; justify-content: space-between; gap: 12px; padding: 10px 0 !important; text-align: end !important; }
	body.qd.woocommerce-account table.shop_table_responsive td:last-child { border-bottom: 0 !important; }
	body.qd.woocommerce-account table.shop_table_responsive td::before { content: attr(data-title); font-weight: 600; color: var(--qd-brown); float: none !important; }
	body.qd.woocommerce-account .u-columns .u-column1,
	body.qd.woocommerce-account .u-columns .u-column2 { padding: 24px 20px !important; }
}

/* account: Elementor container shouldn't centre the content vertically */
body.qd.woocommerce-account .elementor .e-con,
body.qd.woocommerce-account .elementor .e-con-inner {
	min-height: 0 !important;
	--min-height: 0px;
	justify-content: flex-start !important;
	align-content: flex-start !important;
}
/* account: keep the orders table a real table on wider screens */
@media (min-width: 641px) {
	body.qd.woocommerce-account table.shop_table td,
	body.qd.woocommerce-account table.shop_table th { display: table-cell !important; }
	body.qd.woocommerce-account .woocommerce-orders-table__cell-order-actions { white-space: nowrap; }
}

/* account: the Elementor shortcode block wraps output in stray <p>/<br>; neutralise them visually */
body.qd.woocommerce-account .woocommerce .form-row > br,
body.qd.woocommerce-account .woocommerce fieldset > br,
body.qd.woocommerce-account .woocommerce form > br,
body.qd.woocommerce-account .woocommerce .shop_table a > br,
body.qd.woocommerce-account .woocommerce .shop_table td > p > br:first-child,
body.qd.woocommerce-account .woocommerce .shop_table th > p > br:first-child,
body.qd.woocommerce-account .woocommerce .woocommerce-Address-title > br,
body.qd.woocommerce-account .woocommerce-MyAccount-navigation br { display: none !important; }
body.qd.woocommerce-account .woocommerce .shop_table td > p,
body.qd.woocommerce-account .woocommerce .shop_table th > p { margin: 0 !important; }
body.qd.woocommerce-account .woocommerce p:empty { display: none !important; }

/* account: Elementor widget should span the full width */
body.qd.woocommerce-account .elementor .e-con-inner > .elementor-element,
body.qd.woocommerce-account .elementor .e-con > .elementor-element {
	width: 100% !important;
	max-width: none !important;
	flex: 1 1 100% !important;
	align-self: stretch !important;
}

/* account: address cards */
body.qd.woocommerce-account .woocommerce-Address-title,
body.qd.woocommerce-account .woocommerce-Address header {
	background: none !important;
	padding: 0 !important;
	border: 0 !important;
}
body.qd.woocommerce-account .woocommerce-Address address {
	background: none !important;
	padding: 0 !important;
	border: 0 !important;
	color: var(--qd-plum);
}
body.qd.woocommerce-account .woocommerce-MyAccount-content a.edit { text-decoration: none !important; }

/* ---------- Phone fixes (checked at 390px) ---------- */
/* hidden native selects behind select2 must stay tiny */
body.qd select.select2-hidden-accessible,
body.qd.woocommerce-checkout .form-row select.select2-hidden-accessible,
body.qd.woocommerce-account .woocommerce form select.select2-hidden-accessible {
	width: 1px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: 1px !important;
	padding: 0 !important;
	border: 0 !important;
}
/* account grid: let the scrolling menu row shrink instead of stretching the page */
@media (max-width: 960px) {
	body.qd.woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr) !important; }
	body.qd .woocommerce-MyAccount-navigation,
	body.qd .woocommerce-MyAccount-content { min-width: 0 !important; }
}
body.qd.woocommerce-account .woocommerce-Address .edit br,
body.qd.woocommerce-account .woocommerce-Address a > br { display: none !important; }
@media (max-width: 640px) {
	/* order cards: include the order number row */
	body.qd.woocommerce-account table.shop_table_responsive tbody th {
		display: flex !important;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 0 !important;
		text-align: end !important;
		border-bottom: 1px solid var(--qd-line) !important;
	}
	body.qd.woocommerce-account table.shop_table_responsive tbody th::before {
		content: attr(data-title);
		font-weight: 600;
		color: var(--qd-brown);
	}
	/* notices: button on its own full-width line */
	body.qd.woocommerce-account .woocommerce-message .button,
	body.qd.woocommerce-account .woocommerce-info .button {
		display: flex !important;
		width: 100%;
		margin: 12px 0 0 !important;
		white-space: normal;
		text-align: center;
	}
	/* dashboard tiles: 2 x 2 */
	.qd-acc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.qd-acc-tile { padding: 16px; }
	.qd-acc-tile strong { font-size: 15px; margin-top: 6px; }
	.qd-acc-tile span:last-child { font-size: 12px; }
	.qd-acc-tile__icon { width: 34px; height: 34px; }
	.qd-acc-tile__icon::after { inset: 8px; }
	/* store chips: one row */
	.qd-chips { gap: 6px; flex-wrap: nowrap; }
	.qd-chip { min-width: 0; padding: 0 14px; font-size: 14px !important; min-height: 40px; }
}
@media (max-width: 960px) {
	body.qd form.checkout > #order_review_heading,
	body.qd form.checkout > #order_review,
	body.qd form.checkout > #customer_details { width: 100% !important; align-self: stretch !important; box-sizing: border-box; }
}

/* checkout: address hint + field descriptions */
body.qd.woocommerce-checkout .form-row .description { font-size: 12px; color: var(--qd-brown); line-height: 1.6; margin-top: 2px; display: block !important; }
body.qd.woocommerce-checkout .qd-hint { font-size: 13px; color: #A63A20; line-height: 1.5; }
body.qd.woocommerce-checkout .qd-hint:empty { display: none; }
body.qd.woocommerce-checkout .form-row.qd-short input.input-text { border: 1.5px solid #A63A20 !important; }
body.qd.woocommerce-checkout .form-row input::placeholder { color: #9A8A78; opacity: 1; }

/* ---------- Offers (auto-hidden after the deadline by PHP) ---------- */
.qd-promo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 14px;
	padding: 10px 16px;
	background: var(--qd-accent);
	color: #fff !important;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	text-decoration: none !important;
}
.qd-promo strong { font-weight: 700; }
.qd-promo__cta { text-decoration: underline; text-underline-offset: 3px; }
.qd-promo:hover { background: #B23E22; }
.qd-promo:focus-visible { outline: 3px solid var(--qd-plum); outline-offset: -3px; }
.qd-chip--offer { border-color: var(--qd-accent) !important; color: var(--qd-accent) !important; }
.qd-chip--offer.is-on { background: var(--qd-accent) !important; color: #fff !important; }
.qd-badge--offer { background: var(--qd-accent); color: #fff; border-color: var(--qd-accent); }
@media (max-width: 640px) {
	.qd-promo { font-size: 13px; padding: 9px 12px; }
	.qd-chips { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
	.qd-chips::-webkit-scrollbar { display: none; }
	.qd-chip { flex: none; }
}

/* hide WooCommerce's sale bubble: the offer designs already show the prices */
body.qd .onsale,
body.qd .ast-onsale-card,
body.qd .woocommerce-product-gallery .onsale { display: none !important; }

/* Thank-you: digital files */
.qd-files { margin-top: 64px; background: var(--qd-paper); border: 1px solid var(--qd-line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.qd-files h2 { margin: 0 !important; font-size: 26px !important; font-weight: 500 !important; color: var(--qd-plum); }
.qd-files ul { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.qd-files li { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.qd-files__name { font-size: 18px; color: var(--qd-plum); }
.qd-files__note { margin: 0 !important; opacity: .8; }
.qd-files__note a { color: var(--qd-accent, #c8452c); text-decoration: underline; }

/* Checkout: Bosta district dropdown full width */
body.qd .qd-area .select2-container { width: 100% !important; }
body.qd .qd-area { width: 100% !important; float: none !important; }

/* Mail page: past months note */
.qd-plans__past { text-align: center; margin-top: 24px !important; }
.qd-plans__past a { color: var(--qd-accent); text-decoration: underline; }
