﻿/**
 * My Tales shortcode styles.
 *
 * @package Kadence_Child
 */

/* Empty state
-------------------------------------------------------------- */
.kc-my-tales__empty {
	text-align: center;
	padding: 60px 20px;
}

.kc-my-tales__empty p {
	font-size: 18px;
	color: var(--global-palette6, #6b7280);
	margin: 0 0 20px;
}

.kc-my-tales__shop-btn {
	display: inline-block;
	padding: 12px 32px;
	background: var(--global-palette1, #091a3d);
	color: #fff !important;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	border-radius: 16px;
	transition: opacity 0.2s;
}

.kc-my-tales__shop-btn:hover {
	opacity: 0.9;
}

/* Login prompt
-------------------------------------------------------------- */
.kc-my-tales__login {
	text-align: center;
	padding: 40px 20px;
	font-size: 16px;
	color: var(--global-palette6, #6b7280);
}

.kc-my-tales__login a {
	color: var(--global-palette1, #091a3d);
	font-weight: 600;
}

/* Meta (name, age)
-------------------------------------------------------------- */
.kc-my-tales__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-bottom: 12px;
}

.kc-my-tales__meta-item {
	font-size: 14px;
	color: var(--global-palette6, #6b7280);
}

.kc-my-tales__meta-label {
	font-weight: 600;
	color: var(--global-palette5, #2b2f3a);
}

/* Form-as-card: reset native <form>/<button> chrome so it looks identical to
   the old anchor-based card and keeps product-cards layout intact. */
.kc-my-tales__card {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

button.kc-my-tales__open {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

button.kc-my-tales__open:focus-visible {
	outline: 2px solid var(--global-palette1, #091a3d);
	outline-offset: 4px;
	border-radius: 8px;
}

/* Button states
-------------------------------------------------------------- */
.kc-my-tales__btn--cart {
	background: var(--global-palette1, #091a3d) !important;
	color: #fff !important;
	border-color: var(--global-palette1, #091a3d) !important;
}

.kc-my-tales__btn--add.is-loading {
	pointer-events: none;
	opacity: 0.6;
}

/* Cart empty "New in Store"
-------------------------------------------------------------- */
.kc-cart-empty-new {
	margin-top: 48px;
}

.kc-cart-empty-new__title {
	font-size: 24px;
	font-weight: 700;
	color: var(--global-palette5, #2b2f3a);
	margin: 0 0 24px;
}
