.ro-together {
	margin: 2em 0 1.5em;
	padding: 1.25em 1.4em 1.4em;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	background: #f5f5f5;
	color: #333;
}

.ro-together + .ro-together {
	margin-top: 1.25em;
}

.ro-together-title {
	margin: 0 0 0.25em;
	font-size: 1.15em;
	line-height: 1.3;
	color: #333;
}

.ro-together-meta {
	margin: 0 0 0.55em;
	color: #555;
	font-size: 0.92em;
}

.ro-together-rule {
	margin: 0 0 0.55em;
	color: #555;
	font-size: 0.88em;
}

.ro-together-cats {
	margin: 0 0 1em;
	color: #555;
	font-size: 0.88em;
}

.ro-together-list {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}

.ro-together-list li {
	margin: 0;
	padding: 0.7em 0;
	border-top: 1px solid #e2e2e2;
}

.ro-together-list li:first-child {
	border-top: 0;
	padding-top: 0;
}

.ro-together-list label {
	display: flex;
	align-items: center;
	gap: 0.85em;
	margin: 0;
	cursor: pointer;
}

.ro-together-list li.is-disabled label {
	opacity: 0.55;
	cursor: default;
}

.ro-together-list input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 0;
}

.ro-together-thumb {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 6px;
	background: #fff;
}

.ro-together-thumb img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: cover;
}

.ro-together-info {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
	min-width: 0;
}

.ro-together-name {
	font-weight: 600;
	line-height: 1.3;
}

.ro-together-price {
	font-size: 0.92em;
}

.ro-together-stock {
	font-size: 0.8em;
	color: #666;
}

.ro-together-save {
	margin: 0 0 0.9em;
	font-weight: 600;
	color: #555;
}

.ro-together-add {
	background: #555 !important;
	border-color: #555 !important;
	color: #fff !important;
}

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

.ro-together-row {
	margin: 0 0 1.15em;
}

.ro-together-row-title {
	margin: 0 0 0.5em;
	font-size: 0.95em;
	font-weight: 600;
	color: #555;
}

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

.ro-together-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-together-nav:hover {
	background: #eee;
	color: #333;
}

.ro-together-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-together-track::-webkit-scrollbar {
	display: none;
}

.ro-together-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;
	height: auto;
	min-height: 0;
	overflow: visible;
	white-space: normal;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
}

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

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

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

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

.ro-together-card .ro-together-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;
	white-space: normal;
}

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

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

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

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

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