/* ========================================
   VLAdiLA Custom Styles
   Gift Upsell Card
======================================== */
.gift-upsell-card--drawer {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 12px 0 16px;
	padding: 12px;
}
.old-price {
    position: relative;
    color:#444;
    margin-right: 10px;
}
.old-price::atfter { 
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: red;
    transform: translateY(-50%);
}
.new-price {
    color:#d32f2f;
    font-weight: bold;
    font-size:1.2em;
}
    
    

.gift-upsell-card--drawer .gift-upsell-card__image {
	width: 72px;
	height: 72px;
	padding: 6px;
	flex: 0 0 72px;
}

.gift-upsell-card--drawer .gift-upsell-card__title {
	font-size: 14px;
	line-height: 1.25;
}

.gift-upsell-card--drawer .gift-upsell-card__text {
	font-size: 12px;
	line-height: 1.35;
	margin-bottom: 8px;
}

.gift-upsell-card--drawer .gift-upsell-card__button {
	width: 100%;
	min-height: 38px;
	padding: 9px 12px;
	font-size: 12px;
}
/* ------------------------------
   Checkout summary variant
------------------------------ */

.gift-upsell-card--checkout {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 14px 0 0;
	padding: 12px;
}

.gift-upsell-card--checkout .gift-upsell-card__image {
	width: 100%;
	height: 180px;
	padding: 10px;
	flex: none;
}

.gift-upsell-card--checkout .gift-upsell-card__content {
	width: 100%;
}

.gift-upsell-card--checkout .gift-upsell-card__title {
	font-size: 15px;
	line-height: 1.3;
}

.gift-upsell-card--checkout .gift-upsell-card__text {
	font-size: 12px;
	line-height: 1.4;
	margin-bottom: 10px;
}

.gift-upsell-card--checkout .gift-upsell-card__button {
	width: 100%;
}

/* ------------------------------
   Visibility helpers
------------------------------ */

.gift-upsell-card--desktop-only {
	display: flex;
}

.gift-upsell-card--mobile-only {
	display: none;
}

@media screen and (max-width: 768px) {
	.gift-upsell-card--desktop-only {
		display: none !important;
	}

	.gift-upsell-card--mobile-only {
		display: flex !important;
	}
}

/* ------------------------------
   Base card
------------------------------ */

.gift-upsell-card {
	display: flex;
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #d9ccbc;
	border-radius: 16px;
	background: linear-gradient(135deg, #f8f3ed 0%, #f3ece3 100%);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
	color: #3d3127;
	overflow: hidden;
}

.gift-upsell-card:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gift-upsell-card__image {
	display: block;
	background: #fff;
	border-radius: 12px;
	object-fit: contain;
	object-position: center center;
	box-sizing: border-box;
	flex-shrink: 0;
}

.gift-upsell-card__content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

.gift-upsell-card__price {
	display: inline-block;
	width: fit-content;
	max-width: 100%;
	margin: 0 0 8px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(122, 92, 62, 0.08);
	color: #7a5c3e;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.gift-upsell-card__title {
	margin: 0 0 6px;
	color: #3d3127;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.gift-upsell-card__text {
	margin: 0 0 12px;
	color: #6b5d50;
	font-size: 13px;
	line-height: 1.5;
}

.gift-upsell-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
	min-height: 42px;
	padding: 11px 18px;
	box-sizing: border-box;
	border: none;
	border-radius: 999px;
	background: #7a5c3e;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.gift-upsell-card__button:hover {
	background: #684c31;
	transform: translateY(-1px);
}

.gift-upsell-card__button:active {
	transform: scale(0.98);
}

.gift-upsell-card__button:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.gift-upsell-card__button.is-added {
	background: #3f7a52;
}

/* ------------------------------
   Product page variant
------------------------------ */

.gift-upsell-card--product {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 520px;
	margin-top: 16px;
	padding: 14px;
}

.gift-upsell-card--product .gift-upsell-card__image {
	width: 88px;
	height: 88px;
	padding: 6px;
}

.gift-upsell-card--product .gift-upsell-card__button {
	width: 100%;
	max-width: 280px;
}

/* ------------------------------
   Cart page desktop inline
   (left column, under products)
------------------------------ */

.gift-upsell-card--cart-inline {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 760px;
	margin: 22px 0 10px;
	padding: 16px;
	clear: both;
}

.gift-upsell-card--cart-inline .gift-upsell-card__image {
	width: 104px;
	height: 104px;
	padding: 8px;
	flex: 0 0 104px;
}

.gift-upsell-card--cart-inline .gift-upsell-card__title {
	font-size: 16px;
}

.gift-upsell-card--cart-inline .gift-upsell-card__text {
	font-size: 13px;
}

.gift-upsell-card--cart-inline .gift-upsell-card__button {
	width: 100%;
	max-width: 360px;
}

/* ------------------------------
   Cart totals mobile variant
------------------------------ */

.gift-upsell-card--cart-side {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 14px 0 16px;
	padding: 12px;
}

.gift-upsell-card--cart-side .gift-upsell-card__image {
	width: 100%;
	height: 190px;
	padding: 10px;
	flex: none;
}

.gift-upsell-card--cart-side .gift-upsell-card__button {
	width: 100%;
}

/* ------------------------------
   Cart drawer desktop variant
------------------------------ */

.gift-upsell-card--drawer {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 12px 0 16px;
	padding: 12px;
}

.gift-upsell-card--drawer .gift-upsell-card__image {
	width: 72px;
	height: 72px;
	padding: 6px;
	flex: 0 0 72px;
}

.gift-upsell-card--drawer .gift-upsell-card__title {
	font-size: 14px;
	line-height: 1.25;
}

.gift-upsell-card--drawer .gift-upsell-card__text {
	font-size: 12px;
	line-height: 1.35;
	margin-bottom: 8px;
}

.gift-upsell-card--drawer .gift-upsell-card__button {
	width: 100%;
	min-height: 38px;
	padding: 9px 12px;
	font-size: 12px;
}

/* ------------------------------
   Safety for wrappers
------------------------------ */

[class*="totals-wrapper"] {
	overflow: visible !important;
}

[class*="cart-summary"] {
	overflow: visible;
}

/* ========================================
   Tablet
======================================== */

@media screen and (max-width: 768px) {
	.gift-upsell-card__price {
		margin-bottom: 6px;
		font-size: 11px;
		padding: 4px 8px;
	}

	.gift-upsell-card__title {
		font-size: 14px;
		line-height: 1.3;
	}

	.gift-upsell-card__text {
		font-size: 12px;
		line-height: 1.4;
		margin-bottom: 8px;
	}

	.gift-upsell-card__button {
		width: 100%;
		min-height: 40px;
		padding: 10px 12px;
		font-size: 12px;
	}

	.gift-upsell-card--cart-side {
		margin: 12px 0 16px;
		padding: 12px;
	}

	.gift-upsell-card--cart-side .gift-upsell-card__image {
		height: 180px;
	}
}

/* ========================================
   Small mobile
======================================== */
@media screen and (max-width: 768px) {
	.gift-upsell-card--checkout .gift-upsell-card__image {
		height: 170px;
	}
}

@media screen and (max-width: 480px) {
	.gift-upsell-card--checkout .gift-upsell-card__image {
		height: 160px;
	}
}
@media screen and (max-width: 480px) {
	.gift-upsell-card--cart-side {
		padding: 12px;
		gap: 10px;
	}

	.gift-upsell-card--cart-side .gift-upsell-card__image {
		height: 170px;
		padding: 10px;
	}

	.gift-upsell-card--cart-side .gift-upsell-card__title {
		font-size: 14px;
	}

	.gift-upsell-card--cart-side .gift-upsell-card__text {
		font-size: 12px;
	}
}