/* =========================================================================
   DecantQ product page v3.2 — gallery, character, story, sizes & value, reviews,
   similar fragrances. Tokens: tokens.css. Vials: catalog.css.
   ====================================================================== */

.dq-sp.product {
	--dq-gutter: clamp(16px, 3vw, 32px);
}

/* Tones shared by the gallery stage, the story and the chips */
.dq-sp .tone-panel { --t-bg: #f3f1ee; --t-glow: rgba(200, 156, 76, 0.22); --t-dot: #9a7552; --t-ink: #5b4230; }
.dq-sp .tone-amber { --t-bg: #f4e3cf; --t-glow: rgba(200, 120, 50, 0.32); --t-dot: #b8611f; --t-ink: #7a3713; }
.dq-sp .tone-rose  { --t-bg: #f6e4df; --t-glow: rgba(196, 110, 120, 0.28); --t-dot: #b35a73; --t-ink: #803f55; }
.dq-sp .tone-sand  { --t-bg: #efe6da; --t-glow: rgba(170, 130, 90, 0.3); --t-dot: #9a7552; --t-ink: #5b4230; }
.dq-sp .tone-gold  { --t-bg: #f4ebd4; --t-glow: rgba(200, 156, 76, 0.4); --t-dot: #b88a2e; --t-ink: #74551a; }
.dq-sp .tone-sage  { --t-bg: #e7ebe0; --t-glow: rgba(110, 140, 100, 0.3); --t-dot: #6b8a5c; --t-ink: #3f5436; }
.dq-sp .tone-ink   { --t-bg: #ece6e0; --t-glow: rgba(43, 33, 27, 0.18); --t-dot: #2b211b; --t-ink: #2b211b; }

.dq-sp.product.product :where(h2, h3, p, a, span, li, button, label, figure) {
	text-transform: none;
	letter-spacing: normal;
}

/* ---------- Gallery ---------- */

.dq-sp .dq-gal {
	position: relative;
}
.dq-sp .dq-gal__track {
	display: flex;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: 26px;
	background:
		radial-gradient(60% 55% at 50% 60%, var(--t-glow), transparent 72%),
		var(--t-bg);
}
.dq-sp .dq-gal__track::-webkit-scrollbar {
	display: none;
}
.dq-sp.dq-sp .dq-gal__slide {
	flex: 0 0 100%;
	aspect-ratio: 4 / 5;
	margin: 0;
	scroll-snap-align: start;
}
.dq-sp.dq-sp .dq-gal__open {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}
.dq-sp.dq-sp .dq-gal__img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 6%;
	object-fit: contain;
	mix-blend-mode: multiply; /* white product shots melt into the stage */
}
.dq-sp .dq-gal__open:focus-visible {
	outline: 3px solid var(--dq-amber);
	outline-offset: -3px;
	border-radius: 26px;
}
.dq-sp .dq-gal__dots {
	position: absolute;
	right: 0;
	bottom: 16px;
	left: 0;
	display: none;
	justify-content: center;
	gap: 6px;
}
.dq-sp .dq-gal__dot {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: rgba(43, 33, 27, 0.25);
	transition: width 0.25s ease, background-color 0.25s ease;
}
.dq-sp .dq-gal__dot.is-active {
	width: 20px;
	background: var(--dq-ink);
}
.dq-sp .dq-gal__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}
.dq-sp.dq-sp .dq-gal__thumb {
	width: 76px;
	height: 76px;
	padding: 0;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 14px;
	background: var(--t-bg);
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}
.dq-sp.dq-sp .dq-gal__thumb.is-active,
.dq-sp.dq-sp .dq-gal__thumb:hover {
	border-color: var(--dq-ink);
	opacity: 1;
}
.dq-sp .dq-gal__thumb img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.dq-sp .dq-gal__thumb:focus-visible {
	outline: 2px solid var(--dq-amber);
	outline-offset: 2px;
}

/* ---------- Under the title: character ---------- */

.dq-sp .dq-sp__character {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 14px 0 4px;
}
.dq-sp .dq-sp__char-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}
.dq-sp.dq-sp .dq-sp__char-label {
	min-width: 94px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--dq-muted);
}
.dq-sp.dq-sp .dq-sp__char {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--t-bg, var(--dq-panel));
	font-size: 13.5px;
	font-weight: 600;
	color: var(--t-ink, var(--dq-ink));
	text-decoration: none;
	transition: box-shadow 0.2s ease;
}
.dq-sp.dq-sp .dq-sp__char:hover {
	box-shadow: inset 0 0 0 1px var(--t-dot, var(--dq-ink));
}
.dq-sp.dq-sp .dq-sp__char.is-plain {
	border: 1px solid var(--dq-line);
	background: #fff;
	font-weight: 500;
	color: var(--dq-ink);
}
.dq-sp .dq-sp__char-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--t-dot);
}
.dq-sp .dq-sp__char:focus-visible {
	outline: 2px solid var(--dq-amber);
	outline-offset: 2px;
}

/* ---------- Under the buttons: delivery and payment ---------- */

.dq-sp.dq-sp .dq-sp__reassure {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--dq-panel);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--dq-ink);
}
.dq-sp .dq-sp__reassure span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.dq-sp .dq-sp__reassure svg {
	color: var(--dq-amber);
}

/* ---------- How it smells: the vial ---------- */

.dq-sp .dq-story {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	margin-top: clamp(48px, 7vw, 88px);
	padding: clamp(28px, 4vw, 52px);
	border-radius: 28px;
	background:
		radial-gradient(45% 80% at 15% 80%, var(--t-glow), transparent 72%),
		var(--t-bg);
}
.dq-sp.dq-sp .dq-story__text {
	max-width: 36ch;
	margin: 10px 0 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--dq-muted);
}
.dq-sp .dq-story__body {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: clamp(18px, 3vw, 34px);
	align-items: stretch;
}
.dq-sp .dq-story__vial {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.dq-sp .dq-story__cap {
	width: 44px;
	height: 46px;
	border-radius: 6px 6px 3px 3px;
	background: linear-gradient(90deg, #9c7630, #e8cd93 28%, #c89c4c 52%, #9c7630);
}
.dq-sp .dq-story__collar {
	width: 52px;
	height: 6px;
	border-radius: 3px;
	background: linear-gradient(90deg, #9c7630, #e8cd93 32%, #c89c4c 58%, #9c7630);
}
.dq-sp .dq-story__glass {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	width: 64px;
	min-height: 230px;
	overflow: hidden;
	border-radius: 4px 4px 14px 14px;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 0 0 1px rgba(120, 60, 20, 0.2), 0 18px 30px -18px rgba(43, 33, 27, 0.45);
}
.dq-sp .dq-story__glass::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0 10%, transparent 26% 76%, rgba(255, 255, 255, 0.2) 90%);
}
.dq-sp .dq-story__layer {
	flex: 1;
}
.dq-sp .dq-story__layer.is-0 { background: linear-gradient(180deg, #f4e1bd, #ecc98f); }
.dq-sp .dq-story__layer.is-1 { background: linear-gradient(180deg, #d9a15c, #bf7a36); }
.dq-sp .dq-story__layer.is-2 { background: linear-gradient(180deg, #99531f, #6d3712); }
.dq-sp .dq-story__layers {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dq-sp .dq-story__tier {
	position: relative;
	margin: 0;
	padding-inline-start: 18px;
}
.dq-sp .dq-story__tier::before {
	content: "";
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 0;
	width: 4px;
	border-radius: 4px;
}
.dq-sp .dq-story__tier.is-0::before { background: #ecc98f; }
.dq-sp .dq-story__tier.is-1::before { background: #c9853f; }
.dq-sp .dq-story__tier.is-2::before { background: #7f4217; }
.dq-sp .dq-story__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}
.dq-sp.dq-sp .dq-story__name {
	font-family: var(--dq-display);
	font-size: 1.3rem;
	font-weight: 500;
	color: var(--dq-ink);
}
.dq-sp.dq-sp .dq-story__when {
	font-size: 13px;
	color: var(--dq-muted);
}
.dq-sp .dq-story__notes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}
.dq-sp.dq-sp .dq-story__note {
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	color: var(--dq-ink);
}
/* the story replaces the old notes table */
.dq-sp .dq-sp__notes {
	display: none;
}

/* ---------- Choose your size: value ---------- */

.dq-sp .dq-value {
	margin-top: clamp(48px, 7vw, 88px);
}
.dq-sp.dq-sp .dq-value__text {
	max-width: 56ch;
	margin: 8px 0 0;
	font-size: 15.5px;
	color: var(--dq-muted);
}
.dq-sp .dq-value__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(10px, 1.6vw, 18px);
	margin: clamp(20px, 3vw, 30px) 0 0;
	padding: 0;
	list-style: none;
}
.dq-sp .dq-value__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 22px 14px 16px;
	border: 1px solid var(--dq-line);
	border-radius: 20px;
	background: #fff;
	text-align: center;
}
.dq-sp .dq-value__card.is-best {
	border-color: var(--dq-amber);
	box-shadow: 0 16px 36px -26px rgba(147, 70, 26, 0.7);
}
.dq-sp .dq-value__vial {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 128px;
	margin-bottom: 12px;
}
.dq-sp.dq-sp .dq-value__ml {
	font-family: var(--dq-display);
	font-size: 1.45rem;
	font-weight: 500;
	line-height: 1.1;
	color: var(--dq-ink);
}
.dq-sp.dq-sp .dq-value__price {
	margin-top: 6px;
	font-size: 17px;
	font-weight: 600;
	color: var(--dq-ink);
	font-variant-numeric: tabular-nums;
}
.dq-sp.dq-sp .dq-value__perml {
	margin-top: 2px;
	font-size: 12.5px;
	color: var(--dq-muted);
	font-variant-numeric: tabular-nums;
}
.dq-sp.dq-sp .dq-value__save {
	margin-top: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #e8f0e4;
	font-size: 12px;
	font-weight: 700;
	color: #40663a;
}
.dq-sp.dq-sp .dq-value__use {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--dq-muted);
}
.dq-sp.dq-sp .dq-value__add {
	width: 100%;
	min-height: 42px;
	margin-top: auto;
	padding: 0 12px;
	border: 1px solid var(--dq-ink);
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--dq-ink);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.dq-sp .dq-value__card .dq-value__add {
	margin-top: 14px;
}
.dq-sp.dq-sp .dq-value__card.is-best .dq-value__add,
.dq-sp.dq-sp .dq-value__add:hover {
	border-color: var(--dq-amber);
	background: var(--dq-amber);
	color: #fff;
}
.dq-sp.dq-sp .dq-value__add.is-loading {
	opacity: 0.6;
}
.dq-sp.dq-sp .dq-value__add.is-added {
	border-color: var(--dq-ink);
	background: var(--dq-ink);
	color: #fff;
}
.dq-sp .dq-value__add:focus-visible {
	outline: 2px solid var(--dq-amber);
	outline-offset: 2px;
}

/* ---------- Description: read more on phones ---------- */

.dq-sp .dq-sp__prose.is-clamped {
	position: relative;
	max-height: 420px;
	overflow: hidden;
}
.dq-sp .dq-sp__prose.is-clamped::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 120px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
.dq-sp.dq-sp .dq-sp__more-btn {
	margin-top: 12px;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--dq-amber);
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

/* ---------- Stars ---------- */

.dq-stars {
	position: relative;
	display: inline-block;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 2px;
	white-space: nowrap;
	color: #e3d9cd;
}
.dq-stars::before {
	content: "\2605\2605\2605\2605\2605";
}
.dq-stars__fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: #c89c4c;
}
.dq-stars__fill::before {
	content: "\2605\2605\2605\2605\2605";
}

/* ---------- Reviews ---------- */

.dq-sp .dq-sp__reviews {
	margin-top: clamp(48px, 7vw, 88px);
}
.dq-sp .dq-reviews__grid {
	display: grid;
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
	gap: clamp(20px, 4vw, 48px);
	align-items: start;
	margin-top: 20px;
}
.dq-sp .dq-reviews__summary {
	padding: 24px;
	border-radius: 20px;
	background: var(--dq-panel);
}
.dq-sp.dq-sp .dq-reviews__avg {
	margin: 0;
	font-family: var(--dq-display);
	font-size: 3.4rem;
	font-weight: 500;
	line-height: 1;
	color: var(--dq-ink);
	font-variant-numeric: tabular-nums;
}
.dq-sp .dq-reviews__summary .dq-stars {
	margin-top: 8px;
	font-size: 18px;
}
.dq-sp.dq-sp .dq-reviews__based {
	margin: 8px 0 16px;
	font-size: 13.5px;
	color: var(--dq-muted);
}
.dq-sp.dq-sp .dq-reviews__empty {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--dq-ink);
}
.dq-sp .dq-reviews__bars {
	display: grid;
	gap: 6px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}
.dq-sp .dq-reviews__bars li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 20px;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 12.5px;
	color: var(--dq-muted);
	font-variant-numeric: tabular-nums;
}
.dq-sp .dq-reviews__bar {
	height: 6px;
	overflow: hidden;
	border-radius: 6px;
	background: #e3d9cd;
}
.dq-sp .dq-reviews__bar span {
	display: block;
	height: 100%;
	border-radius: 6px;
	background: #c89c4c;
}
.dq-sp.dq-sp .dq-reviews__write {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--dq-ink);
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--dq-ink);
	cursor: pointer;
}
.dq-sp.dq-sp .dq-reviews__write:hover {
	background: var(--dq-ink);
	color: #fff;
}
.dq-sp .dq-reviews__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dq-sp .dq-review {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--dq-line);
	border-radius: 18px;
	background: #fff;
}
.dq-sp .dq-review__top {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
}
.dq-sp.dq-sp .dq-review__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--dq-amber-tint);
	font-family: var(--dq-display);
	font-size: 1.15rem;
	color: var(--dq-amber);
}
.dq-sp .dq-review__who {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.dq-sp.dq-sp .dq-review__name {
	font-size: 15px;
	font-weight: 600;
	color: var(--dq-ink);
}
.dq-sp.dq-sp .dq-review__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	font-size: 12.5px;
	color: var(--dq-muted);
}
.dq-sp.dq-sp .dq-review__verified {
	font-weight: 600;
	color: #40663a;
}
.dq-sp.dq-sp .dq-review__verified::before {
	content: "\2713  ";
}
.dq-sp .dq-review__text {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--dq-ink);
}
.dq-sp .dq-review__text p {
	margin: 0;
}

/* WooCommerce's review form, in our look */
.dq-sp #review_form_wrapper {
	margin-top: 24px;
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--dq-line);
	border-radius: 20px;
	background: #fff;
}
.dq-sp #review_form_wrapper[hidden] {
	display: none;
}
.dq-sp.dq-sp #review_form .comment-reply-title {
	display: block;
	margin-bottom: 12px;
	font-family: var(--dq-display);
	font-size: 1.3rem;
	font-weight: 500;
	color: var(--dq-ink);
}
.dq-sp.dq-sp #review_form :is(label, .comment-notes) {
	display: block;
	margin: 0 0 6px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--dq-ink);
}
.dq-sp.dq-sp #review_form .comment-notes {
	font-weight: 400;
	color: var(--dq-muted);
}
.dq-sp.dq-sp #review_form :is(input[type="text"], input[type="email"], textarea) {
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--dq-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 15px;
	color: var(--dq-ink);
}
.dq-sp.dq-sp #review_form textarea {
	min-height: 120px;
}
.dq-sp.dq-sp #review_form :is(input, textarea):focus {
	border-color: var(--dq-ink);
	outline: none;
	box-shadow: 0 0 0 3px rgba(147, 70, 26, 0.14);
}
.dq-sp #review_form p {
	margin: 0 0 14px;
}
.dq-sp.dq-sp #review_form p.stars a {
	color: #c89c4c;
}
.dq-sp.dq-sp #review_form .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}
.dq-sp.dq-sp #review_form .form-submit input[type="submit"] {
	min-height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: 12px;
	background: var(--dq-amber);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	color: #fff;
	cursor: pointer;
}

/* ---------- Similar fragrances ---------- */

.dq-sp .dq-sp__more :is(.up-sells, .related) > h2 {
	font-family: var(--dq-display);
}

/* ---------- Full-screen view ---------- */

.dq-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 14, 10, 0.94);
}
.dq-lightbox[hidden] {
	display: none;
}
.dq-lightbox__img {
	max-width: 92vw;
	max-height: 86vh;
	object-fit: contain;
}
.dq-lightbox__close,
.dq-lightbox__nav {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
}
.dq-lightbox__close {
	top: calc(14px + env(safe-area-inset-top));
	right: 14px;
}
.dq-lightbox__nav.is-prev {
	left: 14px;
}
.dq-lightbox__nav.is-next {
	right: 14px;
}
.dq-lightbox :is(.dq-lightbox__close, .dq-lightbox__nav):focus-visible {
	outline: 2px solid #c89c4c;
	outline-offset: 2px;
}
html.dq-lightbox-open,
html.dq-lightbox-open body {
	overflow: hidden;
}

/* ---------- Phones ---------- */

@media (max-width: 719px) {
	/* edge to edge, square, swipe with dots */
	.dq-sp .dq-gal {
		margin-inline: calc(-1 * var(--dq-gutter));
	}
	.dq-sp .dq-gal__track {
		border-radius: 0;
	}
	.dq-sp.dq-sp .dq-gal__slide {
		aspect-ratio: 1 / 1;
	}
	.dq-sp .dq-gal__dots {
		display: flex;
	}
	.dq-sp .dq-gal__thumbs {
		display: none;
	}
	.dq-sp.dq-sp .dq-sp__char-label {
		min-width: 0;
		flex-basis: 100%;
	}
	.dq-sp .dq-story {
		grid-template-columns: minmax(0, 1fr);
		padding: 24px 20px;
		border-radius: 22px;
	}
	.dq-sp .dq-story__body {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 16px;
	}
	.dq-sp .dq-story__cap {
		width: 34px;
		height: 36px;
	}
	.dq-sp .dq-story__collar {
		width: 40px;
	}
	.dq-sp .dq-story__glass {
		width: 48px;
		min-height: 200px;
	}
	.dq-sp .dq-value__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.dq-sp .dq-value__vial {
		height: 104px;
	}
	.dq-sp .dq-reviews__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.dq-sp .dq-review__top {
		grid-template-columns: 36px minmax(0, 1fr);
	}
	.dq-sp .dq-review__top .dq-stars {
		grid-column: 2;
	}
	/* similar fragrances swipe sideways instead of stacking */
	.dq-sp .dq-sp__more ul.products.dq-grid {
		display: flex !important;
		gap: 12px;
		margin-inline: calc(-1 * var(--dq-gutter));
		padding: 2px var(--dq-gutter) 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--dq-gutter);
		scrollbar-width: none;
	}
	.dq-sp .dq-sp__more ul.products.dq-grid::-webkit-scrollbar {
		display: none;
	}
	.dq-sp .dq-sp__more ul.products.dq-grid > li {
		flex: 0 0 62%;
		scroll-snap-align: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dq-sp .dq-gal__dot {
		transition: none;
	}
}

.dq-sp.dq-sp .dq-reviews__pending {
	margin: 14px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: #e8f0e4;
	font-size: 14.5px;
	color: #2f4f2a;
}

/* Stars keep their own width: stretched inside a grid, an 80% fill covered all five stars. */
.dq-stars {
	width: max-content;
	justify-self: start;
	align-self: center;
}

/* Rating line under the title, in our look */
.dq-sp.dq-sp .dq-sp__summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
}
.dq-sp.dq-sp .dq-sp__summary .star-rating {
	float: none;
	margin: 0;
	font-size: 14px;
	color: #c89c4c;
}
.dq-sp.dq-sp .dq-sp__summary .star-rating::before {
	color: #e3d9cd;
}
.dq-sp.dq-sp .dq-sp__summary .woocommerce-review-link {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--dq-muted);
	text-decoration: none;
}
.dq-sp.dq-sp .dq-sp__summary .woocommerce-review-link:hover {
	color: var(--dq-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* =========================================================================
   v4.0.1: tablets (portrait) and phones turned sideways, 720–959px.
   Two columns here too, so the name, price, sizes and "Add to cart" are on the first screen;
   the image is square, never taller than the screen, and stays in view while the details scroll.
   ====================================================================== */

@media (min-width: 720px) and (max-width: 959px) {
	.dq-sp.product .dq-sp__top {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		gap: 28px;
	}
	.dq-sp.product .dq-sp__media {
		position: sticky;
		top: var(--dq-sticky-top, 90px);
	}
	.dq-sp.dq-sp .dq-gal__slide {
		aspect-ratio: 1 / 1;
		max-height: calc(100svh - var(--dq-sticky-top, 90px) - 100px);
	}
	.dq-sp.dq-sp .dq-gal__thumb {
		width: 60px;
		height: 60px;
	}
	/* the details table uses the full width when it sits under the description */
	.dq-sp.product .dq-sp__specs,
	.dq-sp.product .dq-sp__specs table {
		width: 100%;
		max-width: none;
	}
	/* four size cards in a narrower column */
	.dq-sp .dq-value__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* phones turned sideways: very little height, so the image fills it and the thumbnails become dots */
@media (min-width: 720px) and (max-width: 959px) and (max-height: 520px) and (orientation: landscape) {
	.dq-sp.dq-sp .dq-gal__slide {
		max-height: calc(100svh - var(--dq-sticky-top, 70px) - 24px);
	}
	.dq-sp .dq-gal__thumbs {
		display: none;
	}
	.dq-sp .dq-gal__dots {
		display: flex;
	}
}

/* single column (below 960px): the details table is never left at half width */
@media (max-width: 959px) {
	.dq-sp.product .dq-sp__specs table {
		width: 100%;
	}
}
@media (min-width: 720px) and (max-width: 959px) and (max-height: 520px) and (orientation: landscape) {
	/* the header no longer stays at the top here, so the image can sit right under the screen edge */
	.dq-sp.product .dq-sp__media {
		top: 12px;
	}
	.dq-sp.dq-sp .dq-gal__slide {
		max-height: calc(100svh - 24px);
	}
	.dq-sp.product .woocommerce-breadcrumb {
		margin-bottom: 10px;
	}
}

/* =========================================================================
   v4.1: the size stage (the picture follows the size), live size info, clearer order
   ====================================================================== */

.dq-sp .dq-gal__slide.is-stage {
	cursor: default;
}
.dq-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	padding: 9% 6% 7%;
}
.dq-sp.dq-sp .dq-stage__label {
	position: absolute;
	top: 6%;
	left: 7%;
	margin: 0;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	font-size: 12.5px;
	font-weight: 700;
	color: var(--t-ink, var(--dq-ink));
}
.dq-stage__row {
	display: flex;
	flex: 1;
	align-items: flex-end;
	justify-content: center;
	gap: clamp(16px, 3.4vw, 40px);
	width: 100%;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(43, 33, 27, 0.14);
	transform-origin: 50% 100%;
}
.dq-stage__vial {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	opacity: 0.3;
	filter: saturate(0.25);
	transform: scale(0.94);
	transform-origin: 50% 100%;
	transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dq-stage__vial.is-on {
	opacity: 1;
	filter: none;
	transform: scale(1.1);
}
.dq-sp.dq-sp .dq-stage__tick {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--dq-muted);
}
.dq-sp.dq-sp .dq-stage__vial.is-on .dq-stage__tick {
	color: var(--dq-ink);
}
.dq-sp.dq-sp .dq-stage__caption {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 16px 0 0;
	text-align: center;
}
.dq-sp.dq-sp .dq-stage__ml {
	font-family: var(--dq-display);
	font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
	line-height: 1.1;
	color: var(--dq-ink);
}
.dq-sp.dq-sp .dq-stage__note {
	max-width: 40ch;
	font-size: 14px;
	line-height: 1.5;
	color: var(--dq-muted);
}
.dq-sp.dq-sp .dq-gal__thumb.is-stage-thumb {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
}
.dq-sp.dq-sp .dq-gal__thumb.is-stage-thumb span {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--dq-ink);
}

/* live info under the size selector */
.dq-sp.dq-sp .dq-sizeinfo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 12px 0 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--dq-muted);
}
.dq-sp.dq-sp .dq-sizeinfo__save {
	padding: 2px 10px;
	border-radius: 999px;
	background: #e8f0e4;
	font-size: 12px;
	font-weight: 700;
	color: #40663a;
}

/* after the buying block: character and the short description */
.dq-sp .dq-sp__summary .dq-sp__character {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--dq-line);
}
.dq-sp.dq-sp .dq-sp__about {
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--dq-muted);
}
.dq-sp .dq-sp__about p {
	margin: 0;
}

/* no reviews yet: one calm line with the button, not an empty box */
.dq-sp .dq-reviews__grid:not(:has(.dq-reviews__list)) {
	grid-template-columns: minmax(0, 1fr);
}
.dq-sp .dq-reviews__grid:not(:has(.dq-reviews__list)) .dq-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
}
.dq-sp .dq-reviews__grid:not(:has(.dq-reviews__list)) .dq-reviews__empty {
	margin: 0;
}
.dq-sp.dq-sp .dq-reviews__grid:not(:has(.dq-reviews__list)) .dq-reviews__write {
	width: auto;
	padding: 0 24px;
}

@media (max-width: 719px) {
	.dq-stage {
		padding: 14% 5% 6%;
	}
	.dq-sp.dq-sp .dq-stage__caption {
		margin-top: 8px;
	}
}
/* The vials follow the size of the picture itself (not the screen): small in a narrow gallery,
   larger in a wide one — they always fit between the label and the caption. */
.dq-sp .dq-gal {
	container-type: inline-size;
}
@container (max-width: 380px) {
	.dq-stage__row {
		transform: scale(0.74);
	}
	.dq-stage {
		padding-top: 11%;
	}
}
@container (min-width: 560px) {
	.dq-stage__row {
		transform: scale(1.35);
	}
	.dq-stage__vial.is-on .dq-stage__tick,
	.dq-stage__tick {
		font-size: 11px;
	}
}
/* the size cards: smaller vials — the big picture now shows the size */
.dq-sp.product .dq-sizes .dq-vial {
	zoom: 0.72;
}
@media (prefers-reduced-motion: reduce) {
	.dq-stage__vial {
		transition: none;
	}
}

/* =========================================================================
   v4.2: white gallery — a display case. Pure white (white product photos melt into it), a thin gold
   frame inside, the brand name as a very faint watermark behind the product, and a soft floor shadow
   so the product stands rather than floats.
   ====================================================================== */

.dq-sp .dq-gal__track {
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--dq-line);
}
.dq-sp.dq-sp .dq-gal__slide {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
/* thin gold frame, like the inside of a perfume box */
.dq-sp.dq-sp .dq-gal__slide::after {
	content: "";
	position: absolute;
	inset: clamp(10px, 2.2%, 16px);
	z-index: 3;
	border: 1px solid rgba(200, 156, 76, 0.38);
	border-radius: 18px;
	pointer-events: none;
}
/* the brand name, huge and almost invisible, behind the product */
.dq-sp.dq-sp .dq-gal__slide[data-mark]:not([data-mark=""])::before {
	content: attr(data-mark);
	position: absolute;
	left: 7%;
	bottom: 3%;
	z-index: 0;
	max-width: 88%;
	overflow: hidden;
	font-family: var(--dq-display);
	font-size: clamp(3rem, 1.6rem + 7cqw, 7rem);
	font-weight: 500;
	line-height: 0.9;
	white-space: nowrap;
	text-overflow: clip;
	color: rgba(43, 33, 27, 0.045);
	letter-spacing: normal;
	text-transform: none;
	pointer-events: none;
	user-select: none;
}
/* the photo sits above the watermark, on a soft floor shadow */
.dq-sp.dq-sp .dq-gal__open {
	position: relative;
	z-index: 1;
	background: radial-gradient(38% 5% at 50% 90%, rgba(43, 33, 27, 0.13), transparent 70%);
}
.dq-sp.dq-sp .dq-gal__img {
	mix-blend-mode: multiply;
}

/* the size stage on white: a shelf, a shadow under each vial, a warm glow under the chosen one */
.dq-sp.dq-sp .dq-stage {
	z-index: 1;
}
.dq-sp.dq-sp .dq-stage__label {
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(200, 156, 76, 0.45);
	color: var(--dq-amber);
}
.dq-stage__row {
	border-bottom-color: rgba(200, 156, 76, 0.35);
}
.dq-stage__vial {
	position: relative;
}
.dq-stage__vial::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 26px;
	z-index: -1;
	width: 150%;
	height: 14px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(43, 33, 27, 0.16), transparent);
	transform: translateX(-50%);
	transition: background 0.45s ease, width 0.45s ease;
}
.dq-stage__vial.is-on::after {
	width: 230%;
	height: 22px;
	background: radial-gradient(closest-side, rgba(200, 140, 60, 0.42), transparent);
}

/* thumbnails match the white case */
.dq-sp.dq-sp .dq-gal__thumb {
	background: #fff;
	border-color: var(--dq-line);
}
.dq-sp.dq-sp .dq-gal__thumb.is-active,
.dq-sp.dq-sp .dq-gal__thumb:hover {
	border-color: #c89c4c;
}

/* phones: edge to edge, so the case gets a line at the bottom to close it */
@media (max-width: 719px) {
	.dq-sp .dq-gal__track {
		box-shadow: inset 0 -1px 0 var(--dq-line);
	}
	.dq-sp.dq-sp .dq-gal__slide::after {
		border-radius: 14px;
	}
}

/* size stage: the watermark goes up behind the vials, clear of the caption text */
.dq-sp.dq-sp .dq-gal__slide.is-stage[data-mark]:not([data-mark=""])::before {
	top: 16%;
	right: 7%;
	bottom: auto;
	left: auto;
	text-align: right;
}
/* on white, the sizes not chosen stay readable (they were fading into the background) */
.dq-stage__vial {
	opacity: 0.5;
	filter: saturate(0.45);
}
.dq-stage__vial.is-on {
	opacity: 1;
	filter: none;
}

/* =========================================================================
   v4.2.1: a name plate under each photo, a taller case on phones and tablets, and a size stage that
   fills its space on every screen.
   ====================================================================== */

/* photos: picture above, name plate below, both inside the gold frame */
.dq-sp.dq-sp .dq-gal__slide:not(.is-stage) {
	display: flex;
	flex-direction: column;
}
.dq-sp.dq-sp .dq-gal__slide:not(.is-stage) .dq-gal__open {
	flex: 1;
	min-height: 0;
}
.dq-sp.dq-sp .dq-gal__slide:not(.is-stage) .dq-gal__img {
	padding: 8% 8% 2%;
}
/* the watermark stays only on the size stage (there is no photo to hide it); photos get the plate */
.dq-sp.dq-sp .dq-gal__slide:not(.is-stage)::before {
	content: none;
}
.dq-sp.dq-sp .dq-gal__plate {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: clamp(10px, 2.4vw, 18px);
	margin: 0;
	padding: 4px 11% clamp(16px, 6%, 34px);
	font-family: var(--dq-display);
	font-size: clamp(1.05rem, 0.9rem + 1.3cqw, 1.6rem);
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	color: var(--dq-ink);
}
.dq-sp .dq-gal__plate span {
	flex: none;
	max-width: 70%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.dq-sp .dq-gal__plate::before,
.dq-sp .dq-gal__plate::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(200, 156, 76, 0), rgba(200, 156, 76, 0.75));
}
.dq-sp .dq-gal__plate::after {
	background: linear-gradient(90deg, rgba(200, 156, 76, 0.75), rgba(200, 156, 76, 0));
}

/* phones and tablets: a taller case (4:5), room for the photo and its plate */
@media (max-width: 719px) {
	.dq-sp.dq-sp .dq-gal__slide {
		aspect-ratio: 4 / 5;
		max-height: 78svh;
	}
}
@media (min-width: 720px) and (max-width: 959px) {
	.dq-sp.dq-sp .dq-gal__slide {
		aspect-ratio: 4 / 5;
	}
}

/* the size stage: the vials are enlarged by the script (--fit) until they fill the shelf; zoom also
   enlarges the space they take, so they never overlap. The older fixed scales are switched off. */
.dq-sp.dq-sp .dq-stage__row {
	transform: none;
	margin-top: 0;
}
.dq-sp .dq-stage__vial .dq-hv {
	zoom: var(--fit, 1);
}
.dq-sp .dq-stage__vial::after {
	bottom: calc(22px + 4px * var(--fit, 1));
	width: calc(120% + 30% * var(--fit, 1));
}
/* photos carry the plate, so no watermark behind them (this beats the older attribute rule) */
.dq-sp.dq-sp .dq-gal__slide:not(.is-stage)[data-mark]::before {
	content: none;
	display: none;
}
/* the plate: upright (the theme sets captions in italics), long house names wrap instead of being cut */
.dq-sp.dq-sp .dq-gal__plate {
	font-style: normal;
}
.dq-sp .dq-gal__plate span {
	max-width: 78%;
	white-space: normal;
	text-align: center;
	text-wrap: balance;
	overflow: visible;
}
.dq-sp .dq-gal__plate::before,
.dq-sp .dq-gal__plate::after {
	min-width: 18px;
}
@media (max-width: 719px) {
	/* room under the plate for the picture dots */
	.dq-sp.dq-sp .dq-gal__plate {
		padding-bottom: 38px;
	}
}
/* v4.3: the "Size" label under the size-stage thumbnail, readable (was 10.5px) */
.dq-sp.dq-sp .dq-gal__thumb.is-stage-thumb span {
	font-size: 12px;
}
.dq-sp.dq-sp .dq-gal__thumb.is-stage-thumb {
	width: 76px;
}
