/**
 * WooCommerce Custom Product Page — Frontend Styles
 *
 * Provides the layout and visual treatment for the three custom sections:
 *  1. #wcpp-product-section   — Product gallery + summary
 *  2. #wcpp-checkout-section  — Embedded WooCommerce checkout
 *  3. #wcpp-reviews-section   — WooCommerce / WoodMart reviews (Image 5 layout)
 *
 * @package Woo_Custom_Product_Page
 * @version 1.4.0
 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
	--wcpp-primary:       #F59A57;
	--wcpp-primary-dark:  #e0833f;
	--wcpp-text:          #1a1a2e;
	--wcpp-text-muted:    #64748b;
	--wcpp-border:        #e2e8f0;
	--wcpp-bg-light:      #f8fafc;
	--wcpp-bg-alt:        #f1f5f9;
	--wcpp-white:         #ffffff;
	--wcpp-success:       #16a34a;
	--wcpp-error:         #dc2626;
	--wcpp-radius:        12px;
	--wcpp-shadow:        0 4px 20px -4px rgba(0, 0, 0, 0.08);
	--wcpp-section-gap:   56px;
	--wcpp-container:     1200px;
	--wcpp-padding-x:     24px;
}

/* ==========================================================================
   Shared Section Layout
   ========================================================================== */
.wcpp-product-section,
.wcpp-checkout-section,
.wcpp-reviews-section {
	padding-top:    var(--wcpp-section-gap);
	padding-bottom: var(--wcpp-section-gap);
	width: 100%;
	box-sizing: border-box;
}

.wcpp-container {
	max-width:     var(--wcpp-container);
	margin-left:   auto;
	margin-right:  auto;
	padding-left:  var(--wcpp-padding-x);
	padding-right: var(--wcpp-padding-x);
	box-sizing:    border-box;
}

.wcpp-section-title {
	font-size:     28px;
	font-weight:   800;
	line-height:   1.3;
	color:         var(--wcpp-text);
	margin:        0 0 8px;
	letter-spacing: -0.02em;
}

.wcpp-section-subtitle {
	font-size:     16px;
	color:         var(--wcpp-text-muted);
	margin:        0 0 32px;
}

/* ==========================================================================
   Button Vibration Shake Animation (Every 2 seconds)
   ========================================================================== */
@keyframes wcppButtonShake {
	0%, 75%, 100% {
		transform: translateX(0);
	}
	78% {
		transform: translateX(-4px) rotate(-1deg);
	}
	82% {
		transform: translateX(4px) rotate(1deg);
	}
	86% {
		transform: translateX(-3px) rotate(-0.5deg);
	}
	90% {
		transform: translateX(3px) rotate(0.5deg);
	}
	94% {
		transform: translateX(-1px);
	}
	97% {
		transform: translateX(1px);
	}
}

/* ==========================================================================
   Section 1 — Product Section
   ========================================================================== */
.wcpp-product-layout {
	display:               grid;
	grid-template-columns: 480px 1fr;
	gap:                   48px;
	align-items:           start;
}

/* Gallery column */
.wcpp-product-gallery {
	position: sticky;
	top:      24px;
	width:    100%;
}

.wcpp-gallery-container {
	width: 100%;
}

.wcpp-gallery-main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	overflow: hidden;
	background: #f6f7f9;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.wcpp-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.25s ease;
}

/* Red discount badge in top right corner (-32%) */
.wcpp-gallery-badge-sale {
	position: absolute;
	top: 16px;
	right: 16px;
	background: #e53935;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	z-index: 5;
	box-shadow: 0 2px 8px rgba(229, 57, 53, 0.45);
	letter-spacing: 0.3px;
}

/* Play button overlay placed in the exact center of the main product image */
.wcpp-gallery-main .wcpp-play-button {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 64px !important;
	height: 64px !important;
	min-width: 64px !important;
	min-height: 64px !important;
	max-width: 64px !important;
	max-height: 64px !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	background: rgba(255, 255, 255, 0.96) !important;
	border: none !important;
	outline: none !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 4px 22px rgba(0, 0, 0, 0.32) !important;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
	z-index: 25 !important;
	padding: 0 !important;
	margin: 0 !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

.wcpp-gallery-main .wcpp-play-button:hover {
	background: #ffffff !important;
	transform: translate(-50%, -50%) scale(1.1) !important;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.42) !important;
}

.wcpp-gallery-main .wcpp-play-button svg {
	width: 26px !important;
	height: 26px !important;
	fill: #111111 !important;
	margin-left: 4px !important;
	display: block !important;
	pointer-events: none !important;
}

/* Play button is completely removed/hidden when video is playing */
.wcpp-gallery-main.has-video-playing .wcpp-play-button,
.wcpp-gallery-main .wcpp-play-button.is-hidden {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Product Meta: Product Quantity Row (Image 3) */
.product_meta .wcpp-product-quantity-wrapper {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1 1 100%;
}

.product_meta .wcpp-product-quantity-wrapper .meta-label {
	color: var(--color-gray-800, #242424);
	font-weight: 700;
}

.product_meta .wcpp-product-quantity-wrapper .wcpp-quantity-value {
	color: var(--wd-text-color, #777777);
	font-weight: 400;
}

/* Horizontal thumbnail row */
.wcpp-gallery-thumbs {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.wcpp-thumb-item {
	position: relative;
	flex: 0 0 78px;
	width: 78px;
	height: 78px;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid transparent;
	cursor: pointer;
	background: #f6f7f9;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.wcpp-thumb-item:hover {
	border-color: #cbd5e1;
}

.wcpp-thumb-item.active {
	border-color: #3b82f6;
	box-shadow: 0 0 0 1px #3b82f6;
}

.wcpp-thumb-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wcpp-thumb-play-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wcpp-thumb-play-triangle {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid #222222;
	margin-left: 2px;
}

/* In-Place Video Container */
.wcpp-inline-video-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	background: #000000;
	border-radius: 16px;
	overflow: hidden;
}

.wcpp-inline-video-wrap iframe,
.wcpp-inline-video-wrap video {
	width: 100% !important;
	height: 100% !important;
	border: none !important;
	display: block !important;
	object-fit: contain !important;
}

.wcpp-gallery-main.has-video-playing .wcpp-gallery-badge-sale {
	display: none !important;
}

/* ── Summary Column & Buy Now Button ─────────────────────────────────────── */
.wcpp-product-summary {
	padding-top: 4px;
}

.wcpp-product-summary .product_title {
	font-size:   28px;
	font-weight: 800;
	line-height: 1.25;
	margin:      0 0 14px;
	color:       var(--wcpp-text);
}

.wcpp-product-summary .price {
	font-size:   26px;
	font-weight: 700;
	color:       var(--wcpp-primary);
	margin:      0 0 16px;
	display:     block;
}

#wcpp-product-section .cart .quantity,
.wcpp-product-section .quantity {
	display: none !important;
}

/* Buy Now Button in Product Section (#F59A57 with 2s shake animation) */
.wcpp-product-summary .single_add_to_cart_button.button,
.wcpp-product-summary .single_add_to_cart_button {
	background-color: #F59A57 !important;
	border-color:     #F59A57 !important;
	color:            #ffffff !important;
	font-weight:      700 !important;
	font-size:        17px !important;
	padding:          15px 32px !important;
	border-radius:    10px !important;
	text-shadow:      none !important;
	width:            100% !important;
	text-align:       center !important;
	cursor:           pointer !important;
	box-shadow:       0 4px 14px rgba(245, 154, 87, 0.4) !important;
	animation:        wcppButtonShake 2s infinite ease-in-out !important;
	will-change:      transform;
	margin-bottom:    22px !important;
}

.wcpp-product-summary form.cart {
	margin-bottom:    26px !important;
}

.wcpp-product-summary .wd-compare-btn,
.wcpp-product-summary .product_meta {
	margin-top:       18px !important;
}

.wcpp-product-summary .single_add_to_cart_button.button:hover,
.wcpp-product-summary .single_add_to_cart_button:hover {
	background-color: #e0833f !important;
	border-color:     #e0833f !important;
	box-shadow:       0 6px 20px rgba(245, 154, 87, 0.5) !important;
}

/* TOTAL REMOVAL OF SHARE SECTION (Requirement 5) */
.product-share,
.wd-social-icons,
.share-title,
.wcpp-product-summary .product-share,
.wcpp-product-summary .wd-social-icons,
.wcpp-product-summary .share-title {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ==========================================================================
   Section 2 — Checkout Section
   ========================================================================== */
.wcpp-checkout-section {
	background-color: var(--wcpp-bg-light);
	border-top:       2px solid var(--wcpp-border);
}

.wcpp-checkout-form-wrapper {
	background:    var(--wcpp-white);
	border:        1px solid var(--wcpp-border);
	border-radius: var(--wcpp-radius);
	padding:       32px;
	box-shadow:    var(--wcpp-shadow);
}

/* ── Universal image size enforcement in review order table (Guaranteed fix) ── */
.wcpp-checkout-section table img,
.woocommerce-checkout-review-order-table img,
.shop_table.woocommerce-checkout-review-order-table img,
.wcpp-checkout-form-wrapper .wcpp-prod-thumb img,
.wcpp-review-order-table .wcpp-prod-thumb img,
.wd-checkout-prod-img img,
.wd-checkout-prod img,
table.woocommerce-checkout-review-order-table td img,
table.shop_table td img {
	width: 65px !important;
	min-width: 65px !important;
	max-width: 65px !important;
	height: 65px !important;
	min-height: 65px !important;
	max-height: 65px !important;
	object-fit: cover !important;
	border-radius: 6px !important;
	display: inline-block !important;
	box-sizing: border-box !important;
}

.wcpp-checkout-form-wrapper .wcpp-prod-thumb,
.wcpp-review-order-table .wcpp-prod-thumb {
	width: 65px !important;
	min-width: 65px !important;
	max-width: 65px !important;
	height: 65px !important;
	min-height: 65px !important;
	max-height: 65px !important;
	border-radius: 6px !important;
	overflow: hidden !important;
	flex-shrink: 0 !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	box-sizing: border-box !important;
	display: block !important;
}

/* Review order table header and rows */
.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table,
.wcpp-review-order-table {
	width: 100% !important;
	border-collapse: collapse !important;
	margin-bottom: 28px !important;
	border: none !important;
	background: transparent !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table thead tr,
.wcpp-review-order-table thead tr {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	border-bottom: 1px solid #e2e8f0 !important;
	padding: 10px 0 !important;
	background: transparent !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table thead th,
.wcpp-review-order-table thead th {
	border: none !important;
	background: transparent !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em !important;
	color: #0f172a !important;
	text-transform: uppercase !important;
	padding: 4px 8px !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table thead th.product-name,
.wcpp-review-order-table thead th.product-name {
	flex: 0 0 38% !important;
	text-align: left !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table thead th.product-quantity,
.wcpp-review-order-table thead th.product-quantity {
	flex: 1 1 auto !important;
	text-align: left !important;
	padding-left: 10px !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table thead th.product-total,
.wcpp-review-order-table thead th.product-total {
	flex: 0 0 130px !important;
	text-align: right !important;
	padding-right: 4px !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tbody tr.wcpp-cart-item-row,
.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tbody tr.cart_item,
.wcpp-review-order-table tbody tr.wcpp-cart-item-row,
.wcpp-review-order-table tbody tr.cart_item {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 18px 0 !important;
	border-bottom: 1px solid #edf2f7 !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tbody td.product-name,
.wcpp-review-order-table tbody td.product-name {
	flex: 1 1 auto !important;
	border: none !important;
	padding: 0 !important;
	background: transparent !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tbody td.product-total,
.wcpp-review-order-table tbody td.product-total {
	flex: 0 0 130px !important;
	border: none !important;
	padding: 0 4px 0 16px !important;
	text-align: right !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
}

.wcpp-checkout-form-wrapper .wcpp-checkout-prod-cell {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 14px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.wcpp-checkout-form-wrapper .wcpp-remove-item {
	background: transparent !important;
	border: none !important;
	font-size: 22px !important;
	line-height: 1 !important;
	color: #94a3b8 !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 22px 0 0 0 !important;
	flex-shrink: 0 !important;
}

.wcpp-checkout-form-wrapper .wcpp-remove-item:hover {
	color: #ef4444 !important;
}

.wcpp-checkout-form-wrapper .wcpp-prod-content {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 8px !important;
	flex-grow: 1 !important;
	padding-right: 14px !important;
}

.wcpp-checkout-form-wrapper .wcpp-prod-title {
	font-size: 14.5px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	line-height: 1.45 !important;
	margin: 0 !important;
}

/* Quantity box - 1 + in checkout table */
.wcpp-checkout-form-wrapper .wcpp-qty-box {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 20px !important;
	padding: 2px 4px !important;
	background: #ffffff !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
	margin-top: 2px !important;
}

.wcpp-checkout-form-wrapper .wcpp-qty-btn {
	width: 26px !important;
	height: 26px !important;
	border-radius: 50% !important;
	border: none !important;
	background: transparent !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #64748b !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	padding: 0 !important;
	margin: 0 !important;
}

.wcpp-checkout-form-wrapper .wcpp-qty-btn:hover {
	background: #f1f5f9 !important;
	color: #0f172a !important;
}

.wcpp-checkout-form-wrapper .wcpp-qty-input {
	width: 32px !important;
	height: 26px !important;
	border: none !important;
	background: transparent !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-align: center !important;
	color: #0f172a !important;
	padding: 0 !important;
	margin: 0 !important;
	outline: none !important;
}

/* Totals */
.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr,
.wcpp-review-order-table tfoot tr {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 12px 0 !important;
	border-bottom: 1px solid #edf2f7 !important;
	background: transparent !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot th,
.wcpp-review-order-table tfoot th {
	border: none !important;
	background: transparent !important;
	padding: 0 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #64748b !important;
	text-align: left !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot td,
.wcpp-review-order-table tfoot td {
	border: none !important;
	background: transparent !important;
	padding: 0 4px 0 0 !important;
	text-align: right !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr.order-total,
.wcpp-review-order-table tfoot tr.order-total {
	border-top: 2px solid #e2e8f0 !important;
	border-bottom: none !important;
	padding-top: 16px !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr.order-total th,
.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr.order-total td {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
}

/* ── Coupon Row (directly under Subtotal) ────────────────────────── */
.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr.wcpp-coupon-row,
.wcpp-review-order-table tfoot tr.wcpp-coupon-row {
	border-bottom: 1px dashed #e2e8f0 !important;
	padding: 10px 0 !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr.wcpp-coupon-row td,
.wcpp-review-order-table tfoot tr.wcpp-coupon-row td {
	padding: 8px 0 !important;
	text-align: left !important;
	width: 100% !important;
	border: none !important;
	background: transparent !important;
}

.wcpp-coupon-container {
	width: 100% !important;
	box-sizing: border-box !important;
}

.wcpp-coupon-input-group {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 8px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.wcpp-coupon-input {
	flex: 1 1 auto !important;
	height: 42px !important;
	min-height: 42px !important;
	padding: 8px 14px !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	color: #0f172a !important;
	background: #ffffff !important;
	outline: none !important;
	transition: all 0.2s ease !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

.wcpp-coupon-input:focus {
	border-color: #F59A57 !important;
	box-shadow: 0 0 0 3px rgba(245, 154, 87, 0.18) !important;
}

.wcpp-coupon-btn {
	flex: 0 0 auto !important;
	height: 42px !important;
	min-height: 42px !important;
	padding: 0 20px !important;
	background-color: #F59A57 !important;
	border: 1.5px solid #F59A57 !important;
	border-radius: 8px !important;
	color: #ffffff !important;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	margin: 0 !important;
}

.wcpp-coupon-btn:hover {
	background-color: #e0833d !important;
	border-color: #e0833d !important;
}

.wcpp-coupon-btn:disabled,
.wcpp-coupon-btn.loading {
	opacity: 0.7 !important;
	cursor: not-allowed !important;
}

.wcpp-coupon-msg {
	margin-top: 8px !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	padding: 8px 12px !important;
	border-radius: 6px !important;
	display: block !important;
	box-sizing: border-box !important;
}

.wcpp-coupon-msg.wcpp-success {
	color: #15803d !important;
	background-color: #f0fdf4 !important;
	border: 1px solid #bbf7d0 !important;
}

.wcpp-coupon-msg.wcpp-error {
	color: #b91c1c !important;
	background-color: #fef2f2 !important;
	border: 1px solid #fecaca !important;
}

/* Coupon discount display in order review table */
.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tr.cart-discount th,
.wcpp-review-order-table tr.cart-discount th {
	color: #15803d !important;
	font-weight: 600 !important;
}

.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tr.cart-discount td,
.wcpp-review-order-table tr.cart-discount td {
	color: #15803d !important;
	font-weight: 700 !important;
}

.woocommerce-remove-coupon {
	color: #ef4444 !important;
	font-size: 12.5px !important;
	margin-left: 8px !important;
	text-decoration: underline !important;
	cursor: pointer !important;
	font-weight: 500 !important;
}

.woocommerce-remove-coupon:hover {
	color: #dc2626 !important;
}

/* ── Delivery Method & Checkout Radio Boxes (Image 2 style with #F59A57) ───── */
#billing__field.wcpp-hide-free-shipping,
.wcpp-checkout-section #billing__field.wcpp-hide-free-shipping,
p.thwcfd-field-radio.wcpp-hide-free-shipping,
.wcpp-checkout-section p.thwcfd-field-radio.wcpp-hide-free-shipping,
p.form-row:has(input[name="billing_"]).wcpp-hide-free-shipping {
	display: none !important;
}

#billing__field,
.wcpp-checkout-section #billing__field,
p.thwcfd-field-radio,
.wcpp-checkout-section p.thwcfd-field-radio,
p.form-row:has(input[type="radio"]) {
	margin-top: 20px !important;
	margin-bottom: 24px !important;
	width: 100% !important;
	clear: both !important;
}

#billing__field > label,
.wcpp-checkout-section #billing__field > label,
p.thwcfd-field-radio > label,
.wcpp-checkout-section p.thwcfd-field-radio > label,
p.form-row:has(input[type="radio"]) > label:first-child {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin-bottom: 12px !important;
	display: block !important;
}

#billing__field .woocommerce-input-wrapper,
.wcpp-checkout-section #billing__field .woocommerce-input-wrapper,
p.thwcfd-field-radio .woocommerce-input-wrapper,
.wcpp-checkout-section p.thwcfd-field-radio .woocommerce-input-wrapper,
p.form-row:has(input[type="radio"]) .woocommerce-input-wrapper {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	width: 100% !important;
}

/* Each Delivery Option Box */
.wcpp-radio-box,
.wcpp-radio-group,
#billing__field .wcpp-radio-group,
#billing__field .wcpp-radio-box,
p.thwcfd-field-radio .wcpp-radio-box,
p.thwcfd-field-radio .wcpp-radio-group,
p.form-row:has(input[type="radio"]) .wcpp-radio-box,
ul#shipping_method li,
ul.woocommerce-shipping-methods li {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	width: 100% !important;
	box-sizing: border-box !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 10px !important;
	padding: 13px 18px !important;
	margin: 0 !important;
	background: #ffffff !important;
	cursor: pointer !important;
	transition: all 0.2s ease-in-out !important;
	user-select: none !important;
}

/* Hover effect: border #F59A57 and very light #F59A57 background */
.wcpp-radio-box:hover,
.wcpp-radio-group:hover,
#billing__field .wcpp-radio-group:hover,
#billing__field .wcpp-radio-box:hover,
p.thwcfd-field-radio .wcpp-radio-box:hover,
p.thwcfd-field-radio .wcpp-radio-group:hover,
p.form-row:has(input[type="radio"]) .wcpp-radio-box:hover,
ul#shipping_method li:hover,
ul.woocommerce-shipping-methods li:hover {
	border-color: #F59A57 !important;
	background-color: rgba(245, 154, 87, 0.05) !important;
}

/* Active / Selected state: border #F59A57 and light #F59A57 background */
.wcpp-radio-box.wcpp-active,
.wcpp-radio-box:has(input[type="radio"]:checked),
.wcpp-radio-group.wcpp-active,
.wcpp-radio-group:has(input[type="radio"]:checked),
#billing__field .wcpp-radio-group.wcpp-active,
#billing__field .wcpp-radio-group:has(input[type="radio"]:checked),
#billing__field .wcpp-radio-box.wcpp-active,
#billing__field .wcpp-radio-box:has(input[type="radio"]:checked),
p.thwcfd-field-radio .wcpp-radio-box.wcpp-active,
p.thwcfd-field-radio .wcpp-radio-box:has(input[type="radio"]:checked),
p.form-row:has(input[type="radio"]) .wcpp-radio-box.wcpp-active,
p.form-row:has(input[type="radio"]) .wcpp-radio-box:has(input[type="radio"]:checked),
ul#shipping_method li.wcpp-active,
ul#shipping_method li:has(input[type="radio"]:checked),
ul.woocommerce-shipping-methods li.wcpp-active,
ul.woocommerce-shipping-methods li:has(input[type="radio"]:checked) {
	border-color: #F59A57 !important;
	background-color: rgba(245, 154, 87, 0.09) !important;
	box-shadow: 0 2px 8px rgba(245, 154, 87, 0.12) !important;
}

.wcpp-radio-box input[type="radio"],
.wcpp-radio-group input[type="radio"],
#billing__field input[type="radio"],
p.thwcfd-field-radio input[type="radio"],
ul#shipping_method input[type="radio"],
ul.woocommerce-shipping-methods input[type="radio"] {
	margin: 0 12px 0 0 !important;
	width: 19px !important;
	height: 19px !important;
	accent-color: #F59A57 !important;
	cursor: pointer !important;
	flex-shrink: 0 !important;
	float: none !important;
	display: inline-block !important;
	vertical-align: middle !important;
}

.wcpp-radio-box label,
.wcpp-radio-group label,
#billing__field label.radio,
p.thwcfd-field-radio label.radio,
ul#shipping_method label,
ul.woocommerce-shipping-methods label {
	margin: 0 !important;
	cursor: pointer !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	line-height: 1.3 !important;
	display: inline-flex !important;
	align-items: center !important;
	flex-grow: 1 !important;
	float: none !important;
}

/* ── Payment Gateways Layout (Image 2 style with #F59A57) ────────── */
.wcpp-checkout-section .woocommerce-checkout-payment ul.payment_methods,
.woocommerce-checkout-payment ul.payment_methods {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 20px 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	width: 100% !important;
}

.wcpp-checkout-section .woocommerce-checkout-payment ul.payment_methods li,
.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	width: 100% !important;
	box-sizing: border-box !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 10px !important;
	padding: 13px 18px !important;
	margin: 0 !important;
	background: #ffffff !important;
	cursor: pointer !important;
	transition: all 0.2s ease-in-out !important;
	user-select: none !important;
}

/* Hover effect */
.wcpp-checkout-section .woocommerce-checkout-payment ul.payment_methods li.wc_payment_method:hover,
.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method:hover {
	border-color: #F59A57 !important;
	background-color: rgba(245, 154, 87, 0.05) !important;
}

/* Active / Selected state */
.wcpp-checkout-section .woocommerce-checkout-payment ul.payment_methods li.wc_payment_method.wcpp-active,
.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method.wcpp-active,
.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method:has(input[type="radio"]:checked) {
	border-color: #F59A57 !important;
	background-color: rgba(245, 154, 87, 0.09) !important;
	box-shadow: 0 2px 8px rgba(245, 154, 87, 0.12) !important;
}

.wcpp-checkout-section .woocommerce-checkout-payment ul.payment_methods li > input[type="radio"],
.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method > input[type="radio"] {
	float: none !important;
	margin: 0 12px 0 0 !important;
	width: 19px !important;
	height: 19px !important;
	cursor: pointer !important;
	flex-shrink: 0 !important;
	accent-color: #F59A57 !important;
}

.wcpp-checkout-section .woocommerce-checkout-payment ul.payment_methods li > label,
.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method > label {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	cursor: pointer !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	line-height: 1.3 !important;
	flex-grow: 1 !important;
}

.wcpp-checkout-section .woocommerce-checkout-payment ul.payment_methods li > label img,
.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method > label img {
	max-height: 26px !important;
	width: auto !important;
	display: inline-block !important;
	vertical-align: middle !important;
	margin: 0 0 0 8px !important;
}

.wcpp-checkout-section .woocommerce-checkout-payment div.payment_box,
.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method div.payment_box {
	width: 100% !important;
	flex-basis: 100% !important;
	margin-top: 10px !important;
	padding: 12px 14px !important;
	background: #ffffff !important;
	border: 1px dashed #F59A57 !important;
	border-radius: 8px !important;
	font-size: 13.5px !important;
	color: #475569 !important;
	line-height: 1.5 !important;
}

/* Place Order Button (#F59A57 with 2s shake animation) */
.wcpp-checkout-form-wrapper #place_order,
#place_order,
button#place_order {
	background-color: #F59A57 !important;
	border-color:     #F59A57 !important;
	color:            #ffffff !important;
	font-size:        17px !important;
	font-weight:      800 !important;
	padding:          16px 40px !important;
	border-radius:    var(--wcpp-radius) !important;
	text-shadow:      none !important;
	width:            100% !important;
	cursor:           pointer !important;
	box-shadow:       0 4px 14px rgba(245, 154, 87, 0.4) !important;
	animation:        wcppButtonShake 2s infinite ease-in-out !important;
	will-change:      transform;
}

.wcpp-checkout-form-wrapper #place_order:hover,
#place_order:hover,
button#place_order:hover {
	background-color: #e0833f !important;
	border-color:     #e0833f !important;
	box-shadow:       0 6px 20px rgba(245, 154, 87, 0.5) !important;
}

/* ==========================================================================
   Section 3 — Reviews (Matching Image 5 layout)
   ========================================================================== */
.wcpp-reviews-section {
	background-color: #ffffff;
	border-top:       2px solid #eef2f6;
}

/* Top Dashboard Grid (Left Score/Histogram + Right Add a Review Form) */
.wcpp-reviews-top-grid {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 50px;
	background: #ffffff;
	border-radius: 12px;
	padding: 24px 0 40px;
	align-items: start;
}

/* Left Column: Big score and star distribution */
.wcpp-reviews-score-col {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.wcpp-score-big {
	font-size: 56px;
	font-weight: 800;
	color: #1e293b;
	line-height: 1;
	margin-bottom: 6px;
}

.wcpp-score-stars {
	display: flex;
	gap: 3px;
	font-size: 20px;
	color: #f5a623;
	margin-bottom: 4px;
}

.wcpp-score-count {
	font-size: 13.5px;
	color: #64748b;
	margin-bottom: 22px;
}

.wcpp-rating-bars {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wcpp-bar-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.wcpp-bar-stars {
	display: flex;
	gap: 1px;
	font-size: 13px;
	min-width: 72px;
}

.wcpp-bar-star.filled {
	color: #f5a623;
}

.wcpp-bar-star.empty {
	color: #cbd5e1;
}

.wcpp-bar-track {
	flex: 1;
	height: 10px;
	background: #eef2f6;
	border-radius: 5px;
	overflow: hidden;
}

.wcpp-bar-fill {
	height: 100%;
	background: #F59A57;
	border-radius: 5px;
	transition: width 0.3s ease;
}

.wcpp-bar-num {
	font-size: 13px;
	color: #64748b;
	min-width: 14px;
	text-align: right;
}

/* Right Column: Add a Review Form */
.wcpp-reviews-form-col {
	background: #ffffff;
}

.wcpp-form-heading {
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 16px;
}

.wcpp-form-group {
	margin-bottom: 16px;
}

.wcpp-form-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 6px;
}

.wcpp-form-label .required {
	color: #e53935;
}

.wcpp-rating-picker-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wcpp-rating-picker {
	display: inline-flex;
	gap: 3px;
	cursor: pointer;
}

.wcpp-pick-star {
	font-size: 20px;
	color: #cbd5e1;
	transition: color 0.15s ease;
	line-height: 1;
}

.wcpp-pick-star.filled {
	color: #f5a623;
}

.wcpp-form-textarea {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 12px 16px;
	font-size: 14.5px;
	color: #1e293b;
	outline: none;
	resize: vertical;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wcpp-form-textarea:focus {
	border-color: #F59A57;
	box-shadow: 0 0 0 3px rgba(245, 154, 87, 0.15);
}

.wcpp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.wcpp-form-input {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	outline: none;
	box-sizing: border-box;
}

.wcpp-form-input:focus {
	border-color: #F59A57;
}

.wcpp-form-submit-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
}

.wcpp-review-submit-btn {
	background-color: #F59A57 !important;
	border:           none !important;
	color:            #ffffff !important;
	font-size:        14.5px !important;
	font-weight:      700 !important;
	padding:          10px 32px !important;
	border-radius:    20px !important;
	cursor:           pointer !important;
	box-shadow:       0 2px 8px rgba(245, 154, 87, 0.35) !important;
	transition:       background 0.2s ease, transform 0.15s ease !important;
}

.wcpp-review-submit-btn:hover {
	background-color: #e0833f !important;
	transform: translateY(-1px);
}

.wcpp-review-msg {
	font-size: 14px;
	font-weight: 500;
}

/* ── Bottom Section: Reviews Header + Sort + Cards ───────────────────────── */
.wcpp-reviews-list-section {
	margin-top: 24px;
	border-top: 1px solid #eef2f6;
	padding-top: 32px;
}

.wcpp-reviews-list-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.wcpp-reviews-list-title {
	font-size: 15.5px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.5;
	margin: 0;
	flex: 1;
}

.wcpp-reviews-sort-select {
	border: 1px solid #cbd5e1;
	border-radius: 20px;
	padding: 6px 30px 6px 14px;
	font-size: 13.5px;
	color: #475569;
	background: #ffffff;
	cursor: pointer;
	outline: none;
}

/* Reviews Cards Grid (Image 5 format: multi-column clean cards) */
.wcpp-reviews-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
}

.wcpp-review-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wcpp-review-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
	transform: translateY(-2px);
}

.wcpp-card-top-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wcpp-card-author {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
}

.wcpp-card-date {
	font-size: 13px;
	color: #94a3b8;
}

.wcpp-card-stars {
	display: flex;
	gap: 2px;
	font-size: 15px;
}

.wcpp-star.active {
	color: #f5a623;
}

.wcpp-star.inactive {
	color: #cbd5e1;
}

.wcpp-card-body {
	font-size: 14.5px;
	color: #334155;
	line-height: 1.55;
	flex: 1;
}

.wcpp-card-body p {
	margin: 0;
}

.wcpp-card-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 8px;
	border-top: 1px solid #f1f5f9;
}

.wcpp-vote-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 14px;
	color: #64748b;
	padding: 4px 6px;
	border-radius: 4px;
	transition: background 0.15s ease, color 0.15s ease;
}

.wcpp-vote-btn:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.wcpp-vote-icon {
	font-size: 14px;
	line-height: 1;
}

.wcpp-vote-count {
	font-size: 13px;
	font-weight: 600;
}

/* ==========================================================================
   Multi-Device Responsive Styles
   ========================================================================== */

/* ── Tablets & Laptops (max-width: 1024px) ── */
@media ( max-width: 1024px ) {
	.wcpp-product-layout {
		grid-template-columns: 420px 1fr;
		gap: 32px;
	}

	.wcpp-reviews-top-grid {
		grid-template-columns: 320px 1fr;
		gap: 32px;
	}
}

/* ── Tablets & Mobile Landscape (max-width: 768px) ── */
@media ( max-width: 768px ) {
	:root {
		--wcpp-section-gap: 28px;
		--wcpp-padding-x:   12px;
	}

	/* 1. Product Section: Smaller & centered without right-side cut-off */
	#wcpp-product-section {
		overflow: hidden !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	#wcpp-product-section .wcpp-container {
		padding-left: 14px !important;
		padding-right: 14px !important;
		max-width: 100% !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}

	.wcpp-product-layout {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		margin: 0 auto !important;
	}

	.wcpp-product-gallery {
		position: static !important;
		width: 100% !important;
		max-width: 320px !important;
		margin: 0 auto !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	.wcpp-gallery-container {
		width: 100% !important;
		max-width: 320px !important;
		margin: 0 auto !important;
		box-sizing: border-box !important;
	}

	.wcpp-gallery-main {
		width: 100% !important;
		max-width: 320px !important;
		height: auto !important;
		aspect-ratio: 1 / 1 !important;
		margin: 0 auto !important;
		border-radius: 14px !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}

	.wcpp-gallery-thumbs {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 8px !important;
		margin: 12px auto 0 !important;
		max-width: 320px !important;
		width: 100% !important;
		overflow-x: auto !important;
		box-sizing: border-box !important;
		padding: 2px 2px 6px !important;
	}

	.wcpp-thumb-item {
		width: 56px !important;
		height: 56px !important;
		flex: 0 0 56px !important;
		border-radius: 8px !important;
	}

	.wcpp-product-summary {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		padding: 0 4px !important;
	}

	.wcpp-product-summary .product_title {
		font-size: 19px !important;
		line-height: 1.35 !important;
		word-break: break-word !important;
	}

	/* 2. Checkout Section: Parent container 10px padding, remove nested wrapper paddings */
	.wcpp-checkout-section {
		padding-top: 14px !important;
		padding-bottom: 24px !important;
		background: #ffffff !important;
	}

	.wcpp-checkout-section .wcpp-container {
		padding-left: 10px !important;
		padding-right: 10px !important;
		max-width: 100% !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.wcpp-checkout-header {
		padding: 0 4px !important;
		margin-bottom: 12px !important;
		text-align: center !important;
	}

	.wcpp-section-title {
		font-size: 20px !important;
	}

	.wcpp-checkout-subtitle {
		font-size: 13.5px !important;
		margin-bottom: 16px !important;
	}

	/* Remove padding & margins from all intermediate wrappers */
	.wcpp-checkout-form-wrapper {
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		box-shadow: none !important;
		background: transparent !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.wcpp-checkout-form-wrapper form.checkout,
	.wcpp-checkout-form-wrapper form.woocommerce-checkout {
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}

	.wcpp-checkout-form-wrapper #customer_details,
	.wcpp-checkout-form-wrapper .customer-details {
		padding: 0 !important;
		margin: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	/* Message box / Order notes height reduction in phone mode */
	.wcpp-checkout-form-wrapper #order_comments,
	.wcpp-checkout-form-wrapper textarea#order_comments,
	#order_comments_field textarea,
	#order_comments {
		height: 70px !important;
		min-height: 70px !important;
		max-height: 120px !important;
		padding: 8px 12px !important;
		font-size: 13.5px !important;
		line-height: 1.4 !important;
		border-radius: 8px !important;
		box-sizing: border-box !important;
	}

	.wcpp-checkout-form-wrapper .checkout-order-review,
	.wcpp-checkout-section .checkout-order-review,
	.woocommerce-checkout > .checkout-order-review {
		padding: 0 !important;
		margin: 0 !important;
		background: transparent !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.wcpp-checkout-form-wrapper #order_review,
	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order,
	.wcpp-checkout-section #order_review,
	.wcpp-checkout-section .woocommerce-checkout-review-order {
		padding: 0 !important;
		margin: 0 !important;
		border-radius: 0 !important;
		border: none !important;
		box-shadow: none !important;
		background: transparent !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.checkout-order-review > .woocommerce-checkout-review-order .wd-table-wrapper,
	.wcpp-checkout-form-wrapper .wd-table-wrapper,
	.wd-table-wrapper {
		padding: 0 !important;
		margin: 0 !important;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	/* 3. Review Order: Card Layout (Innermost container 10px top/bottom padding) */
	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table,
	.wcpp-review-order-table {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
		background: transparent !important;
	}

	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table thead,
	.wcpp-review-order-table thead {
		display: none !important;
	}

	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tbody,
	.wcpp-review-order-table tbody {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	/* Innermost Card: 10px top and bottom padding, 5px left and right */
	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tbody tr.wcpp-cart-item-row,
	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tbody tr.cart_item,
	.wcpp-review-order-table tbody tr.wcpp-cart-item-row,
	.wcpp-review-order-table tbody tr.cart_item {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		width: 100% !important;
		background: #ffffff !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 14px !important;
		padding: 10px 5px !important; /* Top & Bottom 10px, Left & Right 5px */
		margin: 0 0 10px 0 !important;
		height: auto !important;
		min-height: 0 !important;
		flex: 0 0 auto !important;
		position: relative !important;
		box-sizing: border-box !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
	}

	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tbody td.product-name,
	.wcpp-review-order-table tbody td.product-name {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		background: transparent !important;
		height: auto !important;
		min-height: 0 !important;
		flex: 0 0 auto !important;
	}

	.wcpp-checkout-form-wrapper .wcpp-checkout-prod-cell {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		width: 100% !important;
		text-align: center !important;
		gap: 4px !important;
		padding: 0 !important;
		margin: 0 !important;
		height: auto !important;
		min-height: 0 !important;
	}

	.wcpp-checkout-form-wrapper .wcpp-remove-item {
		position: absolute !important;
		top: 6px !important;
		right: 10px !important;
		width: 28px !important;
		height: 28px !important;
		border-radius: 0 !important;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		outline: none !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		color: #94a3b8 !important;
		font-size: 22px !important;
		font-weight: 400 !important;
		line-height: 1 !important;
		cursor: pointer !important;
		z-index: 5 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.wcpp-checkout-form-wrapper .wcpp-remove-item:hover,
	.wcpp-checkout-form-wrapper .wcpp-remove-item:active {
		color: #ef4444 !important;
		background: transparent !important;
		border: none !important;
	}

	/* 1. Image first */
	.wcpp-checkout-form-wrapper .wcpp-prod-thumb,
	.wcpp-review-order-table .wcpp-prod-thumb {
		width: 76px !important;
		height: 76px !important;
		min-width: 76px !important;
		max-width: 76px !important;
		min-height: 76px !important;
		max-height: 76px !important;
		border-radius: 10px !important;
		overflow: hidden !important;
		margin: 0 auto 4px !important;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
		display: block !important;
	}

	.wcpp-checkout-form-wrapper .wcpp-prod-thumb img,
	.wcpp-review-order-table .wcpp-prod-thumb img {
		width: 76px !important;
		height: 76px !important;
		min-width: 76px !important;
		max-width: 76px !important;
		min-height: 76px !important;
		max-height: 76px !important;
		object-fit: cover !important;
		border-radius: 10px !important;
		display: block !important;
	}

	/* 2. Title next */
	.wcpp-checkout-form-wrapper .wcpp-prod-content {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		width: 100% !important;
		padding: 0 !important;
		gap: 4px !important;
		margin: 0 !important;
		text-align: center !important;
		height: auto !important;
		min-height: 0 !important;
	}

	.wcpp-checkout-form-wrapper .wcpp-prod-title,
	.wcpp-review-order-table .wcpp-prod-title {
		font-size: 13.5px !important;
		font-weight: 700 !important;
		color: #0f172a !important;
		line-height: 1.35 !important;
		text-align: center !important;
		padding: 0 4px !important;
		margin: 0 !important;
		word-break: break-word !important;
	}

	/* 3. Remaining options: Quantity box */
	.wcpp-checkout-form-wrapper .wcpp-qty-box {
		margin: 4px auto 0 !important;
		display: inline-flex !important;
		align-items: center !important;
		background: #ffffff !important;
		border: 1px solid #cbd5e1 !important;
		border-radius: 20px !important;
		padding: 2px 8px !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
		height: auto !important;
		min-height: 0 !important;
	}

	.wcpp-checkout-form-wrapper .wcpp-qty-btn {
		width: 26px !important;
		height: 26px !important;
		font-size: 16px !important;
	}

	.wcpp-checkout-form-wrapper .wcpp-qty-input {
		width: 32px !important;
		height: 26px !important;
		font-size: 15px !important;
		font-weight: 700 !important;
	}

	/* 4. Subtotal price below quantity: No extra bottom space */
	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tbody td.product-total,
	.wcpp-review-order-table tbody td.product-total {
		width: 100% !important;
		display: block !important;
		text-align: center !important;
		font-size: 16.5px !important;
		font-weight: 800 !important;
		color: #F59A57 !important;
		padding: 4px 0 2px !important;
		margin: 0 !important;
		border: none !important;
		height: auto !important;
		min-height: 0 !important;
		flex: 0 0 auto !important;
	}

	/* Table totals footer */
	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot,
	.wcpp-review-order-table tfoot {
		display: block !important;
		width: 100% !important;
		margin-top: 10px !important;
		border-top: 1px solid #e2e8f0 !important;
		padding-top: 6px !important;
	}

	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr,
	.wcpp-review-order-table tfoot tr {
		display: flex !important;
		flex-direction: row !important;
		justify-content: space-between !important;
		align-items: center !important;
		width: 100% !important;
		padding: 8px 4px !important;
		border-bottom: 1px dashed #e2e8f0 !important;
		box-sizing: border-box !important;
	}

	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr.wcpp-coupon-row,
	.wcpp-review-order-table tfoot tr.wcpp-coupon-row {
		display: block !important;
		width: 100% !important;
		padding: 8px 0 !important;
	}

	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr.wcpp-coupon-row td,
	.wcpp-review-order-table tfoot tr.wcpp-coupon-row td {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		text-align: left !important;
	}

	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr.order-total,
	.wcpp-review-order-table tfoot tr.order-total {
		border-bottom: none !important;
		padding-top: 12px !important;
	}

	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot th,
	.wcpp-review-order-table tfoot th {
		flex: 1 1 auto !important;
		text-align: left !important;
		font-size: 14.5px !important;
		color: #334155 !important;
		font-weight: 600 !important;
		padding: 0 !important;
		border: none !important;
	}

	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot td,
	.wcpp-review-order-table tfoot td {
		flex: 0 0 auto !important;
		text-align: right !important;
		font-size: 15.5px !important;
		font-weight: 700 !important;
		padding: 0 !important;
		border: none !important;
	}

	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr.order-total th,
	.wcpp-checkout-form-wrapper .woocommerce-checkout-review-order-table tfoot tr.order-total td {
		font-size: 19px !important;
		font-weight: 800 !important;
		color: #F59A57 !important;
	}

	/* Other mobile elements */
	.wcpp-play-button {
		width: 50px !important;
		height: 50px !important;
	}

	.wcpp-reviews-top-grid {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}

	.wcpp-reviews-score-col {
		padding-bottom: 16px !important;
		border-bottom: 1px solid #eef2f6 !important;
	}

	.wcpp-form-row {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	.wcpp-reviews-list-header {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 12px !important;
	}

	.wcpp-reviews-cards-grid {
		grid-template-columns: 1fr !important;
	}
}
