/* Vietnam Checkout for WooCommerce styling - Haravan Checkout Style */

/* Primary theme color variable */
:root {
	--fc-primary-color: var(--ast-global-color-0, #c8102e);
	--fc-border-color: #e5e5e5;
	--fc-text-dark: #333333;
	--fc-text-muted: #666666;
	--fc-bg-light: #fdfdfd;
}

/* 3-Step Progress Bar */
.vn-checkout__steps {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 30px auto 40px;
	max-width: 600px;
	padding: 0 20px;
}

.vn-checkout__step {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vn-checkout__step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: #e0e0e0;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
}

.vn-checkout__step-label {
	font-size: 14px;
	color: var(--fc-text-muted);
}

.vn-checkout__step-line {
	flex-grow: 1;
	height: 1px;
	background-color: #e0e0e0;
	margin: 0 15px;
}

/* Active State */
.vn-checkout__step--active .vn-checkout__step-number {
	background-color: var(--fc-primary-color);
}

.vn-checkout__step--active .vn-checkout__step-label {
	color: var(--fc-primary-color);
	font-weight: 600;
}

/* Completed State */
.vn-checkout__step--completed .vn-checkout__step-number {
	background-color: var(--fc-primary-color);
	opacity: 0.8;
}

.vn-checkout__step--completed .vn-checkout__step-label {
	color: var(--fc-text-dark);
}

.vn-checkout__step-line--completed {
	background-color: var(--fc-primary-color);
	opacity: 0.8;
}

/* Form Layout */
.vn-cart .vn-checkout__columns,
.vn-checkout .vn-checkout__columns {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 30px !important;
	align-items: flex-start !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
	width: 100% !important;
}

.vn-cart .vn-checkout__column,
.vn-checkout .vn-checkout__column {
	min-width: 320px !important;
}

.vn-cart .vn-checkout__column--details,
.vn-checkout .vn-checkout__column--details {
	flex: 1 1 58% !important;
	max-width: 58% !important;
}

.vn-cart .vn-checkout__column--summary,
.vn-checkout .vn-checkout__column--summary {
	flex: 1 1 38% !important;
	max-width: 38% !important;
	background-color: var(--fc-bg-light) !important;
	border: 1px solid var(--fc-border-color) !important;
	border-radius: 8px !important;
	padding: 24px !important;
}

/* White Card Components */
.vn-checkout__card {
	background-color: #ffffff;
	border: 1px solid var(--fc-border-color);
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.vn-checkout__card-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--fc-text-dark);
	margin: 0 0 4px !important;
	padding: 0 !important;
}

.vn-checkout__card-subtitle {
	font-size: 13px;
	color: var(--fc-text-muted);
	margin-bottom: 20px;
}

/* Fields rows and stacks */
.vn-checkout__fields-row {
	display: flex;
	gap: 15px;
	width: 100%;
}

.vn-checkout__fields-row .form-row {
	flex: 1;
	margin-bottom: 15px !important;
}

.vn-checkout__fields-stack .form-row {
	width: 100% !important;
	float: none !important;
	clear: both !important;
	margin-bottom: 15px !important;
}

/* Input Fields styling */
.vn-checkout .form-row input.input-text,
.vn-checkout .form-row textarea,
.vn-checkout .form-row select,
.vn-checkout .select2-container--default .select2-selection--single {
	border: 1px solid #d9d9d9 !important;
	border-radius: 4px !important;
	padding: 10px 12px !important;
	height: auto !important;
	font-size: 14px !important;
	line-height: normal !important;
	background-color: #ffffff !important;
	color: #333333 !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease;
}

.vn-checkout .form-row input.input-text:focus,
.vn-checkout .form-row textarea:focus,
.vn-checkout .select2-container--default.select2-container--focus .select2-selection--single {
	border-color: var(--fc-primary-color) !important;
	outline: none !important;
}

.vn-checkout .form-row label {
	font-weight: 500 !important;
	font-size: 13px !important;
	margin-bottom: 6px !important;
	color: #4f4f4f !important;
}

/* Subscribe Checkbox Row */
.vn-checkout__subscribe-row {
	margin-top: 10px !important;
	margin-bottom: 0 !important;
}

.vn-checkout__subscribe-row label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: normal !important;
	cursor: pointer;
}

/* Payment Methods List styling */
#payment ul.payment_methods {
	padding: 0 !important;
	margin: 0 0 20px !important;
	border: 1px solid var(--fc-border-color) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	list-style: none !important;
}

#payment ul.payment_methods li {
	padding: 15px 20px !important;
	margin: 0 !important;
	background-color: #ffffff !important;
	border-bottom: 1px solid var(--fc-border-color) !important;
	display: flex !important;
	flex-direction: column !important;
}

#payment ul.payment_methods li:last-child {
	border-bottom: none !important;
}

#payment ul.payment_methods li input[type=radio] {
	margin: 0 10px 0 0 !important;
	vertical-align: middle !important;
}

#payment ul.payment_methods li label {
	font-weight: 600 !important;
	color: var(--fc-text-dark) !important;
	display: inline-block !important;
	margin: 0 !important;
}

#payment div.payment_box {
	background-color: #fafafa !important;
	border: 1px dashed var(--fc-border-color) !important;
	border-radius: 4px !important;
	padding: 12px 15px !important;
	margin: 10px 0 0 !important;
	color: #666666 !important;
	font-size: 13px !important;
}

#payment div.payment_box::before {
	display: none !important;
}

/* Order Review / Summary Column styling */
.vn-checkout__summary-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--fc-text-dark);
	margin-top: 0 !important;
	margin-bottom: 20px !important;
	padding-bottom: 10px !important;
	border-bottom: 1px solid var(--fc-border-color) !important;
}

.woocommerce-checkout-review-order-table {
	border: none !important;
	margin-bottom: 20px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	border: none !important;
	padding: 12px 0 !important;
	font-size: 14px !important;
}

.woocommerce-checkout-review-order-table tr.cart_item {
	border-bottom: 1px solid #f0f0f0 !important;
}

.woocommerce-checkout-review-order-table td.product-name {
	font-weight: normal !important;
	color: var(--fc-text-dark) !important;
}

.woocommerce-checkout-review-order-table td.product-total {
	text-align: right !important;
	font-weight: 600 !important;
	color: var(--fc-text-dark) !important;
}

.woocommerce-checkout-review-order-table tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tr.shipping th {
	color: var(--fc-text-muted) !important;
	font-weight: normal !important;
}

.woocommerce-checkout-review-order-table tr.order-total th {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--fc-text-dark) !important;
}

.woocommerce-checkout-review-order-table tr.order-total td {
	font-size: 20px !important;
	font-weight: bold !important;
	color: var(--fc-primary-color) !important;
	text-align: right !important;
}

/* Product list item thumbnails and badge */
.vn-checkout__product-thumbnail-wrapper {
	position: relative;
	display: inline-block;
	margin-right: 15px;
}

.vn-checkout__product-thumbnail-wrapper img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border: 1px solid var(--fc-border-color);
	border-radius: 4px;
}

.vn-checkout__product-quantity-badge {
	position: absolute;
	top: -8px;
	right: -8px;
	background-color: #999999;
	color: #ffffff;
	font-size: 10px;
	padding: 2px 6px;
	border-radius: 10px;
	font-weight: 600;
	line-height: 1;
}

/* Coupon Form */
.vn-checkout__coupon-wrapper {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--fc-border-color);
}

.vn-checkout__coupon-wrapper input[type=text] {
	flex-grow: 1;
}

.vn-checkout__coupon-wrapper button {
	background-color: var(--fc-primary-color) !important;
	color: #ffffff !important;
	border: none !important;
	padding: 10px 20px !important;
	border-radius: 4px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
}

/* Place Order Submit Button */
.vn-checkout #place_order {
	background-color: var(--fc-primary-color) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 4px !important;
	padding: 15px 30px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	width: 100% !important;
	margin-top: 15px !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}

.vn-checkout #place_order:hover {
	opacity: 0.9 !important;
}

/* Security Banner Card */
.vn-checkout__security-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	background-color: #f0f7ff;
	border: 1px solid #bcd8f5;
	border-radius: 6px;
	padding: 15px;
	margin-top: 20px;
}

.vn-checkout__security-banner-icon {
	color: var(--fc-primary-color);
	font-size: 18px;
	flex-shrink: 0;
}

.vn-checkout__security-banner-text {
	font-size: 13px;
	color: #1e4f8a;
	font-weight: 500;
}

/* Hide entry-header in checkout and cart */
.woocommerce-checkout .entry-header,
.woocommerce-cart .entry-header {
	display: none !important;
}

/* Select2 Custom styling for height alignment */
.vn-checkout .select2-container .select2-selection--single {
	height: 42px !important;
}

.vn-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	/* line-height: 40px !important; */
	/* padding-left: 12px !important; */
}

.vn-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 40px !important;
}

/* Hide Unused Core Fields */
#billing_last_name_field,
#shipping_last_name_field,
#billing_company_field,
#shipping_company_field,
#billing_address_2_field,
#shipping_address_2_field,
#billing_postcode_field,
#shipping_postcode_field {
	display: none !important;
}

/* Re-display address_2, postcode and name in our custom grid layout */
.vn-checkout__fields-row #billing_address_2_field,
.vn-checkout__fields-row #billing_postcode_field,
.vn-checkout__fields-row #billing_state_field,
.vn-checkout__fields-row #billing_city_field {
	display: block !important;
}

.vn-checkout__fields-stack #billing_first_name_field {
	display: block !important;
}

/* Hide default commitments box if theme prints it */
.vn-checkout__column--summary .checkout-commitments,
.vn-checkout__column--summary .commitments-box {
	display: none !important;
}

/* Custom Cart Styling */
.vn-cart__title {
	font-size: 22px;
	font-weight: 600;
	color: var(--fc-text-dark);
	margin-top: 0 !important;
	margin-bottom: 20px !important;
}

.vn-cart__count {
	font-size: 14px;
	font-weight: normal;
	color: var(--fc-text-muted);
	margin-left: 5px;
}

.vn-cart__items-list {
	margin-bottom: 20px;
}

.vn-cart__item {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid #f0f0f0;
}

.vn-cart__item:first-child {
	padding-top: 0;
}

.vn-cart__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.vn-cart__item-thumbnail img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border: 1px solid var(--fc-border-color);
	border-radius: 4px;
}

.vn-cart__item-details {
	flex: 1;
}

.vn-cart__item-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--fc-text-dark);
	margin: 0 0 5px !important;
	line-height: 1.4 !important;
}

.vn-cart__item-title a {
	color: inherit;
	text-decoration: none;
}

.vn-cart__item-title a:hover {
	color: var(--fc-primary-color);
}

.vn-cart__item-desc {
	font-size: 13px;
	color: var(--fc-text-muted);
	margin-bottom: 10px;
	line-height: 1.5;
}

.vn-cart__item-desc dl.variation {
	margin: 0;
	font-size: 12px;
}

/* Custom quantity increment alignment in cart list */
.woocommerce .vn-cart__item-qty-wrapper {
	margin-top: 8px;
}

.woocommerce .vn-cart__item-qty-wrapper .quantity {
	display: inline-flex !important;
	align-items: stretch !important;
	border: 1px solid #7ea1c4 !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	width: auto !important;
	height: 32px !important;
	padding: 0 !important;
	position: relative !important;
}

.woocommerce .vn-cart__item-qty-wrapper .quantity .suki-qty-minus,
.woocommerce .vn-cart__item-qty-wrapper .quantity .suki-qty-plus {
	position: static !important;
	transform: none !important;
	opacity: 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	height: 100% !important;
	cursor: pointer !important;
	margin: 0 !important;
	background: #f5f5f5 !important;
	color: #333 !important;
	font-size: 16px !important;
	flex-shrink: 0 !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
}

.woocommerce .vn-cart__item-qty-wrapper .quantity .suki-qty-increment:hover {
	background-color: #e8e8e8 !important;
}

.woocommerce .vn-cart__item-qty-wrapper .quantity .suki-qty-minus {
	order: 1 !important;
	border-right: 1px solid #7ea1c4 !important;
}

.woocommerce .vn-cart__item-qty-wrapper .quantity input.qty {
	order: 2 !important;
	display: block !important;
	width: 40px !important;
	height: 100% !important;
	border: none !important;
	border-right: 1px solid #7ea1c4 !important;
	border-radius: 0 !important;
	text-align: center !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
	position: static !important;
	flex-shrink: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

.woocommerce .vn-cart__item-qty-wrapper .quantity .suki-qty-plus {
	order: 3 !important;
}

.vn-cart__item-price-col {
	text-align: right;
	min-width: 120px;
}

.vn-cart__item-prices {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.vn-cart__item-price {
	font-size: 16px;
	font-weight: 600;
	color: var(--fc-text-dark);
}

.vn-cart__item-old-price {
	font-size: 13px;
	color: #999;
	text-decoration: line-through;
	margin-bottom: 2px;
}

.vn-cart__item-savings-badge {
	font-size: 11px;
	font-weight: 500;
	color: #d9534f;
	background-color: #fff2f2;
	border: 1px solid #ffcccc;
	padding: 2px 8px;
	border-radius: 12px;
	margin-top: 4px;
	display: inline-block;
}

.vn-cart__item-remove {
	padding-left: 10px;
}

.vn-cart__remove-link {
	color: #999;
	transition: color 0.2s ease;
}

.vn-cart__remove-link:hover {
	color: #d9534f;
}

.vn-cart__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--fc-border-color);
	padding-top: 20px;
	margin-top: 20px;
}

.vn-cart__continue-shopping {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--fc-primary-color);
	text-decoration: none;
}

.vn-cart__continue-shopping:hover {
	text-decoration: underline;
}

.vn-cart__update-btn {
	background-color: transparent !important;
	color: var(--fc-text-dark) !important;
	border: 1px solid #d9d9d9 !important;
	border-radius: 4px !important;
	padding: 8px 16px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.2s ease;
}

.vn-cart__update-btn:hover {
	background-color: #fafafa !important;
	border-color: #999 !important;
}

/* Sidebar Totals Detail */
.vn-cart__totals-summary {
	margin-bottom: 20px;
}

.vn-cart__summary-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
	font-size: 14px;
	color: var(--fc-text-dark);
}

.vn-cart__summary-label {
	color: var(--fc-text-muted);
}

.vn-cart__summary-value {
	font-weight: 500;
}

/* Sidebar Commitments */
.vn-cart__commitments {
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px dashed var(--fc-border-color);
}

.vn-cart__commitment-item {
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
}

.vn-cart__commitment-item:last-child {
	margin-bottom: 0;
}

.vn-cart__commitment-icon {
	font-size: 20px;
	flex-shrink: 0;
}

.vn-cart__commitment-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vn-cart__commitment-info strong {
	font-size: 13px;
	color: var(--fc-text-dark);
	font-weight: 600;
}

.vn-cart__commitment-info span {
	font-size: 12px;
	color: var(--fc-text-muted);
}

/* Cross Sells Product Slider Grid */
.vn-cart__cross-sells {
	margin-top: 50px;
}

.vn-cross-sells__title {
	font-size: 20px;
	font-weight: 600;
	color: var(--fc-text-dark);
	margin-bottom: 24px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--fc-border-color);
}

/* Cart Footer Informational Bar */
.vn-cart__footer-info-bar {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 50px;
	padding: 24px;
	background-color: #fcfcfc;
	border: 1px solid var(--fc-border-color);
	border-radius: 8px;
}

.vn-cart__footer-info-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #4f4f4f;
	line-height: 1.4;
	flex: 1;
}

.vn-cart__footer-info-icon {
	font-size: 18px;
	flex-shrink: 0;
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
	.vn-cart .vn-checkout__columns,
	.vn-checkout .vn-checkout__columns {
		flex-direction: column !important;
	}

	.vn-cart .vn-checkout__column,
	.vn-checkout .vn-checkout__column {
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
	}

	.vn-cart .vn-checkout__column--details,
	.vn-checkout .vn-checkout__column--details,
	.vn-cart .vn-checkout__column--summary,
	.vn-checkout .vn-checkout__column--summary {
		flex: 1 1 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.vn-checkout__fields-row {
		flex-direction: column;
		gap: 0;
	}
	
	.vn-checkout__steps {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}
	
	.vn-checkout__step-line {
		display: none;
	}
}

/* Hide standard WooCommerce notice containers to prevent duplication/flickering before SweetAlert2 catches them */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-NoticeGroup-checkout,
.woocommerce-NoticeGroup {
    display: none !important;
}

/* Custom styles for SweetAlert2 floating popup */
.vn-swal-popup {
	border-radius: 12px !important;
	font-family: inherit !important;
}

/* WooCommerce checkout inline error validation message styling */
.woocommerce form .form-row .checkout-inline-error-message {
	color: #b57d00 !important; /* Amber / Dark Yellow for premium readability on white background */
	font-size: 12px !important;
	padding-top: 6px !important;
	margin: 0 !important;
	display: block !important;
	font-weight: 500 !important;
}

/* Order received / thank you page custom design styling */
.woocommerce-order-received .order-page {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 42px 0 28px !important;
}

.woocommerce-order-received .order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.woocommerce-order-received .brand {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #222;
}

.woocommerce-order-received .order-code {
  color: var(--fc-text-muted);
  font-size: 13px;
  white-space: nowrap;
  padding-top: 8px;
}

.woocommerce-order-received .success-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  color: #111827;
}

.woocommerce-order-received .success-text {
  margin: 0 0 20px;
  color: #4b5563;
  max-width: 520px;
}

.woocommerce-order-received .action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.woocommerce-order-received .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--fc-primary-color);
  color: #ffffff !important;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.woocommerce-order-received .btn-primary:hover {
  background: #008cc0;
}

.woocommerce-order-received .link {
  color: var(--fc-primary-color);
  text-decoration: none;
  font-size: 13px;
}

.woocommerce-order-received .link:hover {
  text-decoration: underline;
}

.woocommerce-order-received .section {
  margin-bottom: 44px;
}

.woocommerce-order-received .section-title {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  color: #111827;
}

.woocommerce-order-received .order-items {
  border-bottom: 1px solid var(--fc-border-color);
}

.woocommerce-order-received .order-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--fc-border-color);
}

.woocommerce-order-received .product-thumb {
  width: 52px;
  height: 52px;
  border: 1px solid var(--fc-border-color);
  border-radius: 4px;
  background: #f3f4f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 11px;
  text-align: center;
}

.woocommerce-order-received .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.woocommerce-order-received .product-name {
  color: #111827;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.45;
}

.woocommerce-order-received .product-meta {
  margin-top: 3px;
  color: var(--fc-text-muted);
  font-size: 12px;
}

.woocommerce-order-received .product-price {
  color: #111827;
  font-weight: 600;
  white-space: nowrap;
  font-size: 13px;
  text-align: right;
}

.woocommerce-order-received .summary {
  width: 280px;
  margin-left: auto;
  padding-top: 16px;
}

.woocommerce-order-received .summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #4b5563;
  font-size: 13px;
  margin-bottom: 6px;
}

.woocommerce-order-received .summary-row strong {
  color: #111827;
  font-weight: 600;
}

.woocommerce-order-received .summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--fc-border-color);
  font-size: 14px;
  color: #111827;
}

.woocommerce-order-received .summary-total .amount {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.woocommerce-order-received .customer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.woocommerce-order-received .info-block {
  margin-bottom: 24px;
}

.woocommerce-order-received .info-title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
}

.woocommerce-order-received address {
  margin: 0;
  color: #4b5563;
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
}

.woocommerce-order-received .footer {
  margin-top: 52px;
  padding: 20px 0 0;
  border-top: 1px solid var(--fc-border-color);
  color: var(--fc-text-muted);
  font-size: 12px;
  text-align: center;
}

.woocommerce-order-received .footer a {
  color: var(--fc-primary-color);
  text-decoration: none;
}

.woocommerce-order-received .footer a:hover {
  text-decoration: underline;
}

.woocommerce-order-received .order-gateway-instructions {
	margin-bottom: 30px;
}

@media (max-width: 640px) {
  .woocommerce-order-received .order-page {
    padding: 28px 18px;
  }

  .woocommerce-order-received .order-header {
    display: block;
  }

  .woocommerce-order-received .order-code {
    margin-top: 6px;
  }

  .woocommerce-order-received .action-row {
    display: block;
  }

  .woocommerce-order-received .btn-primary {
    width: 100%;
    margin-bottom: 12px;
  }

  .woocommerce-order-received .order-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .woocommerce-order-received .product-price {
    grid-column: 2;
    text-align: left;
  }

  .woocommerce-order-received .summary {
    width: 100%;
  }

  .woocommerce-order-received .customer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* View order page custom design styling */
/* Order received / thank you page custom design styling */
.woocommerce-view-order .order-page {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 42px 0 28px !important;
}

.woocommerce-view-order .order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.woocommerce-view-order .brand {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #222;
}

.woocommerce-view-order .order-code {
  color: var(--fc-text-muted);
  font-size: 13px;
  white-space: nowrap;
  padding-top: 8px;
}

.woocommerce-view-order .success-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  color: #111827;
}

.woocommerce-view-order .success-text {
  margin: 0 0 20px;
  color: #4b5563;
  max-width: 520px;
}

.woocommerce-view-order .action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.woocommerce-view-order .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--fc-primary-color);
  color: #ffffff !important;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.woocommerce-view-order .btn-primary:hover {
  background: #008cc0;
}

.woocommerce-view-order .link {
  color: var(--fc-primary-color);
  text-decoration: none;
  font-size: 13px;
}

.woocommerce-view-order .link:hover {
  text-decoration: underline;
}

.woocommerce-view-order .section {
  margin-bottom: 44px;
}

.woocommerce-view-order .section-title {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  color: #111827;
}

.woocommerce-view-order .order-items {
  border-bottom: 1px solid var(--fc-border-color);
}

.woocommerce-view-order .order-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--fc-border-color);
}

.woocommerce-view-order .product-thumb {
  width: 52px;
  height: 52px;
  border: 1px solid var(--fc-border-color);
  border-radius: 4px;
  background: #f3f4f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 11px;
  text-align: center;
}

.woocommerce-view-order .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.woocommerce-view-order .product-name {
  color: #111827;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.45;
}

.woocommerce-view-order .product-meta {
  margin-top: 3px;
  color: var(--fc-text-muted);
  font-size: 12px;
}

.woocommerce-view-order .product-price {
  color: #111827;
  font-weight: 600;
  white-space: nowrap;
  font-size: 13px;
  text-align: right;
}

.woocommerce-view-order .summary {
  width: 280px;
  margin-left: auto;
  padding-top: 16px;
}

.woocommerce-view-order .summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #4b5563;
  font-size: 13px;
  margin-bottom: 6px;
}

.woocommerce-view-order .summary-row strong {
  color: #111827;
  font-weight: 600;
}

.woocommerce-view-order .summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--fc-border-color);
  font-size: 14px;
  color: #111827;
}

.woocommerce-view-order .summary-total .amount {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.woocommerce-view-order .customer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.woocommerce-view-order .info-block {
  margin-bottom: 24px;
}

.woocommerce-view-order .info-title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
}

.woocommerce-view-order address {
  margin: 0;
  color: #4b5563;
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
}

.woocommerce-view-order .footer {
  margin-top: 52px;
  padding: 20px 0 0;
  border-top: 1px solid var(--fc-border-color);
  color: var(--fc-text-muted);
  font-size: 12px;
  text-align: center;
}

.woocommerce-view-order .footer a {
  color: var(--fc-primary-color);
  text-decoration: none;
}

.woocommerce-view-order .footer a:hover {
  text-decoration: underline;
}

.woocommerce-view-order .order-gateway-instructions {
	margin-bottom: 30px;
}

@media (max-width: 640px) {
  .woocommerce-view-order .order-page {
    padding: 28px 18px;
  }

  .woocommerce-view-order .order-header {
    display: block;
  }

  .woocommerce-view-order .order-code {
    margin-top: 6px;
  }

  .woocommerce-view-order .action-row {
    display: block;
  }

  .woocommerce-view-order .btn-primary {
    width: 100%;
    margin-bottom: 12px;
  }

  .woocommerce-view-order .order-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .woocommerce-view-order .product-price {
    grid-column: 2;
    text-align: left;
  }

  .woocommerce-view-order .summary {
    width: 100%;
  }

  .woocommerce-view-order .customer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


/* Hamilton Beach cart popup */
:root {
	--hb-brand-blue: #008cc0;
	--hb-brand-blue-hover: #006f99;
	--hb-brand-navy: #0f172a;
	--hb-brand-ink: #2f3b40;
	--hb-cart-card: #f0f7fa;
	--hb-cart-line: #dbe7ec;
}

/* Keep one cart surface: the Hamilton Beach popup. */
.ast-site-header-cart-data,
.ast-woo-header-cart-map,
.ast-header-cart-flyout,
#ast-site-header-cart,
.ast-desktop-cart-flyout,
#astra-mobile-cart-drawer,
.astra-mobile-cart-overlay {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.vn-cart-drawer-open {
	overflow: hidden;
}

.vn-cart-drawer-overlay {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(15, 23, 42, 0.70);
	z-index: 999998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.24s ease, visibility 0.24s ease;
	backdrop-filter: blur(6px);
}

.vn-cart-drawer-overlay.active {
	opacity: 1;
	visibility: visible;
}

.vn-cart-drawer {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -47%) scale(0.97);
	width: min(760px, calc(100vw - 32px));
	max-height: min(850px, calc(100vh - 32px));
	background: #ffffff;
	color: var(--hb-brand-ink);
	z-index: 999999;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.30);
	border: 1px solid rgba(219, 231, 236, 0.95);
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease, visibility 0.24s ease;
	overflow: hidden;
	font-family: inherit;
}

.vn-cart-drawer.active {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
	visibility: visible;
}

.vn-cart-drawer.loading::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.74) url("data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="38" height="38" viewBox="0 0 38 38" stroke="%23008cc0"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg transform="translate(1 1)" stroke-width="2"%3E%3Ccircle stroke-opacity=".22" cx="18" cy="18" r="18"/%3E%3Cpath d="M36 18c0-9.94-8.06-18-18-18"%3E%3CanimateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="0.8s" repeatCount="indefinite"/%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center no-repeat;
	z-index: 10;
}

.vn-cart-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 28px;
	border-bottom: 1px solid var(--hb-cart-line);
	background: #ffffff;
	flex: 0 0 auto;
}

.vn-cart-drawer__title {
	margin: 0;
	font-size: clamp(21px, 2.4vw, 29px);
	line-height: 1.2;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: var(--hb-brand-navy);
	display: flex;
	align-items: center;
	gap: 12px;
}

.vn-cart-drawer__icon {
	display: inline-flex;
	width: 34px;
	height: 34px;
	color: var(--hb-brand-blue);
	flex: 0 0 auto;
}

.vn-cart-drawer__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vn-cart-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: var(--hb-cart-card);
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
	color: #71808a;
	cursor: pointer;
	padding: 0 0 4px;
	transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.vn-cart-drawer__close:hover,
.vn-cart-drawer__close:focus-visible {
	color: #ffffff;
	background: var(--hb-brand-blue);
	border-color: var(--hb-brand-blue);
	transform: rotate(90deg);
	outline: none;
}

.vn-cart-drawer__content {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 18px 28px 24px;
	display: flex;
	flex-direction: column;
	scroll-behavior: smooth;
}

.vn-cart-drawer__empty {
	text-align: center;
	margin: auto 0;
	padding: 48px 16px;
	color: #64748b;
}

.vn-cart-drawer__empty p {
	margin: 0;
	font-size: 18px;
	color: var(--hb-brand-ink);
}

.vn-cart-drawer__shop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
	padding: 13px 24px;
	background: var(--hb-brand-blue);
	color: #ffffff !important;
	border: 1px solid var(--hb-brand-blue);
	border-radius: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.vn-cart-drawer__shop-btn:hover,
.vn-cart-drawer__shop-btn:focus-visible {
	background: var(--hb-brand-blue-hover);
	border-color: var(--hb-brand-blue-hover);
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(0, 140, 192, 0.22);
	outline: none;
}

.vn-cart-drawer__items {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 18px;
}

.vn-cart-drawer__item {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	position: relative;
	padding: 15px 14px;
	border: 1px solid transparent;
	border-bottom-color: var(--hb-cart-line);
	border-radius: 16px;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.vn-cart-drawer__item:hover {
	background: var(--hb-cart-card);
	border-color: #d4eaf2;
	box-shadow: 0 6px 16px rgba(0, 111, 153, 0.07);
	transform: translateY(-1px);
}

.vn-cart-drawer__item-thumb img {
	display: block;
	width: 84px;
	height: 84px;
	object-fit: contain;
	background: #f8fbfc;
	border: 1px solid var(--hb-cart-line);
	border-radius: 14px;
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.vn-cart-drawer__item:hover .vn-cart-drawer__item-thumb img {
	border-color: var(--hb-brand-blue);
	transform: scale(1.02);
}

.vn-cart-drawer__item-details {
	min-width: 0;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
}

.vn-cart-drawer__item-title {
	margin: 0;
	font-size: clamp(16px, 1.8vw, 21px);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -0.01em;
	overflow-wrap: anywhere;
}

.vn-cart-drawer__item-title a {
	color: var(--hb-brand-ink);
	text-decoration: none;
	transition: color 0.18s ease;
}

.vn-cart-drawer__item-title a:hover,
.vn-cart-drawer__item-title a:focus-visible {
	color: var(--hb-brand-blue-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
	outline: none;
}

.vn-cart-drawer__item-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.vn-cart-drawer__item-qty-control {
	display: inline-flex;
	align-items: center;
	border: 1px solid #cbdce3;
	border-radius: 10px;
	overflow: hidden;
	background: #ffffff;
}

.vn-cart-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 36px;
	background: #ffffff;
	border: 0;
	cursor: pointer;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	color: var(--hb-brand-ink);
	transition: background 0.18s ease, color 0.18s ease;
}

.vn-cart-qty-btn:hover,
.vn-cart-qty-btn:focus-visible {
	background: var(--hb-brand-blue);
	color: #ffffff;
	outline: none;
}

.vn-cart-qty-input {
	width: 42px;
	height: 36px;
	padding: 0;
	border: 0;
	border-left: 1px solid #cbdce3;
	border-right: 1px solid #cbdce3;
	background: #ffffff;
	color: var(--hb-brand-navy);
	font-size: 17px;
	font-weight: 700;
	text-align: center;
}

.vn-cart-drawer__item-price {
	font-size: 18px;
	font-weight: 750;
	color: var(--hb-brand-blue-hover);
	white-space: nowrap;
}

.vn-cart-drawer__item-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 10px;
	color: #8aa0ab;
	cursor: pointer;
	padding: 0;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.vn-cart-drawer__item-remove:hover,
.vn-cart-drawer__item-remove:focus-visible {
	background: #e2f3f8;
	border-color: #b9dfea;
	color: var(--hb-brand-blue-hover);
	transform: translateY(-1px);
	outline: none;
}

.vn-cart-drawer__item-remove svg {
	width: 18px;
	height: 18px;
}

.vn-cart-drawer__free-shipping {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
	margin-bottom: 18px;
	padding: 14px 16px;
	background: #e5f4f8;
	border: 1px solid #cce9f0;
	border-radius: 14px;
	color: var(--hb-brand-blue-hover);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.vn-cart-drawer__free-shipping-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 23px;
	height: 23px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--hb-brand-blue);
	color: #ffffff;
}

.vn-cart-drawer__free-shipping-icon svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vn-cart-drawer__footer {
	flex: 0 0 auto;
	padding: 20px 28px 24px;
	background: #f7fafb;
	border-top: 1px solid var(--hb-cart-line);
}

.vn-cart-drawer__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	font-size: 17px;
	line-height: 1.35;
	color: #586c76;
	margin-bottom: 10px;
}

.vn-cart-drawer__discount span:last-child {
	color: #c14444;
}

.vn-cart-drawer__total {
	margin-top: 14px;
	margin-bottom: 18px;
	font-size: 22px;
	font-weight: 750;
	color: var(--hb-brand-navy);
}

.vn-cart-drawer__total-price {
	font-size: clamp(21px, 2.2vw, 28px);
	color: var(--hb-brand-blue-hover);
	white-space: nowrap;
}

.vn-cart-drawer__checkout-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	padding: 15px 22px;
	background: var(--hb-brand-blue);
	color: #ffffff !important;
	text-align: center;
	font-weight: 750;
	font-size: 17px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border: 1px solid var(--hb-brand-blue);
	border-radius: 14px;
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
	box-sizing: border-box;
}

.vn-cart-drawer__checkout-btn:hover,
.vn-cart-drawer__checkout-btn:focus-visible {
	background: var(--hb-brand-blue-hover);
	border-color: var(--hb-brand-blue-hover);
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 111, 153, 0.24);
	outline: none;
}

@media (max-width: 640px) {
	.vn-cart-drawer {
		width: calc(100vw - 20px);
		max-height: calc(100dvh - 20px);
		border-radius: 20px;
	}

	.vn-cart-drawer__header {
		padding: 17px 18px;
	}

	.vn-cart-drawer__title {
		font-size: 21px;
		gap: 9px;
	}

	.vn-cart-drawer__icon {
		width: 29px;
		height: 29px;
	}

	.vn-cart-drawer__close {
		width: 36px;
		height: 36px;
		font-size: 27px;
	}

	.vn-cart-drawer__content {
		padding: 12px 12px 16px;
	}

	.vn-cart-drawer__item {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		gap: 11px;
		padding: 12px 7px;
		border-radius: 12px;
	}

	.vn-cart-drawer__item-thumb img {
		width: 64px;
		height: 64px;
		border-radius: 11px;
	}

	.vn-cart-drawer__item-title {
		font-size: 15px;
	}

	.vn-cart-drawer__item-details {
		gap: 9px;
	}

	.vn-cart-drawer__item-bottom {
		align-items: flex-end;
		flex-wrap: wrap;
		gap: 8px;
	}

	.vn-cart-drawer__item-price {
		font-size: 15px;
	}

	.vn-cart-drawer__item-remove {
		width: 32px;
		height: 32px;
	}

	.vn-cart-drawer__footer {
		padding: 16px 18px 18px;
	}

	.vn-cart-drawer__row {
		font-size: 15px;
	}

	.vn-cart-drawer__total {
		font-size: 19px;
	}

	.vn-cart-drawer__total-price {
		font-size: 22px;
	}

	.vn-cart-drawer__checkout-btn {
		min-height: 52px;
		font-size: 15px;
		border-radius: 12px;
	}
}

/* ==========================================
   ASTRA THEME 2-COLUMN CHECKOUT LAYOUT FIXES
   ========================================== */
.woocommerce-checkout.vn-checkout,
form.checkout.vn-checkout {
	width: 100% !important;
	max-width: 1200px !important;
	margin: 0 auto !important;
	float: none !important;
	clear: both !important;
	box-sizing: border-box !important;
}

.vn-checkout .vn-checkout__columns {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 30px !important;
	align-items: flex-start !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.vn-checkout .vn-checkout__column--details {
	flex: 1 1 60% !important;
	width: 60% !important;
	min-width: 320px !important;
	max-width: 60% !important;
	box-sizing: border-box !important;
	float: none !important;
}

.vn-checkout .vn-checkout__column--summary {
	flex: 1 1 40% !important;
	width: 40% !important;
	min-width: 340px !important;
	max-width: 40% !important;
	box-sizing: border-box !important;
	background-color: #fcfcfc !important;
	border: 1px solid #e5e5e5 !important;
	border-radius: 12px !important;
	padding: 24px !important;
	float: none !important;
}

.vn-checkout #order_review_heading {
	margin-top: 0 !important;
	margin-bottom: 20px !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #111111 !important;
}

.vn-checkout #order_review,
.vn-checkout .woocommerce-checkout-review-order {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	clear: both !important;
	display: block !important;
	box-sizing: border-box !important;
}

.vn-checkout table.woocommerce-checkout-review-order-table {
	width: 100% !important;
	table-layout: auto !important;
	border-collapse: collapse !important;
	margin-bottom: 20px !important;
	float: none !important;
}

.vn-checkout table.woocommerce-checkout-review-order-table td,
.vn-checkout table.woocommerce-checkout-review-order-table th {
	word-break: normal !important;
	white-space: normal !important;
	box-sizing: border-box !important;
}

.vn-checkout #payment {
	width: 100% !important;
	max-width: 100% !important;
	background: #ffffff !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 8px !important;
	padding: 16px !important;
	margin-top: 20px !important;
	box-sizing: border-box !important;
	float: none !important;
	clear: both !important;
}

.vn-checkout #payment ul.payment_methods {
	padding: 0 !important;
	margin: 0 0 20px 0 !important;
	list-style: none !important;
	width: 100% !important;
	float: none !important;
}

.vn-checkout #payment ul.payment_methods li {
	margin-bottom: 12px !important;
	padding: 12px !important;
	background: #f9f9f9 !important;
	border: 1px solid #eeeeee !important;
	border-radius: 6px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	float: none !important;
	clear: both !important;
	white-space: normal !important;
	word-break: break-word !important;
}

.vn-checkout #payment ul.payment_methods li label {
	display: inline-block !important;
	font-weight: 600 !important;
	color: #222222 !important;
	margin-left: 8px !important;
	cursor: pointer !important;
	white-space: normal !important;
	word-break: break-word !important;
}

.vn-checkout #payment div.payment_box {
	background: #ffffff !important;
	border: 1px solid #e0e0e0 !important;
	padding: 12px 16px !important;
	margin-top: 10px !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	line-height: 1.6 !important;
	color: #444444 !important;
	width: 100% !important;
	box-sizing: border-box !important;
	white-space: normal !important;
	word-break: break-word !important;
}

.vn-checkout #payment .place-order {
	padding: 0 !important;
	margin: 20px 0 0 0 !important;
	float: none !important;
	width: 100% !important;
}

.vn-checkout #payment #place_order,
.vn-checkout button.button.alt#place_order {
	width: 100% !important;
	display: block !important;
	padding: 16px 24px !important;
	background-color: #c8102e !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	border: none !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease !important;
	box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25) !important;
}

.vn-checkout #payment #place_order:hover,
.vn-checkout button.button.alt#place_order:hover {
	background-color: #a00c24 !important;
}

@media (max-width: 991px) {
	.vn-checkout .vn-checkout__columns {
		flex-direction: column !important;
		flex-wrap: wrap !important;
	}
	.vn-checkout .vn-checkout__column--details,
	.vn-checkout .vn-checkout__column--summary {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}



/* Hamilton Beach account navigation presentation */
body.woocommerce-account .my-account-custom-sidebar {
	max-width: 1200px !important;
	margin: 20px auto 28px !important;
	padding: 22px 24px !important;
	background: #ffffff !important;
	border: 1px solid #e4eadf !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
	box-sizing: border-box !important;
}

body.woocommerce-account .my-account-custom-sidebar .profile-card {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 18px !important;
	padding: 0 0 18px !important;
	border-bottom: 1px solid #edf1ea !important;
}

body.woocommerce-account .my-account-custom-sidebar .profile-name {
	margin: 0 0 5px !important;
	color: #0f172a !important;
	font-size: 21px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
}

body.woocommerce-account .my-account-custom-sidebar .profile-meta {
	color: #667085 !important;
	font-size: 14px !important;
	line-height: 1.55 !important;
}

body.woocommerce-account .my-account-custom-sidebar .avatar {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 52px !important;
	height: 52px !important;
	flex: 0 0 52px !important;
	border-radius: 50% !important;
	background: #387900 !important;
	color: #ffffff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
}

body.woocommerce-account .my-account-custom-sidebar .menu {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
	gap: 10px !important;
	margin: 18px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.woocommerce-account .my-account-custom-sidebar .menu-item {
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.woocommerce-account .my-account-custom-sidebar .menu-item a,
body.woocommerce-account .my-account-custom-sidebar .menu-item:not(:has(a)) {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
	width: 100% !important;
	min-height: 46px !important;
	padding: 10px 13px !important;
	box-sizing: border-box !important;
	border: 1px solid #e4eadf !important;
	border-radius: 10px !important;
	background: #fbfdf9 !important;
	color: #334155 !important;
	font-size: 14px !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
	transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease !important;
}

body.woocommerce-account .my-account-custom-sidebar .menu-item a:hover,
body.woocommerce-account .my-account-custom-sidebar .menu-item a:focus-visible {
	border-color: #387900 !important;
	background: #f2f8ee !important;
	color: #2b5f00 !important;
	transform: translateY(-1px) !important;
	outline: none !important;
}

body.woocommerce-account .my-account-custom-sidebar .menu-item.active a {
	border-color: #387900 !important;
	background: #eef7e9 !important;
	color: #2b5f00 !important;
	font-weight: 700 !important;
}

body.woocommerce-account .my-account-custom-sidebar .menu-label {
	min-width: 0 !important;
	overflow-wrap: anywhere !important;
}

body.woocommerce-account .my-account-custom-sidebar .menu-value {
	color: #475467 !important;
	font-size: 13px !important;
	text-align: right !important;
	overflow-wrap: anywhere !important;
}

body.woocommerce-account .my-account-custom-sidebar .chevron {
	flex: 0 0 auto !important;
	color: #387900 !important;
	font-size: 20px !important;
	line-height: 1 !important;
}

@media (max-width: 640px) {
	body.woocommerce-account .my-account-custom-sidebar {
		margin: 12px auto 20px !important;
		padding: 16px !important;
		border-radius: 14px !important;
	}

	body.woocommerce-account .my-account-custom-sidebar .profile-card {
		align-items: flex-start !important;
	}

	body.woocommerce-account .my-account-custom-sidebar .profile-name {
		font-size: 18px !important;
	}

	body.woocommerce-account .my-account-custom-sidebar .menu {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}

	body.woocommerce-account .my-account-custom-sidebar .menu-item a,
	body.woocommerce-account .my-account-custom-sidebar .menu-item:not(:has(a)) {
		min-height: 44px !important;
		padding: 9px 10px !important;
		font-size: 13px !important;
	}

	body.woocommerce-account .my-account-custom-sidebar .menu-item:nth-last-child(-n+2) {
		grid-column: span 2 !important;
	}
}



/* Keep account contact cards readable at tablet widths */
body.woocommerce-account .my-account-custom-sidebar .menu {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
}

body.woocommerce-account .my-account-custom-sidebar .menu-item:not(:has(a)) {
	align-items: flex-start !important;
	justify-content: center !important;
	flex-direction: column !important;
	gap: 3px !important;
}

body.woocommerce-account .my-account-custom-sidebar .menu-item:not(:has(a)) .menu-value {
	text-align: left !important;
}

@media (max-width: 640px) {
	body.woocommerce-account .my-account-custom-sidebar .menu {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}



/* Hamilton Beach account layout */
body.woocommerce-account .entry-content > .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  margin: 32px auto 72px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body.woocommerce-account .entry-content > .woocommerce > .my-account-custom-sidebar {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
body.woocommerce-account .entry-content > .woocommerce > .my-account-custom-content,
body.woocommerce-account .entry-content > .woocommerce > .woocommerce-MyAccount-content {
  grid-column: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-account .woocommerce-MyAccount-content .order-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 28px !important;
}
body.woocommerce-account .my-account-custom-sidebar .menu {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  margin-top: 18px !important;
}
body.woocommerce-account .my-account-custom-sidebar .menu-item a,
body.woocommerce-account .my-account-custom-sidebar .menu-item:not(:has(a)) {
  min-height: 52px !important;
  padding: 13px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #edf1ea !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body.woocommerce-account .my-account-custom-sidebar .menu-item a:hover {
  background: #f2f8ee !important;
  color: #387900 !important;
  transform: none !important;
}
body.woocommerce-account .my-account-custom-sidebar .menu-item.active a {
  border: 0 !important;
  border-radius: 12px !important;
  background: #f1f5ef !important;
  color: #2b5f00 !important;
}
body.woocommerce-account .my-account-custom-sidebar .menu-item:not(:has(a)) {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
}
body.woocommerce-account .my-account-custom-sidebar .menu-item:not(:has(a)) .menu-value {
  text-align: right !important;
}
@media (max-width: 921px) {
  body.woocommerce-account .entry-content > .woocommerce {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: min(100%, 728px) !important;
    margin: 20px auto 48px !important;
  }
  body.woocommerce-account .entry-content > .woocommerce > .my-account-custom-sidebar,
  body.woocommerce-account .entry-content > .woocommerce > .my-account-custom-content,
  body.woocommerce-account .entry-content > .woocommerce > .woocommerce-MyAccount-content {
    grid-column: 1 !important;
  }
}
@media (max-width: 640px) {
  body.woocommerce-account .entry-content > .woocommerce {
    width: 100% !important;
    margin: 12px auto 36px !important;
    padding: 0 12px !important;
  }
  body.woocommerce-account .my-account-custom-sidebar .menu {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  body.woocommerce-account .my-account-custom-sidebar .menu-item a,
  body.woocommerce-account .my-account-custom-sidebar .menu-item:not(:has(a)) {
    min-height: 44px !important;
    padding: 9px 10px !important;
    border: 1px solid #e4eadf !important;
    border-radius: 10px !important;
    background: #fbfdf9 !important;
  }
  body.woocommerce-account .my-account-custom-sidebar .menu-item:not(:has(a)) {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }
  body.woocommerce-account .my-account-custom-sidebar .menu-item:nth-last-child(-n+2) {
    grid-column: span 2 !important;
  }
}


body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)){display:block!important;width:min(100%,1200px)!important;max-width:1200px!important;margin:32px auto 72px!important;padding:0!important;}
body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-wrapper{width:min(100%,760px)!important;max-width:760px!important;margin:0 auto!important;background:#f7faf5!important;border:1px solid #d5ead8!important;box-shadow:0 16px 40px rgba(56,121,0,.1)!important;}
body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-title{color:#10233f!important;}
body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-form{border-color:#d5ead8!important;background:#fff!important;}
body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-form input[type=text],body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-form input[type=email],body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-form input[type=password]{border-color:#cfe4d2!important;}
body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-form input:focus{border-color:#387900!important;box-shadow:0 0 0 3px rgba(56,121,0,.14)!important;}
body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-form a,body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-register-link a,body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-back a{color:#387900!important;}
body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-btn{background:#387900!important;border-color:#387900!important;color:#fff!important;}
body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-btn:hover,body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-btn:focus{background:#2b5f00!important;border-color:#2b5f00!important;color:#fff!important;}
@media(max-width:640px){body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)){width:100%!important;margin:12px auto 36px!important;padding:0 12px!important;}body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-wrapper{width:100%!important;padding:20px!important;border-radius:18px!important;}body.woocommerce-account .entry-content > .woocommerce:not(:has(> .my-account-custom-sidebar)) .vn-login-form{width:100%!important;padding:16px!important;}}