/* ==========================================================================
   Air Pantry Commerce Suite - Main Stylesheet (v1.0.0)
   Covers Single Product Page, Cart Page, and Checkout Page
   ========================================================================== */

.air-pantry-single-product-wrap,
.air-pantry-cart-wrap,
.air-pantry-checkout-wrap {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1F2937;
	background-color: #F8FAF7;
	box-sizing: border-box;
	width: 100%;
	padding: 36px 0 64px 0;
}

.air-pantry-single-product-wrap *,
.air-pantry-cart-wrap *,
.air-pantry-checkout-wrap * {
	box-sizing: inherit;
}

.ap-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* =============================================================
   1. SINGLE PRODUCT PAGE STYLING
   ============================================================= */

/* Breadcrumbs */
.ap-single-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #6B7280;
	margin-bottom: 28px;
}

.ap-single-breadcrumbs a {
	color: #4B5563;
	text-decoration: none;
	transition: color 0.2s;
}

.ap-single-breadcrumbs a:hover {
	color: #1B7A43;
}

.ap-crumb-sep {
	color: #9CA3AF;
}

.ap-crumb-current {
	color: #111827;
	font-weight: 600;
}

/* Split Main Grid */
.ap-single-main-grid {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 48px;
	margin-bottom: 48px;
}

.ap-single-media-col {
	flex: 0 0 48%;
	width: 48%;
}

.ap-single-img-card {
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 20px;
	padding: 16px;
	box-shadow: 0 10px 25px -5px rgba(7, 42, 36, 0.08);
	position: relative;
	overflow: hidden;
}

.ap-single-badge {
	position: absolute;
	top: 24px;
	left: 24px;
	background: rgba(7, 42, 36, 0.9);
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 9999px;
	z-index: 2;
	backdrop-filter: blur(4px);
}

.ap-single-img-frame {
	width: 100%;
	height: 440px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #F8FAF8;
	border-radius: 14px;
	overflow: hidden;
}

.ap-single-img-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Right Info Column */
.ap-single-info-col {
	flex: 0 0 48%;
	width: 48%;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ap-single-cat-badge {
	display: inline-flex;
	align-self: flex-start;
}

.ap-single-cat-badge a {
	background-color: #D1FAE5;
	color: #1B7A43;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 9999px;
	text-decoration: none;
	transition: background-color 0.2s;
}

.ap-single-cat-badge a:hover {
	background-color: #A7F3D0;
}

.ap-single-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 36px;
	font-weight: 700;
	color: #072A24;
	line-height: 1.2;
	margin: 0;
}

.ap-single-price-wrap {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #E5E7EB;
}

.ap-single-price {
	font-family: 'Inter', sans-serif;
	font-size: 28px;
	font-weight: 800;
	color: #1B7A43;
}

.ap-single-price-note {
	font-size: 13px;
	color: #6B7280;
}

.ap-single-short-desc {
	font-size: 15px;
	line-height: 1.6;
	color: #374151;
}

/* Form, Quantity & Add to Basket */
.ap-single-cart-form {
	margin: 10px 0 16px 0;
}

.ap-single-actions-row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.ap-quantity-stepper {
	display: inline-flex;
	align-items: center;
	background: #FFFFFF;
	border: 1px solid #D1D5DB;
	border-radius: 9999px;
	padding: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ap-qty-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: #F3F4F6;
	color: #111827;
	font-size: 16px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
	outline: none;
}

.ap-qty-btn:hover {
	background: #E5E7EB;
	color: #1B7A43;
}

.ap-quantity-stepper input[type="number"] {
	width: 44px;
	height: 36px;
	border: none;
	background: transparent;
	text-align: center;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	outline: none;
	-moz-appearance: textfield;
}

.ap-quantity-stepper input[type="number"]::-webkit-outer-spin-button,
.ap-quantity-stepper input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ap-single-add-btn {
	flex: 1 1 auto;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #1B7A43 !important;
	color: #FFFFFF !important;
	font-family: 'Inter', sans-serif;
	font-size: 15px !important;
	font-weight: 700 !important;
	padding: 14px 28px !important;
	border-radius: 9999px !important;
	border: none !important;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(27, 122, 67, 0.28) !important;
	transition: all 0.22s ease !important;
}

.ap-single-add-btn:hover {
	background-color: #064E3B !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(27, 122, 67, 0.35) !important;
}

/* Delivery Guarantee Box */
.ap-delivery-guarantee-box {
	background-color: #F4F9F5;
	border: 1px solid #A7F3D0;
	border-radius: 16px;
	padding: 20px;
	margin-top: 10px;
}

.ap-guarantee-title {
	font-size: 14px;
	font-weight: 700;
	color: #072A24;
	margin: 0 0 12px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ap-guarantee-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ap-guarantee-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: #374151;
	line-height: 1.5;
}

.ap-g-check {
	color: #1B7A43;
	font-weight: 800;
	font-size: 14px;
	flex-shrink: 0;
}

/* Full Description Card */
.ap-single-desc-card {
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 20px;
	padding: 36px 32px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
	margin-bottom: 56px;
}

.ap-desc-card-header {
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid #E5E7EB;
}

.ap-desc-heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 26px;
	font-weight: 700;
	color: #072A24;
	margin: 0 0 4px 0;
}

.ap-desc-sub {
	font-size: 13px;
	color: #1B7A43;
	font-weight: 600;
}

.ap-desc-content {
	font-size: 15px;
	line-height: 1.7;
	color: #374151;
}

.ap-desc-content p {
	margin: 0 0 14px 0;
}

.ap-desc-content ul {
	margin: 14px 0;
	padding-left: 20px;
}

.ap-desc-content li {
	margin-bottom: 8px;
}

/* Related Products */
.ap-single-related-section {
	margin-top: 20px;
}

.ap-related-header {
	margin-bottom: 24px;
}

.ap-related-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 28px;
	font-weight: 700;
	color: #072A24;
	margin: 0 0 4px 0;
}

.ap-related-subtitle {
	font-size: 14px;
	color: #6B7280;
	margin: 0;
}

.ap-related-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ap-related-card {
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 16px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	transition: transform 0.2s, box-shadow 0.2s;
}

.ap-related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 24px -6px rgba(13, 92, 58, 0.12);
}

.ap-related-img-link {
	text-decoration: none;
	color: inherit;
	width: 100%;
}

.ap-related-img-wrap {
	width: 100%;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

.ap-related-img-wrap img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.ap-related-prod-title {
	font-size: 13.5px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 6px 0;
	min-height: 36px;
	line-height: 1.3;
}

.ap-related-price {
	font-size: 15px;
	font-weight: 800;
	color: #072A24;
	margin-bottom: 12px;
}

.ap-related-btn {
	width: 100% !important;
	background-color: #1B7A43 !important;
	color: #FFFFFF !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 8px 14px !important;
	border-radius: 9999px !important;
	border: none !important;
	text-decoration: none !important;
	transition: background-color 0.2s !important;
}

.ap-related-btn:hover {
	background-color: #064E3B !important;
}

/* =============================================================
   2. CART PAGE STYLING
   ============================================================= */
.ap-cart-header {
	margin-bottom: 32px;
}

.ap-cart-page-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 36px;
	font-weight: 700;
	color: #072A24;
	margin: 0 0 6px 0;
}

.ap-cart-subtext {
	font-size: 14.5px;
	color: #4B5563;
	margin: 0;
}

/* Empty Cart */
.ap-cart-empty-card {
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 20px;
	padding: 56px 24px;
	text-align: center;
	max-width: 600px;
	margin: 40px auto;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ap-empty-basket-icon {
	font-size: 54px;
	margin-bottom: 16px;
}

.ap-empty-heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 24px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 8px 0;
}

.ap-empty-sub {
	font-size: 14px;
	color: #6B7280;
	margin: 0 0 24px 0;
	line-height: 1.5;
}

.ap-empty-shop-btn {
	display: inline-flex;
	background-color: #1B7A43;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 700;
	padding: 13px 28px;
	border-radius: 9999px;
	text-decoration: none;
	transition: background-color 0.2s;
}

.ap-empty-shop-btn:hover {
	background-color: #064E3B;
}

/* 2-Column Cart Grid */
.ap-cart-two-col-grid {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
}

.ap-cart-items-col {
	flex: 0 0 65%;
	width: 65%;
}

.ap-cart-card {
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.ap-cart-th-row {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 30px;
	gap: 16px;
	align-items: center;
	padding-bottom: 12px;
	border-bottom: 1px solid #E5E7EB;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #6B7280;
}

.ap-cart-item-row {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 30px;
	gap: 16px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid #F3F4F6;
}

.ap-cart-item-row:last-child {
	border-bottom: none;
}

.ap-item-prod-cell {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ap-cart-thumb {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	background: #F8FAF8;
	padding: 4px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ap-cart-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.ap-cart-prod-title {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
	text-decoration: none;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ap-cart-prod-title:hover {
	color: #1B7A43;
}

.ap-mobile-price {
	display: none;
	font-size: 13px;
	font-weight: 700;
	color: #1B7A43;
	margin-top: 4px;
}

.ap-item-price-cell {
	font-size: 14px;
	font-weight: 600;
	color: #374151;
}

.ap-item-total-cell {
	font-size: 15px;
	font-weight: 800;
	color: #072A24;
}

.ap-remove-link {
	color: #9CA3AF;
	font-size: 16px;
	text-decoration: none;
	transition: color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.ap-remove-link:hover {
	color: #EF4444;
	background-color: #FEF2F2;
}

.ap-cart-actions-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 18px;
	margin-top: 14px;
	border-top: 1px solid #E5E7EB;
}

.ap-back-shop-btn {
	font-size: 13.5px;
	font-weight: 600;
	color: #1B7A43;
	text-decoration: none;
	transition: color 0.2s;
}

.ap-back-shop-btn:hover {
	color: #064E3B;
	text-decoration: underline;
}

.ap-update-cart-btn {
	background: #F3F4F6 !important;
	color: #374151 !important;
	border: 1px solid #D1D5DB !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	padding: 8px 18px !important;
	border-radius: 9999px !important;
	cursor: pointer;
	transition: all 0.2s !important;
}

.ap-update-cart-btn:hover {
	background: #E5E7EB !important;
	color: #111827 !important;
}

/* Cart Summary Column */
.ap-cart-summary-col {
	flex: 0 0 32%;
	width: 32%;
}

.ap-summary-card {
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ap-summary-heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	color: #072A24;
	margin: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #E5E7EB;
}

.ap-summary-lines {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ap-summary-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13.5px;
	color: #374151;
}

.ap-summary-line strong {
	color: #111827;
	font-weight: 700;
}

.ap-fee-line {
	background-color: #F8FAF8;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid #E5E7EB;
}

.ap-fee-line small {
	display: block;
	font-size: 11px;
	color: #6B7280;
}

.ap-fee-badge {
	font-size: 11.5px;
	color: #1B7A43 !important;
	background: #ECFDF5;
	padding: 4px 8px;
	border-radius: 6px;
	white-space: nowrap;
}

.ap-total-line {
	padding-top: 12px;
	border-top: 1px dashed #D1D5DB;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
}

.ap-grand-total {
	font-size: 20px;
	font-weight: 800;
	color: #1B7A43;
}

.ap-checkout-btn {
	display: block;
	width: 100% !important;
	background-color: #1B7A43 !important;
	color: #FFFFFF !important;
	font-family: 'Inter', sans-serif;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	padding: 14px 20px !important;
	border-radius: 9999px !important;
	text-align: center !important;
	text-decoration: none !important;
	border: none !important;
	box-shadow: 0 4px 14px rgba(27, 122, 67, 0.28) !important;
	transition: all 0.22s ease !important;
}

.ap-checkout-btn:hover {
	background-color: #064E3B !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(27, 122, 67, 0.35) !important;
}

.ap-cart-rules-box {
	background: #F4F9F5;
	border: 1px solid #A7F3D0;
	border-radius: 12px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 12px;
	color: #374151;
}

.ap-rule-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.4;
}

/* =============================================================
   3. CHECKOUT PAGE STYLING (Flawless 2-Column Luxury Layout)
   ============================================================= */
.ap-checkout-header {
	margin-bottom: 36px;
	text-align: center;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

.ap-checkout-badge {
	display: inline-flex;
	align-items: center;
	background: #1B7A43;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 9999px;
	margin-bottom: 12px;
}

.ap-checkout-page-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 36px;
	font-weight: 700;
	color: #072A24;
	margin: 0 0 8px 0;
}

.ap-checkout-subtext {
	font-size: 14.5px;
	color: #4B5563;
	line-height: 1.5;
	margin: 0;
}

/* Coupon toggle on checkout */
.ap-checkout-native-wrapper .woocommerce-form-coupon-toggle {
	max-width: 1200px;
	margin: 0 auto 24px auto;
}

.ap-checkout-native-wrapper .woocommerce-info {
	background-color: #F4F9F5 !important;
	border-top: 3px solid #1B7A43 !important;
	border-radius: 12px !important;
	color: #374151 !important;
	padding: 14px 20px !important;
	font-size: 13.5px !important;
}

.ap-checkout-native-wrapper .woocommerce-info a {
	color: #1B7A43 !important;
	font-weight: 700 !important;
	text-decoration: underline !important;
}

/* Flawless 2-Column CSS Grid */
.ap-checkout-native-wrapper form.woocommerce-checkout {
	display: grid !important;
	grid-template-columns: 1.35fr 1fr !important;
	grid-template-areas: "customer review" !important;
	column-gap: 36px !important;
	row-gap: 24px !important;
	align-items: start !important;
	width: 100% !important;
	margin: 0 auto !important;
}

/* LEFT COLUMN: Customer Details (Billing + Additional stacked at 100%) */
.ap-checkout-native-wrapper #customer_details {
	grid-area: customer !important;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 24px !important;
}

.ap-checkout-native-wrapper #customer_details .col2-set {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ap-checkout-native-wrapper #customer_details .col-1,
.ap-checkout-native-wrapper #customer_details .col-2 {
	width: 100% !important;
	float: none !important;
	margin: 0 0 24px 0 !important;
	padding: 0 !important;
}

.ap-checkout-native-wrapper #customer_details .col-2 {
	margin-bottom: 0 !important;
}

/* Card Styling for Billing & Additional Details */
.ap-checkout-native-wrapper .woocommerce-billing-fields,
.ap-checkout-native-wrapper .woocommerce-additional-fields {
	background: #FFFFFF !important;
	border: 1px solid #E5E7EB !important;
	border-radius: 20px !important;
	padding: 28px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
	margin: 0 !important;
}

.ap-checkout-native-wrapper .woocommerce-billing-fields h3,
.ap-checkout-native-wrapper .woocommerce-additional-fields h3 {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #072A24 !important;
	margin: 0 0 20px 0 !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid #E5E7EB !important;
}

/* Form Fields Styling */
.ap-checkout-native-wrapper .form-row {
	margin-bottom: 16px !important;
	padding: 0 !important;
}

.ap-checkout-native-wrapper .form-row label {
	display: block !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #374151 !important;
	margin-bottom: 6px !important;
}

.ap-checkout-native-wrapper .form-row .required {
	color: #DC2626 !important;
	text-decoration: none !important;
}

.ap-checkout-native-wrapper input[type="text"],
.ap-checkout-native-wrapper input[type="email"],
.ap-checkout-native-wrapper input[type="tel"],
.ap-checkout-native-wrapper select,
.ap-checkout-native-wrapper textarea {
	width: 100% !important;
	border-radius: 12px !important;
	border: 1px solid #D1D5DB !important;
	padding: 11px 14px !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 14px !important;
	color: #111827 !important;
	background-color: #FFFFFF !important;
	transition: all 0.2s ease !important;
	box-sizing: border-box !important;
}

.ap-checkout-native-wrapper input:focus,
.ap-checkout-native-wrapper select:focus,
.ap-checkout-native-wrapper textarea:focus {
	border-color: #1B7A43 !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(27, 122, 67, 0.12) !important;
}

/* Two-column form row split (First name, Last name) */
.ap-checkout-native-wrapper .form-row-first {
	width: 48% !important;
	float: left !important;
	clear: none !important;
}

.ap-checkout-native-wrapper .form-row-last {
	width: 48% !important;
	float: right !important;
	clear: none !important;
}

.ap-checkout-native-wrapper .form-row-wide {
	width: 100% !important;
	clear: both !important;
}

/* RIGHT COLUMN: Order Review Card (Sticky 40%) */
.ap-checkout-native-wrapper #order_review_heading {
	display: none !important; /* Hide disjointed H3 so grid flows perfectly */
}

.ap-checkout-native-wrapper #order_review {
	grid-area: review !important;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	background: #FFFFFF !important;
	border: 1px solid #E5E7EB !important;
	border-radius: 20px !important;
	padding: 28px !important;
	box-shadow: 0 4px 18px rgba(7, 42, 36, 0.05) !important;
	position: sticky !important;
	top: 32px !important;
}

/* Order Review Title inside #order_review */
.ap-checkout-native-wrapper #order_review::before {
	content: "Your Order Summary";
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	color: #072A24;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #E5E7EB;
}

/* Order Review Table */
.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table {
	width: 100% !important;
	border-collapse: collapse !important;
	margin-bottom: 24px !important;
	border: none !important;
}

.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table th,
.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table td {
	padding: 12px 0 !important;
	border: none !important;
	border-bottom: 1px solid #F3F4F6 !important;
	font-size: 13.5px !important;
	color: #374151 !important;
}

.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table thead th {
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.8px !important;
	color: #6B7280 !important;
	border-bottom: 1px solid #E5E7EB !important;
	padding-bottom: 8px !important;
}

.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table .product-name {
	font-weight: 600 !important;
	color: #111827 !important;
	text-align: left !important;
}

.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table .product-total {
	font-weight: 700 !important;
	color: #111827 !important;
	text-align: right !important;
}

.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table .cart-subtotal th,
.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table .cart-subtotal td {
	font-size: 14px !important;
	font-weight: 600 !important;
	padding-top: 16px !important;
}

.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table .order-total th,
.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table .order-total td {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: #1B7A43 !important;
	border-top: 2px solid #E5E7EB !important;
	border-bottom: none !important;
	padding-top: 14px !important;
}

.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table .order-total td strong {
	font-weight: 800 !important;
	color: #1B7A43 !important;
}

/* Payment Gateway Box */
.ap-checkout-native-wrapper #payment {
	background: #F8FAF8 !important;
	border: 1px solid #E5E7EB !important;
	border-radius: 16px !important;
	padding: 18px !important;
	margin-top: 16px !important;
}

.ap-checkout-native-wrapper #payment ul.payment_methods {
	padding: 0 !important;
	margin: 0 0 16px 0 !important;
	list-style: none !important;
	border-bottom: 1px solid #E5E7EB !important;
}

.ap-checkout-native-wrapper #payment ul.payment_methods li {
	margin-bottom: 12px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #111827 !important;
}

.ap-checkout-native-wrapper #payment div.payment_box {
	background: #FFFFFF !important;
	border: 1px solid #E5E7EB !important;
	border-radius: 10px !important;
	padding: 12px !important;
	font-size: 12.5px !important;
	color: #4B5563 !important;
	margin-top: 8px !important;
}

.ap-checkout-native-wrapper #payment div.payment_box::before {
	display: none !important;
}

/* Place Order Button */
.ap-checkout-native-wrapper #place_order {
	display: block !important;
	width: 100% !important;
	background-color: #1B7A43 !important;
	color: #FFFFFF !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	padding: 15px 24px !important;
	border-radius: 9999px !important;
	border: none !important;
	cursor: pointer !important;
	box-shadow: 0 4px 14px rgba(27, 122, 67, 0.28) !important;
	transition: all 0.22s ease !important;
	text-align: center !important;
	margin-top: 16px !important;
}

.ap-checkout-native-wrapper #place_order:hover {
	background-color: #064E3B !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(27, 122, 67, 0.35) !important;
}

/* =============================================================
   RESPONSIVE QUERIES
   ============================================================= */
@media (max-width: 960px) {
	.ap-checkout-native-wrapper form.woocommerce-checkout {
		grid-template-columns: 1fr !important;
		grid-template-areas: 
			"customer"
			"review" !important;
		gap: 28px !important;
	}

	.ap-checkout-native-wrapper #order_review {
		position: static !important;
	}

	.ap-single-main-grid {
		flex-direction: column;
		gap: 32px;
	}

	.ap-single-media-col,
	.ap-single-info-col {
		flex: 1 1 100%;
		width: 100%;
	}

	.ap-cart-two-col-grid {
		flex-direction: column;
	}

	.ap-cart-items-col,
	.ap-cart-summary-col {
		flex: 1 1 100%;
		width: 100%;
	}

	.ap-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.ap-checkout-native-wrapper .form-row-first,
	.ap-checkout-native-wrapper .form-row-last {
		width: 100% !important;
		float: none !important;
	}

	.ap-checkout-native-wrapper .woocommerce-billing-fields,
	.ap-checkout-native-wrapper .woocommerce-additional-fields,
	.ap-checkout-native-wrapper #order_review {
		padding: 20px 16px !important;
	}

	.ap-single-img-frame {
		height: 320px;
	}

	.ap-single-title {
		font-size: 28px;
	}

	.ap-cart-th-row {
		display: none;
	}

	.ap-cart-item-row {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"prod remove"
			"qty total";
		row-gap: 12px;
	}

	.ap-item-prod-cell {
		grid-area: prod;
	}

	.ap-item-remove-cell {
		grid-area: remove;
	}

	.ap-item-qty-cell {
		grid-area: qty;
	}

	.ap-item-total-cell {
		grid-area: total;
		text-align: right;
	}

	.ap-item-price-cell {
		display: none;
	}

	.ap-mobile-price {
		display: block;
	}

	.ap-related-grid {
		grid-template-columns: 1fr;
	}
}


/* -------------------------------------------------------------
   FIX OVERLAPPING WOOCOMMERCE PSEUDO-ELEMENT ICONS
   ------------------------------------------------------------- */
.ap-checkout-native-wrapper .woocommerce-info::before,
.ap-checkout-native-wrapper .woocommerce-message::before,
.ap-checkout-native-wrapper .woocommerce-error::before,
.ap-checkout-native-wrapper .woocommerce-notice::before {
	display: none !important;
	content: none !important;
}

.ap-checkout-native-wrapper .woocommerce-info,
.ap-checkout-native-wrapper .woocommerce-message,
.ap-checkout-native-wrapper .woocommerce-error {
	background-color: #F4F9F5 !important;
	border: 1px solid #A7F3D0 !important;
	border-left: 4px solid #1B7A43 !important;
	border-radius: 12px !important;
	color: #374151 !important;
	padding: 14px 20px !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	margin-bottom: 24px !important;
}

.ap-checkout-native-wrapper .woocommerce-error {
	background-color: #FEF2F2 !important;
	border-color: #FECACA !important;
	border-left-color: #DC2626 !important;
	color: #991B1B !important;
}

/* -------------------------------------------------------------
   CHECKOUT ITEM REMOVE BUTTON STYLING
   ------------------------------------------------------------- */
.ap-checkout-native-wrapper table.woocommerce-checkout-review-order-table .product-name {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: 100% !important;
}

.ap-checkout-item-title-wrap {
	flex: 1 1 auto;
	font-weight: 600;
	color: #111827;
}

.ap-checkout-remove-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	height: 22px !important;
	border-radius: 50% !important;
	background-color: #F3F4F6 !important;
	color: #9CA3AF !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	border: 1px solid #E5E7EB !important;
	cursor: pointer !important;
	flex-shrink: 0 !important;
	transition: all 0.2s ease !important;
	line-height: 1 !important;
	margin-left: 8px !important;
}

.ap-checkout-remove-btn:hover {
	background-color: #FEF2F2 !important;
	color: #DC2626 !important;
	border-color: #FCA5A5 !important;
	transform: scale(1.1) !important;
}
