/* ===========================================================================
   DETAIL CONTENT — Characteristics, highlights, description, related
   Petz.gr

   !important kept on: .description (Modesy .description exists),
   .section-related-products (Modesy .section L2376),
   .pet-prominent-boxes .col-* (Bootstrap grid override)
   !important removed from: all petz-exclusive selectors
   =========================================================================== */

/* ── Sections ────────────────────────────────────────────── */

.pet-section {
	margin-bottom: 24px;
	background: rgba(255, 255, 255, 0.92);
	padding: 24px;
	border-radius: 16px;
	border: 1px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
	position: relative;
	z-index: 1;
}

.pet-section-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--petz-text-dark, #2c3e50);
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid transparent;
	background: linear-gradient(to right, var(--petz-primary, #5cb85c), transparent) no-repeat left bottom / 100% 2px;
}

/* ── Description ─────────────────────────────────────────── */
/* !important kept — Modesy has .description styles */

.description {
	font-size: 16px !important;
	line-height: 1.6 !important;
	color: var(--petz-text-dark) !important;
}

.description p {
	margin-bottom: 1.5rem !important;
}

.description strong,
.description b {
	font-weight: 600;
	color: var(--petz-text-dark);
}

.product-description-container .description {
	line-height: 1.85 !important;
	font-size: 1rem;
	color: #444;
	letter-spacing: 0.01em;
}

.product-description-container .description p {
	margin-bottom: 1.2em;
}

.product-description-container .pet-section + .pet-section::before {
	content: "🐾";
	display: block;
	text-align: center;
	font-size: 1.5rem;
	margin: -10px 0 20px 0;
	opacity: 0.4;
}

.description-wrapper {
	position: relative;
	margin-bottom: 24px;
}

.description-wrapper .description {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--petz-text-medium, #5a6c7d);
}

.description-collapsible {
	overflow: hidden;
	transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.description-collapsible.collapsed {
	position: relative;
}

.description-fade {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 120px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 1) 100%);
	pointer-events: none;
	z-index: 1;
}

/* ── Read more button ────────────────────────────────────── */

.btn-read-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 1rem auto 0;
	padding: 0.5rem 1.5rem;
	border: 2px solid var(--mds-color-main);
	background: transparent;
	color: var(--mds-color-main);
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	z-index: 2;
}

.btn-read-more:hover {
	background: var(--mds-color-main);
	color: #fff;
	transform: translateY(-1px);
}

.btn-read-more:active {
	transform: translateY(0);
}

.btn-read-more:focus {
	outline: 3px solid rgba(92, 184, 92, 0.5);
	outline-offset: 2px;
}

.btn-read-more .read-more-icon {
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
}

/* ── Characteristics grid ────────────────────────────────── */

.pet-characteristics-grid {
	display: flex;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.char-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	color: var(--petz-text-medium);
	font-weight: 600;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.char-value {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--petz-text-dark);
}

.pet-characteristics-lists {
	margin-top: 0;
	padding-top: 14px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pet-characteristics-list-container {
	margin-top: 15px;
}

/* ── Details table ───────────────────────────────────────── */

.pet-details-table {
	width: 100%;
	font-size: 1.05rem;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

#pet-characteristics .pet-details-table,
.pet-details-table-container .pet-details-table {
	width: 100%;
	table-layout: fixed;
}

.pet-details-table tr {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	transition: background-color 0.15s ease;
}

.pet-details-table tr:last-child {
	border-bottom: none;
}

.pet-details-table tr:hover {
	background-color: rgba(92, 184, 92, 0.04);
	box-shadow: 0 2px 10px rgba(92, 184, 92, 0.08);
}

.pet-details-table td {
	padding: 14px 16px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pet-details-table tr:last-child td {
	border-bottom: none;
}

.pet-details-table .label-cell {
	width: 40%;
	color: var(--petz-text-dark);
	display: table-cell;
	white-space: nowrap;
	font-weight: 600;
}

.pet-details-table .label-cell i {
	color: #888;
	width: 24px;
	text-align: center;
	margin-right: 5px;
	display: none;
}

.pet-details-table .label-cell strong {
	vertical-align: middle;
}

.pet-details-table .value-cell {
	text-align: right;
	color: #333;
	font-weight: 500;
}

.pet-details-table td.label-cell {
	width: 50%;
	padding: 14px 0 14px 0;
	vertical-align: middle;
	font-size: 0.95rem;
	font-weight: 600;
	color: #444;
}

.pet-details-table td.value-cell {
	width: 50%;
	padding: 14px 8px;
	vertical-align: middle;
	font-size: 0.95rem;
	font-weight: 500;
	color: #222;
	text-align: right;
}

.pet-details-table .pet-icon-svg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-right: 10px;
	flex-shrink: 0;
}

.pet-details-table .pet-icon-svg svg {
	width: 22px;
	height: 22px;
}

.pet-details-table-container {
	margin: 0;
	padding: 0;
}

/* ── Details list ────────────────────────────────────────── */

.pet-details-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1rem;
	padding-left: 38px;
}

/* Merged from 2 blocks */
.pet-details-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	font-size: 0.95rem;
	color: #333;
	line-height: normal;
	padding: 6px 0;
}

.pet-details-list li i {
	color: var(--mds-color-main);
	margin-right: 8px;
	font-size: 0.75rem;
	margin-top: 3px;
	flex-shrink: 0;
}

.pet-details-list li i.icon-angle-right {
	color: var(--mds-color-main);
	margin-top: 2px;
	margin-right: 8px;
	flex-shrink: 0;
	line-height: 1;
	font-size: 0.8rem;
}

.pet-details-list li .icon-angle-right {
	color: var(--petz-primary, #5cb85c);
	font-size: 0.75rem;
}

.pet-details-list li span {
	flex: 1;
	line-height: 1.4;
}

.pet-details-list li.special-needs {
	color: #e74c3c;
}

.pet-details-list li.special-needs i.icon-check {
	color: transparent;
	position: relative;
	width: 1em;
}

.pet-details-list li.special-needs i.icon-check::after {
	content: "♥";
	position: absolute;
	left: 0;
	top: 0;
	color: #e74c3c;
	font-family: inherit;
	font-style: normal;
}

.pet-details-list li.special-needs span {
	color: #e74c3c;
	font-weight: 600;
}

/* ── Detail group cards ──────────────────────────────────── */

.pet-details-group {
	background: #ffffff;
	border-radius: 12px;
	padding: 16px 18px;
	margin-bottom: 16px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(0, 0, 0, 0.04);
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.pet-details-group:hover {
	background-color: rgba(92, 184, 92, 0.04);
	box-shadow: 0 2px 10px rgba(92, 184, 92, 0.08);
}

.pet-details-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 1rem;
	color: var(--petz-text-dark, #2c3e50);
}

.pet-details-label .pet-icon-svg {
	color: var(--mds-color-main);
	margin-right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.pet-details-label .pet-icon-svg svg {
	width: 22px;
	height: 22px;
}

/* ── Icon SVG ────────────────────────────────────────────── */

.pet-icon-svg {
	display: inline-block;
	vertical-align: middle;
	margin-right: 8px;
	color: var(--mds-color-main);
	line-height: 1;
}

.pet-icon-svg svg {
	display: block;
	width: 24px;
	height: 24px;
}

/* ── Pet story subtitle ──────────────────────────────────── */

.pet-story-subtitle {
	font-size: 18px;
	font-weight: 500;
	color: var(--petz-text-medium);
	margin-bottom: 16px;
	font-style: italic;
}

/* ── Highlights ──────────────────────────────────────────── */

.pet-highlights-container {
	margin-bottom: 30px;
	background: transparent;
	border: none;
	padding: 0;
	box-shadow: none;
}

.pet-highlights-container .row {
	margin-left: -8px;
	margin-right: -8px;
	justify-content: center;
}

.pet-highlights-container .highlight-item {
	background-color: #fff;
	border: 1px solid #e1e8ed;
	border-radius: 16px;
	padding: 20px 10px;
	box-shadow: var(--petz-shadow-sm);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
}

.pet-highlights-container .col-4 {
	padding-left: 12px;
	padding-right: 12px;
}

.border-highlight-middle {
	border-left: none;
	border-right: none;
	border: 1px solid #e1e8ed;
}

.hl-icon {
	margin-bottom: 12px;
	color: var(--petz-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	width: 48px;
	background: transparent;
	border-radius: 50%;
}

.hl-icon svg {
	width: 36px;
	height: 36px;
	fill: currentColor;
}

.hl-content {
	line-height: 1.3;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hl-label {
	font-size: 0.75rem;
	color: var(--petz-text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	display: block;
	font-weight: 700;
}

.hl-value {
	font-size: 14px;
	font-weight: 700;
	color: var(--petz-text-dark);
	display: block;
	word-break: break-word;
	line-height: 1.4;
}

.pet-highlight-item .hl-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #6c757d;
	letter-spacing: 0.5px;
}

.pet-highlight-item .hl-value {
	font-size: 1rem;
	font-weight: 600;
	color: #212529;
}

/* ── Prominent boxes ─────────────────────────────────────── */

.pet-prominent-boxes {
	margin-bottom: 24px;
}

.prominent-box {
	background: #ffffff;
	border-radius: 14px;
	padding: 15px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	height: 100%;
	min-height: 80px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.prominent-box:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
	transform: translateY(-1px);
}

.prominent-box .pb-icon,
.prominent-box .pb-icon-top,
.pb-icon-top {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(92, 184, 92, 0.08);
	border: 1px solid rgba(92, 184, 92, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
}

.prominent-box .pb-icon {
	width: 40px;
	height: 40px;
	background: var(--petz-primary, #5cb85c);
	border-radius: 10px;
	border: none;
	flex-shrink: 0;
}

.prominent-box .pb-icon svg {
	width: 22px;
	height: 22px;
	color: white;
	stroke: white;
	fill: none;
}

.prominent-box .pb-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.prominent-box .pb-label {
	font-size: 11px;
	color: #6c757d;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.prominent-box .pb-value {
	font-size: 14px;
	color: #212529;
	font-weight: 700;
	line-height: 1.3;
}

.prominent-box.location-box .pb-icon,
.prominent-box.date-box .pb-icon {
	background: var(--petz-primary, #5cb85c);
}

.prominent-box .pb-avatar {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	background: #e9ecef;
}

.prominent-box .pb-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.prominent-box.publisher-box {
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	color: inherit;
}

.prominent-box.publisher-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ── Prominent box vertical variant ──────────────────────── */

.prominent-box-vertical {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-align: left;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	height: 100%;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	gap: 10px;
}

.prominent-box-vertical:hover {
	transform: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.prominent-box-vertical.publisher-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.prominent-box-vertical .pb-icon-top {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0;
	background: rgba(92, 184, 92, 0.08);
	border: 1px solid rgba(92, 184, 92, 0.2);
	border-radius: 50%;
	flex-shrink: 0;
}

.prominent-box-vertical .pb-icon-top svg {
	width: 22px;
	height: 22px;
}

.prominent-box-vertical .pb-icon-top.pb-avatar {
	background: transparent;
	overflow: hidden;
}

.prominent-box-vertical .pb-icon-top.pb-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.prominent-box-vertical .pb-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #6c757d;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
	display: block;
	width: 100%;
}

.prominent-box-vertical .pb-value {
	font-size: 0.9rem;
	font-weight: 600;
	color: #212529;
	line-height: 1.3;
	word-break: break-word;
	text-align: center;
	display: block;
	width: 100%;
}

.prominent-box-vertical.reward-box .pb-icon-top {
	background: rgba(246, 183, 49, 0.10);
}

.prominent-box-vertical .pb-value .location-link {
	color: inherit;
	font-weight: inherit;
}

.prominent-box-vertical .pb-value .location-link:hover {
	color: var(--petz-primary, #5cb85c);
}

/* ── Reward badge ────────────────────────────────────────── */

.pet-reward-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 20;
	padding: 8px 16px;
	border-radius: 7px;
	font-size: 0.85rem;
	font-weight: 700;
	background: linear-gradient(135deg, #f7b731 0%, #e67e22 100%);
	color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* ── Related products ────────────────────────────────────── */

.section-related-products {
	position: relative;
	overflow: hidden !important;
	margin-bottom: 24px;
}

/* !important — overrides Modesy .section .title */
.section-related-products .title {
	display: block !important;
	margin-bottom: 16px;
	font-size: 1.1rem;
}

.related-scroll-container {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 4px 0 16px 0;
	margin: 0;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.related-scroll-container::-webkit-scrollbar {
	display: none;
}

.related-scroll-item {
	flex: 0 0 calc(90% - 6px);
	scroll-snap-align: start;
	scroll-snap-stop: always;
	min-width: 0;
	overflow: hidden;
}

/* !important — overrides Modesy .product-item styling */
.section-related-products .product-item,
.section-related-products .product-item-container,
.product-item {
	background-color: #ffffff !important;
	background: #ffffff !important;
}

.section-related-products .product-item,
.row-product .product-item,
.col-product .product-item {
	background-color: #ffffff !important;
	background: #ffffff !important;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}



/* ── Responsive — All @media merged ──────────────────────── */

@media (min-width: 480px) {
	.related-scroll-container { gap: 14px; }
	.related-scroll-item { flex: 0 0 calc(50% - 7px); }

	/* Service cards: stay at ~1.1 card width — horizontal layout needs more space */
	.section-related-services .related-scroll-item {
		flex: 0 0 calc(90% - 7px);
	}
}

@media (min-width: 768px) {
	.related-scroll-container { gap: 16px; }
	.related-scroll-item { flex: 0 0 calc(33.333% - 11px); }

	/* Service cards: 2 per row at tablet */
	.section-related-services .related-scroll-item {
		flex: 0 0 calc(50% - 8px);
	}
}

@media (min-width: 992px) {
	.related-scroll-container {
		gap: 16px;
		overflow-x: hidden;
		scroll-snap-type: none;
		flex-wrap: wrap;
	}
	.related-scroll-item { flex: 0 0 calc(25% - 12px); }

	/* Service pages: 2 per row */
	.section-related-services .related-scroll-item {
		flex: 0 0 calc(50% - 8px);
	}
}
