body.woocommerce-cart,
body.woocommerce-cart .site,
body.woocommerce-cart .site-content,
body.woocommerce-cart #primary,
body.woocommerce-cart .content-area,
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .woocommerce-page,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .elementor,
body.woocommerce-cart .elementor-section,
body.woocommerce-cart .elementor-container,
body.woocommerce-cart .elementor-column,
body.woocommerce-cart .elementor-widget-wrap {
	background: transparent !important;
}

.frb-cart-page {
	--frb-gold: #d69a27;
	--frb-gold-dark: #b98218;
	--frb-text-primary: #181512;
	--frb-text-secondary: #756b61;
	--frb-border: #eadcc5;
	--frb-soft-border: rgba(214, 154, 39, 0.22);
	--frb-soft-bg: #fffaf0;
	--frb-header-bg: #f8f6f3;
	background: transparent;
	padding: 18px 20px 28px;
}

h1,
h2,
.frb-cart-summary-title,
.frb-summary-title {
	font-family: "Cormorant Garamond", serif;
}

body.woocommerce-cart,
body.woocommerce-cart table,
body.woocommerce-cart input,
body.woocommerce-cart button,
body.woocommerce-cart .frb-cart,
body.woocommerce-cart .frb-cart-page {
	font-family: "Work Sans", sans-serif;
	color: var(--frb-text-primary);
}

.frb-cart-page *,
.frb-cart-page *::before,
.frb-cart-page *::after {
	box-shadow: none !important;
}

.frb-cart-title {
	margin: 0;
	font-size: clamp(42px, 5vw, 56px);
	font-weight: 500;
	color: var(--frb-text-primary);
}

.frb-cart-layout {
	width: 100%;
}

.frb-cart-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 48px;
	align-items: start;
	max-width: 1280px;
	margin: 0 auto;
}

.frb-cart-left {
	min-width: 0;
}

.frb-cart-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
	width: 100%;
}

.frb-cart-main .woocommerce-cart-form {
	background: transparent;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0;
	box-shadow: none !important;
}

.frb-continue-shopping {
	font-family: "Work Sans", sans-serif;
	font-size: 13px;
	color: #5f554c !important;
	text-decoration: none;
	font-weight: 400;
	white-space: nowrap;
}

.frb-cart-continue {
	margin: 0;
}

.frb-continue-shopping:hover {
	color: var(--frb-gold-dark);
}

.frb-cart-table {
	border: 0 !important;
	margin: 0;
	border-collapse: collapse;
}

.frb-cart-table thead th {
	background: #faf7ef !important;
	color: #5c5146 !important;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 10px 8px;
	border: 0 !important;
	line-height: 1.2;
}

.frb-cart-table thead th:first-child {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.frb-cart-table thead th:last-child {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.frb-cart-table thead th.product-remove,
.frb-cart-table thead th.product-thumbnail {
	color: transparent;
}

.frb-cart-table td {
	vertical-align: middle;
	border: 0 !important;
	border-bottom: 1px solid #eee3d4 !important;
	padding: 24px 8px;
	background: #fffdf8 !important;
}

.frb-cart-table .cart_item td.product-remove {
	width: 28px;
}

.frb-cart-table td.product-remove .remove {
	background: transparent;
	color: var(--frb-text-secondary) !important;
	font-size: 18px;
	width: 24px;
	height: 24px;
	line-height: 23px;
	border: 0;
	font-weight: 400;
}

.frb-cart-table td.product-remove .remove:hover {
	color: #b28a20 !important;
}

.frb-cart-table td.product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 12px !important;
}

.frb-cart-table td.product-name a {
	font-family: "Work Sans", sans-serif;
	color: var(--frb-text-primary);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.25;
	text-decoration: none;
}

.frb-cart-table td.product-name dl.variation {
	margin-top: 8px;
	font-size: 13px;
	color: var(--frb-text-secondary);
}

.frb-cart-table td.product-price,
.frb-cart-table td.product-subtotal {
	font-family: "Work Sans", sans-serif;
	font-weight: 500;
	font-size: 15px;
	color: var(--frb-text-primary);
	white-space: nowrap;
}

.frb-qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1px solid #eadcc5 !important;
	border-radius: 4px;
	padding: 0;
	background: transparent;
	overflow: hidden;
}

.frb-qty .qty {
	width: 38px;
	height: 34px;
	border-radius: 0;
	border: 0 !important;
	border-left: 1px solid #eadcc5 !important;
	border-right: 1px solid #eadcc5 !important;
	background: #fff;
	text-align: center;
	font-size: 14px;
	padding: 0 4px;
	-moz-appearance: textfield;
}

.frb-qty .qty::-webkit-outer-spin-button,
.frb-qty .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.frb-qty-btn {
	width: 30px;
	height: 34px;
	border-radius: 0;
	border: 0;
	background: #fff;
	color: var(--frb-text-secondary);
	font-size: 16px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
}

.frb-qty-btn:hover {
	background: #f8f6f3;
}

.frb-cart-products {
	width: 100%;
}

.frb-cart-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 18px;
	padding-top: 18px !important;
	border-top: 1px solid #eee3d4;
}

.frb-cart-coupon {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 0;
	margin-right: 0;
}

.frb-cart-coupon-input {
	width: 210px !important;
	height: 42px !important;
	padding: 0 14px !important;
	border: 1px solid #eadcc5 !important;
	border-radius: 4px !important;
	background: #fff !important;
	font-family: "Work Sans", sans-serif !important;
	font-size: 13px !important;
	color: #181512 !important;
	box-shadow: none !important;
}

.frb-cart-coupon-input::placeholder {
	color: #b5aaa0 !important;
}

.frb-cart-coupon-button {
	height: 42px !important;
	padding: 0 22px !important;
	border: 1px solid var(--frb-gold) !important;
	border-radius: 4px !important;
	background: transparent !important;
	color: var(--frb-gold-dark) !important;
	font-family: "Work Sans", sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
}

.frb-cart-coupon-button:hover {
	background: #d69a27 !important;
	color: #fff !important;
}

.frb-update-cart {
	border-radius: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #b7a58c !important;
	height: auto;
	padding: 0 0 0 14px !important;
	font-family: "Work Sans", sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	text-decoration: none;
	display: none !important;
}

.frb-update-cart::before {
	content: "↻";
	margin-right: 6px;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-message {
	display: none !important;
}

.frb-cart-toast {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9999;
	background: #f1fbf3;
	border: 1px solid #7bc490;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(39, 103, 56, 0.08);
	padding: 14px 18px;
	font-family: "Work Sans", sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #276738;
	display: flex;
	align-items: center;
	gap: 10px;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 260ms ease, transform 260ms ease;
}

.frb-cart-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.frb-cart-toast-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	border: 1px solid #7bc490;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.frb-cart-summary .frb-summary-sticky {
	position: sticky;
	top: 24px;
	background: #fff !important;
	border-radius: 14px;
	border: 1px solid #eadcc5 !important;
	padding: 26px 24px;
	box-shadow: none;
}

.frb-summary-title {
	margin: 0 0 14px;
	font-size: 34px;
	line-height: 1.1;
	color: var(--frb-text-primary);
}

.frb-cart-summary .cart_totals h2 {
	display: none;
}

.frb-cart-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	font-size: 15px;
	color: var(--frb-text-secondary);
}

.frb-cart-summary-row strong {
	font-weight: 600;
	color: var(--frb-text-primary);
}

.frb-cart-summary-row-total {
	margin-top: 2px;
	padding-top: 14px;
	border-top: 1px solid var(--frb-border);
}

.frb-cart-summary-row-total strong {
	color: var(--frb-gold);
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
	text-align: right;
}

.frb-summary-cta-wrap {
	margin: 18px 0 0;
}

.frb-summary-cta {
	display: block;
	width: 100%;
	background: var(--frb-gold) !important;
	border: 1px solid var(--frb-gold-dark) !important;
	color: #fff !important;
	text-decoration: none;
	text-align: center;
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 16px;
	font-weight: 600;
}

.frb-summary-cta:hover {
	background: var(--frb-gold-dark) !important;
}

.frb-cart-collaterals-hidden {
	display: none !important;
}

.frb-cart-summary .wc-proceed-to-checkout .checkout-button {
	display: none !important;
}

.frb-cart-summary .wc-proceed-to-checkout .checkout-button:hover {
	background: var(--frb-gold-dark) !important;
}

.frb-summary-note {
	margin-top: 8px;
	font-size: 13px;
	color: var(--frb-text-secondary);
}

.frb-mini-guarantees {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
	display: grid;
	gap: 8px;
}

.frb-mini-guarantees li {
	background: var(--frb-soft-bg);
	border: 1px solid var(--frb-border);
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 13px;
	color: var(--frb-text-secondary);
}

.frb-cart-feature {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 22px;
}

.frb-cart-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: #d69a27;
	flex: 0 0 18px;
}

.frb-cart-feature-icon svg {
	width: 18px;
	height: 18px;
}

.frb-cart-feature-text {
	font-family: "Work Sans", sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: var(--frb-text-secondary);
}

@media (max-width: 1024px) {
	.frb-cart-main {
		grid-template-columns: 1fr;
	}

	.frb-cart-summary .frb-summary-sticky {
		position: static;
	}
}

@media (max-width: 767px) {
	.frb-cart-page {
		padding: 16px 12px 90px;
	}

	.frb-cart-heading {
		flex-wrap: wrap;
	}

	.frb-cart-table thead th {
		display: none;
	}

	.frb-cart-table tr.cart_item {
		display: grid;
		grid-template-columns: 24px 76px 1fr;
		grid-template-areas:
			"remove thumb name"
			"remove thumb price"
			"remove thumb qty"
			"remove thumb subtotal";
		gap: 8px 12px;
		padding: 12px 0;
	}

	.frb-cart-table tr.cart_item td {
		border: 0;
		padding: 0;
	}

	.frb-cart-table tr.cart_item td.product-remove {
		grid-area: remove;
		padding-top: 6px;
	}

	.frb-cart-table tr.cart_item td.product-thumbnail {
		grid-area: thumb;
	}

	.frb-cart-table tr.cart_item td.product-name {
		grid-area: name;
	}

	.frb-cart-table tr.cart_item td.product-price {
		grid-area: price;
	}

	.frb-cart-table tr.cart_item td.product-quantity {
		grid-area: qty;
	}

	.frb-cart-table tr.cart_item td.product-subtotal {
		grid-area: subtotal;
	}

	.frb-cart-table tr.cart_item td.product-price::before,
	.frb-cart-table tr.cart_item td.product-quantity::before,
	.frb-cart-table tr.cart_item td.product-subtotal::before {
		content: attr(data-title) ": ";
		display: inline-block;
		font-size: 12px;
		color: #777;
		margin-right: 4px;
	}

	.frb-cart-bottom {
		flex-direction: column;
		align-items: stretch;
	}

	.frb-cart-coupon {
		width: 100%;
	}

	.frb-cart-coupon-input,
	.frb-cart-coupon-button {
		width: 100%;
	}

	.frb-cart-summary .wc-proceed-to-checkout {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		background: #fff;
		padding: 10px 14px;
		border-top: 1px solid #e7dcc2;
	}

	.frb-cart-summary .wc-proceed-to-checkout .checkout-button {
		margin-bottom: 0;
	}

	.frb-cart-toast {
		left: 16px;
		right: 16px;
		bottom: 16px;
	}
}
