/**
 * Hunonic Custom Order — front-end styles.
 * All selectors are namespaced with .hco- so they never leak into the theme.
 */

.hco-order-form-wrap {
	max-width: 580px;
	margin: 0 auto;
	color: #0f172a;
}

/* ---------- Card ---------- */
.hco-form {
	background: #ffffff;
	border: 1px solid #eceef3;
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 12px 40px rgba(17, 24, 39, 0.08);
}

.hco-form__title {
	position: relative;
	margin: 0 0 22px;
	padding: 0 0 14px;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #0f172a;
}

.hco-form__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;ư
	width: 56px;
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.hco-form__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hco-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

/* ---------- Fields ---------- */
.hco-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.hco-field__label {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #475569;
}

.hco-field__label em {
	color: #ef4444;
	font-style: normal;
}

/* Quantity field spans the whole row: label on the left, stepper on the right. */
.hco-field--qty {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.hco-input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 0.98rem;
	line-height: 1.3;
	color: #0f172a;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hco-input::placeholder {
	color: #94a3b8;
}

.hco-input:focus {
	outline: none;
	background: #ffffff;
	border-color: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

textarea.hco-input {
	resize: vertical;
	min-height: 68px;
}

select.hco-input {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.41 0L6 4.59 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.hco-input:disabled {
	background-color: #f1f5f9;
	color: #94a3b8;
	cursor: not-allowed;
}

/* ---------- Quantity stepper ---------- */
.hco-qty {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hco-qty:focus-within {
	border-color: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.hco-qty .hco-input {
	width: 58px;
	padding: 12px 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
	font-weight: 600;
	box-shadow: none;
	-moz-appearance: textfield;
}

.hco-qty .hco-input:focus {
	background: transparent;
	box-shadow: none;
}

.hco-qty .hco-input::-webkit-outer-spin-button,
.hco-qty .hco-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.hco-qty__btn {
	width: 44px;
	border: 0;
	background: transparent;
	color: #334155;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.hco-qty__btn[data-hco-qty="-1"] {
	border-right: 1px solid #eef2f7;
}

.hco-qty__btn[data-hco-qty="1"] {
	border-left: 1px solid #eef2f7;
}

.hco-qty__btn:hover {
	background: #eef2f7;
	color: #2563eb;
}

.hco-qty__btn:active {
	background: #e2e8f0;
}

/* ---------- Locked product card ---------- */
.hco-product-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	background: linear-gradient(180deg, #f8fafc, #f1f5f9);
	border: 1px solid #e6ebf2;
	border-radius: 14px;
}

.hco-product-card__thumb img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 11px;
	display: block;
}

.hco-product-card__info {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.hco-product-card__name {
	font-weight: 600;
	color: #0f172a;
}

.hco-product-card__price {
	color: #2563eb;
	font-weight: 700;
}

/* ---------- Buttons ---------- */
.hco-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 22px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	transition: transform 0.06s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.hco-btn:active {
	transform: translateY(1px);
}

.hco-btn-primary {
	width: 100%;
	margin-top: 22px;
	padding: 15px 22px;
	color: #fff;
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.hco-btn-primary:hover {
	background: linear-gradient(135deg, #1d4ed8, #1e40af);
	box-shadow: 0 12px 26px rgba(37, 99, 235, 0.34);
	transform: translateY(-1px);
}

.hco-btn-buy-now {
	color: #fff;
	background: linear-gradient(135deg, #f43f5e, #e11d48);
	box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
}

.hco-btn-buy-now:hover {
	background: linear-gradient(135deg, #e11d48, #be123c);
	transform: translateY(-1px);
}

.hco-btn-order {
	margin-top: 12px;
	color: #fff;
	background: linear-gradient(135deg, #10b981, #059669);
	box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
}

.hco-btn-order:hover {
	background: linear-gradient(135deg, #059669, #047857);
	color: #fff;
	transform: translateY(-1px);
}

.products .product .hco-btn-order--loop {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.hco-btn-cart,
.hco-btn-checkout {
	color: #fff;
	background: #0f172a;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.hco-btn-cart:hover,
.hco-btn-checkout:hover {
	background: #1e293b;
	color: #fff;
	transform: translateY(-1px);
}

.hco-btn[disabled],
.hco-btn[aria-busy="true"] {
	opacity: 0.7;
	cursor: not-allowed;
	box-shadow: none;
}

/* ---------- Notices ---------- */
.hco-notices {
	margin: 0 0 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hco-notice {
	padding: 13px 15px;
	border-radius: 12px;
	font-size: 0.95rem;
	border: 1px solid transparent;
}

.hco-notice--success {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #065f46;
}

.hco-notice--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.hco-notice--notice,
.hco-notice--info {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1e40af;
}

.hco-empty {
	padding: 16px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 12px;
	color: #92400e;
}

/* ---------- Checkout (2-column layout) ---------- */
.hco-checkout {
	max-width: 1060px;
	margin: 0 auto;
}

.hco-checkout__title {
	margin: 0 0 22px;
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111827;
}

.hco-checkout__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 390px;
	gap: 28px;
	align-items: start;
}

.hco-checkout__main {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hco-section-title {
	margin: 6px 0 2px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111827;
}

.hco-section-title:first-child {
	margin-top: 0;
}

/* Order summary box */
.hco-checkout__summary {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 22px;
	background: #ffffff;
	box-shadow: 0 6px 22px rgba(17, 24, 39, 0.05);
}

.hco-summary__title {
	margin: 0 0 14px;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #111827;
}

.hco-summary__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.hco-summary__table th {
	text-align: left;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
	padding: 0 0 8px;
	border-bottom: 1px solid #e5e7eb;
}

.hco-summary__table th:last-child,
.hco-summary__table td:last-child {
	text-align: right;
	white-space: nowrap;
}

.hco-summary__table td {
	padding: 10px 0;
	border-bottom: 1px solid #f1f5f9;
	color: #374151;
}

.hco-summary__table tfoot td {
	border-bottom: 0;
	font-weight: 600;
	color: #111827;
}

.hco-summary__total-row td {
	padding-top: 12px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #111827;
}

/* Payment methods */
.hco-payment {
	margin: 18px 0 0;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hco-payment__option {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-weight: 500;
	color: #374151;
}

.hco-payment__option input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #2563eb;
}

.hco-payment__desc {
	padding-left: 28px;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #6b7280;
}

.hco-payment__desc p {
	margin: 0 0 6px;
}

.hco-btn-place-order {
	width: 100%;
	margin-top: 20px;
	padding: 16px 22px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #1c1917;
	background: linear-gradient(180deg, #f7b733, #f59e0b);
	box-shadow: 0 10px 22px rgba(245, 158, 11, 0.32);
}

.hco-btn-place-order:hover {
	background: linear-gradient(180deg, #f59e0b, #d97706);
	color: #1c1917;
	transform: translateY(-1px);
}

.hco-privacy {
	margin: 16px 0 0;
	font-size: 0.85rem;
	line-height: 1.6;
	color: #6b7280;
}

.hco-privacy a {
	color: #16a34a;
	text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.hco-checkout__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.hco-form,
	.hco-checkout__summary {
		padding: 20px;
		border-radius: 14px;
	}

	.hco-form__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Quick-buy popup ---------- */
html.hco-modal-open {
	overflow: hidden;
}

.hco-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.hco-modal.is-open {
	display: flex;
}

.hco-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
}

.hco-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 820px;
	max-height: 92vh;
	overflow: auto;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	animation: hco-pop 0.18s ease-out;
}

@keyframes hco-pop {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.hco-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	color: #fff;
	background: linear-gradient(135deg, #16a34a, #15803d);
	border-radius: 12px 12px 0 0;
}

.hco-modal__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.hco-modal__close {
	width: 32px;
	height: 32px;
	flex: 0 0 auto;
	line-height: 1;
	font-size: 1.5rem;
	color: #fff;
	background: rgba(255, 255, 255, 0.18);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.hco-modal__close:hover {
	background: rgba(255, 255, 255, 0.32);
}

.hco-popup {
	margin: 0;
}

.hco-popup__body {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
}

.hco-popup__col {
	padding: 20px;
}

.hco-popup__col--product {
	border-right: 1px solid #eef2f7;
	background: #fbfcfe;
}

.hco-popup-prod {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.hco-popup-img img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.hco-popup-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hco-popup-name {
	font-weight: 600;
	color: #0f172a;
	line-height: 1.35;
}

.hco-popup-price {
	font-weight: 700;
	color: #ef4444;
}

.hco-popup-price del {
	color: #94a3b8;
	font-weight: 500;
	margin-right: 6px;
}

.hco-popup-qty {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-top: 18px;
}

.hco-popup-desc {
	margin: 16px 0 0;
	font-size: 0.85rem;
	line-height: 1.55;
	color: #64748b;
}

.hco-popup-info-title {
	margin: 0 0 14px;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
}

.hco-popup__col--info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hco-popup-gender {
	display: flex;
	gap: 18px;
}

.hco-popup-gender label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	color: #374151;
	font-weight: 500;
}

.hco-popup-gender input[type="radio"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #16a34a;
}

.hco-popup-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	margin-top: 4px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
	border-radius: 10px;
	font-weight: 600;
	color: #334155;
}

.hco-popup-total strong {
	font-size: 1.2rem;
	font-weight: 800;
	color: #ef4444;
}

.hco-btn-quickbuy {
	width: 100%;
	padding: 15px 22px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, #2196f3, #1976d2);
	box-shadow: 0 10px 22px rgba(33, 150, 243, 0.3);
}

.hco-btn-quickbuy:hover {
	background: linear-gradient(135deg, #1976d2, #1565c0);
	transform: translateY(-1px);
}

@media (max-width: 720px) {
	.hco-popup__body {
		grid-template-columns: 1fr;
	}

	.hco-popup__col--product {
		border-right: 0;
		border-bottom: 1px solid #eef2f7;
	}
}


/* ---------- Select2 (searchable selects) ---------- */
.hco-order-form-wrap .select2-container,
.hco-checkout .select2-container,
.hco-popup .select2-container {
	width: 100% !important;
}

.hco-order-form-wrap .select2-container--default .select2-selection--single,
.hco-checkout .select2-container--default .select2-selection--single,
.hco-popup .select2-container--default .select2-selection--single {
	height: 46px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
}

.hco-order-form-wrap .select2-container--default .select2-selection--single .select2-selection__rendered,
.hco-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
.hco-popup .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 44px;
	padding-left: 14px;
	padding-right: 34px;
	color: #0f172a;
}

.hco-order-form-wrap .select2-container--default .select2-selection--single .select2-selection__arrow,
.hco-checkout .select2-container--default .select2-selection--single .select2-selection__arrow,
.hco-popup .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 44px;
	right: 6px;
}

.hco-order-form-wrap .select2-container--default .select2-selection--single .select2-selection__placeholder,
.hco-checkout .select2-container--default .select2-selection--single .select2-selection__placeholder,
.hco-popup .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #94a3b8;
}

.hco-order-form-wrap .select2-container--default.select2-container--focus .select2-selection--single,
.hco-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.hco-popup .select2-container--default.select2-container--focus .select2-selection--single {
	border-color: #2563eb;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.hco-order-form-wrap .select2-container--default.select2-container--disabled .select2-selection--single,
.hco-checkout .select2-container--default.select2-container--disabled .select2-selection--single,
.hco-popup .select2-container--default.select2-container--disabled .select2-selection--single {
	background: #f1f5f9;
	opacity: 0.75;
}

/* Keep the dropdown on top of the quick-buy popup */
.select2-container--open,
.select2-container--open .select2-dropdown,
.select2-dropdown {
	z-index: 1000002 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	padding: 8px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}


/* ==========================================================================
   Quick-buy popup v2 — match the store's quick-buy design (blue, flat inputs)
   ========================================================================== */

.hco-modal__dialog {
	max-width: 780px;
	border-radius: 6px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hco-modal__header {
	padding: 13px 18px;
	background: #2d9cdb;
	border-radius: 6px 6px 0 0;
}

.hco-modal__title {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.hco-modal__close {
	width: 26px;
	height: 26px;
	font-size: 1.15rem;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
}

.hco-modal__close:hover {
	background: rgba(255, 255, 255, 0.25);
}

.hco-popup__body {
	grid-template-columns: 0.92fr 1.25fr;
}

.hco-popup__col {
	padding: 18px;
}

.hco-popup__col--product {
	background: #ffffff;
	border-right: 1px solid #ececec;
}

.hco-popup-prod {
	gap: 12px;
}

.hco-popup-img img {
	width: 108px;
	height: 108px;
	padding: 3px;
	border: 1px solid #ececec;
	border-radius: 3px;
	background: #ffffff;
}

.hco-popup-name {
	font-size: 0.98rem;
	font-weight: 700;
	color: #222222;
	line-height: 1.4;
}

.hco-popup-price {
	margin-top: 6px;
	font-size: 1rem;
	font-weight: 700;
	color: #222222;
}

.hco-popup-price del {
	margin-right: 8px;
	color: #9ca3af;
	font-weight: 500;
	text-decoration: line-through;
}

.hco-popup-price ins {
	text-decoration: none;
	font-weight: 700;
	color: #222222;
}

.hco-popup-qty {
	margin-top: 16px;
	gap: 6px;
}

.hco-popup .hco-popup-qty .hco-field__label {
	font-size: 0.92rem;
	font-weight: 700;
	color: #333333;
}

/* Stepper: three separate small boxes */
.hco-popup .hco-qty {
	display: inline-flex;
	gap: 6px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.hco-popup .hco-qty:focus-within {
	border-color: transparent;
	box-shadow: none;
}

.hco-popup .hco-qty .hco-qty__btn,
.hco-popup .hco-qty .hco-qty__btn[data-hco-qty="-1"],
.hco-popup .hco-qty .hco-qty__btn[data-hco-qty="1"] {
	width: 34px;
	height: 32px;
	padding: 0;
	border: 1px solid #dddddd;
	border-radius: 3px;
	background: #f7f7f7;
	color: #555555;
	font-size: 1.05rem;
	line-height: 30px;
}

.hco-popup .hco-qty .hco-qty__btn:hover {
	background: #ededed;
	color: #2d9cdb;
}

.hco-popup .hco-qty .hco-input {
	width: 40px;
	height: 32px;
	padding: 0;
	border: 1px solid #dddddd;
	border-radius: 3px;
	background: #ffffff;
	line-height: 30px;
	font-weight: 500;
	color: #333333;
}

.hco-popup .hco-qty .hco-input:focus {
	box-shadow: none;
}

.hco-popup-desc {
	margin-top: 16px;
	font-size: 0.85rem;
	line-height: 1.6;
	color: #777777;
}

.hco-popup-info-title {
	margin: 0 0 12px;
	font-size: 0.98rem;
	font-weight: 700;
	color: #222222;
}

.hco-popup__col--info {
	gap: 10px;
}

.hco-popup .hco-form__grid {
	gap: 10px;
}

.hco-popup-gender {
	gap: 20px;
	margin-bottom: 2px;
}

.hco-popup .hco-popup-gender label,
.hco-popup .hco-popup-gender span {
	font-size: 0.92rem;
	font-weight: 400;
	color: #333333;
}

.hco-popup .hco-popup-gender input[type="radio"] {
	width: 15px;
	height: 15px;
	accent-color: #f5a623;
}

.hco-popup .hco-input {
	height: 38px;
	padding: 8px 12px;
	font-size: 0.9rem;
	color: #333333;
	background: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 3px;
	box-shadow: none;
}

.hco-popup textarea.hco-input {
	height: auto;
	min-height: 62px;
}

.hco-popup .hco-input::placeholder {
	color: #999999;
}

.hco-popup .hco-input:focus {
	background: #ffffff;
	border-color: #2d9cdb;
	box-shadow: 0 0 0 2px rgba(45, 156, 219, 0.18);
}

.hco-popup .select2-container--default .select2-selection--single {
	height: 38px;
	border: 1px solid #dddddd;
	border-radius: 3px;
	background: #ffffff;
}

.hco-popup .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 36px;
	padding-left: 12px;
	font-size: 0.9rem;
	color: #333333;
}

.hco-popup .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 36px;
}

.hco-popup .select2-container--default.select2-container--focus .select2-selection--single {
	border-color: #2d9cdb;
	background: #ffffff;
	box-shadow: 0 0 0 2px rgba(45, 156, 219, 0.18);
}

.hco-popup-total {
	padding: 8px 0 0;
	margin-top: 4px;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.hco-popup .hco-popup-total span {
	font-size: 0.95rem;
	font-weight: 700;
	color: #222222;
}

.hco-popup .hco-popup-total strong {
	font-size: 1.05rem;
	font-weight: 700;
	color: #f5a623;
}

.hco-popup .hco-btn-quickbuy {
	height: 46px;
	padding: 0 22px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #ffffff;
	background: #2d9cdb;
	border-radius: 4px;
	box-shadow: none;
}

.hco-popup .hco-btn-quickbuy:hover {
	background: #2189c4;
	transform: none;
}

/* Compact address block used by the quick-buy dialog. */
.hco-popup .hco-address-block {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hco-popup .hco-address-block__selects {
	gap: 8px;
}

.hco-popup .hco-address-block .hco-field {
	gap: 4px;
}

.hco-popup .hco-address-block .hco-field__label {
	display: none;
}

.hco-popup .hco-address-block textarea.hco-input {
	min-height: 38px;
	height: 38px;
	resize: none;
}

.hco-popup__col--info {
	gap: 7px;
}

.hco-popup .hco-form__grid {
	gap: 7px;
}

.hco-popup-info-title {
	margin-bottom: 7px;
}

.hco-popup .hco-input,
.hco-popup .select2-container--default .select2-selection--single {
	height: 34px;
}

.hco-popup .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 32px;
}

.hco-popup .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 32px;
}

.hco-popup textarea.hco-input {
	min-height: 44px;
}

.hco-popup-total {
	padding-top: 4px;
}

.hco-popup .hco-btn-quickbuy {
	height: 40px;
}

.hco-popup .hco-search-source {
	display: none !important;
}

.hco-popup .hco-search-input {
	padding-right: 34px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
}

.hco-popup .hco-search-input::-webkit-search-cancel-button {
	margin-right: 18px;
}

/* Checkout modal opened directly from the cart page. */
.hco-cart-modal .hco-modal__dialog {
	max-width: 900px;
}

.hco-cart-products {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 285px;
	overflow-y: auto;
	padding-right: 4px;
}

.hco-cart-product {
	display: flex;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eeeeee;
}

.hco-cart-product:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.hco-cart-product__image img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border: 1px solid #eeeeee;
	border-radius: 3px;
}

.hco-cart-product__info {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
	font-size: 0.82rem;
	color: #777777;
}

.hco-cart-product__info strong {
	font-size: 0.9rem;
	line-height: 1.35;
	color: #222222;
}

.hco-cart-product__price {
	font-weight: 700;
	color: #222222;
}

.hco-cart-modal__content {
	padding: 18px;
}

.hco-cart-modal .hco-checkout__title {
	display: none;
}

.hco-cart-modal .hco-checkout__grid {
	grid-template-columns: 0.9fr 1.15fr;
	gap: 20px;
}

.hco-cart-modal .hco-checkout__main {
	order: 2;
	gap: 10px;
}

.hco-cart-modal .hco-checkout__summary {
	order: 1;
	padding: 16px;
	border-radius: 4px;
	box-shadow: none;
}

.hco-cart-modal .hco-section-title {
	margin: 0;
}

.hco-cart-modal .hco-input {
	height: 38px;
	padding: 8px 11px;
	border-radius: 3px;
	background: #ffffff;
}

.hco-cart-modal textarea.hco-input {
	height: auto;
	min-height: 48px;
}

.hco-cart-modal .hco-form__grid {
	gap: 8px;
}

.hco-cart-modal .hco-btn-place-order {
	border-radius: 4px;
}

.hco-cart-modal .hco-privacy {
	display: none;
}

@media (max-width: 720px) {
	.hco-cart-modal__content {
		padding: 12px;
	}

	.hco-cart-modal .hco-checkout__grid {
		grid-template-columns: 1fr;
	}

	.hco-cart-modal .hco-checkout__summary,
	.hco-cart-modal .hco-checkout__main {
		order: initial;
	}
}

/* Complete Select2 dropdown styling. The dropdown is appended to body, so it
   cannot be scoped through .hco-popup like the selection itself. */
.hco-select2-dropdown {
	border: 1px solid #2d9cdb !important;
	border-radius: 3px !important;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	overflow: hidden;
}

.hco-select2-dropdown .select2-search--dropdown {
	padding: 7px;
	background: #f7fbfe;
}

.hco-select2-dropdown .select2-search__field {
	height: 34px;
	padding: 6px 34px 6px 10px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 3px !important;
	font-size: 0.9rem;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 9px center;
	outline: none;
}

.hco-select2-dropdown .select2-search__field::placeholder {
	color: #7c8798;
	opacity: 1;
}

.hco-select2-dropdown .select2-search__field:focus {
	border-color: #2d9cdb !important;
	box-shadow: 0 0 0 2px rgba(45, 156, 219, 0.14);
}

.hco-select2-dropdown .select2-results__options {
	max-height: 170px !important;
}

.hco-select2-dropdown .select2-results__option {
	padding: 8px 10px;
	font-size: 0.9rem;
	line-height: 1.3;
	color: #333333;
}

.hco-select2-dropdown .select2-results__option--highlighted[aria-selected] {
	background: #2d9cdb !important;
	color: #ffffff !important;
}

.hco-select2-dropdown .select2-results__option[aria-selected="true"] {
	background: #eaf6fd;
	color: #176b9a;
}

@media (max-width: 720px) {
	.hco-modal {
		align-items: flex-start;
		padding: 8px;
	}

	.hco-modal__dialog {
		max-height: calc(100vh - 16px);
	}

	.hco-modal__header {
		padding: 10px 12px;
	}

	.hco-modal__title {
		font-size: 0.82rem;
	}

	.hco-popup__col {
		padding: 12px;
	}

	.hco-popup__col--product {
		padding-bottom: 10px;
	}

	.hco-popup-img img {
		width: 78px;
		height: 78px;
	}

	.hco-popup-desc {
		display: none;
	}

	.hco-popup-qty {
		margin-top: 10px;
	}

	.hco-popup .hco-form__grid,
	.hco-popup .hco-address-block__selects {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 430px) {
	.hco-popup .hco-address-block__selects {
		grid-template-columns: 1fr;
	}
}

