/* slider */

.catalog-list.swiffy-slider {
	--swiffy-slider-snap-align: start;
}

@media (min-width: 520px) {
	.catalog-list.swiffy-slider {
		--swiffy-slider-item-count: 2;
	}
}

@media (min-width: 768px) {
	.catalog-list.swiffy-slider {
		--swiffy-slider-item-count: 3;
	}
}

@media (min-width: 992px) {
	.catalog-list.swiffy-slider {
		--swiffy-slider-item-count: 5;
	}
}

/* Product list */

.catalog-list {
	padding: 0;
}

.catalog-list .searchstring {
	font-size: 133%;
	color: var(--ai-secondary);
}

/* Product list type switcher */

.catalog-list-type {
	text-align: end;
}

.catalog-list-type .type-item {
	display: inline-block;
	padding: 0.75rem;
}

.catalog-list-type a.type-item:link,
.catalog-list-type a.type-item:visited {
	color: var(--ai-secondary);
}

.catalog-list-type .type-grid:after {
	font: normal normal normal 20px/1 bootstrap-icons;
	content: "\f3fc";
}

.catalog-list-type .type-list:after {
	font: normal normal normal 20px/1 bootstrap-icons;
	content: "\f606";
}

/* Promotional products */

.catalog-list-promo {
	text-align: center;
	margin: 2rem 0;
}

.catalog-list-promo .header {
	text-align: start;
	border: 0 none;
	font-size: 1.25rem;
	font-weight: bold;
	padding: 0.5rem;
	color: var(--ai-secondary);
}

.catalog-list-promo {
	white-space: nowrap;
	overflow: auto;
	font-size: 90%;
	padding: 0;
}

.catalog-list-promo .product {
	border: none;
}

/* Regular products */

.aimeos:not(.cms-page) .catalog-list-items:not(.swiffy-slider) {
	animation: FadeIn .3s;
}

.catalog-list-items .slider-container {
	overflow-x: hidden;
}

.catalog-list .slider-nav {
    visibility: visible;
}

.product .media-item {
    border-radius: var(--radius-xl);
    background: var(--color-base-200);
}

.catalog-list-items.list .product {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: start;
    width: 100%;
    gap: calc(var(--spacing) * 5);
}

.catalog-list-items.list .product .btn-pin {
    display: none;
}

.catalog-list-items.list .product .btn-action.join-item {
    --join-se: var(--radius-field);
    --join-ee: var(--radius-field);
}

.catalog-list-items.list .product .list-column {
    position: relative;
    min-width: 15rem;
}

.catalog-list-items.list .product > * {
    align-items: flex-start;
}

/* product offer part */

.product .offer {
	margin-top: 0.5rem;
}

/* price list */

.catalog-list-items .price {
	display: none;
}

.catalog-list-items .price-actual {
	display: inline-block;
}

.catalog-list .price-item {
	display: none;
}

.catalog-list-items .price-item:first-of-type {
	display: block;
	font-size: 100%;
	font-weight: bold;
}

/* product attributes */

.catalog-list-items:not(.list) .items-selection,
.catalog-list-items:not(.list) .items-attribute {
	display: none;
}

.catalog-list-items .selection,
.catalog-list-items .attribute {
	color: var(--ai-secondary);
	width: 100%;
	padding: 0;
}

.catalog-list-items .selection,
.catalog-list-items .attribute {
	padding: 0;
}

.catalog-list-items .basket {
	width: 100%;
	direction: unset;
}

.catalog-list-items .basket .items-selection {
	margin-bottom: 1rem;
}

.catalog-list-items .basket .select-attr {
	width: 25%;
}

.catalog-list-items .basket .select-quantity {
	text-align: center;
	width: 15%;
}

.catalog-list-items .basket .select-item {
	margin-bottom: 1rem;
	list-style: none;
}

.catalog-list-items .basket .select-name {
	min-width: 5rem;
	font-weight: bold;
}

.catalog-list-items .basket .select-hint {
	font-size: 80%;
	min-width: 5rem;
}

.catalog-list-items .basket ul.select-list {
	padding: 0;
}

.catalog-list-items .basket li.select-entry {
	list-style: none;
}

.catalog-list-items .basket .input .select-entry {
	margin: 0.1rem 0;
}

.catalog-list-items .basket .radio li.select-entry {
	display: inline-block;
	margin: 0;
}

.catalog-list-items .basket .radio input.select-option {
	display: none;
}

.catalog-list-items .basket .select-label {
	width: calc(100% - 4rem);
	font-weight: normal;
	margin-bottom: 0;
}

.catalog-list-items .basket .select-label > span {
	padding: 0 0.25rem;
	min-width: 1.5rem;
}

.catalog-list-items .basket .radio .select-label {
	border: 1px solid var(--ai-tertiary);
	padding: 0.525rem;
	text-align: center;
	min-width: 2.5rem;
	width: auto;
}

.catalog-list-items .basket .selection input[type=number] {
	border-bottom: 1px solid var(--ai-secondary);
	text-align: center;
	padding: 0;
}

.catalog-list-items .basket .media-item {
	display: inline-block;
	line-height: 0;
	padding: 0;
	margin: 0;
}

.catalog-list-items .basket .media-item + span {
	display: none;
}

.catalog-list-items .basket .error {
	color: var(--ai-danger);
}

.catalog-list-items .basket .error select {
	border: 1px solid var(--ai-danger);
}

.catalog-list-items .addbasket {
	margin: 0.2rem 0 1.4rem 0;
}

[dir="rtl"] .catalog-list-items .addbasket {
	direction: rtl;
}

.catalog-list-items .addbasket input[type="number"] {
	width: 3rem;
}

.catalog-list-items .addbasket .btn-primary:before {
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-6"><path d="M2.25 2.25a.75.75 0 0 0 0 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 0 0-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 0 0 0-1.5H5.378A2.25 2.25 0 0 1 7.5 15h11.218a.75.75 0 0 0 .674-.421 60.358 60.358 0 0 0 2.96-7.228.75.75 0 0 0-.525-.965A60.864 60.864 0 0 0 5.68 4.509l-.232-.867A1.875 1.875 0 0 0 3.636 2.25H2.25ZM3.75 20.25a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM16.5 20.25a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"></path></svg>');
    content: '';
    width: 1.4rem;
    height: 1.4rem;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    background-color: var(--color-primary-content);
}

.catalog-list-items .form-tr {
    display: flex;
    position: absolute;
    right: calc(5% - .3rem);
    top: calc(3% - .5rem);
    z-index: 1;
}

/*.catalog-list-items form.favorite .add:before {*/
/*    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"><path stroke-linecap="round" stroke-linejoin="round" d="M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z" /></svg>');*/
/*    content: '';*/
/*    width: 1.5rem;*/
/*    height: 1.5rem;*/
/*    background-position: center center;*/
/*    background-repeat: no-repeat;*/
/*    -webkit-print-color-adjust: exact;*/
/*    color-adjust: exact;*/
/*    background-color: var(--color-base-content);*/
/*}*/


.catalog-list-items form .delete {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-6"><path fill-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z" clip-rule="evenodd" /></svg>');
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: 2rem;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    background-color: var(--color-base-content);
    padding: 1rem;
    cursor: pointer;
}

.catalog-list-items form.favorite .delete {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-6"><path d="m11.645 20.91-.007-.003-.022-.012a15.247 15.247 0 0 1-.383-.218 25.18 25.18 0 0 1-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0 1 12 5.052 5.5 5.5 0 0 1 16.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 0 1-4.244 3.17 15.247 15.247 0 0 1-.383.219l-.022.012-.007.004-.003.001a.752.752 0 0 1-.704 0l-.003-.001Z" /></svg>');
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: 2rem;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    background-color: var(--color-base-content);
    padding: 1rem;
    cursor: pointer;
}


.catalog-list-items form.favorite .delete:before {

}

.catalog-list-items .addbasket .btn-pin:before {
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"><path stroke-linecap="round" stroke-linejoin="round" d="M17.593 3.322c1.1.128 1.907 1.077 1.907 2.185V21L12 17.25 4.5 21V5.507c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0Z" /></svg>');
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    background-color: var(--color-base-content);
}

.catalog-list-items .addbasket .btn-pin.active:before {
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-6"><path fill-rule="evenodd" d="M6.32 2.577a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93V21a.75.75 0 0 1-1.085.67L12 18.089l-7.165 3.583A.75.75 0 0 1 3.75 21V5.507c0-1.47 1.073-2.756 2.57-2.93Z" clip-rule="evenodd" /></svg>');
    background-position: center center;
    background-repeat: no-repeat;
}
