.ro-volume {
	margin: 1em 0;
	padding: 0.7em 0.85em 0.85em;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	background: #f5f5f5;
	color: #333;
}

.ro-volume + .ro-volume,
.ro-together + .ro-volume,
.ro-volume + .ro-together {
	margin-top: 1em;
}

.ro-volume-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.15em 0.65em;
	margin: 0 0 0.65em;
}

.woocommerce .ro-volume .ro-volume-title,
.ro-volume .ro-volume-title {
	margin: 0;
	padding: 0;
	font-size: 14px !important;
	line-height: 1.3 !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #333;
}

.ro-volume-scale-label {
	margin: 0;
	font-size: 12px;
	line-height: 1.3;
	color: #777;
}

.ro-volume-scale {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.2em 0.7em;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: #555;
}

.ro-volume-scale li {
	display: inline-flex;
	align-items: baseline;
	gap: 0.28em;
	margin: 0;
	padding: 0;
	border: 0;
}

.ro-volume-pct {
	font-weight: 600;
	white-space: nowrap;
	color: #333;
}

.ro-volume-carousel-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ro-volume-nav {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	min-width: 22px;
	min-height: 22px;
	max-width: 22px;
	max-height: 22px;
	padding: 0;
	border: 1px solid #d0d0d0;
	border-radius: 50%;
	background: #fff;
	color: #666;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
	user-select: none;
	box-sizing: border-box;
}

.ro-volume-nav:hover {
	background: #eee;
	color: #333;
}

.ro-volume-track {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scroll-behavior: smooth;
	flex: 1;
	min-width: 0;
	padding: 2px 2px 6px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.ro-volume-track::-webkit-scrollbar {
	display: none;
}

.ro-volume-card {
	flex: 0 0 132px;
	width: 132px;
	box-sizing: border-box;
	margin: 0;
	padding: 8px 8px 10px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	background: #fff;
	color: #222;
	text-align: left;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ro-volume-card.is-selected {
	border-color: #555;
	box-shadow: 0 0 0 1px #555;
}

.ro-volume-card.is-disabled {
	opacity: 0.45;
	cursor: default;
}

.ro-volume-card-thumb {
	display: block;
	width: 100%;
	height: 88px;
	overflow: hidden;
	border-radius: 4px;
	background: #fff;
}

.ro-volume-card-thumb img {
	display: block;
	width: 100%;
	height: 88px;
	object-fit: contain;
}

.ro-volume-card-name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	color: #222;
	min-height: 2.6em;
}

.ro-volume-card-price,
.ro-volume-card-price .amount,
.ro-volume-card-price .woocommerce-Price-amount {
	display: block;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #333;
}

.ro-volume-add {
	margin-top: 0.55em;
	background: #555 !important;
	border-color: #555 !important;
	color: #fff !important;
}

.ro-volume-add:disabled {
	opacity: 0.7;
}

.woocommerce-info:has(.ro-volume-notice),
.woocommerce-message:has(.ro-volume-notice),
.wc-block-components-notice-banner:has(.ro-volume-notice) {
	background: #f5f5f5 !important;
	border-color: #e2e2e2 !important;
	color: #555 !important;
}

.woocommerce-info:has(.ro-volume-notice)::before,
.woocommerce-message:has(.ro-volume-notice)::before {
	color: #555 !important;
}

.ro-volume-notice,
.ro-volume-notice a {
	color: #555;
}

@media (max-width: 767px) {
	.ro-volume-card {
		flex-basis: 120px;
		width: 120px;
	}
}
