/**
 * Twentytrue UI Components Stylesheet (Buttons, Cards, Badges, Modals)
 * Author: Mahendra_K
 */
/* Buttons */
.tt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--tt-font-primary);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	border-radius: var(--tt-radius-full);
	padding: 12px 24px;
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: all var(--tt-transition-fast);
}

.tt-btn-primary {
	background: var(--tt-color-ink);
	color: #FFFFFF;
}

.tt-btn-primary:hover {
	background: var(--tt-color-rose);
	box-shadow: 0 6px 20px rgba(194, 94, 126, 0.35);
}

.tt-btn-rose {
	background: var(--tt-color-rose);
	color: #FFFFFF;
}

.tt-btn-rose:hover {
	background: var(--tt-color-rose-dark);
	box-shadow: 0 6px 20px rgba(158, 61, 94, 0.35);
}

.tt-btn-secondary {
	background: var(--tt-color-rose-light);
	color: var(--tt-color-rose);
	border-color: var(--tt-color-rose-border);
}

.tt-btn-secondary:hover {
	background: var(--tt-color-rose);
	color: #FFFFFF;
}

.tt-btn-outline {
	background: transparent;
	color: var(--tt-color-ink);
	border-color: var(--tt-color-border-strong);
}

.tt-btn-outline:hover {
	border-color: var(--tt-color-ink);
	background: #FAF6F7;
}

.tt-btn-sm {
	padding: 8px 16px;
	font-size: 12px;
}

.tt-btn-lg {
	padding: 14px 32px;
	font-size: 16px;
}

.tt-btn-full {
	width: 100%;
}

/* Badges */
.tt-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: var(--tt-radius-full);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tt-badge--sale {
	background: var(--tt-color-rose);
	color: #FFFFFF;
}

.tt-badge--bestseller {
	background: var(--tt-color-gold);
	color: #FFFFFF;
}

.tt-badge--new {
	background: var(--tt-color-ink);
	color: #FFFFFF;
}

/* ==========================================================================
   Product Card (Edgy, Premium & Classy — Ajio Luxe / Tata CLiQ Luxury Style)
   ========================================================================== */
.tt-product-card {
	background: transparent;
	border-radius: 0;
	overflow: hidden;
	border: none;
	transition: transform var(--tt-transition-fast);
	display: flex;
	flex-direction: column;
	position: relative;
	box-shadow: none;
	margin: 0;
	padding: 0;
}

.tt-product-card__media {
	position: relative;
	aspect-ratio: 3 / 4;
	width: 100%;
	background: #F6ECEF;
	overflow: hidden;
	display: block;
	border-radius: 0;
	margin: 0;
	padding: 0;
}

.tt-product-card__link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	position: relative;
}

.tt-product-card__img,
.tt-product-card__media img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
	object-position: center top !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tt-product-card:hover .tt-product-card__img,
.tt-product-card:hover .tt-product-card__media img {
	transform: scale(1.03);
}

.tt-product-card__badge--soldout {
	display: none;
}

/* Details Section (Zero gap, clean & transparent) */
.tt-product-card__details {
	padding: 5px 0 2px;
	margin: 0;
	display: flex;
	flex-direction: column;
	flex: 1;
	background: transparent;
	border: none;
}

@media (min-width: 768px) {
	.tt-product-card__details {
		padding: 6px 0 2px;
	}
}

/* Brand & Inline Wishlist Row (+1-1.5px font increase) */
.tt-product-card__brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 2px;
}

.tt-product-card__brand {
	font-family: var(--tt-font-primary);
	font-size: 9px !important;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tt-color-ink);
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 991px) {
	.tt-product-card__brand {
		font-size: 10px !important;
	}
}

@media (min-width: 992px) {
	.tt-product-card__brand {
		font-size: 13px !important;
	}
}

/* Wishlist Icon (+2-3px larger: 18px) */
.tt-product-card__wishlist {
	background: transparent;
	border: none;
	padding: 2px;
	margin: 0;
	cursor: pointer;
	color: var(--tt-color-ink-light);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.tt-product-card__wishlist svg {
	width: 18px;
	height: 18px;
	transition: all 0.2s ease;
}

.tt-product-card__wishlist:hover svg {
	transform: scale(1.18);
	stroke: var(--tt-color-rose);
}

.tt-product-card__wishlist.is-active svg {
	fill: #C25E7E !important;
	stroke: #C25E7E !important;
	color: #C25E7E !important;
}

.tt-product-card__wishlist.tt-wishlist-disabled {
	opacity: 0.7;
	cursor: pointer;
}

/* Global Wishlist Guest Tooltip */
.tt-wishlist-tooltip-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tt-wishlist-tooltip-wrap:hover::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 6px);
	right: 0;
	background: #1D1115;
	color: #FFFFFF;
	font-family: var(--tt-font-primary);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
	pointer-events: none;
	z-index: 100;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tt-wishlist-tooltip-wrap:hover::before {
	content: '';
	position: absolute;
	bottom: calc(100% + 1px);
	right: 6px;
	border: 4px solid transparent;
	border-top-color: #1D1115;
	pointer-events: none;
	z-index: 100;
}

/* Product Title (12px mobile, 15px tablet, 13.5px desktop) */
.tt-product-card__title {
	font-family: var(--tt-font-primary);
	font-size: 12px !important;
	font-weight: 400;
	line-height: 1.35;
	margin: 0 0 3px;
	color: #333333;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 991px) {
	.tt-product-card__title {
		font-size: 15px !important;
		margin-bottom: 4px;
	}
}

@media (min-width: 992px) {
	.tt-product-card__title {
		font-size: 13.5px !important;
		margin-bottom: 4px;
	}
}

.tt-product-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--tt-transition-fast);
}

.tt-product-card__title a:hover {
	color: var(--tt-color-rose);
}

/* Price Row (+1-1.5px font increase: 13px mobile / 14px desktop) */
.tt-product-card__price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 13px;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.tt-product-card__price-row {
		font-size: 14px;
		gap: 7px;
	}
}

.tt-card-price-current {
	font-weight: 700;
	color: var(--tt-color-ink);
}

.tt-card-price-regular {
	font-weight: 400;
	color: #888888;
	text-decoration: line-through;
	font-size: 0.9em;
}

.tt-card-price-discount {
	font-weight: 700;
	color: var(--tt-color-rose, #C25E7E);
	font-size: 0.9em;
	letter-spacing: 0.02em;
}

/* Color Swatches (+2-3px larger: 11px) */
.tt-product-card__swatches {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 5px;
}

.tt-card-swatch-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.2);
	display: inline-block;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: transform var(--tt-transition-fast);
}

.tt-card-swatch-dot:hover {
	transform: scale(1.2);
}

/* ==========================================================================
   Toast Notification System (Black Capsule, Desktop Bottom-Right, Mobile Center)
   ========================================================================== */
.tt-toast-container {
	position: fixed !important;
	bottom: 24px !important;
	right: 24px !important;
	left: auto !important;
	transform: none !important;
	z-index: 99999999 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	gap: 8px !important;
	max-width: min(520px, calc(100vw - 32px)) !important;
	width: auto !important;
	pointer-events: none !important;
	box-sizing: border-box !important;
}

@media (max-width: 767px) {
	.tt-toast-container {
		bottom: calc(var(--tt-bottom-nav-height, 62px) + 16px) !important;
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%) !important;
		align-items: center !important;
		max-width: calc(100% - 24px) !important;
		width: max-content !important;
	}
}

.tt-toast-item {
	pointer-events: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 9px 18px !important;
	background: #1D1115 !important;
	color: #FAF6F7 !important;
	border-radius: 9999px !important;
	border: 1px solid rgba(194, 94, 126, 0.35) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38), 0 2px 6px rgba(194, 94, 126, 0.15) !important;
	font-family: var(--tt-font-primary, 'Montserrat', sans-serif) !important;
	font-size: 12.5px !important;
	font-weight: 500 !important;
	letter-spacing: 0.015em !important;
	line-height: 1.35 !important;
	box-sizing: border-box !important;
	white-space: normal !important;
	word-break: break-word !important;
	max-width: min(500px, 92vw) !important;
	opacity: 0 !important;
	transform: translateY(14px) scale(0.96) !important;
	transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
	user-select: none;
}

@media (max-width: 480px) {
	.tt-toast-item {
		padding: 8px 14px !important;
		font-size: 11.5px !important;
		gap: 8px !important;
	}
}

.tt-toast-item.is-visible {
	opacity: 1 !important;
	transform: translateY(0) scale(1) !important;
}

.tt-toast-item.is-hiding {
	opacity: 0 !important;
	transform: translateY(10px) scale(0.96) !important;
	pointer-events: none !important;
}

.tt-toast-item--success {
	border-color: rgba(74, 222, 128, 0.35) !important;
}

.tt-toast-item--error {
	border-color: rgba(251, 113, 133, 0.45) !important;
}

.tt-toast-item--info {
	border-color: rgba(194, 94, 126, 0.35) !important;
}

.tt-toast-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	width: 16px !important;
	height: 16px !important;
}

.tt-toast-text {
	color: #FAF6F7 !important;
	font-size: 12.5px !important;
	font-weight: 500 !important;
	margin: 0 !important;
	line-height: 1.35 !important;
	white-space: normal !important;
	word-break: break-word !important;
	overflow: visible !important;
	text-overflow: clip !important;
	flex: 1 1 auto !important;
}

@media (min-width: 992px) {
	.tt-toast-item,
	.tt-toast-text {
		font-size: 12.5px !important;
	}
}

.tt-toast-close {
	background: transparent !important;
	border: none !important;
	color: rgba(250, 246, 247, 0.6) !important;
	cursor: pointer !important;
	font-size: 17px !important;
	line-height: 1 !important;
	padding: 0 0 0 6px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: color 0.15s ease, transform 0.15s ease !important;
	flex-shrink: 0 !important;
}

.tt-toast-close:hover {
	color: #FFFFFF !important;
	transform: scale(1.15) !important;
}

/* Hide fallback native banner notices across theme so custom toast is exclusive */
.woocommerce-notices-wrapper:empty {
	display: none !important;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-NoticeGroup,
.wc-block-components-notice-banner {
	display: none !important;
}