:root {
	--primary-color: #2c3e50;
	--secondary-color: #3498db;
	--success-color: #27ae60;
	--danger-color: #e74c3c;
	--warning-color: #f39c12;
	--light-gray: #f8f9fa;
	--border-color: #dee2e6;
}



.cart-sidebar {
	background: white;
}

button:focus,
a,
.btn {
	outline: none;
}

.cart-header {
	background: linear-gradient(135deg, #aa6b29 0%, #e5a753 100%);
	color: white;
	padding: 10px 20px;
	text-align: center;
}

.cart-header__ttl {
	margin: 0;
	font-weight: 700;
	font-size: 20px;
}

.cart-items__product {
	display: flex;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid var(--border-color);
	transition: all 0.3s ease;
	position: relative;
}

.cart-items__product:hover {
	background-color: #f8f9fa;
}

.cart-items__product-image {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	background: #f8f9fa;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	border: 2px solid #e9ecef;
	overflow: hidden;
	align-self: self-start;
}

.cart-items__product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cart-items__product-details {
	flex: 1;
}

.cart-items__product-name {
	font-weight: 600;
	color: var(--primary-color);
	margin-bottom: 5px;
	line-height: 1.1;
}

.cart-items__product-variant {
	color: #6c757d;
	font-size: 1.2rem;
	/* margin-bottom: 8px; */
}

.cart-items__product-qty {
	position: absolute;
	top: 9px;
	left: 62px;
	background: linear-gradient(135deg, #aa6b29 0%, #e5a753 100%);
	color: white;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: bold;
	box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.cart-items__product-price {
	font-weight: 700;
}

.coupon-section {
	padding: 20px;
	background-color: #f8f9fa;
	border-bottom: 1px solid var(--border-color);
}

.coupon-input-group {
	display: flex;
	gap: 10px;
}

.coupon-input {
	flex: 1;
	padding: 7px 15px;
	border: 2px solid #e9ecef;
	border-radius: 5px;
	font-size: 1.4rem;
	transition: all 0.3s ease;
}

.coupon-input.success {
	border-color: #27ae60;
	background: white;
}

.coupon-input.error {
	border-color: #e74c3c;
	background: white;
}

.coupon-input:focus {
	outline: none;
	border-color: var(--secondary-color);
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.apply-btn {
	background: var(--primary-color);
	color: white;
	border: none;
	padding: 8px 25px;
	border-radius: 5px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.apply-btn:hover {
	background: #34495e;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.apply-btn .icon-spinner {
	width: 20px;
	height: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -10px;
	margin-left: -10px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTIwIDEwYzAgNS41MjMtNC40NzcgMTAtMTAgMTBTMCAxNS41MjMgMCAxMCA0LjQ3NyAwIDEwIDB2MmMtNC40MTggMC04IDMuNTgyLTggOHMzLjU4MiA4IDggOCA4LTMuNTgyIDgtOGgyeiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==), none;
}

.apply-btn:not(.btn-loading) .icon-spinner {
	opacity: 0;
}

.btn-loading .icon-spinner {
	-webkit-animation: rotate 0.5s linear infinite;
	animation: rotate 0.5s linear infinite;
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=" 100 ")";
	filter: alpha(opacity=100);
}

.btn-loading .text {
	opacity: 0;
}

#coupon-message {
	font-size: 12px;
}

#coupon-message.error {
	color: #e74c3c;
}

#coupon-message.success {
	color: #27ae60;
}

.my-coupon-btn {
	background: transparent;
	color: var(--secondary-color);
	border: 2px solid var(--secondary-color);
	padding: 10px 20px;
	border-radius: 25px;
	cursor: pointer;
	font-weight: 600;
	margin-top: 10px;
	width: 100%;
	font-size: 16px;
	gap: 5px;
	transition: all 0.3s ease;
}

.my-coupon-btn:hover {
	background: var(--secondary-color);
	color: white;
}

.coupon-tags {
	margin-top: 15px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.coupon-tag {
	background: linear-gradient(135deg, #aa6b29 0%, #e5a753 100%);
	color: white;
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 1.2rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	gap: 5px;
}

.coupon-tag:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.customer-info {
	padding: 20px;
	background: linear-gradient(135deg, #aa6b29 0%, #e5a753 100%);
	color: white;
}

.customer-info__badge {
	display: flex;
	align-items: center;
	gap: 10px;
}

.customer-info__badge-icon {
	width: 30px;
	height: 30px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.customer-info__title {
	font-weight: 600;
	font-size: 1.6rem;
}

.customer-info__level {
	font-size: 1.2rem;
	opacity: 0.9;
}

.order-summary {
	padding: 20px;
}

.summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #f1f3f4;
}

.summary-row:last-child {
	border-bottom: none;
	font-weight: 700;
	color: var(--primary-color);
	padding-top: 20px;
	border-top: 2px solid var(--border-color);
	padding-bottom: 0;
}

.summary-row__label {
	color: #6c757d;
}

.summary-row__value {
	font-weight: 600;
	color: var(--primary-color);
}

.discount-value {
	color: var(--success-color) !important;
}

.summary-row__code {
	background: var(--secondary-color);
	color: white;
	padding: 3px 8px;
	border-radius: 12px;
	font-size: 13px;
	margin-left: 8px;
}

.summary-row__coupon {
	background: none;
	border: none;
	color: #6c757d;
	margin-left: 5px;
	cursor: pointer;
	font-size: 13px;
}

.checkout-section {
	padding: 20px;
	background: var(--light-gray);
}

.checkout-btn {
	background: linear-gradient(135deg, #aa6b29 0%, #e5a753 100%);
	color: white;
	border: none;
	padding: 7px 15px;
	border-radius: 25px;
	font-weight: 700;
	font-size: 1.6rem;
	cursor: pointer;

	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	gap: 5px;
}

.checkout-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px #aa6c293d;
}

.shipping-note {
	text-align: center;
	color: #6c757d;
	font-size: 1.2rem;
	margin-bottom: 15px;
}

/* end */
/*  */
.shipping-container {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(1rem);
	box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
	border: 0.1rem solid rgba(255, 255, 255, 0.2);
	padding: 2.5rem;
	animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(3rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.form-title {
	color: #2c3e50;
	font-weight: 700;
	font-size: 2rem;
	margin-bottom: 2rem;
	text-align: center;
	position: relative;
}

.form-title::after {
	content: '';
	display: block;
	width: 6rem;
	height: 0.4rem;
	background: linear-gradient(135deg, #aa6b29 0%, #e5a753 100%);
	margin: 1rem auto 0;
	border-radius: 0.2rem;
}

.form-floating {
	margin-bottom: 1.5rem;
}

.shipping-container .form-control {
	border: 0.2rem solid #e9ecef;
	border-radius: 4px;
	padding: 1rem;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.9);
}

label.error {
	color: #e74c3c;
	font-size: 12px;
}

.shipping-container .form-control:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
	background: white;
	transform: translateY(-0.2rem);
}

.form-floating>label {
	font-weight: 500;
}


textarea.form-control {
	min-height: 12rem;
	resize: vertical;
}

.privacy-notice {
	background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
	border: 0.1rem solid #e3f2fd;
	border-radius: 1.2rem;
	padding: 1rem;
	margin: 1.5rem 0;
	font-size: 0.9rem;
	color: #5a6c7d;
}

.form-check-input:checked {
	background-color: #667eea;
	border-color: #667eea;
}

.form-check-input:focus {
	box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-group-custom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2rem;
}

.btn-group-custom .btn {
	padding: 5px 20px;
	font-size: 14px;
}

.btn-back {
	background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
	color: white;
	border: none;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05rem;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.btn-back:hover {
	background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
	transform: translateY(-0.2rem);
	box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.15);
	color: white;
}

.btn-submit {
	background: linear-gradient(135deg, #aa6b29 0%, #e5a753 100%);
	color: white;
	border: none;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05rem;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	justify-content: center;
}

.btn-submit:hover {
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	transform: translateY(-0.2rem);
	box-shadow: 0 0.8rem 2.5rem rgba(102, 126, 234, 0.3);
	color: white;
}

.btn-submit:active,
.btn-back:active {
	transform: translateY(0);
}

.icon-input {
	position: relative;
}

.icon-input i {
	position: absolute;
	right: 1rem;
	top: 9px;
	color: #6c757d;
	z-index: 10;
}



/* Floating animation for icons */
.floating-icon {
	animation: float 3s ease-in-out infinite;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-1rem);
	}
}

/* Animation effects */

.fade-in {
	animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.pulse {
	animation: pulse 2s infinite;
}

/* cart list */
.cart__container {
	background: white;
	border-radius: 1.5rem;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.cart__header {
	background: linear-gradient(135deg, #aa6b29 0%, #e5a753 100%);
	color: white;
	padding: 1rem;
	text-align: center;
}

.cart__title {
	font-size: 2rem;
	font-weight: 700;
	margin: 0;
}

.cart__content {
	display: flex;
}

/* Cart Items Section */

.cart__items {
	flex: 1;
	padding: 2rem;
	border-right: 0.1rem solid #e9ecef;
}

/* Item Block */

.cart__item {
	display: flex;
	align-items: center;
	padding: 10px;
	border-bottom: 0.1rem solid #f0f0f0;
	position: relative;
	transition: all 0.3s ease;
}
/* .cart__item:last-child{
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
} */
.cart__item:hover {
	background: #f8f9fa;
	transform: translateY(-0.2rem);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.cart__item:last-child {
	border-bottom: none;
}
.cart__item__boximg{
	align-self: self-start;
}
.cart__item__image {
	width: 8rem;
	height: 8rem;
	object-fit: cover;
	border-radius: 1rem;
	margin-right: 2rem;
	box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.1);
}

.cart__item__info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.cart__item__name {
	font-size: 1.6rem;
	font-weight: 600;
	color: #2c3e50;
	margin: 0;
	line-height: 1.4;
}

.cart__item__details {
	display: flex;
	gap: 1rem;
	margin: 0.5rem 0;
}

.cart__item__color,
.cart__item__size {
	font-size: 1.2rem;
	color: #6c757d;
	background: #f8f9fa;
	padding: 0.3rem 0.8rem;
	border-radius: 0.5rem;
	border: 0.1rem solid #e9ecef;
}

.cart__item__price {
	font-size: 1.8rem;
	font-weight: 700;
	color: #e74c3c;
	margin: 0;
}

.cart__item__controls {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: 2rem;
}

/* Quantity Control Block */

.cart__quantity {
	display: flex;
	align-items: center;
	border: 0.1rem solid #dee2e6;
	border-radius: 0.8rem;
	overflow: hidden;
	background: white;
}

.cart__quantity__btn {
	width: 3.5rem;
	height: 3.5rem;
	border: none;
	background: #f8f9fa;
	color: #495057;
	font-size: 1.6rem;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cart__quantity__btn:hover {
	background: #667eea;
	color: white;
}

.cart__quantity__btn:active {
	transform: scale(0.95);
}

.cart__quantity__input {
	width: 5rem;
	height: 3.5rem;
	border: none;
	text-align: center;
	font-size: 1.4rem;
	font-weight: 600;
	outline: none;
	background: white;
}

/* Remove Button */

.cart__item__remove {
	position: absolute;
	top: 0;
	padding: 0;
	right: 1rem;
	width: 3rem;
	height: 3rem;
	border: none;
	background: #dc3545;
	color: white;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.2rem;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.item__remove:hover {
	background: #c82333;
	transform: scale(1.1);
}

/* Summary Block */

.cart__summary {
	width: 35rem;
	background: #f8f9fa;
	padding: 2rem;
	display: flex;
	flex-direction: column;
}

.summary {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.summary__header {
	background: #343a40;
	color: white;
	padding: 1rem 1.5rem;
	border-radius: 1rem;
	text-align: center;
	margin-bottom: 2rem;
}

.summary__title {
	font-size: 1.8rem;
	font-weight: 600;
	margin: 0;
}

.summary__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.summary__total {
	background: white;
	padding: 2rem;
	border-radius: 1rem;
	text-align: center;
}

.summary__total-label {
	font-size: 1.6rem;
	color: #6c757d;
	margin-bottom: 1rem;
}

.summary__total-amount {
	font-size: 2.8rem;
	font-weight: 700;
	color: #e74c3c;
	margin: 0;
}

.summary__checkout {
	width: 100%;
	padding: 1rem 1.5rem;
	background: linear-gradient(135deg, #aa6b29 0%, #e5a753 100%);
	color: white;
	border: none;
	border-radius: 1rem;
	font-size: 1.6rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	cursor: pointer;
	gap: 5px;
	transition: all 0.3s ease;
	margin-top: 2rem;
}

.summary__checkout:hover {
	background: linear-gradient(135deg, #aa6b29 0%, #e5a753 100%);
	transform: translateY(-0.2rem);
	box-shadow: 0 0.8rem 2.5rem rgba(102, 126, 234, 0.3);
}

.summary__checkout:active {
	transform: translateY(0);
}

/* Empty Cart */

.cart--empty {
	text-align: center;
	padding: 5rem 2rem;
	color: #6c757d;
}

.cart__empty-icon {
	font-size: 6rem;
	margin-bottom: 2rem;
	color: #dee2e6;
}

.cart__empty-text {
	font-size: 1.8rem;
	margin: 0;
}

/* Responsive */

@media (max-width: 768px) {
	.cart {
		padding: 1rem;
	}

	.cart__content {
		flex-direction: column;
	}

	.cart__items {
		border-right: none;
		border-bottom: 0.1rem solid #e9ecef;
	}

	.cart__summary {
		width: 100%;
	}
	.cart__item{
		flex-wrap: wrap;
	}
	.cart__item__controls{
		width: 100%;
		margin-left: 0;
	}
	.cart__item__name{
	    padding-right: 35px;
	}
	.cart__item__remove{
		top: 11px;
	}
	/* .cart__item {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}

	.cart__item__image {
		margin-right: 0;
		margin-bottom: 1rem;
	}

	.cart__item__controls {
		margin-left: 0;
		justify-content: center;
	}

	.cart__item__remove {
		position: static;
		margin-top: 1rem;
	}
	.cart__item__details{
		justify-content: center;
	}
	.cart__item__boximg{
		margin: 0 auto;
	} */
}

/* Animation */

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(2rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cart__container {
	animation: fadeIn 0.6s ease-out;
}

.item {
	animation: fadeIn 0.6s ease-out;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 #aa6c2982;
	}

	70% {
		box-shadow: 0 0 0 10px #aa6c290e;
	}

	100% {
		box-shadow: 0 0 0 0 #aa6c2982;
	}
}

@keyframes rotate {
	0% {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/* Responsive */
@media (min-width: 992px) {
	.cart-header .changer-total-price {
		display: none;
	}
}

@media (max-width: 992px) {
	.checkut-page>.row {
		flex-direction: column-reverse;
	}

	.shipping-container {
		padding: 15px;
	}

	.btn-group-custom .btn {
		padding: 5px 13px;
	}

	.order-summary,
	.coupon-section {
		padding: 15px;
	}

	.cart-header__ttl {
		font-size: 16px;
	}

	.cart-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 10px 40px 10px 15px;
		text-align: left;
		position: relative;
	}

	.cart-sidebar:not(.is-open) .cart-header::after {
		content: "\f078";
	}

	.cart-sidebar.is-open .cart-sidebar__content {
		display: block;
	}

	.cart-header::after {
		content: "\f077";
		font-family: "Font Awesome 5 Free";
		position: absolute;
		top: 50%;
		right: 10px;
		transform: translateY(-50%);
		font-weight: 700;
		transition: all .3s ease-in;
	}

	.cart-header .changer-total-price {
		color: white;
	}

	.cart-sidebar {
		border-bottom: 1px solid #e1e1e1;
	}

	.cart-sidebar__content {
		display: none;
	}
}

@media (max-width: 768px) {


	.form-title {
		font-size: 1.5rem;
	}

}

@media (max-width: 576px) {


	.cart-items__product {
		padding: 15px;
	}



}

@media (max-width: 374px) {
	.btn-group-custom .btn {
		padding: 5px 8px;
		font-size: 12px;
	}
}
