/* Hotové návrhy — pouze modulový scope */

/* --- výpis --- */
.hotove-listing .card-product .card-product-wrapper {
	background: #f7f7f7;
	aspect-ratio: 3 / 4;
}
.hotove-listing .card-product .product-img {
	min-height: 100%;
}
.hotove-listing .card-product .img-product,
.hotove-listing .card-product .img-hover {
	object-fit: contain;
	object-position: center;
	background: #f7f7f7;
}
.hotove-listing .card-product .list-color-product {
	display: none !important;
}
.hotove-listing .hotove-card-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	background: #eee;
}
.hotove-listing .hotove-cat-card {
	aspect-ratio: 3 / 4;
}
.hotove-listing .hotove-cat-link {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f0f0;
	text-decoration: none;
	min-height: 100%;
}
.hotove-listing .hotove-cat-label {
	font-size: 1.25rem;
	font-weight: 600;
	color: #181818;
	padding: 1rem;
	text-align: center;
}

/* focus / klávesnice — CTA bez hoveru */
.hotove-listing .card-product:focus-within .list-btn-main,
.hotove-listing .card-product:focus-within .list-product-btn .box-icon {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translate(0) !important;
}
.hotove-listing .card-product .product-img:focus,
.hotove-listing .card-product .title:focus,
.hotove-listing .card-product .btn-main-product:focus,
.hotove-listing .card-product .box-icon:focus {
	outline: 2px solid var(--main, #e91e8c);
	outline-offset: 2px;
}

/* na dotyku vždy dostupný CTA (bez hover) */
@media (hover: none), (pointer: coarse) {
	.hotove-listing .card-product .list-btn-main,
	.hotove-listing .card-product .list-product-btn .box-icon {
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
	}
}

/* --- detail --- */
.hotove-detail .hotove-media {
	background: #f6f6f6;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
}
.hotove-detail .hotove-mockup {
	width: 100%;
	max-height: 720px;
	object-fit: contain;
	display: block;
}
.hotove-detail .hotove-desc {
	margin-top: 0.75rem;
	color: var(--secondary-2, #666);
	font-size: 15px;
	line-height: 1.5;
}
.hotove-detail .hotove-size-wrap {
	margin-top: 0.5rem;
}
.hotove-detail .hotove-size-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 280px;
}
.hotove-detail .hotove-size-table th,
.hotove-detail .hotove-size-table td {
	padding: 10px 8px;
	border-bottom: 1px solid var(--line, #e5e5e5);
	vertical-align: middle;
}
.hotove-detail .hotove-size-table th {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--secondary-2, #666);
	text-align: left;
}
.hotove-detail .hotove-size-table th:nth-child(2),
.hotove-detail .hotove-size-table td.hotove-size-price {
	text-align: right;
	white-space: nowrap;
}
.hotove-detail .hotove-size-table th:nth-child(3),
.hotove-detail .hotove-size-table td.hotove-size-qty {
	text-align: right;
}
.hotove-detail .hotove-size-name .text-title {
	font-weight: 600;
}
.hotove-detail .hotove-unit-struck {
	text-decoration: line-through;
	opacity: 0.65;
	margin-right: 0.35rem;
}
.hotove-detail .hotove-unit-final {
	font-weight: 700;
	color: var(--primary, #e91e8c);
	display: inline-block;
}
.hotove-detail .hotove-price-base-row,
.hotove-detail .hotove-discount-row {
	font-size: 1rem;
	margin-bottom: 0.25rem;
}
.hotove-detail .qty-discount-note {
	margin: 0;
	padding: 8px 12px 0;
}
.hotove-detail .qty-discount-inline {
	padding-left: 8px;
	padding-right: 8px;
}
.hotove-detail .hotove-size-qty .size-qty-box {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-content: flex-end;
}
.hotove-detail .hotove-size-qty .btn-qty-size {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 36px;
	border: 1px solid var(--line, #ddd);
	background: #fff;
	cursor: pointer;
	user-select: none;
	font-size: 18px;
	line-height: 1;
}
.hotove-detail .hotove-size-qty .btn-qty-size:focus {
	outline: 2px solid var(--main, #e91e8c);
	outline-offset: 1px;
}
.hotove-detail .hotove-size-qty .size-qty,
.hotove-detail .hotove-size-qty .hotove-qty {
	width: 52px !important;
	min-height: 36px;
	text-align: center;
	border: 1px solid var(--line, #ddd);
	border-radius: 0 !important;
	font-size: 16px;
	-moz-appearance: textfield;
}
.hotove-detail .hotove-qty::-webkit-outer-spin-button,
.hotove-detail .hotove-qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.hotove-detail .hotove-add-btn {
	width: 100%;
	border: 0;
	cursor: pointer;
}
.hotove-detail .hotove-add-btn:disabled {
	opacity: 0.7;
	cursor: wait;
}

@media (max-width: 575.98px) {
	.hotove-detail .hotove-size-table thead {
		display: none;
	}
	.hotove-detail .hotove-size-table,
	.hotove-detail .hotove-size-table tbody,
	.hotove-detail .hotove-size-table tr,
	.hotove-detail .hotove-size-table td {
		display: block;
		width: 100%;
	}
	.hotove-detail .hotove-size-row {
		padding: 12px 0;
		border-bottom: 1px solid var(--line, #e5e5e5);
	}
	.hotove-detail .hotove-size-table td {
		border: 0;
		padding: 4px 0;
		text-align: left !important;
	}
	.hotove-detail .hotove-size-name {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
	}
	.hotove-detail .hotove-size-name::after {
		content: none;
	}
	.hotove-detail .hotove-size-price {
		font-size: 14px;
		color: var(--secondary-2, #666);
		margin-bottom: 6px;
	}
	.hotove-detail .hotove-size-price::before {
		content: "Cena za kus: ";
	}
	.hotove-detail .hotove-size-qty .size-qty-box {
		width: 100%;
		justify-content: flex-start;
	}
	.hotove-detail .hotove-size-qty .btn-qty-size {
		min-width: 44px;
		min-height: 44px;
	}
	.hotove-detail .hotove-size-qty .hotove-qty {
		min-height: 44px;
		width: 64px !important;
		font-size: 18px;
	}
}
