/* Custom Trays + Custom Paper Bags archive */

.tb-archive-banner {
	position: relative;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 70px 0 60px;
	color: #fff;
}

.tb-archive-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11, 13, 15, 0.88) 0%, rgba(11, 13, 15, 0.72) 55%, rgba(11, 13, 15, 0.55) 100%);
	pointer-events: none;
}

.tb-archive-banner .container {
	position: relative;
	z-index: 1;
}

.tb-banner-title {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
	color: #fff;
	margin: 0 0 16px;
	line-height: 1.15;
	text-transform: none;
}

.tb-banner-desc p {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 22px;
}

.tb-checklist {
	background: #0b0d0f;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 16px;
}

.tb-checklist ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tb-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 12px;
}

.tb-checklist li:last-child {
	margin-bottom: 0;
}

.tb-check {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #cd9933;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	margin-top: 1px;
}

.tb-service-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	background: #f3e6d8;
	border-radius: 12px;
	padding: 14px 18px;
	margin-bottom: 18px;
}

.tb-service-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #0b0d0f;
	font-size: 14px;
	line-height: 1.25;
}

.tb-service-item strong {
	color: #cd9933;
	font-weight: 700;
}

.tb-service-icon {
	font-size: 22px;
	color: #0b0d0f;
}

.tb-size-tabs {
	display: flex;
	width: 100%;
	gap: 0;
	margin: 0;
	padding: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #e5e5e5;
}

.tb-size-tabs .nav-item {
	flex: 1 1 50%;
}

.tb-size-tabs .nav-link {
	width: 100%;
	border: none !important;
	border-radius: 0 !important;
	background: #e5e5e5 !important;
	color: #0b0d0f !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 12px 10px !important;
}

.tb-size-tabs .nav-link.active {
	background: #0b0d0f !important;
	color: #fff !important;
}

.tb-banner-form {
	background: #fff;
	border-radius: 12px;
	padding: 22px 20px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
	color: #0b0d0f;
}

.tb-banner-form .form-main-heading {
	color: #0b0d0f;
	font-size: 22px;
	margin-bottom: 14px;
}

.tb-standard-note {
	font-size: 15px;
	line-height: 1.6;
	color: #444;
	margin-bottom: 18px;
}

.tb-browse-products {
	background: #0b0d0f;
	color: #cd9933;
	border: none;
	border-radius: 8px;
	padding: 12px 22px;
	font-weight: 700;
}

.tb-browse-products:hover {
	background: #cd9933;
	color: #0b0d0f;
}

.tb-products-section {
	padding: 60px 0;
	background: #fff;
}

.tb-product-card {
	display: block;
	text-decoration: none;
	margin-bottom: 28px;
	text-align: center;
	transition: transform 0.25s ease;
}

.tb-product-card:hover {
	transform: translateY(-4px);
}

.tb-product-image {
	border: 1px solid rgba(11, 13, 15, 0.08);
	border-radius: 10px;
	overflow: hidden;
	background: #faf7f3;
	margin-bottom: 12px;
}

.tb-product-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.tb-product-title {
	font-size: 16px;
	font-weight: 600;
	color: #0b0d0f;
	margin: 0;
}

.tb-empty {
	color: #666;
	padding: 24px 0;
}

.tb-long-desc-section {
	padding: 20px 0 60px;
	background: #faf7f3;
}

.tb-long-desc-card {
	background: #fff;
	border-radius: 14px;
	padding: 28px 30px;
	border: 1px solid rgba(11, 13, 15, 0.06);
	box-shadow: 0 10px 28px rgba(11, 13, 15, 0.06);
}

.tb-long-desc-heading {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 16px;
	color: #0b0d0f;
}

.tb-long-desc-scroll {
	max-height: 360px;
	overflow-y: auto;
	padding-right: 8px;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(11, 13, 15, 0.82);
}

.tb-long-desc-scroll p:last-child {
	margin-bottom: 0;
}

/* Product purchase bar under gallery */
.tb-purchase-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 18px;
	margin-top: 130px;
	padding: 14px 16px;
	background: transparent;
	border: 1px solid rgba(205, 153, 51, 0.35);
	border-radius: 10px;
}

.tb-purchase-meta {
	min-width: 140px;
	flex: 1 1 160px;
}

.tb-purchase-title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #0b0d0f;
	line-height: 1.25;
	margin-bottom: 4px;
}

.tb-purchase-price,
.tb-purchase-stock {
	color: #cd9933;
	font-size: 14px;
	font-weight: 600;
}

.tb-purchase-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	flex: 1 1 auto;
	justify-content: flex-end;
}

.tb-purchase-qty {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tb-purchase-qty label {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.tb-purchase-qty .qty {
	width: 78px;
	min-height: 40px;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 6px 8px;
	text-align: center;
	background: #fff;
}

.tb-btn-cart,
.tb-btn-buy {
	min-height: 40px;
	padding: 8px 16px;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.tb-btn-cart {
	background: #cd9933;
	color: #fff;
}

.tb-btn-cart:hover {
	background: #b8872c;
	color: #fff;
}

.tb-btn-buy {
	background: #0b0d0f;
	color: #fff;
}

.tb-btn-buy:hover {
	background: #000;
	color: #fff;
}

@media (max-width: 991.98px) {
	.tb-archive-banner {
		padding: 48px 0 40px;
	}

	.tb-purchase-bar {
		margin-top: 120px;
	}
}

@media (max-width: 575.98px) {
	.tb-service-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.tb-purchase-bar {
		margin-top: 110px;
	}

	.tb-purchase-form {
		width: 100%;
		justify-content: stretch;
	}

	.tb-btn-cart,
	.tb-btn-buy {
		flex: 1 1 auto;
	}
}
