/*!
 * AFH Storefront - classy cart (drawer + cart page)
 * Palette: ink #1c1a16 · gold #b8923e · cream #fbf7ef
 */

:root{
	--afh-ink:#1c1a16;
	--afh-ink-soft:#55524c;
	--afh-ink-mute:#8a857c;
	--afh-gold:#b8923e;
	--afh-gold-dark:#9a7830;
	--afh-gold-tint:#f6efe0;
	--afh-cream:#fbf7ef;
	--afh-sand:#f3ece0;
	--afh-line:#e8e1d4;
	--afh-line-soft:#f1ece3;
	--afh-white:#fff;
	--afh-shadow-sm:0 2px 12px rgba(28,26,22,.05);
	--afh-shadow:0 26px 60px -34px rgba(28,26,22,.4);
	--afh-ease:cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================================
   1. Cart drawer (Modern Cart)
   ========================================================================== */

#moderncart-slide-out-modal{
	font-family:'Lexend',sans-serif;
	color:var(--afh-ink);
	-webkit-font-smoothing:antialiased;
}

.moderncart-modal-backdrop{
	background:rgba(20,18,15,.42)!important;
	-webkit-backdrop-filter:blur(2px);
	backdrop-filter:blur(2px);
}

#moderncart-slide-out-modal .moderncart-modal-wrap{
	background:var(--afh-white);
	box-shadow:-24px 0 60px -30px rgba(20,18,15,.45);
	transition-duration:.22s!important;
}

#moderncart-slide-out-modal .moderncart-panel{
	display:flex;
	flex-direction:column;
	height:100%;
	min-height:0;
}

/* Header */
#moderncart-slide-out-modal .moderncart-slide-out-header{
	padding:18px 22px;
	border-bottom:1px solid var(--afh-line);
	background:var(--afh-white);
	flex:0 0 auto;
}

#moderncart-slide-out-modal .moderncart-slide-out-header-heading{
	display:flex;
	align-items:center;
	gap:10px;
	margin:0;
	padding:0;
	min-width:0;
}

#moderncart-slide-out-modal .moderncart-slide-out-header-title{
	order:1;
	flex:0 0 auto;
	width:auto;
	min-width:0;
	margin:0;
	font-size:0;
	line-height:1;
}

#moderncart-slide-out-modal .moderncart-slide-out-header-title > span{
	font-size:0!important;
	letter-spacing:0;
	color:var(--afh-ink);
}

#moderncart-slide-out-modal .moderncart-slide-out-header-title > span::after{
	content:"Your cart";
	font-size:16px;
	font-weight:600;
	letter-spacing:.01em;
	color:var(--afh-ink);
}

#moderncart-slide-out-modal .moderncart-slide-out-header-quantity{
	order:2;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:24px;
	height:22px;
	padding:0 8px;
	border-radius:999px;
	background:var(--afh-gold-tint);
	color:var(--afh-gold-dark);
	font-size:12px;
	font-weight:600;
	line-height:1;
}

#moderncart-slide-out-modal .moderncart-slide-out-header-close{
	order:3;
	margin-left:auto;
	width:36px;
	height:36px;
	padding:0;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border:1px solid var(--afh-line);
	border-radius:50%;
	background:var(--afh-white);
	color:var(--afh-ink);
	cursor:pointer;
	transition:background-color .16s var(--afh-ease),border-color .16s var(--afh-ease),transform .16s var(--afh-ease);
}

#moderncart-slide-out-modal .moderncart-slide-out-header-close:hover{
	background:var(--afh-cream);
	border-color:var(--afh-gold);
	transform:rotate(90deg);
}

#moderncart-slide-out-modal .moderncart-slide-out-header-close svg{
	width:14px;
	height:14px;
}

/* Scroll area */
#moderncart-slide-out-modal .moderncart-slide-out-cart{
	flex:1 1 auto;
	min-height:0;
	overflow-y:auto;
	-webkit-overflow-scrolling:touch;
	scrollbar-width:thin;
	scrollbar-color:var(--afh-line) transparent;
}

#moderncart-slide-out-modal .moderncart-slide-out-cart::-webkit-scrollbar{width:6px}
#moderncart-slide-out-modal .moderncart-slide-out-cart::-webkit-scrollbar-thumb{background:var(--afh-line);border-radius:999px}

#moderncart-slide-out-modal .moderncart-slide-out-cart-inner{
	padding:4px 22px;
}

/* Items */
#moderncart-slide-out-modal .moderncart-cart-item{
	padding:20px 0;
	border-bottom:1px solid var(--afh-line-soft);
}

#moderncart-slide-out-modal .moderncart-cart-item:last-child{
	border-bottom:0;
}

#moderncart-slide-out-modal .moderncart-cart-item-container{
	display:grid;
	grid-template-columns:82px minmax(0,1fr);
	gap:14px;
	align-items:start;
}

#moderncart-slide-out-modal .moderncart-cart-item-image img{
	width:82px;
	height:96px;
	object-fit:cover;
	object-position:center top;
	border-radius:10px;
	background:var(--afh-sand);
	display:block;
}

#moderncart-slide-out-modal .moderncart-cart-item-product{
	min-width:0;
	display:flex;
	flex-direction:column;
	gap:6px;
}

#moderncart-slide-out-modal .moderncart-cart-item__details{
	margin:0;
}

#moderncart-slide-out-modal .moderncart-cart-item-product-name{
	margin:0;
	font-size:14px;
	line-height:1.45;
	font-weight:500;
	letter-spacing:.005em;
}

#moderncart-slide-out-modal .moderncart-cart-item-product-link a{
	color:var(--afh-ink);
	text-decoration:none;
	transition:color .16s var(--afh-ease);
}

#moderncart-slide-out-modal .moderncart-cart-item-product-link a:hover{
	color:var(--afh-gold-dark);
}

#moderncart-slide-out-modal .moderncart-cart-item-actions--pricing{
	margin:0;
}

#moderncart-slide-out-modal .moderncart-price{
	font-size:13px;
	color:var(--afh-ink-soft);
	letter-spacing:.01em;
}

#moderncart-slide-out-modal .moderncart-cart-item-actions-remove{
	align-self:flex-start;
	margin:2px 0 0;
	padding:0;
	border:0;
	background:none;
	font-family:inherit;
	font-size:10.5px;
	font-weight:500;
	letter-spacing:.1em;
	text-transform:uppercase;
	color:var(--afh-ink-mute);
	text-decoration:underline;
	text-underline-offset:3px;
	cursor:pointer;
	transition:color .16s var(--afh-ease);
}

#moderncart-slide-out-modal .moderncart-cart-item-actions-remove:hover{
	color:#a4362c;
}

/* Quantity + actions row */
#moderncart-slide-out-modal .moderncart-cart-item-actions{
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin-top:12px;
	gap:12px;
}

#moderncart-slide-out-modal .moderncart-cart-item-quantity{
	display:inline-flex;
	align-items:center;
	border:1px solid var(--afh-line);
	border-radius:999px;
	background:var(--afh-white);
	overflow:hidden;
	transition:border-color .16s var(--afh-ease);
}

#moderncart-slide-out-modal .moderncart-cart-item-quantity:hover{
	border-color:var(--afh-gold);
}

#moderncart-slide-out-modal .moderncart-cart-item-quantity button{
	width:34px;
	height:34px;
	padding:0;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border:0;
	background:transparent;
	cursor:pointer;
	transition:background-color .16s var(--afh-ease);
}

#moderncart-slide-out-modal .moderncart-cart-item-quantity button:hover{
	background:var(--afh-cream);
}

#moderncart-slide-out-modal .moderncart-cart-item-quantity button svg{
	width:12px;
	height:12px;
}

#moderncart-slide-out-modal .moderncart-cart-item-quantity button svg path{
	fill:var(--afh-ink)!important;
}

#moderncart-slide-out-modal .moderncart-quantity__input{
	width:34px;
	height:34px;
	padding:0;
	border:0;
	background:transparent;
	text-align:center;
	font-family:inherit;
	font-size:13px;
	font-weight:600;
	color:var(--afh-ink);
	-moz-appearance:textfield;
}

#moderncart-slide-out-modal .moderncart-quantity__input::-webkit-outer-spin-button,
#moderncart-slide-out-modal .moderncart-quantity__input::-webkit-inner-spin-button{
	-webkit-appearance:none;
	margin:0;
}

/* Empty state */
#moderncart-slide-out-modal .moderncart-empty-cart{
	padding:56px 0 44px;
	text-align:center;
}

#moderncart-slide-out-modal .moderncart-empty-cart p{
	margin:10px 0 0;
	font-size:13.5px;
	line-height:1.6;
	color:var(--afh-ink-mute);
}

/* Footer */
#moderncart-slide-out-modal .moderncart-slide-out-footer{
	flex:0 0 auto;
	padding:16px 22px calc(18px + env(safe-area-inset-bottom));
	border-top:1px solid var(--afh-line);
	background:var(--afh-white);
}

#moderncart-slide-out-modal .moderncart-have-coupon-code-area{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	margin:0 0 14px;
	padding:10px 14px;
	border:1px dashed var(--afh-line);
	border-radius:10px;
	background:var(--afh-cream);
	cursor:pointer;
	transition:border-color .16s var(--afh-ease);
}

#moderncart-slide-out-modal .moderncart-have-coupon-code-area:hover{
	border-color:var(--afh-gold);
}

#moderncart-slide-out-modal .moderncart-have-coupon-code{
	font-size:12.5px;
	letter-spacing:.02em;
	color:var(--afh-ink-soft);
}

#moderncart-slide-out-modal .moderncart-slide-out-coupon{
	margin:0 0 14px;
}

#moderncart-slide-out-modal .moderncart-coupon-form{
	display:flex;
	gap:8px;
}

#moderncart-slide-out-modal .moderncart-slide-out-coupon-input{
	flex:1 1 auto;
	min-width:0;
	height:42px;
	padding:0 12px;
	border:1px solid var(--afh-line);
	border-radius:10px;
	background:var(--afh-white);
	font-family:inherit;
	font-size:13px;
	color:var(--afh-ink);
}

#moderncart-slide-out-modal .moderncart-slide-out-coupon-form-button{
	height:42px;
	padding:0 16px;
	border:0;
	border-radius:10px;
	background:var(--afh-ink);
	color:#fff;
	font-family:inherit;
	font-size:11.5px;
	font-weight:600;
	letter-spacing:.1em;
	text-transform:uppercase;
	cursor:pointer;
	transition:background-color .16s var(--afh-ease);
}

#moderncart-slide-out-modal .moderncart-slide-out-coupon-form-button:hover{
	background:var(--afh-gold-dark);
}

#moderncart-slide-out-modal .moderncart-cart-line-items-item{
	display:flex;
	align-items:baseline;
	justify-content:space-between;
	gap:14px;
	padding:4px 0;
	font-size:13px;
	color:var(--afh-ink-soft);
}

#moderncart-slide-out-modal .moderncart-cart-line-items-label{
	font-weight:400;
}

#moderncart-slide-out-modal .moderncart-cart-line-items-value{
	font-weight:500;
	color:var(--afh-ink);
}

#moderncart-slide-out-modal .moderncart-cart-line-items__total{
	margin-top:8px;
	padding-top:12px;
	border-top:1px solid var(--afh-line);
	font-size:15px;
	color:var(--afh-ink);
	font-weight:600;
}

#moderncart-slide-out-modal .moderncart-cart-line-items__total .moderncart-cart-line-items-value{
	font-size:17px;
	font-weight:600;
}

#moderncart-slide-out-modal .wc-proceed-to-checkout{
	padding:12px 0 0;
}

#moderncart-slide-out-modal .wc-proceed-to-checkout .checkout-button{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	min-height:50px;
	padding:0 18px;
	border-radius:10px;
	background:var(--afh-ink);
	color:#fff!important;
	font-family:inherit;
	font-size:12px;
	font-weight:600;
	letter-spacing:.12em;
	text-transform:uppercase;
	text-decoration:none!important;
	transition:background-color .18s var(--afh-ease),transform .18s var(--afh-ease);
}

#moderncart-slide-out-modal .wc-proceed-to-checkout .checkout-button:hover{
	background:var(--afh-gold-dark);
	transform:translateY(-1px);
}

#moderncart-slide-out-modal .wc-proceed-to-checkout .afh-view-cart-btn{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	box-sizing:border-box;
	margin:8px 0 0;
	padding:12px 16px;
	border:1px solid var(--afh-line);
	border-radius:10px;
	background:transparent;
	color:var(--afh-ink)!important;
	font-size:11.5px;
	font-weight:600;
	letter-spacing:.1em;
	text-transform:uppercase;
	text-decoration:none!important;
	transition:border-color .16s var(--afh-ease),background-color .16s var(--afh-ease);
}

#moderncart-slide-out-modal .wc-proceed-to-checkout .afh-view-cart-btn:hover,
#moderncart-slide-out-modal .wc-proceed-to-checkout .afh-view-cart-btn:focus{
	background:var(--afh-cream);
	border-color:var(--afh-gold);
	color:var(--afh-ink)!important;
	text-decoration:none!important;
}

#moderncart-slide-out-modal .wc-proceed-to-checkout .afh-view-cart-btn:focus-visible{
	outline:2px solid var(--afh-gold);
	outline-offset:2px;
}

#moderncart-slide-out-modal .moderncart-slide-out-footer::after{
	content:"Secure checkout · Nationwide delivery";
	display:block;
	margin-top:12px;
	text-align:center;
	font-size:10.5px;
	letter-spacing:.12em;
	text-transform:uppercase;
	color:var(--afh-ink-mute);
}

/* Empty drawer */
#moderncart-slide-out-modal .moderncart-slide-out-cart-empty{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	min-height:46vh;
}

#moderncart-slide-out-modal .moderncart-empty-cart{
	display:flex;
	flex-direction:column;
	align-items:center;
	padding:0 0 24px;
	text-align:center;
}

#moderncart-slide-out-modal .moderncart-empty-cart > span:empty{
	display:none;
}

#moderncart-slide-out-modal .afh-empty-title{
	margin:0 0 8px;
	font-size:18px;
	font-weight:600;
	letter-spacing:.005em;
	color:var(--afh-ink);
}

#moderncart-slide-out-modal .moderncart-empty-cart p{
	max-width:250px;
	margin:0;
	font-size:13px;
	line-height:1.65;
	color:var(--afh-ink-mute);
}

#moderncart-slide-out-modal .afh-empty-cta{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:46px;
	margin-top:20px;
	padding:0 28px;
	border-radius:10px;
	background:var(--afh-ink);
	color:#fff!important;
	font-size:11px;
	font-weight:600;
	letter-spacing:.14em;
	text-transform:uppercase;
	text-decoration:none!important;
	transition:background-color .18s var(--afh-ease),transform .18s var(--afh-ease);
}

#moderncart-slide-out-modal .afh-empty-cta:hover{
	background:var(--afh-gold-dark);
	transform:translateY(-1px);
}

#moderncart-slide-out-modal:has(.moderncart-slide-out-cart-empty) .moderncart-slide-out-footer,
#moderncart-slide-out-modal.afh-cart-empty .moderncart-slide-out-footer{
	display:none!important;
}

/* Keep the add-to-cart pending row on-brand */
#moderncart-slide-out-modal .afh-pending-item{
	opacity:.6;
}

@media (max-width:480px){
	#moderncart-slide-out-modal .moderncart-slide-out-header{padding:16px 18px}
	#moderncart-slide-out-modal .moderncart-slide-out-cart-inner{padding:2px 18px}
	#moderncart-slide-out-modal .moderncart-slide-out-footer{padding:14px 18px calc(16px + env(safe-area-inset-bottom))}
	#moderncart-slide-out-modal .moderncart-cart-item-container{grid-template-columns:74px minmax(0,1fr);gap:12px}
	#moderncart-slide-out-modal .moderncart-cart-item-image img{width:74px;height:88px}
}

/* Specificity guards against Modern Cart's own rules */
#moderncart-slide-out-modal #moderncart-slide-out .moderncart-slide-out-header-close{
	width:36px!important;
	height:36px!important;
	max-width:36px!important;
	max-height:36px!important;
	min-width:36px!important;
	border-radius:50%!important;
	padding:0!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-slide-out-header-close svg{
	width:15px!important;
	height:15px!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-image{
	width:82px!important;
	min-width:82px!important;
	max-width:82px!important;
	margin-right:0!important;
	height:96px!important;
	border-radius:10px!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-image img{
	width:82px!important;
	height:96px!important;
	max-width:82px!important;
	border-radius:10px!important;
	object-fit:cover!important;
	object-position:center top!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-quantity{
	border-radius:999px!important;
	overflow:hidden!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-quantity button{
	border-radius:0!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .wc-proceed-to-checkout .checkout-button{
	background-color:var(--afh-ink)!important;
	color:#fff!important;
	border-radius:10px!important;
	min-height:50px!important;
	font-size:12px!important;
	letter-spacing:.12em!important;
	text-transform:uppercase!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .wc-proceed-to-checkout .checkout-button:hover{
	background-color:var(--afh-gold-dark)!important;
}

/* Horizontal quantity stepper (Modern Cart renders it stacked by default) */
#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-quantity{
	display:inline-flex!important;
	flex-direction:row!important;
	flex-wrap:nowrap!important;
	grid-template-columns:none!important;
	grid-template-rows:none!important;
	align-items:center!important;
	justify-content:center!important;
	width:auto!important;
	height:36px!important;
	min-height:0!important;
	max-height:none!important;
	padding:0 2px!important;
	gap:0!important;
	background:var(--afh-white)!important;
	transition:border-color .16s var(--afh-ease);
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-quantity.afh-qty-pending{
	border-color:var(--afh-gold)!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-quantity .quantity__button--down{
	order:1!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-quantity .moderncart-quantity__input{
	order:2!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-quantity .quantity__button--up{
	order:3!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-quantity button{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	width:30px!important;
	height:30px!important;
	min-height:0!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	background:transparent!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-quantity button:disabled{
	opacity:.28!important;
	cursor:default!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-quantity .moderncart-quantity__input{
	width:32px!important;
	height:30px!important;
	min-height:0!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	background:transparent!important;
	text-align:center!important;
	font-size:13px!important;
	font-weight:600!important;
	color:var(--afh-ink)!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-actions{
	align-self:center;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-actions-remove{
	font-size:10.5px!important;
	letter-spacing:.1em!important;
	text-transform:uppercase!important;
	color:var(--afh-ink-mute)!important;
	background:transparent!important;
	border:0!important;
	padding:0!important;
}

#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-actions-remove:hover{
	color:#a4362c!important;
}

@media (max-width:480px){
	#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-image{
		width:74px!important;
		min-width:74px!important;
		max-width:74px!important;
		height:88px!important;
	}

	#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-image img{
		width:74px!important;
		height:88px!important;
		max-width:74px!important;
	}
}

/* ==========================================================================
   2. Cart page (/cart/)
   ========================================================================== */

body.woocommerce-cart{
	background:var(--afh-cream);
}

body.woocommerce-cart .site-content .ast-container{
	max-width:1240px;
}

body.woocommerce-cart .entry-content .entry-title,
body.woocommerce-cart .entry-content .page-title,
body.woocommerce-cart .entry-content .elementor-widget-heading .elementor-heading-title{
	margin:0 0 22px;
	font-size:clamp(26px,3.4vw,34px)!important;
	font-weight:600;
	letter-spacing:-.01em;
	line-height:1.2;
	color:var(--afh-ink);
}

/* Two-column shell */
@media (min-width:1100px){
	body.woocommerce-cart .woocommerce{
		display:grid;
		grid-template-columns:minmax(0,1fr) 340px;
		gap:32px;
		align-items:start;
	}

	body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
	body.woocommerce-cart .woocommerce > .woocommerce-message,
	body.woocommerce-cart .woocommerce > .woocommerce-info,
	body.woocommerce-cart .woocommerce > .woocommerce-error,
	body.woocommerce-cart .woocommerce > .cross-sells{
		grid-column:1/-1;
	}

	body.woocommerce-cart .woocommerce > .woocommerce-cart-form{
		grid-column:1;
	}

	body.woocommerce-cart .woocommerce > .cart-collaterals{
		grid-column:2;
	}
}

/* Cart card */
body.woocommerce-cart form.woocommerce-cart-form{
	background:var(--afh-white);
	border:1px solid var(--afh-line);
	border-radius:18px;
	padding:4px 24px;
	box-shadow:var(--afh-shadow-sm);
}

body.woocommerce-cart table.shop_table,
body.woocommerce-cart table.shop_table tbody{
	display:block;
	border:0;
	border-collapse:separate;
	margin:0;
}

body.woocommerce-cart table.shop_table thead{
	display:none;
}

body.woocommerce-cart table.shop_table tr{
	display:block;
}

body.woocommerce-cart table.shop_table tr.woocommerce-cart-form__cart-item{
	display:grid;
	grid-template-columns:84px minmax(0,1fr) 108px 104px 28px;
	grid-template-areas:
		"thumb name qty subtotal remove"
		"thumb price qty subtotal remove";
	grid-template-rows:auto auto;
	align-items:center;
	column-gap:16px;
	row-gap:2px;
	padding:22px 0;
	border-bottom:1px solid var(--afh-line-soft);
}

body.woocommerce-cart table.shop_table tr.woocommerce-cart-form__cart-item:last-child{
	border-bottom:0;
}

body.woocommerce-cart table.shop_table td{
	display:block;
	border:0;
	padding:0;
}

body.woocommerce-cart table.shop_table td::before{
	display:none;
}

body.woocommerce-cart .product-thumbnail{
	grid-area:thumb;
	width:84px;
	max-width:84px;
	padding:0!important;
}

body.woocommerce-cart .product-thumbnail a{
	display:block;
	line-height:0;
}

body.woocommerce-cart .product-thumbnail img{
	width:84px!important;
	height:96px!important;
	object-fit:cover;
	object-position:center top;
	border-radius:12px;
	background:var(--afh-sand);
	display:block;
}

body.woocommerce-cart .product-name{
	grid-area:name;
	align-self:end;
	min-width:0;
	font-size:15px;
	line-height:1.5;
	font-weight:500;
	color:var(--afh-ink);
}

body.woocommerce-cart .product-name a{
	color:var(--afh-ink);
	text-decoration:none;
	transition:color .16s var(--afh-ease);
}

body.woocommerce-cart .product-name a:hover{
	color:var(--afh-gold-dark);
}

body.woocommerce-cart .product-price{
	grid-area:price;
	align-self:start;
	white-space:nowrap;
	font-size:12.5px;
	color:var(--afh-ink-mute);
}

body.woocommerce-cart .product-quantity{
	grid-area:qty;
}

body.woocommerce-cart .product-subtotal{
	grid-area:subtotal;
	white-space:nowrap;
	text-align:right;
	font-size:15px;
	font-weight:600;
	color:var(--afh-ink);
}

body.woocommerce-cart .product-remove{
	grid-area:remove;
	text-align:center;
}

body.woocommerce-cart a.remove{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:28px;
	height:28px;
	border:0;
	border-radius:50%;
	background:transparent;
	color:var(--afh-ink-mute)!important;
	transition:background-color .16s var(--afh-ease),color .16s var(--afh-ease);
}

body.woocommerce-cart a.remove:hover{
	background:#fbeceb;
	color:#a4362c!important;
}

body.woocommerce-cart a.remove svg{
	width:14px;
	height:14px;
}

/* Quantity stepper (cart page) */
body.woocommerce-cart .quantity{
	display:inline-flex;
	align-items:center;
	border:1px solid var(--afh-line);
	border-radius:999px;
	background:var(--afh-white);
	overflow:hidden;
	transition:border-color .16s var(--afh-ease);
}

body.woocommerce-cart .quantity:hover{
	border-color:var(--afh-gold);
}

body.woocommerce-cart .quantity .afh-qty-btn{
	width:32px;
	height:36px;
	padding:0;
	border:0;
	background:transparent;
	color:var(--afh-ink);
	font-size:16px;
	line-height:1;
	cursor:pointer;
	transition:background-color .16s var(--afh-ease);
}

body.woocommerce-cart .quantity .afh-qty-btn:hover{
	background:var(--afh-cream);
}

body.woocommerce-cart .quantity .afh-qty-btn:disabled{
	opacity:.35;
	cursor:default;
	background:transparent;
}

body.woocommerce-cart .quantity .qty{
	width:38px;
	height:36px;
	padding:0;
	border:0;
	background:transparent;
	text-align:center;
	font-family:inherit;
	font-size:13px;
	font-weight:600;
	color:var(--afh-ink);
	-moz-appearance:textfield;
}

body.woocommerce-cart .quantity .qty::-webkit-outer-spin-button,
body.woocommerce-cart .quantity .qty::-webkit-inner-spin-button{
	-webkit-appearance:none;
	margin:0;
}

/* Actions row */
body.woocommerce-cart td.actions{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	padding:20px 0 22px;
	border-top:1px solid var(--afh-line-soft);
}

body.woocommerce-cart td.actions .coupon{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	flex:1 1 300px;
}

body.woocommerce-cart td.actions .coupon label{
	display:none;
}

body.woocommerce-cart #coupon_code{
	width:auto;
	min-width:190px;
	flex:1 1 190px;
	height:44px;
	padding:0 14px;
	border:1px solid var(--afh-line);
	border-radius:10px;
	background:var(--afh-white);
	font-family:inherit;
	font-size:13px;
	color:var(--afh-ink);
	transition:border-color .16s var(--afh-ease);
}

body.woocommerce-cart #coupon_code:focus{
	border-color:var(--afh-gold);
	outline:none;
	box-shadow:0 0 0 3px rgba(184,146,62,.16);
}

body.woocommerce-cart td.actions .button{
	height:44px;
	padding:0 18px;
	border:1px solid var(--afh-line);
	border-radius:10px;
	background:var(--afh-white);
	color:var(--afh-ink);
	font-family:inherit;
	font-size:11.5px;
	font-weight:600;
	letter-spacing:.1em;
	text-transform:uppercase;
	cursor:pointer;
	transition:background-color .16s var(--afh-ease),border-color .16s var(--afh-ease),color .16s var(--afh-ease);
}

body.woocommerce-cart td.actions .button:hover{
	background:var(--afh-cream);
	border-color:var(--afh-gold);
}

body.woocommerce-cart td.actions .button:disabled{
	opacity:.4;
	cursor:default;
}

body.woocommerce-cart td.actions .button[name="update_cart"]{
	background:var(--afh-ink);
	border-color:var(--afh-ink);
	color:#fff;
}

body.woocommerce-cart td.actions .button[name="update_cart"]:hover{
	background:var(--afh-gold-dark);
	border-color:var(--afh-gold-dark);
}

body.woocommerce-cart td.actions .button[name="update_cart"]:disabled{
	background:var(--afh-white);
	border-color:var(--afh-line);
	color:var(--afh-ink-mute);
}

/* Summary card */
body.woocommerce-cart .cart-collaterals{
	position:sticky;
	top:96px;
}

body.woocommerce-cart .cart-collaterals .cart_totals{
	background:var(--afh-white);
	border:1px solid var(--afh-line);
	border-radius:18px;
	padding:26px 26px 24px;
	box-shadow:var(--afh-shadow-sm);
}

/* Card heading, mirroring the footer column headings */
body.woocommerce-cart .cart-collaterals .cart_totals h2{
	position:relative;
	margin:0 0 22px;
	padding:15px 0 0;
	border:0!important;
	font-size:16px;
	line-height:1.3;
	font-weight:700;
	letter-spacing:.16em;
	text-transform:uppercase;
	color:var(--afh-ink);
}

body.woocommerce-cart .cart_totals h2::before{
	content:"";
	position:absolute;
	top:0;
	left:0;
	width:26px;
	height:2px;
	background:var(--afh-gold);
}

body.woocommerce-cart .cart_totals table.shop_table{
	display:block;
	border:0;
	margin:0;
}

body.woocommerce-cart .cart_totals tr{
	display:flex;
	align-items:baseline;
	justify-content:space-between;
	gap:20px;
	padding:9px 0;
	border:0;
}

body.woocommerce-cart .cart-collaterals .cart_totals th{
	padding:0;
	border:0!important;
	font-size:13px;
	line-height:1.5;
	font-weight:400;
	color:var(--afh-ink-soft);
	text-align:left;
	width:auto;
}

body.woocommerce-cart .cart-collaterals .cart_totals td{
	padding:0;
	border:0!important;
	text-align:right;
	font-size:13.5px;
	line-height:1.5;
	color:var(--afh-ink);
	white-space:nowrap;
}

body.woocommerce-cart .cart_totals td::before{
	display:none;
}

/* Shipping: quiet label, chosen option in a bordered block */
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals{
	display:block;
	padding:18px 0 4px;
}

body.woocommerce-cart .cart-collaterals .cart_totals tr.woocommerce-shipping-totals th{
	display:block;
	border:0!important;
	margin:0 0 9px;
	font-size:10.5px;
	font-weight:600;
	letter-spacing:.14em;
	text-transform:uppercase;
	color:var(--afh-ink-mute);
}

body.woocommerce-cart .cart-collaterals .cart_totals tr.woocommerce-shipping-totals td{
	display:block;
	border:0!important;
	width:100%;
	text-align:left;
	white-space:normal;
}

body.woocommerce-cart .afh-ship-summary{
	display:block;
	margin:0;
}

body.woocommerce-cart .afh-ship-toggle{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:14px;
	width:100%;
	box-sizing:border-box;
	margin:0;
	padding:12px 14px;
	border:1px solid var(--afh-line);
	border-radius:12px;
	background:var(--afh-white);
	font-family:inherit;
	text-align:left;
	cursor:pointer;
	transition:border-color .16s var(--afh-ease);
}

body.woocommerce-cart .afh-ship-toggle:hover{
	border-color:var(--afh-gold);
}

body.woocommerce-cart .afh-ship-toggle .afh-ship-current{
	flex:1 1 auto;
	font-size:12.5px;
	line-height:1.55;
	font-weight:500;
	letter-spacing:0;
	text-transform:none;
	color:var(--afh-ink);
}

body.woocommerce-cart .afh-ship-toggle .afh-ship-current .woocommerce-Price-amount{
	display:inline-block;
	margin-left:2px;
	font-weight:600;
	white-space:nowrap;
}

body.woocommerce-cart .afh-ship-toggle .afh-ship-change{
	flex:0 0 auto;
	margin-top:2px;
	font-size:10px;
	font-weight:600;
	letter-spacing:.12em;
	text-transform:uppercase;
	color:var(--afh-gold-dark);
	text-decoration:underline;
	text-underline-offset:3px;
	white-space:nowrap;
}

/* The radio list, only when "Change" is open */
body.woocommerce-cart .afh-ship-closed #shipping_method{
	display:none;
}

body.woocommerce-cart .afh-ship-open #shipping_method{
	display:flex;
	flex-direction:column;
	gap:0;
	margin:8px 0 0;
	padding:6px 14px;
	max-height:220px;
	overflow-y:auto;
	border:1px solid var(--afh-line);
	border-radius:12px;
	background:var(--afh-cream);
}

body.woocommerce-cart #shipping_method{
	margin:0;
	padding:0;
	list-style:none;
}

body.woocommerce-cart #shipping_method li{
	margin:0;
	padding:9px 0;
	border-bottom:1px solid rgba(28,26,22,.06);
	list-style:none;
	font-size:12.5px;
	line-height:1.5;
	color:var(--afh-ink-soft);
	text-align:left;
	text-indent:0;
}

body.woocommerce-cart #shipping_method li:last-child{
	border-bottom:0;
}

body.woocommerce-cart #shipping_method li label{
	display:inline;
	cursor:pointer;
	line-height:1.55;
}

body.woocommerce-cart #shipping_method li input[type="radio"]{
	margin:0 7px 0 0;
	accent-color:var(--afh-gold-dark);
}

/* Covered areas disclosure */
body.woocommerce-cart .afh-ship-areas{
	margin:10px 0 0;
	padding:0;
	border:1px solid var(--afh-line-soft);
	border-radius:12px;
	background:var(--afh-cream);
	font-size:12px;
	line-height:1.6;
	color:var(--afh-ink-mute);
}

body.woocommerce-cart .afh-ship-areas summary{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	padding:11px 14px;
	border:0;
	font-size:11.5px;
	line-height:1.5;
	letter-spacing:0;
	color:var(--afh-ink-soft);
	cursor:pointer;
	list-style:none;
	text-decoration:none;
}

body.woocommerce-cart .afh-ship-areas summary::-webkit-details-marker{
	display:none;
}

body.woocommerce-cart .afh-ship-areas summary::before{
	display:none;
}

body.woocommerce-cart .afh-ship-areas summary::after{
	content:"+";
	flex:0 0 auto;
	font-size:14px;
	line-height:1;
	color:var(--afh-gold-dark);
}

body.woocommerce-cart .afh-ship-areas[open] summary::after{
	content:"\2212";
}

body.woocommerce-cart .afh-ship-areas-body{
	margin:0;
	padding:2px 14px 14px;
	border:0;
	background:transparent;
	max-height:210px;
	overflow-y:auto;
}

body.woocommerce-cart .afh-ship-areas-body p{
	margin:0 0 12px;
	font-size:12px;
	line-height:1.7;
}

body.woocommerce-cart .afh-ship-areas-body p:last-child{
	margin-bottom:0;
}

body.woocommerce-cart .afh-ship-areas-body strong{
	display:block;
	margin-bottom:2px;
	font-weight:600;
	color:var(--afh-ink);
}

/* Destination + address calculator */
body.woocommerce-cart .woocommerce-shipping-destination{
	margin:14px 0 0;
	font-size:12px;
	line-height:1.6;
	color:var(--afh-ink-mute);
}

body.woocommerce-cart .woocommerce-shipping-destination strong{
	font-weight:600;
	color:var(--afh-ink);
}

body.woocommerce-cart .shipping-calculator-button{
	display:inline-block;
	margin-top:6px;
	font-size:10.5px;
	font-weight:600;
	letter-spacing:.12em;
	text-transform:uppercase;
	color:var(--afh-gold-dark);
	text-decoration:underline;
	text-underline-offset:3px;
}

body.woocommerce-cart .shipping-calculator-button:hover{
	color:var(--afh-ink);
}

body.woocommerce-cart .shipping-calculator-form{
	margin-top:12px;
	padding:14px;
	border:1px solid var(--afh-line);
	border-radius:12px;
	background:var(--afh-white);
}

body.woocommerce-cart .shipping-calculator-form p{
	margin:0 0 10px;
}

body.woocommerce-cart .shipping-calculator-form p:last-child{
	margin-bottom:0;
}

body.woocommerce-cart .shipping-calculator-form label{
	display:block;
	margin-bottom:4px;
	font-size:11px;
	letter-spacing:.04em;
	color:var(--afh-ink-soft);
}

body.woocommerce-cart .shipping-calculator-form select,
body.woocommerce-cart .shipping-calculator-form input[type="text"]{
	width:100%;
	height:42px;
	padding:0 12px;
	border:1px solid var(--afh-line);
	border-radius:10px;
	background:var(--afh-white);
	font-family:inherit;
	font-size:13px;
	color:var(--afh-ink);
}

body.woocommerce-cart .shipping-calculator-form .button{
	height:42px;
	padding:0 20px;
	border:0;
	border-radius:10px;
	background:var(--afh-ink);
	color:#fff;
	font-size:11px;
	font-weight:600;
	letter-spacing:.12em;
	text-transform:uppercase;
}

body.woocommerce-cart .shipping-calculator-form .button:hover{
	background:var(--afh-gold-dark);
}

/* Total */
body.woocommerce-cart .cart_totals tr.order-total{
	margin-top:18px;
	padding-top:18px;
	border-top:1px solid var(--afh-line);
	align-items:center;
}

body.woocommerce-cart .cart-collaterals .cart_totals tr.order-total th{
	border:0!important;
	font-size:11px;
	font-weight:600;
	letter-spacing:.14em;
	text-transform:uppercase;
	color:var(--afh-ink-mute);
}

body.woocommerce-cart .cart_totals tr.order-total td{
	font-size:21px;
	font-weight:600;
	letter-spacing:-.01em;
	color:var(--afh-ink);
}

/* Checkout CTA */
body.woocommerce-cart .wc-proceed-to-checkout{
	padding:22px 0 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	min-height:54px;
	padding:0 20px;
	border-radius:12px;
	background:var(--afh-ink);
	color:#fff;
	font-family:inherit;
	font-size:12px;
	font-weight:600;
	letter-spacing:.14em;
	text-transform:uppercase;
	text-decoration:none;
	transition:background-color .18s var(--afh-ease),transform .18s var(--afh-ease);
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
	background:var(--afh-gold-dark);
	transform:translateY(-1px);
}

body.woocommerce-cart .cart_totals::after{
	content:"Secure checkout · Nationwide delivery";
	display:block;
	margin-top:14px;
	text-align:center;
	font-size:10.5px;
	letter-spacing:.12em;
	text-transform:uppercase;
	color:var(--afh-ink-mute);
}

/* Notices */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error{
	border:1px solid var(--afh-line);
	border-top-width:1px;
	border-radius:12px;
	background:var(--afh-white);
	color:var(--afh-ink);
	font-size:13.5px;
	padding:14px 18px;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before{
	color:var(--afh-gold-dark);
}

/* Empty cart page */
body.woocommerce-cart .cart-empty{
	font-size:15px;
	color:var(--afh-ink-soft);
}

body.woocommerce-cart .return-to-shop{
	margin-top:14px;
}

body.woocommerce-cart .return-to-shop a.button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:48px;
	padding:0 26px;
	border-radius:10px;
	background:var(--afh-ink);
	color:#fff;
	font-size:12px;
	font-weight:600;
	letter-spacing:.12em;
	text-transform:uppercase;
	text-decoration:none;
	transition:background-color .18s var(--afh-ease);
}

body.woocommerce-cart .return-to-shop a.button:hover{
	background:var(--afh-gold-dark);
}

/* Cross sells */
body.woocommerce-cart .cross-sells{
	margin-top:34px;
}

body.woocommerce-cart .cross-sells > h2{
	font-size:13px;
	letter-spacing:.14em;
	text-transform:uppercase;
	color:var(--afh-ink-soft);
	font-weight:600;
	margin:0 0 16px;
}

/* Mobile */
@media (max-width:1099px){
	body.woocommerce-cart .woocommerce{
		display:block;
	}

	body.woocommerce-cart .cart-collaterals{
		position:static;
		margin-top:24px;
	}
}

@media (max-width:767px){
	body.woocommerce-cart form.woocommerce-cart-form{
		padding:2px 16px;
		border-radius:16px;
	}

	body.woocommerce-cart table.shop_table tr.woocommerce-cart-form__cart-item{
		grid-template-columns:76px minmax(0,1fr) auto;
		grid-template-areas:
			"thumb name remove"
			"thumb price remove"
			"qty qty subtotal";
		column-gap:14px;
		row-gap:4px;
		padding:18px 0;
	}

	body.woocommerce-cart .product-thumbnail{
		align-self:start;
		width:76px;
		max-width:76px;
	}

	body.woocommerce-cart .product-thumbnail img{
		width:76px!important;
		height:88px!important;
	}

	body.woocommerce-cart .product-name{
		align-self:end;
	}

	body.woocommerce-cart .product-thumbnail img{
		width:76px;
		height:88px;
	}

	body.woocommerce-cart .product-price{
		margin-top:2px;
	}

	body.woocommerce-cart .product-quantity{
		margin-top:10px;
		justify-self:start;
	}

	body.woocommerce-cart .product-subtotal{
		margin-top:10px;
		align-self:center;
	}

	body.woocommerce-cart .product-remove{
		align-self:start;
	}

	body.woocommerce-cart td.actions{
		padding:16px 0 18px;
	}

	body.woocommerce-cart .cart-collaterals .cart_totals{
		padding:20px;
		border-radius:16px;
	}
}

@media (max-width:480px){
	body.woocommerce-cart table.shop_table tr.woocommerce-cart-form__cart-item{
		grid-template-columns:64px minmax(0,1fr) auto;
		column-gap:12px;
	}

	body.woocommerce-cart .product-thumbnail{
		width:64px;
		max-width:64px;
	}

	body.woocommerce-cart .product-thumbnail img{
		width:64px!important;
		height:76px!important;
	}

	body.woocommerce-cart .product-name{
		font-size:14px;
	}

	body.woocommerce-cart .product-subtotal{
		font-size:14px;
	}

	body.woocommerce-cart .quantity .afh-qty-btn{
		width:28px;
	}

	body.woocommerce-cart .quantity .qty{
		width:32px;
	}
}


/* ==========================================================================
   Phones: compact drawer and a quantity row that never sits on the price
   ========================================================================== */
@media (max-width: 480px){
	#moderncart-slide-out-modal .moderncart-slide-out-header{padding:14px 16px}
	#moderncart-slide-out-modal .moderncart-slide-out-header-title > span::after{font-size:15px}
	#moderncart-slide-out-modal .moderncart-slide-out-cart-inner{padding:2px 16px}
	#moderncart-slide-out-modal .moderncart-slide-out-footer{padding:14px 16px calc(16px + env(safe-area-inset-bottom))}

	#moderncart-slide-out-modal .moderncart-cart-item{
		flex-wrap:wrap;
		align-items:flex-start;
		padding:16px 0;
	}
	#moderncart-slide-out-modal .moderncart-cart-item-container{
		flex:1 1 100%;
		width:100%;
		box-sizing:border-box;
		padding:0!important;
	}
	#moderncart-slide-out-modal .moderncart-cart-item-actions{
		flex:0 0 100%;
		width:100%;
		box-sizing:border-box;
		margin-top:10px;
		padding-left:84px;
		align-self:flex-start;
		justify-content:flex-start!important;
	}
	#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-image{
		width:72px!important;
		min-width:72px!important;
		max-width:72px!important;
		height:84px!important;
	}
	#moderncart-slide-out-modal #moderncart-slide-out .moderncart-cart-item-image img{
		width:72px!important;
		height:84px!important;
		max-width:72px!important;
	}
	#moderncart-slide-out-modal .moderncart-cart-item-product-name{font-size:13.5px}
	#moderncart-slide-out-modal .moderncart-price{font-size:12.5px;white-space:nowrap}
	#moderncart-slide-out-modal .moderncart-cart-item-actions-remove{margin-top:0}
}
