/* Woo WhatsApp Order - frontend styles */

.wwo-btn {
	--wwo-color: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	padding: 13px 18px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	letter-spacing: 0.02em;
	line-height: 1;
	border: none;
	cursor: pointer;
	text-decoration: none !important;
	white-space: nowrap;
	box-sizing: border-box;
	transition: transform 0.25s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.wwo-btn:hover {
	transform: translateY(-2px);
}

.wwo-btn--wa {
	background: var(--wwo-color);
	color: #fff !important;
	box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.wwo-btn--wa:active {
	transform: translateY(0);
}

.wwo-btn--view {
	background: #fff0f6;
	color: #e91e63 !important;
	border: 1.5px solid #ffc2d9;
	box-shadow: 0 2px 10px rgba(233, 30, 99, 0.08);
}

.wwo-btn--view:hover {
	background: #ffe4ef;
	border-color: #ff9fc4;
	color: #d81b60 !important;
}

.wwo-btn--disabled {
	opacity: 0.5;
	pointer-events: none;
}

.wwo-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.wwo-btn-stack {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	margin-top: 12px;
}

.wwo-card-body {
	padding: 14px 14px 16px;
	text-align: center;
	border-top: 1px solid #fff0f6;
}

.wwo-cat-badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	color: #e91e63;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: rgba(233, 30, 99, 0.08);
	padding: 3px 10px;
	border-radius: 20px;
	margin-bottom: 8px;
}

.wwo-title {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 0 8px !important;
	line-height: 1.4 !important;
}

.wwo-title a {
	color: inherit !important;
	text-decoration: none !important;
}

.wwo-title a:hover {
	color: #e91e63 !important;
}

.wwo-desc {
	font-size: 12px;
	color: #888;
	line-height: 1.55;
	margin: 0 0 8px;
}

.wwo-price {
	font-size: 18px;
	font-weight: 800;
	color: #e91e63;
	margin-bottom: 4px;
	line-height: 1;
}

.wwo-price .woocommerce-Price-amount,
.wwo-price bdi {
	color: inherit !important;
}

.wwo-price ins {
	text-decoration: none;
	color: #e91e63 !important;
}

.wwo-price del {
	font-size: 13px;
	font-weight: 500;
	color: #b9b9b9 !important;
	margin-right: 4px;
}

.wwo-single-wrap {
	margin: 16px 0 0;
	text-align: center;
}

.wwo-both-mode {
	margin-top: 14px;
}

.wwo-single-cat {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	color: #e91e63;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: rgba(233, 30, 99, 0.08);
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 10px;
}

.wwo-single-price {
	font-size: 26px;
	font-weight: 800;
	color: #e91e63;
	margin-bottom: 8px;
	line-height: 1;
}

.wwo-single-price .woocommerce-Price-amount,
.wwo-single-price bdi {
	color: inherit !important;
}

.wwo-single-price ins {
	text-decoration: none;
	color: #e91e63 !important;
}

.wwo-single-price del {
	font-size: 16px;
	font-weight: 500;
	color: #b9b9b9 !important;
	margin-right: 6px;
}

.wwo-single-desc {
	font-size: 13px;
	color: #777;
	line-height: 1.6;
	margin: 0 0 10px;
	text-align: center;
}

.wwo-select-hint {
	font-size: 12.5px;
	color: #999;
	margin: 0 0 8px;
	line-height: 1.5;
	text-align: center;
}

.wwo-single-wrap .wwo-btn {
	font-size: 15px;
	padding: 15px 20px;
	min-height: 52px;
	border-radius: 12px;
}

.wwo-single-price + .wwo-single-desc {
	padding-top: 8px;
	border-top: 1px solid #f0f0f0;
	margin-top: 4px;
}

@media (max-width: 480px) {
	.wwo-card-body { padding: 12px 10px 14px; }
	.wwo-btn { font-size: 13px; padding: 12px 14px; }
	.wwo-price { font-size: 16px; }
	.wwo-single-price { font-size: 22px; }
	.wwo-single-wrap .wwo-btn { font-size: 14px; padding: 13px 16px; min-height: 48px; }
}

@media (max-width: 360px) {
	.wwo-btn { font-size: 12px; padding: 11px 12px; }
	.wwo-title { font-size: 13px !important; }
}

/* Floating button */
.wwo-float {
	--wwo-float-color: #25D366;
	position: fixed;
	bottom: 24px;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wwo-float-color);
	color: #fff !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wwo-float--right {
	right: 24px;
}

.wwo-float--left {
	left: 24px;
}

.wwo-float:hover {
	transform: scale(1.08);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
	color: #fff !important;
}

.wwo-float svg {
	width: 30px;
	height: 30px;
}

@media (max-width: 480px) {
	.wwo-float {
		width: 50px;
		height: 50px;
		bottom: 18px;
	}
	.wwo-float--right { right: 18px; }
	.wwo-float--left { left: 18px; }
	.wwo-float svg { width: 26px; height: 26px; }
}
