/* =========================================================================
   LAM3D product description: Playful Minimal / Pastel, with dreamy clouds.
   One stylesheet for every product. Built by DR Product Importer from each
   product's saved data, so changing this file changes the whole store.

   Dark mode follows the SITE's own dark switch only (.dark, .woodmart-dark,
   [data-theme="dark"]), never the visitor's device setting.
   ========================================================================= */

.lam3d-description,
.lam3d-short {
	--lam-purple: #32145f;
	--lam-text: #352044;
	--lam-pink: #ed43a9;
	--lam-soft-purple: #a66ae8;
	--lam-lavender: #f4ecff;
	--lam-pink-bg: #fff0f8;
	--lam-cream: #fff4df;
	--lam-blue: #45aedd;
	--lam-card: #ffffff;
	--lam-cloud: #ffffff;        /* hero and banner clouds */
	--lam-cloud-soft: #f4e8ff;   /* the short description's cloud */
	--lam-border: #f0ddec;

	box-sizing: border-box;
	width: 100%;
	color: var(--lam-text);
	font-family: inherit;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.lam3d-description *,
.lam3d-short * {
	box-sizing: border-box;
}

.lam3d-description p,
.lam3d-short p {
	margin: 0;
	color: var(--lam-text);
}

.lam3d-description h2,
.lam3d-description h3,
.lam3d-description h4,
.lam3d-short h2 {
	margin: 0;
	color: var(--lam-purple);
	font-family: inherit;
	font-weight: 800;
	line-height: 1.2;
}

/* ---------- Hero, with soft clouds and a few stars ---------- */

.lam3d-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	min-height: 215px;
	margin-bottom: 22px;
	padding: 28px 35px;
	overflow: hidden;
	border-radius: 26px;
	background:
		radial-gradient(ellipse at 90% 100%, #e6d0ff 0%, transparent 43%),
		linear-gradient(110deg, #f5e9ff 0%, #fff0f8 55%, #f0e1ff 100%);
}

/* the cloud bank along the bottom right */
.lam3d-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -15px;
	bottom: -22px;
	width: 230px;
	height: 110px;
	opacity: .75;
	background:
		radial-gradient(ellipse 22% 44% at 26% 64%, var(--lam-cloud) 97%, transparent 100%),
		radial-gradient(ellipse 26% 56% at 50% 48%, var(--lam-cloud) 97%, transparent 100%),
		radial-gradient(ellipse 22% 46% at 74% 62%, var(--lam-cloud) 97%, transparent 100%),
		radial-gradient(ellipse 48% 30% at 50% 80%, var(--lam-cloud) 97%, transparent 100%);
	pointer-events: none;
}

/* a small cloud near the top, and three little stars */
.lam3d-hero::after {
	content: "✦";
	position: absolute;
	z-index: -1;
	top: 14px;
	right: 30%;
	width: 96px;
	height: 44px;
	padding: 0 0 0 104px;
	font-size: 15px;
	line-height: 1;
	color: var(--lam-pink);
	text-shadow: 20px 10px 0 var(--lam-soft-purple), 40px -2px 0 #f7b5dc;
	opacity: .85;
	background:
		radial-gradient(ellipse 22% 44% at 26% 64%, var(--lam-cloud) 97%, transparent 100%) no-repeat 0 0 / 96px 44px,
		radial-gradient(ellipse 26% 56% at 50% 48%, var(--lam-cloud) 97%, transparent 100%) no-repeat 0 0 / 96px 44px,
		radial-gradient(ellipse 22% 46% at 74% 62%, var(--lam-cloud) 97%, transparent 100%) no-repeat 0 0 / 96px 44px,
		radial-gradient(ellipse 48% 30% at 50% 80%, var(--lam-cloud) 97%, transparent 100%) no-repeat 0 0 / 96px 44px;
	pointer-events: none;
}

.lam3d-hero-content {
	position: relative;
	z-index: 2;
	flex: 1;
	max-width: 65%;
}

/* a product with one picture: the hero is text only (the gallery already shows that picture) */
.lam3d-hero-no-image .lam3d-hero-content {
	max-width: 100%;
}

.lam3d-hero-label {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 13px;
	border-radius: 30px;
	background: #f8dff2;
	color: #a52d91;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .6px;
}

.lam3d-hero h2 {
	margin-bottom: 10px;
	font-size: clamp(30px, 4vw, 52px);
	letter-spacing: -1px;
}

.lam3d-hero-subtitle {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 17px;
	border-radius: 30px;
	background: #e8ccfa;
	color: var(--lam-purple);
	font-weight: 800;
}

.lam3d-hero p {
	max-width: 520px;
	font-size: 17px;
}

.lam3d-hero-image {
	position: relative;
	z-index: 2;
	flex: 0 0 34%;
	text-align: center;
}

.lam3d-hero-image img {
	display: block;
	width: 100%;
	max-width: 270px;
	max-height: 220px;
	margin: auto;
	object-fit: contain;
	filter: drop-shadow(0 12px 12px rgba(70, 25, 100, .12));
}

/* ---------- Section headings ---------- */

.lam3d-about,
.lam3d-features-section {
	margin: 22px 0;
}

.lam3d-description .lam3d-about h3,
.lam3d-description .lam3d-features-section > h3 {
	position: relative;
	margin-bottom: 10px;
	padding-left: 20px;
	font-size: 29px;
}

.lam3d-description .lam3d-about h3::before,
.lam3d-description .lam3d-features-section > h3::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 0;
	width: 8px;
	height: 30px;
	border-radius: 10px;
	background: var(--lam-pink);
}

.lam3d-about p {
	padding-left: 20px;
	font-size: 16px;
}

/* ---------- Features ---------- */

.lam3d-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.lam3d-feature-card {
	display: flex;
	align-items: center;
	gap: 15px;
	min-height: 110px;
	padding: 17px;
	border-radius: 23px;
}

.lam3d-feature-1 { background: var(--lam-pink-bg); }
.lam3d-feature-2 { background: var(--lam-lavender); }
.lam3d-feature-3 { background: var(--lam-cream); }

.lam3d-feature-icon {
	flex: 0 0 55px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lam3d-feature-icon svg,
.lam3d-heading-icon svg {
	width: 43px;
	height: 43px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lam3d-feature-1 .lam3d-feature-icon { color: var(--lam-pink); }
.lam3d-feature-2 .lam3d-feature-icon { color: var(--lam-soft-purple); }
.lam3d-feature-3 .lam3d-feature-icon { color: #f5a42e; }

.lam3d-feature-content h4 {
	margin-bottom: 5px;
	font-size: 20px;
}

.lam3d-feature-content p {
	font-size: 14px;
	line-height: 1.5;
}

/* ---------- Details and notes ---------- */

.lam3d-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start; /* each box as tall as its own content: no blank space under short notes */
	gap: 16px;
	margin: 22px 0;
}

.lam3d-info-grid.lam3d-info-single {
	grid-template-columns: 1fr;
}

.lam3d-details,
.lam3d-notes {
	min-width: 0;
	padding: 22px;
	border-radius: 24px;
}

.lam3d-details { background: linear-gradient(135deg, #f0e4ff, #f8f2ff); }
.lam3d-notes { background: linear-gradient(135deg, #fff0f8, #fce8f5); }

.lam3d-details h3,
.lam3d-notes h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
	font-size: 23px;
}

.lam3d-heading-icon {
	display: inline-flex;
	color: var(--lam-pink);
}

.lam3d-heading-icon svg {
	width: 30px;
	height: 30px;
}

.lam3d-detail-row {
	display: grid;
	grid-template-columns: minmax(118px, 40%) minmax(0, 1fr);
	margin-bottom: 4px;
	overflow: hidden;
	border-radius: 10px;
	background: rgba(255, 255, 255, .58);
}

.lam3d-detail-row strong,
.lam3d-detail-row span {
	padding: 7px 12px;
	font-size: 14px;
	line-height: 1.45;
}

/* labels break between words only */
.lam3d-description .lam3d-detail-row strong {
	overflow-wrap: break-word;
}

.lam3d-detail-row strong {
	background: rgba(180, 135, 230, .18);
	color: var(--lam-purple);
}

.lam3d-detail-row span {
	overflow-wrap: anywhere;
	color: #211633;
}

.lam3d-notes ul {
	margin: 0;
	padding: 0 0 0 20px;
	list-style: none;
}

.lam3d-notes li {
	position: relative;
	margin-bottom: 7px;
	padding-left: 3px;
	color: var(--lam-purple);
	font-size: 15px;
}

.lam3d-notes li::before {
	content: "";
	position: absolute;
	top: 9px;
	left: -18px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--lam-pink);
}

/* ---------- Closing banner, with a cloud ---------- */

.lam3d-collection {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
	min-height: 120px;
	margin-top: 22px;
	padding: 22px 28px;
	overflow: hidden;
	border-radius: 25px;
	background:
		radial-gradient(ellipse at 10% 110%, #ead5ff 0%, transparent 40%),
		linear-gradient(100deg, #f1e4ff, #fff0f8, #eedfff);
	text-align: center;
}

.lam3d-collection::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: -20px;
	bottom: -26px;
	width: 200px;
	height: 92px;
	opacity: .7;
	background:
		radial-gradient(ellipse 22% 44% at 26% 64%, var(--lam-cloud) 97%, transparent 100%),
		radial-gradient(ellipse 26% 56% at 50% 48%, var(--lam-cloud) 97%, transparent 100%),
		radial-gradient(ellipse 22% 46% at 74% 62%, var(--lam-cloud) 97%, transparent 100%),
		radial-gradient(ellipse 48% 30% at 50% 80%, var(--lam-cloud) 97%, transparent 100%);
	pointer-events: none;
}

.lam3d-collection-content {
	position: relative;
	z-index: 1;
	flex: 1;
}

.lam3d-collection h3 {
	margin-bottom: 5px;
	font-size: clamp(22px, 3vw, 32px);
	background: linear-gradient(90deg, #65128e, #ed43a9);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.lam3d-collection p {
	font-size: 16px;
}

/* a category without its own picture: up to three of its products, overlapping */
.lam3d-collection-collage {
	display: flex;
	justify-content: center;
	align-items: center;
}

.lam3d-collection-image.lam3d-collection-collage img {
	flex: 0 1 auto;
	width: 46%;
	max-width: 110px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 3px solid #fff;
	border-radius: 18px;
	box-shadow: 0 8px 18px rgba(70, 25, 100, .14);
}

.lam3d-collection-image.lam3d-collection-collage img + img {
	margin-left: -14%;
}

.lam3d-collection-image.lam3d-collage-3 img:nth-child(2) {
	position: relative;
	z-index: 1;
	transform: translateY(-8px) scale(1.08);
}

.lam3d-collection-link {
	display: inline-block;
	margin-top: 12px;
	padding: 8px 18px;
	border-radius: 30px;
	background: var(--lam-pink);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: background .2s ease;
}

.lam3d-collection-link:hover,
.lam3d-collection-link:focus {
	background: #c92f8c;
	color: #fff;
}

/* the banner with the product's second picture beside the text */
.lam3d-collection.lam3d-collection-with-image {
	justify-content: flex-start;
	text-align: left;
}

.lam3d-collection-image {
	position: relative;
	z-index: 1;
	flex: 0 0 30%;
	max-width: 230px;
}

.lam3d-collection-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: 0 10px 22px rgba(70, 25, 100, .12);
}

/* ---------- Short description ---------- */

.lam3d-short {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 15px 0;
	padding: 20px;
	border: 1px solid var(--lam-border);
	border-radius: 18px;
	background: #fffafd;
	font-size: 15px;
	line-height: 1.75;
}

/* one small cloud and two stars in the top corner */
.lam3d-short::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 10px;
	right: -12px;
	width: 120px;
	height: 56px;
	opacity: .9;
	background:
		radial-gradient(ellipse 22% 44% at 26% 64%, var(--lam-cloud-soft) 97%, transparent 100%),
		radial-gradient(ellipse 26% 56% at 50% 48%, var(--lam-cloud-soft) 97%, transparent 100%),
		radial-gradient(ellipse 22% 46% at 74% 62%, var(--lam-cloud-soft) 97%, transparent 100%),
		radial-gradient(ellipse 48% 30% at 50% 80%, var(--lam-cloud-soft) 97%, transparent 100%);
	pointer-events: none;
}

.lam3d-short::after {
	content: "✦";
	position: absolute;
	z-index: -1;
	top: 8px;
	right: 120px;
	font-size: 12px;
	line-height: 1;
	color: var(--lam-pink);
	text-shadow: -14px 8px 0 var(--lam-soft-purple);
	opacity: .8;
	pointer-events: none;
}

.lam3d-short .lam3d-short-title {
	margin: 0 0 10px;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.25;
}

.lam3d-short-highlights {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	margin: 15px 0 0;
	padding: 0;
	list-style: none;
}

.lam3d-short-highlights li {
	padding: 11px 12px;
	border: 1px solid var(--lam-border);
	border-radius: 12px;
	background: #fff0f7;
	color: var(--lam-text);
	font-size: 14px;
	font-weight: 700;
}

/* ---------- Small screens ---------- */

@media (max-width: 767px) {
	.lam3d-hero { min-height: auto; padding: 22px; gap: 10px; }
	.lam3d-hero-content { max-width: 68%; }
	.lam3d-hero h2 { font-size: 30px; }
	.lam3d-hero-subtitle { font-size: 12px; padding: 5px 10px; }
	.lam3d-hero p { font-size: 13px; }
	.lam3d-hero-image { flex-basis: 32%; }
	.lam3d-hero-image img { max-height: 145px; }
	.lam3d-hero::after { right: 8%; }
	.lam3d-description .lam3d-about h3,
	.lam3d-description .lam3d-features-section > h3 { font-size: 24px; }
	.lam3d-features { grid-template-columns: 1fr; gap: 10px; }
	.lam3d-feature-card { min-height: 85px; }
	.lam3d-info-grid { grid-template-columns: 1fr; }
	.lam3d-collection { gap: 12px; padding: 18px; }
	.lam3d-collection h3 { font-size: 21px; }
	.lam3d-collection p { font-size: 13px; }
}

@media (max-width: 480px) {
	.lam3d-short { padding: 15px; font-size: 14px; }
	.lam3d-short-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
	.lam3d-hero { display: block; }
	.lam3d-hero-content { max-width: 100%; }
	.lam3d-hero-image { margin-top: 12px; }
	.lam3d-hero-image img { max-height: 170px; }
	.lam3d-collection { display: block; }
	.lam3d-collection-image { max-width: none; margin-bottom: 14px; }
}

/* ---------- The site's own dark mode (not the device's) ---------- */

.dark .lam3d-description,
.woodmart-dark .lam3d-description,
[data-theme="dark"] .lam3d-description,
.dark .lam3d-short,
.woodmart-dark .lam3d-short,
[data-theme="dark"] .lam3d-short {
	--lam-purple: #f5d8ff;
	--lam-text: #f4edf7;
	--lam-lavender: #30243e;
	--lam-pink-bg: #352337;
	--lam-cream: #3a2e2a;
	--lam-cloud: #4b3a5f;
	--lam-cloud-soft: #3b2f4b;
	--lam-border: #49334f;
}

.dark .lam3d-hero,
.woodmart-dark .lam3d-hero,
[data-theme="dark"] .lam3d-hero {
	background: linear-gradient(110deg, #39233e 0%, #2d2140 55%, #302444 100%);
}

.dark .lam3d-hero-label,
.woodmart-dark .lam3d-hero-label,
[data-theme="dark"] .lam3d-hero-label {
	background: #52304f;
	color: #ff9bd7;
}

.dark .lam3d-hero-subtitle,
.woodmart-dark .lam3d-hero-subtitle,
[data-theme="dark"] .lam3d-hero-subtitle {
	background: #4a3160;
	color: #f5d8ff;
}

.dark .lam3d-details,
.woodmart-dark .lam3d-details,
[data-theme="dark"] .lam3d-details {
	background: linear-gradient(135deg, #30243e, #2a2036);
}

.dark .lam3d-notes,
.woodmart-dark .lam3d-notes,
[data-theme="dark"] .lam3d-notes {
	background: linear-gradient(135deg, #352337, #2f2132);
}

.dark .lam3d-detail-row,
.woodmart-dark .lam3d-detail-row,
[data-theme="dark"] .lam3d-detail-row {
	background: rgba(255, 255, 255, .06);
}

.dark .lam3d-detail-row span,
.woodmart-dark .lam3d-detail-row span,
[data-theme="dark"] .lam3d-detail-row span {
	color: #efe6f5;
}

.dark .lam3d-collection,
.woodmart-dark .lam3d-collection,
[data-theme="dark"] .lam3d-collection {
	background: linear-gradient(100deg, #30243e, #352337, #2d2140);
}

.dark .lam3d-collection h3,
.woodmart-dark .lam3d-collection h3,
[data-theme="dark"] .lam3d-collection h3 {
	background: linear-gradient(90deg, #f5d8ff, #ff9bd7);
	-webkit-background-clip: text;
	background-clip: text;
}

.dark .lam3d-short,
.woodmart-dark .lam3d-short,
[data-theme="dark"] .lam3d-short {
	background: #211a2b;
}

.dark .lam3d-short-highlights li,
.woodmart-dark .lam3d-short-highlights li,
[data-theme="dark"] .lam3d-short-highlights li {
	background: #352337;
}
