/* Tab'ai */

.ptg-tabs {
	display: flex;
	gap: 12px;
	margin-bottom: 28px;
	justify-content: center;
}

.ptg-tab {
	border: 1px solid #e5e5e5;
	background: #ffffff;
	color: #222222;
	border-radius: 999px;
	padding: 10px 22px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.ptg-tab:hover,
.ptg-tab.active {
	background: #111111;
	color: #ffffff;
	border-color: #111111;
}




/* Bendri */

.ptg-wrapper {
	width: 100%;
}

.ptg-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
}


.ptg-card-top {
	padding: 8px;
}

.ptg-card-bottom {
	padding: 0 8px 8px 8px;
	gap: 8px;
}


.ptg-card-bottom {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ptg-products {
	min-height: 200px;
}

.ptg-panel {
	display: none;
}

.ptg-panel.active {
	display: block;
}

.ptg-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-template-rows: repeat(2, auto);
	gap: 24px;
}

.ptg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: #ffffff;
	border: 1px solid #F3F3F3;
	border-radius: 12px;
	padding: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	box-shadow: 0px 0px 16px 0px #00000014;
}

.ptg-image {
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	margin-bottom: 10px;
}

.ptg-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.ptg-image {
	position: relative;
}

.ptg-title {
	min-height: 42px;
	margin-top: 0;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 700 !important;
	color: #080808 !important;
}
.ptg-title:hover{
	color: #F36D21 !important;
}

/* Kainos */

.ptg-price {
	margin-top: auto;
	font-size: 15px;
	font-weight: 700;
	color: #111111;
	text-decoration: none !important;
}


.ptg-price ins {
	text-decoration: none;
}


/* Ženkliukai */

.ptg-badges {
	position: absolute;
	display: flex;
	gap: 8px;
	z-index: 2;
	font-family: "Wix Madefor Display", sans-serif;
}

.ptg-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 19px;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 12px;
	color: #ffffff;
}

.ptg-badge-sale {
	background: #f47a20;
}

.ptg-badge-new {
	background: #1f2c3d;
}

/* Širdutė */

.ptg-wishlist {
	position: absolute;
	top: -12px;
	right: 0;
	z-index: 3;
}

.ptg-wishlist .yith-wcwl-add-to-wishlist-button {
	width: 28px !important;
	height: 28px !important;
	padding: 0 !important;
	border: none !important;
	outline: none !important;
	background: #ffffff !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
}

.ptg-wishlist .yith-wcwl-add-to-wishlist-button:hover,
.ptg-wishlist .yith-wcwl-add-to-wishlist-button:focus {
	border: none !important;
	outline: none !important;
}

.ptg-wishlist .yith-wcwl-icon {
	width: 18px !important;
	height: 18px !important;
	display: block !important;
}

.ptg-wishlist .yith-wcwl-add-to-wishlist-button-anchor-wrapper {
	width: 28px !important;
	height: 28px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.ptg-wishlist .yith-wcwl-add-to-wishlist-button__label {
	display: none !important;
}


/* Į krepšelį */

.ptg-add-to-cart {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	margin-top: 8px;
	border-radius: 8px;
	background: #232F3E;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: 0.2s ease;
	
}

.ptg-add-to-cart:hover {
	background: #F36D21;
	color: #ffffff;
}

.ptg-add-to-cart__success {
    display: none;
}

.ptg-add-to-cart.added .ptg-add-to-cart__text {
    display: none;
}

.ptg-add-to-cart.added .ptg-add-to-cart__success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

a.added_to_cart.wc-forward {
    display: none !important;
}

.ptg-add-to-cart.added > svg {
    display: none;
}

/* įvertinimas */

.ptg-stars {
	display: flex;
	gap: 4px;
}

.ptg-star svg {
	width: 16px;
	height: 16px;
}

.ptg-star.filled svg path {
	fill: #9C9C9C;
}

.ptg-star.empty svg path {
	fill: transparent;
	stroke: #9C9C9C;
	stroke-width: 1;
}

.ptg-rating {
	display: flex;
	align-items: center;
}

.ptg-stars {
	margin-right: auto;
}

.ptg-rating-label {
	margin-right: 4px;
}

.ptg-rating-label {
	font-family: "Wix Madefor Display", sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #9C9C9C;
}

.ptg-rating-number {
	font-family: "Wix Madefor Display", sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #080808;
}

/* Kaina */

.ptg-price-box {
	display: flex;
	align-items: stretch;
	margin-top: auto;
	padding-top: 8px;
}

.ptg-price-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ptg-price-col + .ptg-price-col {
	border-left: 1px solid #E6E6E6;
	padding-left: 5px;
	margin-left: 5px;
	align-items: flex-end;
	text-align: right;
}

.ptg-price-label {
    font-family: "Wix Madefor Display", sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	color: #080808;
}

.ptg-price-label span {
	color: #F36D21;
}

.ptg-price-value {
    font-family: "Wix Madefor Display", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: #080808;
}

.ptg-plus-price .ptg-price-value {
	color: #F36D21;
}

.ptg-price-box.no-sale .ptg-regular-price {
	padding-left: 0;
	margin-left: 0;
	border-left: none;
}


@media (max-width: 767px) {

	.ptg-tabs {
		justify-content: flex-start;
		overflow-x: auto;
		gap: 12px;
		margin-bottom: 32px;
		padding: 0 16px;
		scrollbar-width: none;
	}

	.ptg-tabs::-webkit-scrollbar {
		display: none;
	}

	.ptg-tab {
		flex: 0 0 auto;
		border: none;
		background: #F4F4F4;
		border-radius: 999px;
		padding: 8px 24px;
		font-size: 18px;
		font-weight: 400;
		color: #393939;
	}

	.ptg-tab.active {
		background: #232F3E;
		color: #ffffff;
	}

	.ptg-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
	}

	.ptg-card {
		border-radius: 14px;
		padding: 10px;
	}

	.ptg-card-top,
	.ptg-card-bottom {
		padding: 0;
	}

	.ptg-image {
		margin-bottom: 8px;
	}

	.ptg-title {
		font-size: 14px;
		line-height: 1.4;
		font-weight: 700 !important;
	
	}

	.ptg-rating-label {
		display: none;
	}
	
	.ptg-star {
	display: flex;
	align-items: center;
}

.ptg-star svg {
	width: 8px;
	height: 8px;
	display: block;
}

	.ptg-price-box {
		flex-direction: column;
		gap: 8px;
	}

	.ptg-price-col + .ptg-price-col {
		border-left: none;
		border-top: 1px solid #E6E6E6;
		padding-left: 0;
		padding-top: 8px;
		margin-left: 0;
		align-items: flex-start;
		text-align: left;
	}

	.ptg-price-label {
		font-size: 12px;
	}
	
	.ptg-rating {
	align-items: center;
}

	.ptg-price-value {
		font-size: 14px;
	}

	.ptg-add-to-cart {
		height: 36px;
		font-size: 14px;
		margin-top: 8px;
	}
	
	.ptg-badges {
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
}