/**
 * Atlas Fence — single product v1.4
 * Stacked info column, no side thumbs, chic inquiry CTA.
 */

html.atlas-product {
	--ap-ink: #1c1917;
	--ap-muted: #78716c;
	--ap-line: #e7e5e4;
	--ap-bg: #f3f4f6;
	--ap-card: #ffffff;
	--ap-amber: #c9854a;
	--ap-amber-soft: #e8b07a;
	--ap-amber-deep: #a65f28;
	--ap-cart: #008749;
}

html.atlas-product body,
html.atlas-product .site-content,
html.atlas-product #content,
html.atlas-product .dp-product-page {
	background: var(--ap-bg) !important;
}

html.atlas-product .dp-product-page {
	max-width: 1280px !important;
	margin: 0 auto 48px !important;
	padding: 12px 20px 36px !important;
	box-sizing: border-box;
}

html.atlas-product .woocommerce-breadcrumb {
	font-size: 0.8rem;
	color: var(--ap-muted);
	margin: 4px 0 12px;
}

html.atlas-product .woocommerce-breadcrumb a {
	color: var(--ap-amber-deep);
	text-decoration: none;
	font-weight: 700;
}

/* ===== Desktop top: Digiplus flex — content LEFT, image RIGHT (RTL) ===== */
html.atlas-product .dp-product-page-top,
html.atlas-product .atlas-pp-top {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	gap: 28px !important;
	width: 100% !important;
	background: var(--ap-card) !important;
	border: 1px solid var(--ap-line) !important;
	border-radius: 24px !important;
	box-shadow: 0 14px 34px rgba(28, 25, 23, 0.06) !important;
	padding: 22px !important;
	box-sizing: border-box !important;
}

/* Image column — no side thumbs, full width of this column */
html.atlas-product .dp-pp-img-box {
	flex: 0 1 52% !important;
	width: 52% !important;
	max-width: 640px !important;
	min-width: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	position: relative !important;
}

html.atlas-product .dp-pp-img-box .rad_single_product_gallery {
	display: block !important;
	width: 100% !important;
	flex-direction: unset !important;
}

html.atlas-product .dp-pp-img-box .gallery-thumbs,
html.atlas-product .dp-pp-img-box .rad-product-gallerys,
html.atlas-product .rad_single_product_gallery > .gallery-thumbs,
html.atlas-product .rad_single_product_gallery > .rad-product-gallerys {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

html.atlas-product .dp-pp-img-box .product-gallery-slider {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	border-radius: 18px !important;
	border: 1px solid var(--ap-line) !important;
	box-shadow: none !important;
	background: #fff !important;
	overflow: hidden !important;
}

html.atlas-product .dp-pp-img-box .rad-product-gallery-sliders,
html.atlas-product .dp-pp-img-box .swiper-wrapper {
	height: 100% !important;
}

html.atlas-product .dp-pp-img-box .rad-product-gallery-slider {
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

html.atlas-product .dp-pp-img-box .rad-product-gallery-slider img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	border-radius: 12px;
}

html.atlas-product .flex-control-thumbs {
	display: none !important;
}

/* Wishlist / share */
html.atlas-product .dp-pp-like-div1st,
html.atlas-product .dp-product-page-copy-box {
	background: #fff !important;
	border: 1px solid var(--ap-line) !important;
	border-radius: 999px !important;
	box-shadow: 0 6px 16px rgba(28, 25, 23, 0.08);
	z-index: 3;
}

/* Content column — stacked: title → chips → buy/inquiry */
html.atlas-product .dp-pp-content,
html.atlas-product .atlas-pp-content {
	flex: 1 1 44% !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	height: auto !important;
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	justify-content: flex-start !important;
	align-items: stretch !important;
	gap: 14px !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 4px 4px 0 !important;
	border-radius: 0 !important;
	box-sizing: border-box !important;
}

html.atlas-product .dp-product-page-title {
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	font-size: clamp(1.25rem, 1.8vw, 1.65rem) !important;
	font-weight: 900 !important;
	line-height: 1.45 !important;
	color: var(--ap-ink) !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 0 4px !important;
	letter-spacing: -0.02em;
}

html.atlas-product .dp-product-page-title::after {
	content: '';
	display: block;
	width: 44px;
	height: 3px;
	margin-top: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--ap-amber-deep), var(--ap-amber-soft));
}

/* Attrs + buy full width under title */
html.atlas-product .dp-pp-right {
	flex: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	float: none !important;
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 10px;
}

html.atlas-product .dp-pp-left,
html.atlas-product .atlas-pp-buy {
	flex: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	float: none !important;
	margin: 0 !important;
	padding: 18px !important;
	border-radius: 16px !important;
	border: 1px solid rgba(201, 133, 74, 0.35) !important;
	background: linear-gradient(180deg, #ffffff 0%, #fff8f1 100%) !important;
	box-shadow: 0 10px 22px rgba(166, 95, 40, 0.1) !important;
	min-height: 0 !important;
	position: relative !important;
	box-sizing: border-box !important;
}

html.atlas-product .dp-pp-left .product_meta {
	display: none;
}

html.atlas-product .dp-pp-right .star-rating,
html.atlas-product .dp-review-count {
	margin-bottom: 4px;
}

/* Feature chips */
html.atlas-product .rad-product-attributes-section {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

html.atlas-product .atlas-attrs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	width: 100%;
}

html.atlas-product .atlas-attrs__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff7ed;
	border: 1px solid rgba(201, 133, 74, 0.28);
}

html.atlas-product .atlas-attrs__item:nth-child(2) {
	background: #fffbeb;
	border-color: rgba(217, 119, 6, 0.22);
}

html.atlas-product .atlas-attrs__item:nth-child(3) {
	background: #fff1f2;
	border-color: rgba(225, 29, 72, 0.14);
}

html.atlas-product .atlas-attrs__item:nth-child(4) {
	background: #ffedd5;
	border-color: rgba(194, 65, 12, 0.2);
}

html.atlas-product .atlas-attrs__label {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--ap-muted);
}

html.atlas-product .atlas-attrs__value {
	font-size: 0.98rem;
	font-weight: 900;
	color: var(--ap-ink);
	line-height: 1.35;
}

html.atlas-product .rad-product-attributes-section:not(.atlas-attrs-ready) {
	background: #fff7ed !important;
	border: 1px solid rgba(201, 133, 74, 0.25) !important;
	border-radius: 12px !important;
	padding: 10px !important;
}

/* Price + qty + cart */
html.atlas-product .dp-product-page-price-family {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0 0 12px !important;
	padding: 0 0 12px !important;
	border-bottom: 1px dashed #e7e5e4;
}

html.atlas-product .dp-ppp-title {
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	color: var(--ap-muted) !important;
	margin: 0 !important;
}

html.atlas-product .dp-product-page-price-family .dp-sale-price .woocommerce-Price-amount bdi,
html.atlas-product .dp-product-page-price-family .dp-product-price .amount bdi {
	font-size: 1.45rem !important;
	font-weight: 900 !important;
	color: var(--ap-amber-deep) !important;
}

html.atlas-product .dp-product-page-price-family .woocommerce-Price-currencySymbol {
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	color: var(--ap-muted) !important;
}

html.atlas-product form.cart {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 !important;
}

html.atlas-product .quantity {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 0.88rem;
	font-weight: 800;
	color: var(--ap-ink);
}

html.atlas-product .dp-quantity-butinp {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--ap-line);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

html.atlas-product .dp-quantity-butinp button {
	width: 36px;
	height: 36px;
	border: 0;
	background: #fff7ed;
	color: var(--ap-amber-deep);
}

html.atlas-product .dp-quantity-butinp input.qty {
	width: 44px;
	height: 36px;
	border: 0;
	text-align: center;
	font-weight: 900;
}

html.atlas-product .single_add_to_cart_button.button,
html.atlas-product .single_add_to_cart_button {
	width: 100% !important;
	min-height: 48px !important;
	border-radius: 12px !important;
	border: 0 !important;
	font-size: 0.98rem !important;
	font-weight: 900 !important;
	background: var(--ap-cart) !important;
	background-image: none !important;
	box-shadow: 0 10px 20px rgba(0, 135, 73, 0.22) !important;
}

html.atlas-product .single_add_to_cart_button:hover {
	filter: brightness(1.05);
}

/* Contact / inquiry — chic, no duplicate banner */
html.atlas-product .dp-contact-final,
html.atlas-product .dp-contact-main,
html.atlas-product .dp-contact-buttons {
	display: none !important;
}

html.atlas-product .atlas-inquiry {
	margin: 0 !important;
	width: 100%;
}

html.atlas-product .atlas-inquiry__card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 4px 0 0;
}

html.atlas-product .atlas-inquiry__label {
	margin: 0 !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
	color: var(--ap-muted) !important;
	letter-spacing: 0.02em;
}

html.atlas-product .atlas-inquiry__hint {
	margin: 0 0 12px !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	color: var(--ap-ink) !important;
	line-height: 1.5;
}

html.atlas-product .atlas-inquiry__actions {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 10px;
}

html.atlas-product .atlas-inquiry__btn {
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: 0 8px 18px rgba(28, 25, 23, 0.08) !important;
	transition: transform 0.15s ease, filter 0.15s ease;
	min-height: 56px;
	box-sizing: border-box;
}

html.atlas-product .atlas-inquiry__btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.04);
}

html.atlas-product .atlas-inquiry__btn--call {
	background: linear-gradient(135deg, #c9854a 0%, #a65f28 100%) !important;
	color: #fff !important;
}

html.atlas-product .atlas-inquiry__btn--wa {
	background: #128c7e !important;
	color: #fff !important;
}

html.atlas-product .atlas-inquiry__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.18);
	flex-shrink: 0;
}

html.atlas-product .atlas-inquiry__btn-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	line-height: 1.25;
}

html.atlas-product .atlas-inquiry__btn-text strong {
	font-size: 0.95rem;
	font-weight: 900;
}

html.atlas-product .atlas-inquiry__btn-text small {
	font-size: 0.78rem;
	font-weight: 600;
	opacity: 0.92;
}

html.atlas-product .dp-pp-left:has(.atlas-inquiry) {
	border-color: rgba(201, 133, 74, 0.4) !important;
	background: linear-gradient(165deg, #fff 0%, #fff7ed 100%) !important;
}

/* Tabs */
html.atlas-product .dp-pp-information-part {
	margin-top: 24px !important;
	background: var(--ap-card);
	border: 1px solid var(--ap-line);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(28, 25, 23, 0.05);
	padding-bottom: 10px;
}

html.atlas-product .dp-pp-information-part-head {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px !important;
	background: #fffaf5 !important;
	border-bottom: 1px solid var(--ap-line);
	margin: 0 !important;
}

html.atlas-product .dp-pp-information-part-head a {
	border-radius: 999px !important;
	padding: 8px 14px !important;
	font-weight: 800 !important;
	font-size: 0.85rem !important;
	color: var(--ap-muted) !important;
	background: #fff !important;
	border: 1px solid var(--ap-line) !important;
	text-decoration: none !important;
}

html.atlas-product .dp-pp-information-part-head a.active,
html.atlas-product .dp-pp-information-part-head a:hover {
	color: #fff !important;
	background: linear-gradient(135deg, var(--ap-amber), var(--ap-amber-deep)) !important;
	border-color: transparent !important;
}

html.atlas-product .dp-pp-information-part > *:not(.dp-pp-information-part-head) {
	padding: 16px 18px !important;
	line-height: 1.9;
	font-size: 0.95rem;
	color: var(--ap-ink);
}

/* ===== Content (معرفی): show a tall preview, then ادامه مطلب ===== */
html.atlas-product #tab-description .dp-des-content {
	display: block !important;
	-webkit-box-orient: unset !important;
	-webkit-line-clamp: unset !important;
	line-clamp: unset !important;
	overflow: hidden !important;
	max-height: 520px !important;
	position: relative !important;
}

html.atlas-product #tab-description:not(.show-all) .dp-des-content::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 72px;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 88%);
}

html.atlas-product #tab-description.show-all .dp-des-content {
	max-height: none !important;
	overflow: visible !important;
}

html.atlas-product #tab-description.show-all .dp-des-content::after {
	display: none !important;
}

html.atlas-product #tab-description .dp-des-content > * {
	-webkit-line-clamp: unset !important;
	line-clamp: unset !important;
}

html.atlas-product .dp-tabs-more-but {
	width: auto !important;
	min-width: 128px;
	height: 42px !important;
	padding: 0 16px !important;
	margin-top: 14px !important;
	border-radius: 12px !important;
	border: 1px solid rgba(201, 133, 74, 0.4) !important;
	background: #fff7ed !important;
	color: var(--ap-amber-deep) !important;
	font-weight: 800 !important;
	font-size: 0.92rem !important;
	gap: 8px;
	justify-content: center !important;
	box-shadow: 0 4px 12px rgba(166, 95, 40, 0.08);
}

html.atlas-product .dp-tabs-more-but .dp-tabs-more-but-svg-div {
	background: rgba(201, 133, 74, 0.15) !important;
}

html.atlas-product .dp-tabs-more-but .dp-tabs-more-but-svg-div::before {
	background-color: var(--ap-amber-deep) !important;
}

/* Re-enable more button on reviews tab for our compact list */
html.atlas-product .dp-pp-information-part #tab-reviews .dp-tabs-more-but {
	display: none !important; /* Digiplus per-tab button; we inject our own */
}

/* ===== Reviews: compact cards, only a few visible ===== */
html.atlas-product .dp-pp-ip1st {
	align-items: flex-start !important;
	gap: 18px !important;
}

html.atlas-product .dp-pp-prating {
	width: 260px !important;
	margin-top: 0 !important;
	padding: 14px !important;
	border-radius: 16px !important;
	position: sticky;
	top: 90px;
}

html.atlas-product .dp-pp-prating .dp-rating-breakdown h3 {
	font-size: 1rem !important;
	line-height: 1.4 !important;
	margin: 0 0 8px !important;
	font-weight: 900 !important;
}

html.atlas-product .dp-pp-prating .dp-rating-average {
	font-size: 1.1rem !important;
}

html.atlas-product .dp-pp-prating .dp-rating-row {
	margin: 4px 0 !important;
	font-size: 0.78rem !important;
}

html.atlas-product .dp-spreviews-title {
	font-size: 1.05rem !important;
	margin: 0 0 14px !important;
	line-height: 1.45 !important;
}

html.atlas-product .dp-spreviews .commentlist {
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

html.atlas-product .dp-spreviews .commentlist > li.review {
	list-style: none !important;
	margin: 0 !important;
}

html.atlas-product .dp-spreviews .commentlist > li.review > .comment_container {
	padding: 16px 16px 14px !important;
	margin: 0 !important;
	border-radius: 16px !important;
	box-shadow: none !important;
	border: 1px solid var(--ap-line) !important;
	background: #fff !important;
	position: relative !important;
}

/* Hide Woo duplicate meta/stars — Digiplus block already shows author+rating */
html.atlas-product .dp-spreviews .commentlist > li.review .comment-text > .star-rating,
html.atlas-product .dp-spreviews .commentlist > li.review .comment-text > .meta {
	display: none !important;
}

/* Kill Digiplus absolute stacking — normal readable flow */
html.atlas-product .dp-spreviews .commentlist > li.review .description {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	padding: 0 !important;
	margin: 0 !important;
}

html.atlas-product .dp-spreviews .commentlist > li.review .dp-comment-userdata-wrapper {
	order: 1;
	position: static !important;
	top: auto !important;
	right: auto !important;
	width: 100% !important;
	max-width: 100% !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px 12px !important;
	margin: 0 !important;
}

html.atlas-product .dp-spreviews .commentlist > li.review .dp-comment-author-star {
	font-size: 0.95rem !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
	margin: 0 !important;
	color: var(--ap-ink) !important;
}

html.atlas-product .dp-spreviews .commentlist > li.review .user-rating {
	font-size: 0.88rem !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	margin: 0 !important;
	color: var(--ap-amber) !important;
}

html.atlas-product .dp-spreviews .commentlist > li.review .user-rating br {
	display: none !important;
}

html.atlas-product .dp-spreviews .commentlist > li.review .user-rating svg {
	width: 14px !important;
	height: 14px !important;
	margin: 0 !important;
}

/* «مهمان» adds clutter under the name — hide it */
html.atlas-product .dp-spreviews .commentlist > li.review .user-role {
	display: none !important;
}

html.atlas-product .dp-spreviews .commentlist > li.review .description > p {
	order: 2;
	font-size: 0.92rem !important;
	font-weight: 500 !important;
	line-height: 1.75 !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border: 1px solid rgba(201, 133, 74, 0.22) !important;
	border-radius: 12px !important;
	background: #fffaf5 !important;
	box-shadow: none !important;
	color: var(--ap-ink) !important;
	text-align: right !important;
}

/* Date footer — static, not absolute */
html.atlas-product .dp-spreviews .commentlist > li.review .comment-meta-wrapper {
	display: flex !important;
	position: static !important;
	top: auto !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 2px 0 0 !important;
	padding: 10px 2px 0 !important;
	border-top: 1px solid var(--ap-line) !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 6px !important;
	order: 3;
}

html.atlas-product .dp-spreviews .commentlist > li.review .comment-time {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	color: var(--ap-muted) !important;
	line-height: 1.4 !important;
}

html.atlas-product .dp-spreviews .commentlist > li.review .comment-time svg {
	width: 16px !important;
	height: 16px !important;
	opacity: 0.7;
}

html.atlas-product .dp-spreviews .commentlist > li.review .admin-reply-button,
html.atlas-product .dp-spreviews .commentlist > li.review .dp-comment-extras,
html.atlas-product .dp-spreviews .commentlist > li.review .user-location {
	display: none !important;
}

/* Show only first 2 reviews until expanded */
html.atlas-product .dp-spreviews:not(.atlas-reviews-open) .commentlist > li.review:nth-child(n + 3) {
	display: none !important;
}

/* Hide comment form until reviews expanded — keeps block short */
html.atlas-product .dp-spreviews:not(.atlas-reviews-open) #review_form_wrapper,
html.atlas-product .dp-spreviews:not(.atlas-reviews-open) #review_form,
html.atlas-product .dp-spreviews:not(.atlas-reviews-open) .comment-respond,
html.atlas-product #tab-reviews:not(.atlas-reviews-open) #review_form_wrapper,
html.atlas-product #tab-reviews:not(.atlas-reviews-open) #respond {
	display: none !important;
}

html.atlas-product .atlas-reviews-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 8px 0 4px;
	padding: 10px 16px;
	border-radius: 12px;
	border: 1px solid rgba(201, 133, 74, 0.35);
	background: #fff7ed;
	color: var(--ap-amber-deep);
	font-weight: 800;
	font-size: 0.9rem;
	cursor: pointer;
	width: auto;
}

html.atlas-product .atlas-reviews-more[hidden] {
	display: none !important;
}

html.atlas-product #tab-reviews {
	padding-bottom: 8px !important;
}

@media (max-width: 991px) {
	html.atlas-product .dp-pp-prating {
		width: 100% !important;
		position: static !important;
		margin: 0 0 12px !important;
	}

	html.atlas-product #tab-description .dp-des-content {
		max-height: 360px !important;
	}
}

html.atlas-product .dp-product-page .related.products {
	display: block !important;
	margin-top: 24px;
	padding: 22px;
	background: var(--ap-card);
	border: 1px solid var(--ap-line);
	border-radius: 20px;
	box-shadow: 0 10px 26px rgba(28, 25, 23, 0.05);
}

html.atlas-product .related.products > h2 {
	font-size: 1.2rem !important;
	font-weight: 900 !important;
	margin: 0 0 18px !important;
	color: var(--ap-ink) !important;
}

/* Kill Bootstrap .row + Woo floats — clean 4-col grid */
html.atlas-product .related.products ul.products,
html.atlas-product .related.products .products.row,
html.atlas-product .related.products .products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	clear: none !important;
	--bs-gutter-x: 0 !important;
	--bs-gutter-y: 0 !important;
	flex-wrap: unset !important;
}

html.atlas-product .related.products .products::before,
html.atlas-product .related.products .products::after {
	content: none !important;
	display: none !important;
}

html.atlas-product .related.products .products > .product,
html.atlas-product .related.products .products > div.product {
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	float: none !important;
	margin: 0 !important;
	flex: none !important;
	flex-shrink: 1 !important;
	padding: 14px !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	height: 100%;
	background: #fff !important;
	border: 1px solid var(--ap-line) !important;
	border-radius: 16px !important;
	box-shadow: 0 6px 16px rgba(28, 25, 23, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html.atlas-product .related.products .products > .product:hover {
	border-color: rgba(201, 133, 74, 0.45) !important;
	box-shadow: 0 12px 24px rgba(166, 95, 40, 0.1);
}

html.atlas-product .related.products .product img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 12px;
	background: #fafaf9;
	margin: 0 0 10px !important;
}

html.atlas-product .related.products .woocommerce-loop-product__title {
	font-size: 0.92rem !important;
	font-weight: 800 !important;
	line-height: 1.45 !important;
	color: var(--ap-ink) !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	flex: 1 1 auto;
}

html.atlas-product .related.products .price {
	color: var(--ap-amber-deep) !important;
	font-weight: 900 !important;
	font-size: 0.95rem !important;
	margin: 0 0 12px !important;
}

html.atlas-product .related.products .add_to_cart_button,
html.atlas-product .related.products a.button {
	width: 100% !important;
	margin: auto 0 0 !important;
	text-align: center !important;
	border-radius: 12px !important;
	border: 0 !important;
	min-height: 42px !important;
	font-weight: 800 !important;
	font-size: 0.88rem !important;
	background: var(--ap-cart) !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: none !important;
}

/* ===== Tablet / mobile: stack (user said mobile is good) ===== */
@media (max-width: 1100px) {
	html.atlas-product .dp-pp-img-box {
		flex: 0 1 48% !important;
		width: 48% !important;
	}

	html.atlas-product .dp-pp-left,
	html.atlas-product .atlas-pp-buy {
		min-width: 200px !important;
	}
}

@media (max-width: 991px) {
	html.atlas-product .dp-product-page-top,
	html.atlas-product .atlas-pp-top {
		flex-direction: column !important;
		padding: 14px !important;
		gap: 16px !important;
	}

	html.atlas-product .dp-pp-img-box,
	html.atlas-product .dp-pp-content,
	html.atlas-product .atlas-pp-content {
		flex: 1 1 auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	html.atlas-product .dp-pp-content,
	html.atlas-product .atlas-pp-content {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
	}

	html.atlas-product .dp-pp-right,
	html.atlas-product .dp-pp-left,
	html.atlas-product .atlas-pp-buy {
		flex: 1 1 auto !important;
		width: 100% !important;
		min-width: 0 !important;
	}

	html.atlas-product .related.products ul.products,
	html.atlas-product .related.products .products.row,
	html.atlas-product .related.products .products,
	html.atlas-product .related.products ul.products.row.dp-shop-loop {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	html.atlas-product .related.products .products > .product,
	html.atlas-product .related.products .products > div.product,
	html.atlas-product .related.products .products.row > * {
		width: auto !important;
		max-width: none !important;
		flex: none !important;
		float: none !important;
		padding: 10px !important;
	}

	html.atlas-product .related.products .woocommerce-loop-product__title {
		font-size: 0.78rem !important;
		line-height: 1.35 !important;
		margin-bottom: 6px !important;
	}

	html.atlas-product .related.products .price {
		font-size: 0.82rem !important;
		margin-bottom: 8px !important;
	}

	html.atlas-product .related.products .add_to_cart_button,
	html.atlas-product .related.products a.button {
		min-height: 36px !important;
		font-size: 0.75rem !important;
		padding: 6px 8px !important;
		border-radius: 10px !important;
	}

	html.atlas-product .atlas-inquiry__actions {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	html.atlas-product .dp-product-page {
		padding: 8px 8px 28px !important;
	}

	html.atlas-product .dp-product-page-top,
	html.atlas-product .atlas-pp-top {
		padding: 10px !important;
		border-radius: 16px !important;
	}

	html.atlas-product .atlas-attrs {
		grid-template-columns: 1fr 1fr;
		gap: 6px;
	}

	html.atlas-product .atlas-attrs__value {
		font-size: 0.9rem;
	}

	html.atlas-product .related.products {
		padding: 12px !important;
		margin-top: 16px !important;
	}

	html.atlas-product .related.products > h2 {
		font-size: 1rem !important;
		margin-bottom: 10px !important;
	}

	html.atlas-product .related.products ul.products,
	html.atlas-product .related.products .products.row,
	html.atlas-product .related.products .products,
	html.atlas-product .related.products ul.products.row.dp-shop-loop {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}

	html.atlas-product .related.products .products > .product,
	html.atlas-product .related.products .products > div.product {
		padding: 8px !important;
		border-radius: 12px !important;
	}

	html.atlas-product .related.products .product img {
		margin-bottom: 6px !important;
		border-radius: 8px !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	html.atlas-product .related.products ul.products,
	html.atlas-product .related.products .products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
