
	.pk-widget {
	position: relative;
	z-index: 1000;
}

/* Gumb za prikaz */
.pk-widget .pk-toggle {
	cursor: pointer;
	padding: 10px 15px;
	background: #000;
	color: #fff;
	border: none;
}
.pk-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px; /* razmik med ikono in besedilom */
	font-size: 16px;
	line-height: 1.2;
}
.pk-toggle svg,
.pk-toggle i {
	display: inline-block;
	vertical-align: middle;
}
button.pk-toggle {
    font-family: 'Open Sans';
    gap: 0;
}

/* Overlay čez cel zaslon */
.pk-widget .pk-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	display: none;
}

/* Stranska košarica */
.pk-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  height: 100vh;
  background: #F9F9F9;
  z-index: 9999;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Ključ: izklopi drugi scroll */
}
@media (max-width: 768px) {
  .pk-sidebar {
    width: 90%;
  }
}
.pk-sidebar.open {
    width: 400px;
	transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    background-color: #Ffff;
    box-shadow: -4px 0px 15px 0px #0000001F;

}
.pk-sidebar-footer {
  flex-shrink: 0;
  padding: 24px;
  background: #F9F9F9;
}
.pk-sidebar .brezplacna-dostava.dosezena {
    margin-top: 12px;
}

/* Header */
.pk-header {
    margin: 0 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 0; /* po želji */
	border-bottom: 1px solid #ddd;
}
.pk-header h4 {
	margin: 0 !important;
	font-size: 28px !important;
    line-height: 40px !important;
	color: #212121 !important;
	font-weight: 500 !important;
}

.pk-widget .pk-close {
    color: #333 !important;
	font-size: 40px;
    font-weight: 400;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
}

/* Container */

.pk-widget .sidebar-cart-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Cart item */
.pk-widget .cart-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
	padding-bottom: 15px;
}

/* Slika */
.pk-widget .cart-thumb {
    padding-left: 10px;
	position: relative;
	width: 100px;
	flex-shrink: 0;
}

.pk-widget .cart-thumb img {
	width: 60px !important;
	height: 60px;
    object-fit: contain;
	display: block;
    padding-left: 12px;
}

/* Remove gumb */
.pk-widget .remove-item {
    z-index: 9;
	margin:0 !important;
    position: absolute;
	top: 20px !important;
    padding: 0;
	left: 0;
	background: none;
	border: none;
	font-size: 30px;
	cursor: pointer;
	line-height: 1;
}

/* Detajli */
.pk-widget .cart-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.pk-widget .cart-title {
	font-weight: bold;
	font-size: 14px;
	line-height: 1.3;
	margin-bottom: 5px;
}

.pk-widget .cart-title a {
    text-decoration: none;
    color: #333;
    font-family: 'DM Sans';
    font-size: 16px;
    font-weight: 700;
}

.pk-widget .cart-price {
	color: #444;
	font-size: 14px;
	margin-bottom: 5px;
}

.pk-widget .cart-qty-row {
	display: flex;
	align-items: center;
	gap: 0;
	font-size: 13px;
}

.pk-widget .qty-btn {
	background: #eee;
	border: 1px solid #ccc;
	padding: 2px 8px;
	cursor: pointer;
}

.pk-widget .qty-val {
    font-size: 14px;
    font-weight: 400;
	min-width: 20px;
	text-align: center;
	display: inline-block;
}

.pk-widget .line-total {
    font-size: 14px;
    font-weight: 400 !important;
	margin-left: auto;
}

/* Skupaj */
.pk-widget .cart-total {
	margin-top: 4px;
	font-weight: 600;
	font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-total .total-label {
    color: #333;
    font-weight: 700;
    font-size: 16px;
}

.cart-total .pk-total {
    color: #333;
    font-weight: 700;
    font-size: 16px;
}

/* Gumb na košarico */
.pk-widget .pk-btn {
    width: 100%;
    font-family: 'DM Sans';
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: 99px;
	display: inline-flex;
	margin-top: 10px;
	padding: 8px 15px;
	background: #28A745;
	color: #fff;
	text-decoration: none;
    gap: 12px;
}
.pk-widget .pk-btn:hover {
	background: #28813C;
    color:#fff !important;
}
.pk-btn-icon {
	width: 26px;
	height: auto;
	display: inline-block;
}

/* (Dodatno če uporabljaš ločen container za remove) */
.pk-widget .cart-remove {
	flex-shrink: 0;
	padding-top: 4px;
}
.pk-body-scroll {
  padding: 24px;
  /*overflow-y: auto;
  flex: 1 1 auto;*/ /* Omogoči scroll samo sredi */
  /*background-color: #F9F9F9 !important;*/
}

.pk-toggle--icon {
    background: none;
    border: none;
    padding: 0;
}

.pk-icon-wrapper {
    position: relative;
    display: inline-block;
}

.pk-count-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: red;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
    min-width: 18px;
    text-align: center;
    font-weight: bold;
}

.pk-toggle--text .pk-count-badge {
    display: none;
}
.pk-toggle--icon {
	background: transparent;
	border: none;
	padding: 0;
}

.pk-count-badge {
	position: absolute;
	top: -8px !important;
	right: -8px !important;
	background: #689F38 !important;
	color: white;
	border-radius: 50%;
	font-size: 11px;
	min-width: 18px;
	line-height: 1;
	text-align: center;
	padding: 3px 2px !important;
	white-space: nowrap;
	z-index: 999;
}
.pk-icon-wrapper {
	position: relative;
	display: inline-block;
    background-color: transparent;
    font-size: 10px !important;
    font-family: 'Open Sans';
}
.pk-widget .cart-price del .woocommerce-Price-amount {
	color: #D32F2F !important;
	font-weight: 400 !important;
	text-decoration: line-through;
}

.pk-widget .cart-price > span .woocommerce-Price-amount {
	color: #212121 !important;
	font-weight: 700 !important;
}
span.pk-total {
    font-family: 'DM Sans';
    font-size: 16px;
    font-weight: 400;
    
}
.kolicina {
    padding: 5px 10px;
    border: 1px solid #E5D8C8 !important;
    border-radius: 99px;
}
.pk-widget .qty-btn {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.line-total {
    color: #333; /* barva za število */
    font-weight: normal;
}

.line-total .woocommerce-Price-amount {
    color: #E54242; /* barva za ceno */
    font-weight: bold;
}
.kam-related .products {
    display: flex !important;
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.kam-related .product {
    display: flex;
    flex: 0 0 auto;
    width: 280px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    gap: 10px;
    align-items: flex-start;
}

.kam-related .product-left img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.kam-related .product-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.kam-related .product-right h5 {
    margin: 0 0 5px;
    font-size: 14px;
}

.kam-related .price-row {
    font-size: 14px;
    margin-bottom: 8px;
}

.kam-related .button {
    font-size: 13px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #008CBA;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.pk-sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.pk-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pk-body-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-cart-scroll {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#pk-related-in-cart {
    margin-top: 20px;
}

.pk-sidebar-footer {
    padding: 0 24px;
    background-color: #fff;
    flex-shrink: 0;
}
.pk-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.pk-rating-icon {
    width: 18px;
    height: auto;
}
div#pk-related-in-cart {
    padding: 24px 24px;
}

#pk-related-in-cart .kam-related ul.products {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

#pk-related-in-cart .kam-related ul.products li.product {
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    align-items: flex-start;
}

#pk-related-in-cart .product-left {
    flex-shrink: 0;
    width: 84px;
}

#pk-related-in-cart .product-left img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

#pk-related-in-cart .product-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#pk-related-in-cart .product-right h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #333 !important;
}
.price-row ins .woocommerce-Price-amount {
    color: #E54242;
    font-weight: 700;
    text-decoration: none !important;
}
.kam-related-wrapper .price-row ins .woocommerce-Price-amount bdi {
  text-decoration: none !important;
}
ins {
	text-decoration: none !important;
}

.kam-related-wrapper .price-row ins .woocommerce-Price-amount,
.kam-related-wrapper .price-row ins bdi {
	text-decoration: none !important;
}


.price-row del .woocommerce-Price-amount {
    color: #333; /* siva za prečrtano ceno */
    font-weight: 400;
}

#pk-related-in-cart .price-row {
    font-size: 13px;
    margin-bottom: 8px;
}

#pk-related-in-cart .button.add_to_cart_button {
    background: #28A745 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 6px 10px !important;
    border-radius: 99px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
}
#pk-related-in-cart .kam-cart-icon {
    width: 18px;
    height: auto;
    display: inline-block;
    margin:0;
}
/*///////////////////////////////////*/
#pk-related-in-cart .kam-related > ul.products {
    all: unset; /* resetira vse dedovane stile */
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

#pk-related-in-cart .kam-related > ul.products > li.product {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 0;
    margin-bottom: 0;
    box-sizing: border-box;
    background-color: transparent;
    border:none;
}

#pk-related-in-cart .product-left {
    width: 84px;
    flex-shrink: 0;
}

#pk-related-in-cart .product-left img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

#pk-related-in-cart .product-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

#pk-related-in-cart .product-right h5 {
    font-size: 14px;
    margin: 0 0 6px;
    color: #222;
    line-height: 1.4;
}

#pk-related-in-cart .price-row {
    font-size: 13px;
    margin-bottom: 6px;
}

#pk-related-in-cart .button.add_to_cart_button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 13px;
    background: #008CBA;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

#pk-related-in-cart .button.add_to_cart_button .kam-cart-icon {
    width: 18px;
    height: auto;
}
.cart-discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
}

.cart-discount .discount-label,
.cart-discount .pk-discount {
    color: #333;
    font-size: 16px;
    font-weight: 400;
}
.zakljucek-link{
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    color: #333;
    margin-top: 4px;
    font-family: 'DM Sans';
}
.zakljucek-link a{
    color: #333 !important;
}
@media (max-width: 767px) {
  .pk-sidebar {
    width: 320px !important;
  }
  div#pk-related-in-cart,
 .pk-sidebar-footer {
    padding:16px;
  }
  .pk-header {
    margin: 0 16px;
    padding: 0;
  }
}


.pk-toggle.pk-toggle--text:hover .pk-total {
  color: #28A745;
}

