.cpl-demo {
	display: block;
	grid-template-columns: 1fr 320px;
	gap: 24px;
}

.cpl-header {
	grid-column: 1 / -1;
}

.cpl-note {
	color: #666;
	margin: 4px 0 16px;
}

.cpl-category {
	margin-bottom: 22px;
}

.cpl-cat-title {
	margin: 10px 0;
	border-left: 4px solid #222;
	padding-left: 8px;
}

.cpl-table {
	width: 100%;
	border-collapse: collapse;
}

.cpl-table th,
.cpl-table td {
	border: 1px solid #e5e5e5;
	padding: 8px;
	text-align: center;
}

.cpl-table thead th {
	background: #f7f7f7;
}

.cpl-img img,
.cpl-ph {
	width: 56px;
	height: 56px;
	display: inline-block;
}

.cpl-name {
	text-align: left;
}

/* .cpl-sku {
	font-size: 12px;
	color: #777;
} */

.cpl-row-total {
	font-weight: bold;
}

.cpl-sidebar {
  position: sticky;
  top: 12px;
  display: flex;
  height: fit-content;
  gap: 20px;
  flex-direction: row-reverse;
}

.cpl-summary {
  border: 1px solid #e5e5e5;
  padding: 24px;
  margin-bottom: 16px;
  background: #fafafa;
  width: 55%;
  margin-top: 60px;
}

.cpl-line {
	display: flex;
	justify-content: space-between;
	margin: 6px 0;
}

.cpl-total {
	font-weight: 700;
	font-size: 18px;
}

.cpl-min {
	font-size: 12px;
	color: #b00;
	margin-bottom: 8px;
}

.cpl-form input,
.cpl-form textarea {
	width: 100%;
	padding: 8px;
	margin: 6px 0;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.cpl-btn {
	width: 100%;
	padding: 10px;
	background: #0a8;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
}

.cpl-btn:hover {
	background: #097;
}

.cpl-msg {
	margin-top: 8px;
	font-weight: 600;
}
.cpl-form input[name="email"],
.cpl-form input[name="phone"],
.cpl-form input[name="state"],
.cpl-form input[name="city"] {
    width: 49%;
}

input.cpl-qty-input {
    width: 50%;
    text-align: center;
}

@media (max-width: 767px) {
	.cpl-demo {
		grid-template-columns: 1fr;
	}
    
    .cpl-sidebar {
        display: block;
    }
    .cpl-summary {
        width: 100%;
    }
    input.cpl-qty-input {
       width: 100%; 
    }
    
}