/* ==========================================================
   Yooker Cart — Figma design node 431-343
   ========================================================== */

/* ── Cart wrapper & two-column layout ─────────────────────── */
.ykr-cart-wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

.ykr-cart-content {
	display: flex;
	flex-direction: row;
	gap: 40px;
	align-items: flex-start;
}

.ykr-cart-left {
	flex: 1 1 0;
	min-width: 0;
}

.ykr-cart-right {
	flex: 0 0 450px;
	width: 450px;
}

/* ── Cart title ───────────────────────────────────────────── */
.ykr-cart-title {
	font-size: 24px;
	font-weight: 500;
	line-height: 31px;
	color: #000;
	margin-bottom: 24px;
}

.ykr-cart-count {
	font-size: 20px;
	font-weight: 500;
	color: #ccc;
	margin-left: 4px;
}

/* ── Cart table ───────────────────────────────────────────── */
.ykr-cart-table,
.us-woo-cart_compact .woocommerce .shop_table.cart {
	width: 100% !important;
	border-collapse: collapse;
}

.ykr-cart-table thead tr {
	border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.ykr-cart-table thead th {
	padding-bottom: 8px;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 26px;
	color: #000;
	background: transparent !important;
}

.ykr-cart-table .col-product  { text-align: left; }
.ykr-cart-table .col-price    { text-align: center; width: 100px; padding-left: 24px; padding-right: 24px; }
.ykr-cart-table .col-qty      { text-align: right;  width: 150px; padding-left: 24px; padding-right: 24px; }
.ykr-cart-table .col-subtotal { text-align: right;  width: 100px; padding-left: 24px; }

/* ── Cart rows ────────────────────────────────────────────── */
.ykr-cart-table tbody tr.cart_item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ykr-cart-table tbody tr.cart_item:last-of-type {
	border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.ykr-cart-table tbody td {
	padding: 16px 0;
	vertical-align: middle;
	background: transparent !important;
	border: none;
}

/* Product cell */
.ykr-product-cell {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ykr-product-img {
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	overflow: hidden;
	border-radius: 4px;
}

.ykr-product-img img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	display: block;
}

.ykr-product-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ykr-product-name,
.ykr-product-name a {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 26px;
	color: #000;
	text-decoration: none;
}

.ykr-product-sku {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 26px;
	color: #000;
}

/* Price / subtotal cells */
.col-price .woocommerce-Price-amount,
td.col-price {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #000;
	text-align: center;
}

.col-subtotal .woocommerce-Price-amount,
td.col-subtotal {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #000;
	text-align: right;
}

/* Quantity cell */
.ykr-qty-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

/* Trash / remove icon */
.ykr-remove {
	display: flex;
	align-items: center;
	color: #616161;
	text-decoration: none;
	transition: color .15s;
}
.ykr-remove:hover { color: #e53e3e; }
.ykr-remove .fa   { font-size: 14px; }

/* ── Quantity stepper (pill: − qty +) ──────────────────────── */
.ykr-stepper {
	display: inline-flex;
	align-items: center;
	background: #fff;
	border: 2px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	padding: 2px 8px;
	gap: 0;
}

.ykr-stepper input.qty {
	background: transparent;
	border: none;
	outline: none;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	line-height: 26px;
	color: #000;
	text-align: center;
	width: 28px;
	padding: 0 6px;
	-moz-appearance: textfield;
}
.ykr-stepper input.qty::-webkit-inner-spin-button,
.ykr-stepper input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

.ykr-stepper__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: #000;
	line-height: 0;
	transition: color .15s;
    padding: 0.5rem .5rem !important;
    height: -webkit-fill-available;
}
.ykr-stepper__btn .fa   { font-size: 11px; }
.ykr-stepper__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.ykr-cart-table .actions {
	padding: 0;
	border: none;
}

/* ── Update cart button ───────────────────────────────────── */
.ykr-btn-update {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 26px;
	border: none;
	border-radius: 50px;
	padding: 12px 24px;
	margin-top: 24px;
	cursor: pointer;
	opacity: 0.3;
	transition: opacity .2s;
}
.ykr-btn-update:not(:disabled):hover          { opacity: 0.55; }
.ykr-btn-update:not([disabled="disabled"])    { opacity: 1; }

/* ── Sidebar wrapper ──────────────────────────────────────── */
.ykr-sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
    background: unset !important;
    
}

/* ── USPs ─────────────────────────────────────────────────── */
.ykr-usps {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: flex-end;
}

.ykr-usp {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	line-height: 26px;
	color: #000;
	margin: 0;
}

.ykr-usp__icon {
	color: #3fa34f;
	font-size: 14px;
	flex-shrink: 0;
}
.ykr-summary {
	background: linear-gradient(0deg, #F9EFD7 0%, #F9EFD7 100%) !important;
	border: 1px solid var(--color-goud-100, #E7CF9D);
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(10, 13, 18, 0.03), 0 2px 2px rgba(10, 13, 18, 0.04);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ykr-summary__title {
	font-family: 'Poppins', sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 31px;
	color: #1C1917;
	margin: 0;
}

.ykr-summary__rows {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ykr-summary__section {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-bottom: 16px;
	border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.ykr-summary__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	line-height: 26px;
}

.ykr-summary__label { color: #616161; font-weight: 400; }
.ykr-summary__val   { color: #000;    font-weight: 600; }
.ykr-summary__val.ykr-free { color: #3fa34f; }

/* Totaalbedrag row */
.ykr-summary__total {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.ykr-summary__total > div {
	display: flex;
	flex-direction: column;
}

.ykr-summary__total-label {
	font-family: 'Poppins', sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 25px;
	color: #1C1917;
}

.ykr-summary__total-sub {
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	color: #616161;
}

.ykr-summary__total-amount {
	font-family: 'Poppins', sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 25px;
	color: #000;
}
.ykr-summary__total-amount .woocommerce-Price-amount { font: inherit; }

/* ── Checkout button ──────────────────────────────────────── */
.ykr-btn-checkout {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #3fa34f !important;
	color: #fff !important;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 26px;
	border: none;
	border-radius: 50px;
	padding: 12px 24px;
	width: 100%;
	text-decoration: none !important;
	text-align: center;
	transition: background .2s;
	box-sizing: border-box;
}
.ykr-btn-checkout:hover {
	background: #358a41 !important;
	color: #fff !important;
}

/* ── Payment icons row ────────────────────────────────────── */
.ykr-pay-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.ykr-pay-badge {
	display: block;
	flex-shrink: 0;
}

/* ── Free shipping bar ────────────────────────────────────── */
.ykr-freeship {
	background: #d8f2dd;
	border-radius: 6px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ykr-freeship__text {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	line-height: 26px;
	color: #000;
}

.ykr-freeship__icon {
	color: #3fa34f;
	font-size: 20px;
	flex-shrink: 0;
}

.ykr-freeship__track {
	position: relative;
	height: 7px;
	background: #fff;
	border-radius: 50px;
	overflow: hidden;
}

.ykr-freeship__fill {
	position: absolute;
	top: 0; left: 0;
	height: 100%;
	background: #3fa34f;
	border-radius: 50px;
	transition: width .4s ease;
}

/* ── Coupon toggle ────────────────────────────────────────── */
.ykr-coupon {
    background: linear-gradient(0deg, #F9EFD7 0%, #F9EFD7 100%) !important;
    border: 1px solid var(--color-goud-100, #E7CF9D);
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(10, 13, 18, 0.03), 0 2px 2px rgba(10, 13, 18, 0.04);
	padding: 16px 24px;
}

.ykr-coupon__header {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	user-select: none;
	background: none;
	border: none;
	padding: 0;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 25px;
	color: #000;
	text-align: left;
}

.ykr-coupon__arrow-icon { transition: transform .25s; flex-shrink: 0; }
.ykr-coupon[aria-expanded-child] .ykr-coupon__arrow-icon,
.ykr-coupon--open .ykr-coupon__arrow-icon { transform: rotate(45deg); }

.ykr-coupon__body {
	padding-top: 16px;
	display: none;
}
.ykr-coupon__body:not([hidden]) {
	display: block;
}

.ykr-coupon__form {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
}

.ykr-coupon__form input[type="text"] {
	flex: 1 1 auto;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	padding: 8px 12px;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
}

.ykr-btn-coupon {
	flex-shrink: 0;
	color: #fff;
	background-color: #3E61FC;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	font-weight: 700;
	border: none;
	border-radius: 6px;
	padding: 8px 18px;
	cursor: pointer;
	white-space: nowrap;
}
.ykr-btn-coupon:hover { background: #2f4ecc; }

/* ── Cross-sells section ───────────────────────────────────── */
.ykr-crosssells {
	margin-top: 60px;
}

.ykr-crosssells__title {
    margin-bottom: 2rem;
}

.ykr-crosssells__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

/* ── Cross-sell card ──────────────────────────────────────── */
.ykr-cs-card {
	background: linear-gradient(0deg, #F9EFD7 0%, #F9EFD7 100%) !important;
	border-radius: 4px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ykr-cs-card__img-wrap {
	display: block;
	height: 231px;
	overflow: hidden;
	flex-shrink: 0;
}

.ykr-cs-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* card info */
.ykr-cs-card__info {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ykr-cs-card__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ykr-cs-card__cat,
.ykr-cs-card__cat a {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none;
    color: var(--color-goud-500) !important;
    font-family: itc-american-typewriter !important;
}

.ykr-cs-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #212121;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 1rem;
}

.ykr-cs-card__title a {
	color: #212121;
	text-decoration: none;
}

/* price row */
.ykr-cs-card__price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #212121;
}

.ykr-cs-card__prefix { font-size: 16px; }

.ykr-cs-card__price .woocommerce-Price-amount,
.ykr-cs-card__price ins .woocommerce-Price-amount {
	font-size: 16px;
	font-weight: 600;
	color: #212121;
}

.ykr-cs-card__tax {
	font-size: 10px;
	font-weight: 400;
	color: #757575;
	align-self: flex-end;
	line-height: 1.5;
}

/* divider */
.ykr-cs-divider {
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0;
}

/* actions row */
.ykr-cs-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* stock */
.ykr-cs-card__stock {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ykr-cs-stock-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #388e3c;
	flex-shrink: 0;
}

.ykr-cs-stock-label {
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #388e3c;
}

.ykr-cs-card__stock.out-of-stock .ykr-cs-stock-dot  { background: #e53e3e; }
.ykr-cs-card__stock.out-of-stock .ykr-cs-stock-label { color:      #e53e3e; }

/* add-to-cart button */
.ykr-cs-card__atc {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 100px;
	background: #3fa34f;
	color: #fff;
	font-size: 16px;
	text-decoration: none;
	flex-shrink: 0;
	transition: background .15s;
}
.ykr-cs-card__atc:hover { background: #358a41; color: #fff; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1200px) {
	.ykr-crosssells__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 960px) {
	.ykr-cart-content {
		flex-direction: column;
		gap: 40px;
	}
	.ykr-cart-right {
		flex: 1 1 auto;
		width: 100%;
	}
	.ykr-crosssells__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ykr-cart-table .col-price { display: none; }
	.ykr-cart-table .col-subtotal { width: 80px; }
	.ykr-crosssells__grid {
		grid-template-columns: 1fr;
	}
}
