/* Category Card Slider: luxury edition */
.ccs-section {
	--ccs-gold: #B3833C;
	--ccs-gold-dark: #8c6226;
	--ccs-gold-light: #d8b776;
	--ccs-green: #133838;
	--ccs-gradient: linear-gradient(90deg, #8c6226 0%, #d8b776 45%, #B3833C 70%, #8c6226 100%);
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px 8px;
	box-sizing: border-box;
	text-align: center;
}
.ccs-section *,
.ccs-section *::before,
.ccs-section *::after { box-sizing: border-box; }

.ccs-section.ccs-bg {
	padding: 20px 8px;
	background: none !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
}

/* ---------- Heading ---------- */
.ccs-head { margin-bottom: 46px; }
.ccs-sub {
	display: inline-block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--ccs-gold);
	background: var(--ccs-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.ccs-heading {
	margin: 10px 0 0;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 600;
	line-height: 1.2;
	color: var(--ccs-green);
}
.ccs-rule {
	display: block;
	width: 120px;
	height: 1px;
	margin: 20px auto 0;
	background: linear-gradient(90deg, transparent, var(--ccs-gold), transparent);
	position: relative;
}
.ccs-rule::after {
	content: '';
	position: absolute;
	left: 50%; top: 50%;
	width: 7px; height: 7px;
	background: var(--ccs-gold);
	transform: translate(-50%, -50%) rotate(45deg);
	box-shadow: 0 0 0 4px #faf5ea;
}

/* ---------- Slider ---------- */
.ccs-wrap {
	--ccs-gap: 16px;
	--ccs-cols: var(--ccs-d, 6);
	position: relative;
	width: 100%;
}

.ccs-track {
	display: flex;
	gap: var(--ccs-gap);
	justify-content: safe center;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 10px 6px 14px;
}
.ccs-track::-webkit-scrollbar { display: none; }

/* ---------- Card ---------- */
.ccs-section .ccs-item {
	flex: 0 0 calc((100% - (var(--ccs-cols) - 1) * var(--ccs-gap)) / var(--ccs-cols));
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 6px 6px 16px;
	border: 1px solid rgba(179, 131, 60, .35) !important;
	border-radius: 10px !important;
	background: #fff;
	box-shadow: none !important;
	text-decoration: none !important;
	scroll-snap-align: start;
	transition: transform .35s ease, border-color .3s ease;
}
.ccs-section .ccs-item:hover {
	transform: translateY(-4px);
	border-color: var(--ccs-gold);
}

/* Same image box on every card, so heights always match */
.ccs-section .ccs-img {
	display: block;
	width: 100%;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: none;
}
.ccs-section .ccs-frame {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 6px !important;
	background: #f1e9db;
}
.ccs-section .ccs-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.ccs-section .ccs-item:hover .ccs-frame img { transform: scale(1.05); }

/* Title: always one line. slider.js sets --ccs-title-size so the longest
   title fits and every title uses the same size. */
.ccs-section .ccs-title {
	display: block;
	width: 100%;
	margin: 16px 0 14px;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
	font-size: var(--ccs-title-size, 20px) !important;
	letter-spacing: -.01em;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ccs-green);
	text-align: center;
	white-space: nowrap !important;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Descriptions are hidden to keep every card the same height.
   Remove this rule to show them again. */
.ccs-section .ccs-desc { display: none; }

/* Minimal outlined button, pinned to the bottom of every card */
.ccs-section .ccs-link {
	display: inline-block;
	margin-top: auto;
	padding: 8px 22px;
	border: 1px solid var(--ccs-gold) !important;
	border-radius: 999px !important;
	text-decoration: none !important;
	text-transform: none !important;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--ccs-gold);
	background: transparent;
	transition: background .3s ease, color .3s ease;
}
.ccs-section .ccs-link i {
	display: inline-block;
	font-style: normal;
	transition: transform .3s ease;
}
.ccs-section .ccs-item:hover .ccs-link,
.ccs-section .ccs-item:focus-visible .ccs-link {
	background: var(--ccs-gold);
	color: #fff;
}
.ccs-section .ccs-item:hover .ccs-link i { transform: translateX(4px); }
.ccs-section .ccs-item:focus-visible { outline: 2px solid var(--ccs-gold); outline-offset: 3px; }

/* ---------- Arrows ---------- */
.ccs-arrow {
	position: absolute;
	top: 38%;
	z-index: 3;
	width: 46px;
	height: 46px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ccs-gold);
	border-radius: 50%;
	background: #fffdf9;
	color: var(--ccs-gold);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease;
}
.ccs-arrow:hover,
.ccs-arrow:focus-visible {
	background: var(--ccs-green);
	border-color: var(--ccs-green);
	color: var(--ccs-gold-light);
}
.ccs-arrow:disabled { opacity: 0; pointer-events: none; }
.ccs-prev { left: -30px; }
.ccs-next { right: -30px; }

/* ---------- Dots ---------- */
.ccs-dots {
	display: flex;
	justify-content: center;
	gap: 9px;
	margin-top: 26px;
}
.ccs-dots button {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(179, 131, 60, .35);
	cursor: pointer;
	transition: all .3s ease;
}
.ccs-dots button.is-active {
	width: 30px;
	border-radius: 6px;
	background: var(--ccs-gradient);
}

.ccs-no-scroll .ccs-arrow,
.ccs-no-scroll .ccs-dots { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.ccs-wrap { --ccs-cols: min(var(--ccs-d, 6), 5); --ccs-gap: 16px; }
}
@media (max-width: 1024px) {
	.ccs-wrap { --ccs-cols: min(var(--ccs-d, 6), 4); }
}
@media (max-width: 860px) {
	.ccs-wrap { --ccs-cols: min(var(--ccs-d, 6), 3); --ccs-gap: 16px; }
	.ccs-prev { left: -22px; }
	.ccs-next { right: -22px; }
}
@media (max-width: 640px) {
	.ccs-section.ccs-bg { padding: 20px 12px; }
	.ccs-wrap { --ccs-cols: 2; --ccs-gap: 16px; }
	.ccs-title { margin: 12px 0 12px; }
	.ccs-link { font-size: 14px; padding: 7px 18px; }
	.ccs-arrow { display: none; }
	.ccs-head { margin-bottom: 32px; }
}
@media (max-width: 420px) {
	.ccs-wrap { --ccs-cols: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
	.ccs-track { scroll-behavior: auto; }
	.ccs-item, .ccs-frame img, .ccs-link, .ccs-link i { transition: none; }
}
