/* TEP Slide Cart — Lightweight Drop-in Stylesheet (matches WPC Fly Cart position-01 + style-02) */

@keyframes woofc-spinner {
	to {
		transform: rotate(360deg);
	}
}

/* Pure-CSS close / remove × icon (replaces woofc icon font) */
.woofc-icon-icon10 {
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.woofc-icon-icon10::before {
	content: "\00d7";
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 1.35em;
	line-height: 1;
	display: block;
}

/* Backdrop Overlay */
.woofc-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	transition: opacity 0.3s, visibility 0.3s;
	z-index: 99999998;
	opacity: 0;
	visibility: hidden;
}

/* Drawer Container */
.woofc-area {
	font-size: 14px;
	padding: 0;
	height: 100%;
	max-height: 100%;
	z-index: 99999999;
	opacity: 0;
	visibility: hidden;
	position: fixed;
}

.woofc-area.woofc-slide-no {
	transition: none !important;
}

.woofc-area > div {
	align-self: stretch;
}

.woofc-area * {
	box-sizing: border-box;
}

.woofc-area .woofc-item-data dl,
.woofc-area .woofc-item-data p {
	margin: 0;
}

.woofc-area .woofc-inner {
	width: 100%;
	height: 100%;
	max-height: 100%;
	position: fixed;
	display: flex;
	flex-direction: column;
}

.woofc-area .woofc-area-bot .woofc-data .woofc-data-right,
.woofc-area .woofc-area-bot .woofc-total .woofc-total-right {
	margin-left: 10px;
	font-weight: 700;
}

.woofc-area .woofc-area-bot .woofc-data .woofc-data-right *,
.woofc-area .woofc-area-bot .woofc-total .woofc-total-right * {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

/* Position 01: Right Slide-Out */
.woofc-area.woofc-position-01 {
	top: 0;
	left: 100%;
	width: 100%;
	max-width: 460px;
	box-sizing: border-box;
	text-align: start;
	transform: translate3d(20px, 0, 0);
	transition: all 0.5s;
}

body.woofc-show .woofc-overlay,
body.woofc-show .woofc-area {
	opacity: 1;
	visibility: visible;
}

body.woofc-show .woofc-area.woofc-position-01,
.woofc-area.woofc-position-01.woofc-slide-no {
	transform: translate3d(-100%, 0, 0);
}

.woofc-hide {
	display: none !important;
}

/* Loading Spinner (pure CSS — zero icon font) */
.woofc-area .woofc-inner.woofc-inner-loading::before {
	content: "";
	display: block;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	margin-left: -13px;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 97;
	border: 2.5px solid rgba(34, 34, 34, 0.2);
	border-top-color: #222222;
	border-radius: 50%;
	animation: woofc-spinner 0.7s linear infinite;
}

.woofc-area .woofc-inner.woofc-inner-loading::after {
	content: "";
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.7);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 96;
}

/* Style 02: Clean White Drawer */
.woofc-area.woofc-style-02 .woofc-inner {
	background-color: #ffffff;
}

/* Top Bar */
.woofc-area.woofc-style-02 .woofc-area-top {
	height: 48px;
	line-height: 48px;
	padding: 0 60px 0 20px;
	position: relative;
	text-transform: uppercase;
	color: #222222;
	font-weight: 700;
	background-color: #eeeeee;
	flex-shrink: 0;
}

.woofc-area.woofc-style-02 .woofc-area-top .woofc-area-heading {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.woofc-area-count {
	margin-left: 5px;
}

.woofc-area-count::before {
	content: "(";
}

.woofc-area-count::after {
	content: ")";
}

.woofc-area.woofc-style-02 .woofc-area-top .woofc-close {
	position: absolute;
	top: 50%;
	right: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 20px;
	color: #222222;
	text-align: center;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
}

/* Mid Scrollable Area (native sleek scrollbar) */
.woofc-area.woofc-style-02 .woofc-area-mid {
	flex-grow: 1;
	position: relative;
	margin: 0 0 20px 0;
	padding: 10px 0 0 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.woofc-area.woofc-style-02 .woofc-area-mid::-webkit-scrollbar {
	width: 6px;
}

.woofc-area.woofc-style-02 .woofc-area-mid::-webkit-scrollbar-track {
	background: transparent;
}

.woofc-area.woofc-style-02 .woofc-area-mid::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}

/* Undo Banner (positioned above subtotal so product list never shifts) */
.woofc-area .woofc-undo {
	padding: 0 20px;
	margin: 0 0 12px 0;
}

.woofc-area .woofc-undo .woofc-undo-inner {
	padding: 10px 15px;
	border: 1px dashed #222222;
	color: #222222;
	background: none;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.woofc-area .woofc-undo .woofc-undo-inner a {
	color: #222222;
	text-decoration: underline;
	outline: none;
	white-space: nowrap;
}

/* Notices */
.woofc-area .woofc-area-mid .woofc-notices {
	padding: 0 20px;
	margin: 0 0 10px 0;
}

.woofc-area .woofc-area-mid .woofc-notices .woocommerce-message,
.woofc-area .woofc-area-mid .woofc-notices .woocommerce-info,
.woofc-area .woofc-area-mid .woofc-notices .woocommerce-error {
	margin: 0;
	padding: 10px 15px 10px 40px;
	border-radius: 0;
	background: none;
	border: 1px dashed #222222;
	color: #222222;
	position: relative;
}

.woofc-area .woofc-area-mid .woofc-notices .woocommerce-message::before,
.woofc-area .woofc-area-mid .woofc-notices .woocommerce-info::before,
.woofc-area .woofc-area-mid .woofc-notices .woocommerce-error::before {
	position: absolute;
	top: 10px;
	left: 15px;
	color: #222222;
}

/* Cart Items */
.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item {
	padding: 0 20px;
	margin: 0;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item:first-child .woofc-item-inner {
	border-top: none;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item a {
	text-decoration: none;
	outline: none;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner {
	padding: 10px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background-color: #ffffff;
	border-top: 1px dashed #eeeeee;
	margin: 0;
	position: relative;
	transition: all 0.5s;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-thumb {
	width: 80px;
	flex: 0 0 80px;
	margin-right: 10px;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-thumb img {
	width: 100%;
	height: auto;
	float: left;
	margin: 0;
	padding: 0;
	box-shadow: none;
	border-radius: 0;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info {
	flex-grow: 1;
	margin-right: 10px;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 5px;
	line-height: 1.2;
	color: #222222;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-title a {
	text-decoration: none;
	color: #222222;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-data {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: 5px;
	display: block;
	white-space: pre-line;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price {
	display: block;
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price del {
	color: #999999;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price ins {
	background: none;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price span {
	font-size: 12px !important;
	font-weight: 400 !important;
}

/* Quantity Input */
.woofc-area .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .quantity {
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.woofc-area .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .quantity input {
	margin: 0 !important;
}

.woofc-area .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .plus,
.woofc-area .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .minus,
.woofc-area .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .increase,
.woofc-area .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .decrease {
	display: none !important;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner {
	position: relative;
	text-align: center;
	display: flex;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner input {
	width: 30px;
	height: 30px;
	line-height: 30px;
	min-height: 0;
	padding: 0;
	margin: 0;
	text-align: center;
	border: none;
	outline: none;
	display: block;
	color: #444444;
	background-color: #eeeeee;
	-moz-appearance: textfield;
	box-shadow: none;
	font-size: 12px;
	font-weight: 400;
	border-radius: 0;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner input::-webkit-outer-spin-button,
.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner .woofc-item-qty-plus,
.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner .woofc-item-qty-minus {
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: #444444;
	background-color: #eeeeee;
	font-size: 12px;
	font-weight: 400;
	display: block;
	cursor: pointer;
	transition: all 0.3s;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner .woofc-item-qty-plus:hover,
.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner .woofc-item-qty-minus:hover {
	background-color: #dddddd;
}

/* Remove Item Button (hover reveal on desktop, always visible on mobile) */
.woofc-area .woofc-area-mid .woofc-item.woofc-item-has-not-remove .woofc-item-remove {
	display: none !important;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-remove {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate3d(0, -50%, 0);
	display: block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	color: #444444;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	outline: none;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.5s;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-remove span {
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	display: inline-block;
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item.woofc-item-has-remove:hover .woofc-item-inner {
	transform: translate3d(-20px, 0, 0);
}

.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item:hover .woofc-item-inner .woofc-item-remove {
	opacity: 1;
	visibility: visible;
	transform: translate3d(25px, -50%, 0);
}

.woofc-area.woofc-style-02 .woofc-no-item {
	padding: 20px;
	text-align: center;
	color: #222222;
}

/* Bottom Area */
.woofc-area.woofc-style-02 .woofc-area-bot {
	padding-bottom: 20px;
	flex-shrink: 0;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-data,
.woofc-area.woofc-style-02 .woofc-area-bot .woofc-total {
	padding: 0 20px;
	margin: 0;
	color: #222222;
	display: flex;
	justify-content: space-between;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action {
	padding: 15px 15px 0 15px;
	margin: 0;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner {
	display: flex;
	width: 100%;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div {
	width: 50%;
	margin: 0 5px;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner .woofc-action-full {
	width: 100%;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div a {
	height: 40px;
	line-height: 36px;
	text-align: center;
	padding: 0 10px;
	box-sizing: border-box;
	background-color: #000000;
	color: #ffffff;
	font-weight: 700;
	border: 2px solid #000000;
	text-decoration: none;
	display: inline-block;
	width: 100%;
	text-transform: uppercase;
	transition: all 0.3s;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div a:hover {
	background-color: #262626;
	border-color: #262626;
	color: #ffffff;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-link {
	padding: 0 20px;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-link span,
.woofc-area.woofc-style-02 .woofc-area-bot .woofc-continue span {
	color: #444444;
	text-transform: uppercase;
	border-bottom: 1px solid #444444;
	cursor: pointer;
	transition: opacity 0.3s;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-link span:hover,
.woofc-area.woofc-style-02 .woofc-area-bot .woofc-continue span:hover {
	opacity: 0.7;
}

.woofc-area.woofc-style-02 .woofc-area-bot .woofc-continue {
	text-align: center;
	padding: 0 20px;
	margin-top: 15px;
}

/* Header Cart Link Shortcode ([woofc_cart_link]) */
.woofc-cart-link .woofc-cart-link-inner {
	position: relative;
}

.woofc-cart-link a {
	outline: none;
}

.woofc-cart-link .woofc-cart-link-inner i {
	font-size: inherit;
	line-height: inherit;
	display: inline-block;
	margin-right: 5px;
	width: 20px;
}

.woofc-cart-link .woofc-cart-link-inner::after {
	content: attr(data-count);
	display: block;
	background-color: #e94b35;
	color: #ffffff;
	font-size: 10px;
	font-weight: 400;
	width: 16px;
	height: 16px;
	line-height: 16px;
	text-align: center;
	border-radius: 8px;
	position: absolute;
	left: 10px;
	top: -10px;
}

/* Mobile Responsive */
@media only screen and (max-width: 768px) {
	.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item.woofc-item-has-remove .woofc-item-inner {
		padding: 10px 30px 10px 0;
	}

	.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-remove {
		opacity: 1;
		visibility: visible;
		color: #999999;
		right: 0;
	}

	.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item:hover .woofc-item-inner {
		transform: translate3d(0, 0, 0);
	}

	.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item:hover .woofc-item-inner .woofc-item-remove {
		transform: translate3d(0, -50%, 0);
	}
}
