/**
 * "Added to cart" success popup.
 *
 * A self-contained confirmation card shown after a successful add from the
 * Similar Products / You May Also Like rows, the mobile Quick Shop sheet and the
 * variable PDP. Matches the reference: a centred cream modal over a dimmed
 * backdrop on desktop, a bottom sheet on mobile. It never replaces a
 * product-card button; the View Bag / Checkout calls to action live inside the
 * card.
 *
 * Layout is a CSS grid whose template areas reflow at the 768px breakpoint:
 *   desktop  "media details" / "bag checkout"      (image + View Bag left,
 *                                                    details + Checkout right)
 *   mobile   "media details" / "bag" / "checkout"  (thumbnail + details row,
 *                                                    then stacked full-width CTAs)
 *
 * @package Konte Child
 */

/* -------- Backdrop -------- */

.konte-atc-popup__card .konte-atc-popup__color
{
	font-size: 14px ;
	line-height: normal !important;
	font-style: normal;
    font-weight: 300;
}

.konte-atc-popup__img
{
	border: 1px solid var(--ink_text);
	border-radius: 15px;
}

.konte-atc-popup__shortdesc .reg_01
{
	color: var(--ink_text);
	font-family: var(--font2);
	font-size: 12px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
}

.konte-atc-popup__shortdesc .but_01
{
	color: var(--ink_text);
	font-family: var(--font2);
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
}

.konte-atc-popup__gallery
{
	color: var(--rare_clr);
	font-family: var(--font2);
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}


.konte-atc-popup__shortdesc .pdt_01,
.konte-atc-popup__shortdesc .blank_line
{
	display:none;}



.konte-atc-popup__size,
konte-atc-popup__color
{
	color: var(--ink_text);
	font-family: var(--font2);
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
}

.konte-atc-popup-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.konte-atc-popup-backdrop[hidden] {
	display: none;
}

.konte-atc-popup-backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* -------- Shell (centres the card) -------- */
.konte-atc-popup {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.konte-atc-popup[hidden] {
	display: none;
}

.konte-atc-popup.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* -------- Card -------- */
.konte-atc-popup__card {
	position: relative;
	display: grid;
	grid-template-columns: 37% minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr) auto;
	grid-template-areas:
		"media details"
		"bag   checkout";
	gap: 26px 40px;
	width: 100%;
	max-width: 54.3%;
	max-height: 80%;
	padding: 28px;
	background: var(--bg_clr1);
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
	transform: translateY(16px);
	transition: transform 0.25s ease;
}

.konte-atc-popup.is-open .konte-atc-popup__card {
	transform: translateY(0);
}

/* -------- Close -------- */
.konte-atc-popup__close {
	position: absolute;
	top: 14px;
	right: 16px;
	z-index: 2;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink_text);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity 0.2s ease;
}

.konte-atc-popup__close:hover {
	opacity: 1;
}

/* -------- Media -------- */
.konte-atc-popup__media {
	grid-area: media;
	display: flex;
	align-items: stretch;
	justify-content: center;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
}

.konte-atc-popup__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* -------- Details -------- */
.konte-atc-popup__details {
	grid-area: details;
	min-height: 0;
	overflow-y: auto;
	color: var(--ink_text);
	font-family: var(--font2);
}

.konte-atc-popup__eyebrow {
	margin: 0 0 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink_text);
	font-family: var(--font2);
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;


}

.konte-atc-popup__title {
	margin: 0 0 8px;
	font-family: var(--font1);
	color: var(--ink_text);
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.34px;
}

.konte-atc-popup__price {
	margin-bottom: 15px;
	color: var(--ink_text);
	font-family: var(--font2);
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
}

.konte-atc-popup__price del {
	margin-right: 8px;
	opacity: 0.55;
}

/* Size + colour on the left, Product ID on the right. */
.konte-atc-popup__idrow {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 17px;
}

.konte-atc-popup__variation {
	display: flex;
	gap: 18px;
	font-size: 15px;
	color: var(--ink_text);
}

.konte-atc-popup__size:empty,
.konte-atc-popup__color:empty {
	display: none;
}

.konte-atc-popup__productid {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink_text);
	white-space: nowrap;
}

.konte-atc-popup__productid[hidden] {
	display: none;
}

.konte-atc-popup__productid-label {
	margin-right: 4px;
}

/* Fallback line for any non-size/colour attribute. */
.konte-atc-popup__attrline {
	margin-bottom: 14px;
	font-size: 13px;
	color: #6b6b6b;
}

.konte-atc-popup__attrline[hidden] {
	display: none;
}

.konte-atc-popup__shortdesc {
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ink_text);
}

.konte-atc-popup__shortdesc[hidden] {
	display: none;
}

.konte-atc-popup__shortdesc p {
	margin: 0 0 8px;
}

.konte-atc-popup__shortdesc p:last-child {
	margin-bottom: 0;
}

/* Gallery Content text — the gold "MADE IN … FACTORY" band. */
.konte-atc-popup__gallery {
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--rare_clr);
}

.konte-atc-popup__gallery[hidden] {
	display: none;
}

.konte-atc-popup__gallery p {
	margin: 0;
}

.konte-atc-popup__popuptext {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--ink_text);
}

.konte-atc-popup__popuptext[hidden] {
	display: none;
}

.konte-atc-popup__popuptext p {
	margin: 0 0 8px;
}

.konte-atc-popup__popuptext p:last-child {
	margin-bottom: 0;
}

/* -------- Actions -------- */
.konte-atc-popup__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 16px;
	font-family: var(--font2);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 6px;
	cursor: pointer;
}

.konte-atc-popup__btn--bag {
	grid-area: bag;
	border: 1px solid var(--ink_text);
	background: transparent;
	color: var(--ink_text);
}

.konte-atc-popup__btn--bag:hover {
	background: var(--ink_text);
	color: #fff;
}

.konte-atc-popup__btn--checkout {
	grid-area: checkout;
	border: 1px solid var(--ink_text);
	background: var(--ink_text);
	color: #fff;
}

.konte-atc-popup__btn--checkout:hover {
	opacity: 0.9;
	color: #fff;
}

/* -------- Mobile: bottom sheet -------- */
@media (max-width: 767.98px) {

	

	.konte-atc-popup__btn--checkout
	{
		color: var(--bg_clr1);
		font-family: var(--font2);
		font-size: 14px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}

	.konte-atc-popup__bag-label
	{
		color:var(--ink_text);
		font-family: var(--font2);
		font-size: 14px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
		margin-top:3px;
	}

	.konte-atc-popup__gallery
	{
		color:var(--rare_clr);
		font-family: var(--font2);
		font-size: 12px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}

	.konte-atc-popup__size, .konte-atc-popup__color
	{
		color:var(--ink_text);
		font-family: var(--font2);
		font-size: 12px !important;
		font-style: normal;
		font-weight: 300;
		line-height: normal;
	}

	.konte-atc-popup__price
	{
		color:var(--ink_text);
		font-family: var(--font2);
		font-size: 12px;
		font-style: normal;
		font-weight: 300;
		line-height: normal;
	}

	.konte-atc-popup__eyebrow
	{
		color:var(--ink_text);
		font-family: var(--font2);
		font-size: 10px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}

	.konte-atc-popup__close
	{
		    padding: 0 0 1px 0;
			transform: translateY(-6px);
	}
	.konte-atc-popup {
		align-items: flex-end;
		padding: 0;
	}

	.konte-atc-popup__card {
		grid-template-columns: 128px minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		grid-template-areas:
			"media details"
			"bag   bag"
			"checkout checkout";
		gap: 24px 15px;
		max-width: none;
		max-height: 47vh;
		padding: 30px 15px 50px;
		border-radius: 20px 20px 0 0;
		transform: translateY(100%);
	}

	/* Compact portrait card that hugs the top of the row, so the image fills it
	   instead of sitting small in a stretched tile with white space beneath. */
	.konte-atc-popup__media {
		align-self: start;
		aspect-ratio: 3 / 4;
		padding: 0;
		border-radius: 12px;
	}

	.konte-atc-popup__media .konte-atc-popup__img {
		height: 100%;
		object-fit: cover;
	}

	.konte-atc-popup__title {
		color:var(--ink_text);
		font-family: var(--font1) !important;
		font-size: 16px;
		font-style: normal;
		font-weight: 500;
		line-height: normal;
		letter-spacing: -0.272px;
	}

	.konte-atc-popup__idrow {
		flex-direction: column;
		gap: 8px;
		margin-bottom: 14px;
	}

	/* Compact mobile card: hide the long-form blocks (per the reference). */
	.konte-atc-popup__attrline,
	.konte-atc-popup__shortdesc,
	.konte-atc-popup__popuptext {
		display: none;
	}

	.konte-atc-popup__btn {
		min-height: 54px;
	}
}
