/**
 * Tour Package Card Widget Styling
 * Single Card Architecture with Full Dual Button Customization
 * Author: Naimur Rahaman (Blogrator)
 */

.srbt-tp-single-wrapper,
.srbt-tp-wrapper {
	width: 100%;
	box-sizing: border-box;
}

.srbt-tp-single-wrapper *,
.srbt-tp-single-wrapper *::before,
.srbt-tp-single-wrapper *::after,
.srbt-tp-wrapper *,
.srbt-tp-wrapper *::before,
.srbt-tp-wrapper *::after {
	box-sizing: border-box;
}

/* Card Container (Single Card) */
.srbt-tp-card {
	background-color: #ffffff;
	border-radius: 18px;
	border: 1px solid rgba(226, 232, 240, 0.85);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.03);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
}

.srbt-tp-card-single {
	max-width: 380px;
	margin: 0 auto;
}

.srbt-tp-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Image Wrap */
.srbt-tp-image-wrap {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
	background-color: #0f172a;
}

.srbt-tp-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.srbt-tp-card:hover .srbt-tp-img {
	transform: scale(1.06);
}

/* Top Ribbons */
.srbt-tp-badge-top {
	position: absolute;
	top: 14px;
	z-index: 3;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 5px 14px;
	border-radius: 9999px;
	line-height: 1.2;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	pointer-events: none;
	background-color: #f59e0b;
	color: #ffffff;
}

.srbt-tp-badge-left {
	left: 14px;
}

.srbt-tp-badge-right {
	right: 14px;
}

/* Content Body */
.srbt-tp-content {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* Rating Row */
.srbt-tp-rating-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
}

.srbt-tp-stars {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: #f59e0b;
}

.srbt-tp-star svg {
	fill: #f59e0b;
	display: block;
}

.srbt-tp-star.is-empty svg {
	fill: #cbd5e1;
}

.srbt-tp-rating-text {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	line-height: 1;
}

/* Title & Subtitle */
.srbt-tp-title {
	font-size: 21px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 3px 0;
	line-height: 1.3;
	font-family: inherit;
}

.srbt-tp-subtitle {
	font-size: 13.5px;
	font-weight: 600;
	color: #059669;
	margin-bottom: 12px;
	line-height: 1.4;
}

/* Location Row */
.srbt-tp-location-row {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 8px;
	font-size: 13px;
	color: #64748b;
	font-weight: 500;
}

.srbt-tp-location-icon {
	color: #16a34a;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}

.srbt-tp-location-icon svg {
	fill: currentColor;
	display: block;
}

.srbt-tp-location-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Price Row */
.srbt-tp-price-row {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 14px;
	font-size: 13.5px;
	font-weight: 500;
}

.srbt-tp-price-icon {
	color: #16a34a;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}

.srbt-tp-price-icon svg {
	fill: currentColor;
	display: block;
}

.srbt-tp-price-wrap {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
}

.srbt-tp-price-prefix {
	color: #64748b;
}

.srbt-tp-price-amount {
	font-size: 17px;
	font-weight: 700;
	color: #f59e0b;
}

.srbt-tp-currency {
	font-size: 15px;
	font-weight: 700;
	margin-right: 1px;
}

.srbt-tp-price-suffix {
	font-size: 12px;
	color: #94a3b8;
}

/* Checklist (Highlights) */
.srbt-tp-features-list {
	list-style: none;
	margin: 0 0 16px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
	flex-grow: 1;
}

.srbt-tp-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13.5px;
	color: #334155;
	line-height: 1.45;
}

.srbt-tp-check-icon {
	color: #16a34a;
	flex-shrink: 0;
	margin-top: 2px;
	display: inline-flex;
	align-items: center;
}

.srbt-tp-check-icon svg {
	fill: currentColor;
	display: block;
}

.srbt-tp-feature-text {
	flex-grow: 1;
}

/* Divider Line */
.srbt-tp-divider {
	border-top: 1px solid #f1f5f9;
	margin: 14px 0 12px;
	width: 100%;
}

/* Duration Row */
.srbt-tp-duration-row {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: #64748b;
	font-weight: 500;
	margin-bottom: 14px;
}

.srbt-tp-duration-icon {
	color: #16a34a;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}

.srbt-tp-duration-icon svg {
	fill: currentColor;
	display: block;
}

/* Actions Bar (Dual Action Buttons) */
.srbt-tp-actions-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 6px;
	width: 100%;
}

/* Button 1: View Details */
.srbt-tp-btn-details {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
	text-decoration: underline;
	text-underline-offset: 4px;
	padding: 8px 14px;
	border-radius: 8px;
	border: 1px solid transparent;
	transition: all 0.22s ease;
	background-color: transparent;
	cursor: pointer;
	line-height: 1.3;
}

.srbt-tp-btn-details:hover {
	color: #059669;
	text-decoration: underline;
	background-color: #f0fdf4;
	border-color: #bbf7d0;
}

/* Button 2: Book Now */
.srbt-tp-btn-book {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13.5px;
	font-weight: 700;
	color: #ffffff;
	background-color: #f59e0b;
	padding: 10px 22px;
	border-radius: 10px;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
	transition: all 0.25s ease;
	white-space: nowrap;
	border: none;
	cursor: pointer;
	line-height: 1.2;
}

.srbt-tp-btn-book:hover {
	background-color: #d97706;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
}

.srbt-tp-btn-book:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

/* Shortcode Fallback Grid (Optional) */
.srbt-tp-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 28px;
	width: 100%;
}
