/*
===============================================================================
  CNG Standard Cart — Caribbean Hosting order form styles
  Loaded by common.tpl on every cart page of this order form template.
  Brand: navy #071521/#102f4c · gold #ffc83d/#ffab2e · cyan #10bde3
===============================================================================
*/

/* ---------- Product cards (2 per row) ---------- */

#order-standard_cart .cng-product {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #d8e7f1;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(7, 21, 33, 0.08);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
	background: #fff;
}

#order-standard_cart .cng-product:hover {
	box-shadow: 0 14px 32px rgba(16, 47, 76, 0.18);
	transform: translateY(-3px);
}

#order-standard_cart .cng-product header {
	background: linear-gradient(135deg, #071521, #102f4c) !important;
	border-bottom: 3px solid #ffc83d;
	padding: 14px 18px;
	color: #fff;
	font-weight: 700;
	font-size: 1.1em;
}

#order-standard_cart .cng-product header .qty {
	background: #ffc83d;
	color: #251901;
	border-radius: 10px;
	padding: 2px 10px;
	font-size: 0.75em;
	font-weight: 800;
}

/* ---------- Product image gallery ---------- */

#order-standard_cart .cng-product-img {
	background: linear-gradient(180deg, #f7fbfe, #e4f5fa);
	border-bottom: 1px solid #e4f5fa;
	padding: 12px 0 8px;
}

#order-standard_cart .cng-gal {
	position: relative;
	max-width: 260px;
	margin: 0 auto;
	text-align: center;
}

#order-standard_cart .cng-gal-img {
	max-width: 100%;
	max-height: 150px;
	object-fit: contain;
	border-radius: 8px;
}

#order-standard_cart .cng-gal-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #d8e7f1;
	background: rgba(255, 255, 255, 0.92);
	color: #102f4c;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	transition: 0.15s;
}

#order-standard_cart .cng-gal-nav:hover {
	background: #ffc83d;
	border-color: #b87500;
	color: #251901;
}

#order-standard_cart .cng-gal-nav.prev { left: -6px; }
#order-standard_cart .cng-gal-nav.next { right: -6px; }

#order-standard_cart .cng-gal-dots {
	margin-top: 6px;
	line-height: 1;
}

#order-standard_cart .cng-gal-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cfe6f2;
	margin: 0 3px;
	cursor: pointer;
	transition: 0.15s;
}

#order-standard_cart .cng-gal-dot.on,
#order-standard_cart .cng-gal-dot:hover {
	background: #ffc83d;
}

/* ---------- Product description / features ---------- */

#order-standard_cart .cng-product .product-desc {
	flex: 1 1 auto;
	padding: 12px 18px;
	text-align: left;
}

#order-standard_cart .cng-product .product-desc p,
#order-standard_cart .cng-product .product-desc li {
	position: relative;
	margin: 0;
	padding: 7px 0 7px 26px;
	font-size: 0.95em;
	color: #435c72;
	border-bottom: 1px dashed #e4f5fa;
	list-style: none;
	line-height: 1.35;
}

#order-standard_cart .cng-product .product-desc p:last-child,
#order-standard_cart .cng-product .product-desc li:last-child {
	border-bottom: none;
}

#order-standard_cart .cng-product .product-desc p::before,
#order-standard_cart .cng-product .product-desc li::before {
	content: "\2713";
	position: absolute;
	left: 2px;
	top: 7px;
	width: 17px;
	height: 17px;
	line-height: 17px;
	text-align: center;
	border-radius: 50%;
	background: #fff0a6;
	color: #8a5a00;
	font-size: 11px;
	font-weight: 700;
}

#order-standard_cart .cng-product .product-desc ul {
	margin: 0;
	padding: 0;
}

#order-standard_cart .cng-product .product-desc .feature-value {
	font-weight: 700;
	color: #102f4c;
}

#order-standard_cart .cng-product .product-desc img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/* ---------- Price + order button ---------- */

#order-standard_cart .cng-product footer {
	background: #f7fbfe !important;
	border-top: 1px solid #e4f5fa;
	padding: 14px 18px 18px;
	text-align: center;
}

#order-standard_cart .cng-product footer .cng-from {
	font-size: 0.8em;
	color: #5b7085;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

#order-standard_cart .cng-product footer .price {
	font-size: 1.8em;
	font-weight: 800;
	color: #102f4c;
}

#order-standard_cart .cng-product footer .cycle {
	font-size: 0.85em;
	color: #5b7085;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

#order-standard_cart .cng-product footer .btn-order-now {
	display: block;
	width: 100%;
	margin-top: 10px;
	background: linear-gradient(180deg, #ffc83d, #ffab2e);
	border: 1px solid #b87500;
	color: #251901;
	font-weight: 700;
	font-size: 1em;
	border-radius: 10px;
	padding: 11px 16px;
	text-shadow: none;
	box-shadow: 0 6px 16px rgba(255, 171, 46, 0.3);
}

#order-standard_cart .cng-product footer .btn-order-now:hover {
	background: linear-gradient(180deg, #ffd45e, #ffab2e);
	color: #251901;
}

/* ---------- Configure page: numbered section headings ---------- */

#order-standard_cart .secondary-cart-body {
	counter-reset: cngsec;
}

#order-standard_cart .secondary-cart-body .sub-heading span {
	background: none;
	color: #102f4c;
	font-weight: 800;
	font-size: 1.25em;
	padding: 0 0 0 34px;
	position: relative;
	display: inline-block;
}

#order-standard_cart .secondary-cart-body .sub-heading span::before {
	counter-increment: cngsec;
	content: counter(cngsec);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	line-height: 26px;
	border-radius: 50%;
	background: #ffc83d;
	color: #251901;
	font-size: 0.72em;
	font-weight: 800;
	text-align: center;
}

#order-standard_cart .secondary-cart-body .sub-heading {
	border-bottom: 2px solid #e4f5fa;
	padding-bottom: 8px;
	margin: 26px 0 16px;
}

/* ---------- Configure page: fields & options ---------- */

#order-standard_cart .secondary-cart-body label {
	color: #102f4c;
	font-weight: 700;
}

#order-standard_cart select.form-control,
#order-standard_cart input.form-control {
	border-radius: 8px;
	border-color: #cfe6f2;
}

#order-standard_cart select.form-control:focus,
#order-standard_cart input.form-control:focus {
	border-color: #10bde3;
	box-shadow: 0 0 0 3px rgba(16, 189, 227, 0.18);
}

/* OS logo cards (built by js/cng.js) */
#order-standard_cart .cng-os-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
	gap: 10px;
	margin: 8px 0 4px;
}

#order-standard_cart .cng-os-card {
	border: 2px solid #d8e7f1;
	border-radius: 12px;
	background: #fff;
	padding: 12px 6px 10px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

#order-standard_cart .cng-os-card:hover {
	border-color: #ffc83d;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(16, 47, 76, 0.14);
}

#order-standard_cart .cng-os-card.sel {
	border-color: #ffc83d;
	background: #fffdf4;
	box-shadow: inset 0 0 0 1px #ffc83d;
}

#order-standard_cart .cng-os-card .ico { width: 38px; height: 38px; }
#order-standard_cart .cng-os-card .ico svg { width: 100%; height: 100%; display: block; }
#order-standard_cart .cng-os-card b { font-size: 12.5px; color: #102f4c; line-height: 1.25; }
#order-standard_cart .cng-os-card .pr { font-size: 10.5px; font-weight: 800; color: #b87500; }
#order-standard_cart .cng-os-card .pr.free { color: #1a9e55; }

/* Upgrade / addon checkboxes as rows */
#order-standard_cart .secondary-cart-body .checkbox,
#order-standard_cart .secondary-cart-body .radio {
	border: 1px solid #e4f5fa;
	border-radius: 10px;
	padding: 9px 12px;
	margin: 6px 0;
	background: #f7fbfe;
	transition: border-color 0.15s;
}

#order-standard_cart .secondary-cart-body .checkbox:hover,
#order-standard_cart .secondary-cart-body .radio:hover {
	border-color: #ffc83d;
}

/* Addon panels */
#order-standard_cart .panel-addon {
	border-radius: 12px;
	border-color: #d8e7f1;
}

#order-standard_cart .panel-addon-selected {
	border-color: #ffc83d;
	box-shadow: 0 0 0 1px #ffc83d;
}

/* ---------- Order summary ---------- */

#order-standard_cart .order-summary {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #d8e7f1;
	box-shadow: 0 10px 30px rgba(7, 21, 33, 0.12);
}

#order-standard_cart .order-summary h2 {
	background: linear-gradient(135deg, #071521, #102f4c);
	color: #fff;
	border-bottom: 3px solid #ffc83d;
	padding: 15px;
	font-size: 1.35em;
	font-weight: 700;
	margin: 0;
}

#order-standard_cart #btnCompleteProductConfig,
#order-standard_cart .btn-primary {
	background: linear-gradient(180deg, #ffc83d, #ffab2e);
	border: 1px solid #b87500;
	color: #251901;
	font-weight: 700;
	border-radius: 10px;
	text-shadow: none;
	box-shadow: 0 6px 16px rgba(255, 171, 46, 0.35);
}

#order-standard_cart #btnCompleteProductConfig:hover,
#order-standard_cart .btn-primary:hover {
	background: linear-gradient(180deg, #ffd45e, #ffab2e);
	color: #251901;
}
