/**
 * CSS Overrides for the WN Order Form
 * Updated to match Winternode.com design system
 *
 * Color Palette (from main site):
 * - Primary: #009CDE
 * - Primary Hover: #66C4EB  * - Primary Light: #007DB2
 * - Page Background: #171717
 * - Card Background: #262626
 * - Input Background: #1D1D1D
 * - Border: #2B2B2B
 * - Text Primary: #FFFFFF
 * - Text Secondary: #CFCFCF
 */

/* Form Group Styles */
#order-standard_cart .full-width {
	max-width: 100% !important;
}

#order-standard_cart .form-group-desc a {
	color: #009CDE;
}

#order-standard_cart .form-group-desc a:hover {
	color: #66C4EB;
}

#order-standard_cart .form-group-title {
	font-size: 1.4em;
	font-weight: 600 !important;
	color: #FFF;
	display: block;
	margin-bottom: 0.3rem;
}

#order-standard_cart .form-group .serversoftware-dropdown {
	color: #FFF;
}

#order-standard_cart .item span {
	color: #FFF !important;
}

#order-standard_cart .form-group-desc {
	font-size: 1em;
	font-weight: 300 !important;
	color: #CFCFCF;
	line-height: 1.5em;
}

#order-standard_cart .form-group-heading {
	line-height: 1em;
	padding-bottom: 1em;
	padding-top: 1em;
}

/* Section Heading Styles */
#order-standard_cart .sub-heading span.primary-bg-color {
	background-color: #171717;
	color: #009CDE;
	font-size: 1.3em;
	font-weight: 600;
	padding: 0 20px;
}

#order-standard_cart .sub-heading.pb-1 {
	margin-bottom: 15px;
}

#order-standard_cart .sub-heading.pb-1 span.primary-bg-color {
	padding: 0 15px;
}

#order-standard_cart .sub-heading.pb-1 span.primary-bg-color i {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.85em;
}

/* Increase spacing for Available Addons heading */
#order-standard_cart #productAddonsContainer .sub-heading {
	margin-bottom: 40px;
}

/* Addon Cards */
.addon-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px;
	width: 100%;
}

#order-standard_cart #productAddonsContainer {
}

.addon-card-container {
	position: relative;
}

.addon-card-label {
	cursor: pointer;
	min-height: 140px;
	display: block;
	padding: 20px;
	width: 100%;
	box-sizing: border-box;
}

/* Addon card content layout */
.addon-card-label .form-card-label-content {
	display: block;
	text-align: center;
}

/* Hide addon checkbox and iCheck wrapper */
.addon-card-label .addon-checkbox,
.addon-card-label .icheckbox_square-blue {
	display: none !important;
}

/* Selected state for addon cards */
.addon-card-label:has(input[type="checkbox"]:checked) {
	background-color: #009CDE !important;
	border-color: #009CDE !important;
}

.addon-card-label .form-card-title {
	margin-bottom: 0.5rem;
}

.addon-card-label .form-card-desc {
	margin-bottom: 0.5rem;
}

.addon-card-label .form-card-pricing {
	font-size: 1em;
	font-weight: 600;
	color: #FFF;
	margin-top: 0.5rem;
	margin-bottom: 0;
}

@media screen and (max-width: 768px) {
	.addon-cards {
		grid-template-columns: 1fr;
	}

	.addon-card-label {
		min-height: 100px;
	}
}

/* Form Input Styles */
.InputContainer .InputElement {
	color: #CFCFCF;
}

#order-standard_cart .form-control {
	background-color: #1D1D1D;
	border-radius: 6px;
	border: 1px solid #2B2B2B;
	color: #CFCFCF;
	width: 100%;
	box-sizing: border-box;
	font-size: 1em;
	font-weight: 300;
	height: 45px;
	/* Prevent GPU rendering and blurry text */
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: auto;
	backface-visibility: hidden;
	transform: translateZ(0);
	will-change: auto;
}

#order-standard_cart .form-control:focus {
	/* Keep same background to prevent GPU layer promotion and blurry text */
	background-color: #1D1D1D;
	border-color: #009CDE;
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 156, 222, 0.1);
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: auto;
}

/* Order Summary Styles */
#order-standard_cart .summary-container {
	background-color: #262626;
	border-radius: 8px !important;
	border: 1px solid #2B2B2B;
}

#order-standard_cart .order-summary {
	background-color: #009CDE;
	border-radius: 8px;
	border-bottom: 3px solid #007DB2 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Product List Styles */
#order-standard_cart .products .product {
	border-radius: 8px;
	background-color: #262626;
	padding: 0 0 10px 0;
	border: 1px solid #2B2B2B;
	transition: border-color 0.3s ease;
}

#order-standard_cart .products .product:hover {
	border-color: #424242;
}

#order-standard_cart .products .product div.product-desc {
	min-height: 300px;
	font-size: 1em;
	padding: 12px 18px;
}

#order-standard_cart .products .product header {
	margin: 0;
	border-radius: 0;
	padding: 12px 18px;
}

#order-standard_cart .products .product header span {
	font-size: 1.4em;
	font-weight: 600;
}

#order-standard_cart footer {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
	padding: 8px 18px;
}

#order-standard_cart .products .product div.product-pricing {
	margin-bottom: 0;
	font-size: 1.1em;
}

#order-standard_cart .products .product div.product-pricing span.price {
	font-size: 1.6em;
	font-weight: 600;
}

/* Product Description WIP */
#order-standard_cart .product-info {
	margin: 0;
	padding: 12px 20px;
	font-size: 0.875em;
	background-color: #262626;
	border-radius: 8px;
	border: 1px solid #2B2B2B;
}

#order-standard_cart .product-price {
	font-size: 1.2em;
	font-weight: 600;
	color: #CFCFCF;
}

#order-standard_cart .description-left {
	float: left;
	width: 50%;
	margin-bottom: 0;
}

#order-standard_cart .description-right {
	float: right;
	width: 50%;
	margin-bottom: 0;
}

#order-standard_cart .desc-text-title {
	font-size: 1.2em;
	font-weight: 600;
	color: #CFCFCF;
	margin-bottom: -20px !important;
}

#order-standard_cart .product-desc {
	width: 100% !important;
	/* display: flex;
    flex-wrap: wrap;
    justify-content: space-between; */
}

/* Configurable Options Grid Layout */
.configurable-options-grid {
	display: contents;
}

/* Server Software and Dedicated IP Side by Side on Desktop */
@media screen and (min-width: 769px) {
	.configurable-options-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	/* Force location cards to span full width */
	.configurable-options-grid > .form-group:has(.location-cards) {
		grid-column: 1 / -1;
	}

	/* Force other full-width items to span both columns */
	.configurable-options-grid > .form-group:not(:has(.form-cards)):not(:has(.serversoftware-dropdown)) {
		grid-column: 1 / -1;
	}

	/* Server Software in first column */
	.configurable-options-grid > .form-group:has(.serversoftware-dropdown) {
		order: 1;
	}

	/* Dedicated IP in second column */
	.configurable-options-grid > .form-group:has(.form-cards) {
		order: 2;
	}

	/* Dedicated IP: Vertical layout on desktop */
	.configurable-options-grid .form-cards {
		grid-template-columns: 1fr !important;
		grid-template-rows: auto auto;
	}
}

/* Form Card Styles */
#order-standard_cart .form-card {
	background-color: #262626;
	border-radius: 8px;
	border: 1px solid #2B2B2B;
	padding: 12px;
	height: 100px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#order-standard_cart .form-card:hover {
	background-color: #2B2B2B;
	border-color: #424242;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#order-standard_cart .form-card.selected-card {
	background-color: #009CDE;
	border-color: #009CDE;
	box-shadow: 0 0 0 3px rgba(0, 156, 222, 0.2);
}

/* Remove padding and height from Dedicated IP cards */
#order-standard_cart .form-card-56 .form-card,
#order-standard_cart .form-card-57 .form-card {
	padding: 0;
	height: auto;
	min-height: 60px;
}

#order-standard_cart .form-card p {
	margin-bottom: 0.3rem;
}

#order-standard_cart .form-card-title {
	font-size: 1.3em;
	font-weight: 600;
	color: #FFF;
}

#order-standard_cart .form-card-desc {
	font-size: 1em;
	font-weight: 400;
	line-height: 1.5em;
	color: #CFCFCF;
}

/* Billing Cycle - Save X% Styling */
#order-standard_cart .billing-cards .form-card-desc.wnblue {
	font-size: 1.05em;
	font-weight: 700;
	color: #009CDE !important;
	margin-top: 0.2rem;
}

/* Improve contrast on selected cards */
#order-standard_cart input[type="radio"]:checked + label .form-card-desc,
#order-standard_cart .checked + label .form-card-desc {
	color: #FFF !important;
}

/* Make "Save X%" white on selected cards */
#order-standard_cart .billing-cards input[type="radio"]:checked + label .form-card-desc.wnblue,
#order-standard_cart .billing-cards .checked + label .form-card-desc.wnblue {
	color: #FFF !important;
	font-weight: 700;
}

#order-standard_cart .form-card-container .iradio_square-blue,
#order-standard_cart .billing-card-container .iradio_square-blue,
#order-standard_cart .location-card-container .iradio_square-blue {
	display: none !important;
}

#order-standard_cart .checked+label {
	background-color: #009CDE !important;
}

#order-standard_cart .form-card-container input[type="radio"]+label:before,
#order-standard_cart .billing-card-container input[type="radio"]+label:before,
#order-standard_cart .location-card-container input[type="radio"]+label:before {
	background-color: #009CDE !important;
}

#order-standard_cart label {
	margin-right: 0;
	position: relative;
}

#order-standard_cart div:not(.card-recommended) .account > label > span {
    display: inline !important;
}

#order-standard_cart div:not(.card-recommended)>label>.best-ping {
	display: none;
}

@keyframes fade-to-up-using-box-shadow {

	0% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
		top: -5px;
		opacity: 0;
	}

	100% {
		box-shadow: #ccc9 0px 2px 5px;
		top: -10px;
		opacity: 1;
	}
}

#order-standard_cart .best-ping {
	text-transform: uppercase;
	position: absolute;
	top: -10px;
	left: -11px;
	background: white;
	color: #009CDE;
	padding: 2px 8px;
	padding-left: 10px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	animation: fade-to-up-using-box-shadow 0.75s ease-out;
}

#order-standard_cart input.form-input-hidden {
	display: none;
}

#order-standard_cart .checkboxctr .checked+label {
	background-color: transparent !important;
}

#order-standard_cart .billing-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	line-height: 20px;
}

#order-standard_cart .location-cards {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

#order-standard_cart .form-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
	width: 100%;
	line-height: 20px;
}

#order-standard_cart .card-recommended {
	-webkit-box-shadow: 0 0 50px rgba(0, 156, 222, 0.5);
	-moz-box-shadow: 0 0 50px rgba(0, 156, 222, 0.5);
	box-shadow: 0 0 50px rgba(0, 156, 222, 0.5);
	transition: box-shadow 1s ease;
}

/* Domain Input CSS Overrides */
#order-standard_cart .domain-input-group .form-control {
    width: auto;
    margin-bottom: 0;
}

#order-standard_cart .domain-input-group .btn {
    height: 100%;
}

/* Checkout Form CSS Overrides */
#order-standard_cart .prepend-icon .field-icon {
	height: 45px;
	line-height: 45px;
	/* Disable transitions to prevent GPU layer promotion and blurry text */
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}

.intl-tel-input .country-list {
	background-color: #262626;
	border: 1px solid #2B2B2B;
}

#order-standard_cart .selected-dial-code {
    color: #CFCFCF;
}

/* Stripe Element CSS Overrides */
#stripeElements .form-control {
    background-color: #FFF !important;
}

#order-standard_cart #paymentGatewaysContainer label {
    margin-right: 10px;
}

/* Invoice Payment CSS Overides */

.cc-billing-address label, #billingAddressChoice label, .cc-details label, .pay-text {
	color: #FFF
}

#order-standard_cart .cc-input-container {
	border-color: rgba(255, 255, 255, .125) !important;
}

/* Server Software Dropdown */
#order-standard_cart .serversoftware-dropdown {
	background-color: #262626;
	position: relative;
	border-radius: 8px;
}

#order-standard_cart .serversoftware-preview {
	border-radius: 8px;
	border: 1px solid #2B2B2B;
	padding: 8px 12px;
	transition: all 0.2s ease;
	cursor: pointer;
}

#order-standard_cart .serversoftware-preview:hover {
	background-color: #2B2B2B;
	border-color: #424242;
}

#order-standard_cart .serversoftware-preview .serversoftware-item {
	justify-content: space-between;
}

#order-standard_cart .serversoftware-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: 300px;
	overflow-y: auto;
	margin-top: 8px;
	margin-bottom: 0;
	padding-left: 0px;
	border-radius: 8px;
	display: none;
	z-index: 1000;
	background-color: #262626;
	border: 1px solid #2B2B2B;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

#order-standard_cart .serversoftware-show {
	display: block;
}

#order-standard_cart .serversoftware-item img {
	width: 30px;
	height: 30px;
	margin-right: 10px;
}

#order-standard_cart .serversoftware-item i {
	margin-right: 15px;
	font-size: 1.8em;
}

#order-standard_cart .serversoftware-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	cursor: pointer;
	padding: 0;
	margin: 0;
}

#order-standard_cart .serversoftware-list .serversoftware-item {
	padding: 10px;
	padding-left: 15px;
}

#order-standard_cart .serversoftware-item .serversoftware-item-text,
#order-standard_cart .serversoftware-item .serversoftware-item-arrow i {
	line-height: 30px;
}


#order-standard_cart .serversoftware-list .serversoftware-item:hover {
	background-color: #2B2B2B;
}

/* Buttons - Updated to match Winternode Design System */
#order-standard_cart .btn-order-now {
	width: 40%;
	border-radius: 8px;
	text-align: center;
	margin-bottom: 10px;
	color: #FFF !important;
	background-color: #009CDE;
	border: 1px solid #009CDE;
	font-weight: 600;
	padding: 12px 24px;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#order-standard_cart .btn-order-now:hover {
	background-color: #66C4EB;
	border-color: #66C4EB;
	color: #FFF !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#order-standard_cart .btn-checkout {
	width: 100%;
	color: #000;
	background-color: #009CDE;
	border: 1px solid #009CDE;
	border-radius: 8px;
	text-align: center;
	font-weight: 600;
	padding: 14px 28px;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#order-standard_cart .btn-checkout:hover {
	background-color: #66C4EB;
	border-color: #66C4EB;
	color: #000;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#order-standard_cart .already-registered .btn {
    background-color: #009CDE;
    border-color: #009CDE;
    color: #000;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#order-standard_cart .already-registered .btn:hover {
    background-color: #66C4EB;
    border-color: #66C4EB;
}

#order-standard_cart #orderSummary button {
	width: 100%;
	color: #000;
	background-color: #009CDE;
	border: 1px solid #009CDE;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1.05em;
	padding: 16px 32px;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#order-standard_cart #orderSummary button:hover:not(:disabled) {
	background-color: #66C4EB;
	border-color: #66C4EB;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#order-standard_cart #orderSummary button:active:not(:disabled) {
	transform: translateY(0);
}

#btnCompleteOrder:not(:disabled):not(.disabled) {
	color: #000;
}

/* Slider CSS Overrides */
.irs-from, .irs-to, .irs-single {
	background-color: #009CDE !important;
	background: #009CDE !important;
	color: #000 !important;
	font-weight: 600;
}

.irs-from:after, .irs-to:after, .irs-single:after {
	border-top-color: #009CDE !important;
}

.irs-line-mid, .irs-line-left, .irs-line-right, .irs-bar, .irs-bar-edge, .irs-slider {
    background: url(../img/sprite-skin-modern-new.png) repeat-x !important;
}

.irs-min, .irs-max {
	background-color: #262626 !important;
	color: #CFCFCF !important;
	border: 1px solid #2B2B2B;
	border-radius: 4px;
	padding: 4px 8px;
}

/* Slider Positioning Overrides */
.irs-line-mid {
	background-position: 0 0 !important;
}

.irs-line-left {
	background-position: 0 -30px !important;
}

.irs-line-right {
	background-position: 100% -30px !important;
}

.irs-bar {
	background-position: 0 -60px !important;
}

.irs-bar-edge {
	background-position: 0 -90px !important;
}

.irs-slider {
	background-position: 0 -120px !important;
}

/* Selected Highlight Color */
::selection {
	background: rgba(0, 156, 222, 0.3);
	color: #FFFFFF;
}

/* Responsiveness */
@media (min-width: 1200px) {
	.container {
		max-width: 1440px;
	}

	#order-standard_cart .cart-body {
		width: 100%;
	}
}

@media screen and (max-width: 768px) {
	#order-standard_cart .billing-cards {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	#order-standard_cart .location-cards {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	#order-standard_cart .form-card {
		height: auto;
		min-height: 80px;
		padding: 8px;
	}

	#order-standard_cart .form-card-title {
		font-size: 1.1em;
		font-weight: 600;
		color: #FFF;
		margin-bottom: 0.1rem;
	}

	#order-standard_cart .form-card-desc {
		font-size: 0.75em;
		line-height: 1.2em;
	}

	#order-standard_cart .form-card-price {
		font-size: 0.875em;
		font-weight: 400;
		color: #CFCFCF;
	}

	#order-standard_cart .form-group-heading {
		padding-top: 0.5em;
		padding-bottom: 0.5em;
	}

	#order-standard_cart .form-group-title {
		font-size: 1.2em;
	}

	#order-standard_cart .form-group-desc {
		font-size: 0.9em;
	}
}

/* Loading Ring Animation */
.location-card-ping-loading {
	display: inline-block;
	position: relative;
	width: 16px;
	height: 16px;
	vertical-align: middle;
}

.location-card-ping-loading::after {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	margin: 2px;
	border-radius: 50%;
	border: 2px solid #FFF;
	border-color: #FFF transparent #FFF transparent;
	animation: location-ping-ring 1.2s linear infinite;
}

@keyframes location-ping-ring {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Theme Overrides - Updated to match Winternode Design System */

.alert-info {
	background-color: #009CDE !important;
	border-color: #007DB2 !important;
	border-radius: 8px;
	color: #000 !important;
	font-weight: 500;
}

.alert-warning {
	background-color: rgba(255, 212, 118, 0.15) !important;
	border-color: #FFD476 !important;
	border-radius: 8px;
	color: #FFD476 !important;
}

.btn-info {
	background-color: #009CDE !important;
	color: #000 !important;
	border: 1px solid #009CDE !important;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.btn-info:hover {
	background-color: #66C4EB !important;
	border-color: #66C4EB !important;
}

a .btn {
	color: #000;
}

.form-card-label-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.wnblue {
	color: #009CDE !important;
	font-weight: 500;
}

/* Make wnblue text white on selected cards for contrast */
#order-standard_cart input[type="radio"]:checked + label .wnblue,
#order-standard_cart .checked+label .wnblue {
	color: #FFF !important;
}
/* Button Color Overrides - WinterNode Brand Colors */
#order-standard_cart .btn-success,
#order-standard_cart .btn-success:focus,
#order-standard_cart .btn-success:active,
#order-standard_cart .btn-success.active {
    background-color: #009CDE !important;
    border-color: #009CDE !important;
    color: #FFF !important;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#order-standard_cart .btn-success:hover {
    background-color: #66C4EB !important;
    border-color: #66C4EB !important;
    color: #FFF !important;
    transform: translateY(-1px);
}

#order-standard_cart .btn-primary,
#order-standard_cart .btn-primary:focus,
#order-standard_cart .btn-primary:active,
#order-standard_cart .btn-primary.active {
    background-color: #009CDE !important;
    border-color: #009CDE !important;
    color: #000 !important;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#order-standard_cart .btn-primary:hover {
    background-color: #66C4EB !important;
    border-color: #66C4EB !important;
    color: #000 !important;
    transform: translateY(-1px);
}

/* ============================================
   Checkout Cart Summary Component Styles
   ============================================ */

.checkout-cart-summary {
    background-color: #262626;
    border: 1px solid #2B2B2B;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header - Always visible, clickable */
.checkout-cart-summary__header {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    cursor: pointer;
    background-color: #009CDE;
    transition: background-color 0.2s ease;
    user-select: none;
}

.checkout-cart-summary__header:hover {
    background-color: #66C4EB;
}

/* Main header row - always visible */
.checkout-cart-summary__header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Subrow - hidden on desktop, visible on mobile */
.checkout-cart-summary__header-subrow {
    display: none;
}

.checkout-cart-summary__title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    font-weight: 600;
    font-size: 1.1em;
}

.checkout-cart-summary__title i.fa-shopping-cart {
    font-size: 1.2em;
}

.checkout-cart-summary__label {
    font-weight: 600;
}

.checkout-cart-summary__count {
    color: #000;
    font-weight: 400;
    font-size: 0.85em;
    opacity: 0.8;
}

.checkout-cart-summary__currency {
    color: #000;
    font-weight: 400;
    font-size: 0.85em;
    opacity: 0.8;
}

.checkout-cart-summary__total {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-cart-summary__amount {
    color: #000;
    font-weight: 700;
    font-size: 1.4em;
}

.checkout-cart-summary__chevron {
    color: #000;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

/* Body - Collapsible content */
.checkout-cart-summary__body {
    max-height: 1000px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 20px 20px 16px 20px;
    background-color: #262626;
}

.checkout-cart-summary__body.collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0 20px 0 20px;
}

/* Items List */
.checkout-cart-summary__items {
    margin-bottom: 15px;
}

.checkout-cart-summary__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #2B2B2B;
}

.checkout-cart-summary__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.checkout-cart-summary__item:first-child {
    padding-top: 0;
}

.checkout-cart-summary__item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    padding-right: 15px;
}

.checkout-cart-summary__item-name {
    color: #FFF;
    font-weight: 500;
    font-size: 0.95em;
    line-height: 1.3;
}

.checkout-cart-summary__item-cycle {
    color: #CFCFCF;
    font-size: 0.8em;
    font-weight: 400;
}

.checkout-cart-summary__item-price {
    color: #009CDE;
    font-weight: 600;
    font-size: 0.95em;
    white-space: nowrap;
}

/* Compact Two-Column Footer */
.checkout-cart-summary__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 2px solid #2B2B2B;
    padding-top: 12px;
    gap: 20px;
}

.checkout-cart-summary__footer-left {
    display: flex;
    align-items: flex-start;
}

.checkout-cart-summary__footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Breakdown Section - Compact version */
.checkout-cart-summary__breakdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 240px;
}

.checkout-cart-summary__breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #CFCFCF;
    font-size: 0.9em;
}

.checkout-cart-summary__breakdown-row span:first-child {
    font-weight: 400;
    white-space: nowrap;
}

.checkout-cart-summary__breakdown-row span:last-child {
    font-weight: 500;
    text-align: right;
}

.checkout-cart-summary__discount {
    color: #009CDE;
}

.checkout-cart-summary__discount span {
    color: #009CDE;
    font-weight: 500;
}

.checkout-cart-summary__total-row {
    border-top: 1px solid #2B2B2B;
    margin-top: 4px;
    padding-top: 8px;
    color: #FFF;
    font-size: 1em;
    font-weight: 600;
}

.checkout-cart-summary__total-amount {
    color: #009CDE;
    font-weight: 700;
    font-size: 1.15em;
}

/* Edit Cart Link */
.checkout-cart-summary__edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #009CDE;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    transition: color 0.2s ease;
    padding: 2px 0;
}

.checkout-cart-summary__edit:hover {
    color: #66C4EB;
    text-decoration: none;
}

.checkout-cart-summary__edit i {
    font-size: 0.9em;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .checkout-cart-summary__header {
        padding: 12px 16px;
        gap: 6px;
    }

    /* Show subrow on mobile */
    .checkout-cart-summary__header-subrow {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .checkout-cart-summary__title {
        font-size: 1em;
        gap: 8px;
    }

    .checkout-cart-summary__amount {
        font-size: 1.2em;
    }

    .checkout-cart-summary__count {
        font-size: 0.8em;
    }

    .checkout-cart-summary__currency {
        font-size: 0.8em;
    }

    .checkout-cart-summary__body {
        padding: 16px 16px 12px 16px;
    }

    .checkout-cart-summary__item {
        padding: 8px 0;
    }

    .checkout-cart-summary__item-name {
        font-size: 0.9em;
    }

    .checkout-cart-summary__item-cycle {
        font-size: 0.75em;
    }

    .checkout-cart-summary__item-price {
        font-size: 0.9em;
    }

    /* Stack footer on mobile */
    .checkout-cart-summary__footer {
        flex-direction: column;
        gap: 12px;
        padding-top: 10px;
    }

    .checkout-cart-summary__footer-left {
        width: 100%;
    }

    .checkout-cart-summary__footer-right {
        width: 100%;
        justify-content: flex-start;
    }

    .checkout-cart-summary__breakdown {
        width: 100%;
        min-width: 0;
    }

    .checkout-cart-summary__breakdown-row {
        font-size: 0.85em;
        gap: 10px;
    }

    .checkout-cart-summary__total-row {
        font-size: 0.95em;
    }

    .checkout-cart-summary__total-amount {
        font-size: 1.1em;
    }

    .checkout-cart-summary__edit {
        font-size: 0.85em;
    }
}

/* Print Styles - Ensure summary is visible when printing */
@media print {
    .checkout-cart-summary__body {
        max-height: none !important;
        opacity: 1 !important;
        padding: 20px !important;
    }

    .checkout-cart-summary__chevron {
        display: none;
    }
}

/* Accessibility - Focus states */
.checkout-cart-summary__header:focus {
    outline: 2px solid #009CDE;
    outline-offset: 2px;
}

.checkout-cart-summary__edit:focus {
    outline: 2px solid #009CDE;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   Password Generation Modal Styles
   ============================================ */

/* Fix modal positioning - prevent it from being behind header */
.modal.fade.in {
    z-index: 10000 !important;
}

.modal-backdrop.fade.in {
    z-index: 9999 !important;
}

/* Style the password generation modal to match theme */
#modalGeneratePassword .modal-dialog {
    margin-top: 10vh;
    max-width: 500px;
}

#modalGeneratePassword .modal-content {
    background-color: #262626;
    border: 1px solid #2B2B2B;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

#modalGeneratePassword .modal-header {
    background-color: #009CDE;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 20px 24px;
}

#modalGeneratePassword .modal-title {
    color: #000;
    font-weight: 600;
    font-size: 1.3em;
}

#modalGeneratePassword .modal-body {
    background-color: #262626;
    color: #FFF;
    padding: 24px;
}

#modalGeneratePassword .modal-body label {
    color: #CFCFCF;
    font-weight: 400;
    margin-bottom: 8px;
}

#modalGeneratePassword .modal-body input[type="text"],
#modalGeneratePassword .modal-body input[type="number"] {
    background-color: #1D1D1D;
    border: 1px solid #2B2B2B;
    border-radius: 6px;
    color: #CFCFCF;
    padding: 10px 12px;
    width: 100%;
}

#modalGeneratePassword .modal-body input[type="text"]:focus,
#modalGeneratePassword .modal-body input[type="number"]:focus {
    background-color: #262626;
    border-color: #009CDE;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 156, 222, 0.1);
}

#modalGeneratePassword .modal-body .checkbox label {
    color: #FFF;
    font-weight: 400;
}

#modalGeneratePassword .modal-body input[type="checkbox"] {
    margin-right: 8px;
}

#modalGeneratePassword .modal-footer {
    background-color: #262626;
    border-top: 1px solid #2B2B2B;
    border-radius: 0 0 8px 8px;
    padding: 16px 24px;
}

#modalGeneratePassword .modal-footer .btn {
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

#modalGeneratePassword .modal-footer .btn-default {
    background-color: #1D1D1D;
    border: 1px solid #2B2B2B;
    color: #CFCFCF;
}

#modalGeneratePassword .modal-footer .btn-default:hover {
    background-color: #2B2B2B;
    border-color: #424242;
}

#modalGeneratePassword .modal-footer .btn-primary {
    background-color: #009CDE;
    border: 1px solid #009CDE;
    color: #000;
}

#modalGeneratePassword .modal-footer .btn-primary:hover {
    background-color: #66C4EB;
    border-color: #66C4EB;
}

#modalGeneratePassword .close {
    color: #000;
    opacity: 0.8;
    text-shadow: none;
}

#modalGeneratePassword .close:hover {
    color: #000;
    opacity: 1;
}

/* ============================================
   Payment Method Cards Styles
   ============================================ */

/* Payment methods container */
.payment-methods {
    margin: 20px 0;
}

.payment-methods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    max-width: 100%;
}

/* Individual payment method card */
.payment-method-card {
    position: relative;
    padding: 16px 14px;
    border-radius: 8px;
    border: 2px solid #2B2B2B;
    background-color: #262626;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method-card:hover {
    border-color: #424242;
    background-color: #2B2B2B;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.payment-method-card--selected {
    border-color: #009CDE;
    background-color: rgba(0, 156, 222, 0.1);
    box-shadow: 0 0 0 1px rgba(0, 156, 222, 0.3);
}

.payment-method-card--selected:hover {
    border-color: #66C4EB;
    background-color: rgba(0, 156, 222, 0.15);
}

/* Checkmark indicator in top-right corner */
.payment-method-card__check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #009CDE;
    display: none;
    align-items: center;
    justify-content: center;
    color: #000;
}

.payment-method-card--selected .payment-method-card__check {
    display: flex;
}

/* Card content - logo and label */
.payment-method-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

/* Payment method logos */
.payment-method-card__logo {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.payment-method-card--selected .payment-method-card__logo {
    opacity: 1;
}

.payment-method-card__logo--cards {
    max-height: 38px;
}

/* Payment method label text */
.payment-method-card__label {
    font-size: 0.9em;
    font-weight: 500;
    color: #CFCFCF;
    line-height: 1.3;
}

.payment-method-card--selected .payment-method-card__label {
    color: #FFF;
}

/* Fallback icon for unknown gateways */
.payment-method-card__icon-fallback {
    width: 48px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CFCFCF;
}

.payment-method-card__icon-svg {
    width: 40px;
    height: 40px;
}

.payment-method-card--selected .payment-method-card__icon-fallback {
    color: #009CDE;
}

/* Hidden radio input */
.payment-method-card__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Cart/checkout background fixes */
.announcements .announcement article {
    background-color: #262626;
    border-left: 4px solid #2B2B2B;
    color: #CFCFCF;
}

#order-standard_cart .view-cart-items .item {
    background-color: #262626 !important;
    border-color: #2B2B2B !important;
}

#order-standard_cart .view-cart-tabs .tab-content,
#order-standard_cart .tab-content {
    background-color: #262626 !important;
    border-color: #2B2B2B !important;
}

#order-standard_cart #containerExistingAccountSelect .account {
    background-color: #262626 !important;
    border-color: #2B2B2B !important;
}

#order-standard_cart .apply-credit-container {
    background-color: #262626 !important;
    border-color: #2B2B2B !important;
}

/* Payment method content containers */
.payment-method-content {
    margin-top: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Redirect payment notices (PayPal, BitPay, etc.) */
.payment-redirect-notice {
    text-align: center;
    padding: 10px 12px;
    background-color: rgba(255,255,255,0.02);
    border-radius: 6px;
    border: 1px solid #2B2B2B;
}

.payment-redirect-notice__logo {
    display: none;
}

.payment-redirect-notice__icon {
    display: none;
}

.payment-redirect-notice__text {
    color: #CFCFCF;
    font-size: 0.95em;
    line-height: 1.35;
    margin: 0;
}

/* Crypto currency badges */
.crypto-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.crypto-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    background-color: #1D1D1D;
    border: 1px solid #2B2B2B;
    color: #FFF;
}

.crypto-badge--btc {
    background-color: rgba(247, 147, 26, 0.15);
    border-color: rgba(247, 147, 26, 0.3);
    color: #F7931A;
}

.crypto-badge--eth {
    background-color: rgba(98, 126, 234, 0.15);
    border-color: rgba(98, 126, 234, 0.3);
    color: #627EEA;
}

.crypto-badge--usdc {
    background-color: rgba(39, 117, 202, 0.15);
    border-color: rgba(39, 117, 202, 0.3);
    color: #2775CA;
}

.crypto-badge--more {
    background-color: #1D1D1D;
    border-color: #2B2B2B;
    color: #CFCFCF;
}

/* Security notice footer */
.payment-security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px;
    color: #CFCFCF;
    font-size: 0.9em;
    text-align: center;
}

.payment-security-notice svg {
    flex-shrink: 0;
    color: #009CDE;
}

/* Responsive: Stack cards on mobile */
@media screen and (max-width: 768px) {
    .payment-methods__grid {
        grid-template-columns: 1fr;
    }

    .payment-method-card {
        min-height: 100px;
        padding: 16px 12px;
    }

    .payment-method-card__content {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .payment-method-card__logo {
        max-height: 32px;
    }

    .payment-method-card__logo--cards {
        max-height: 28px;
    }

    .payment-redirect-notice {
        padding: 30px 16px;
    }

    .payment-redirect-notice__logo {
        max-width: 120px;
        max-height: 50px;
    }
}

/* Adjust existing cc-input-container when inside payment-method-content */
.payment-method-content .cc-input-container {
    margin-top: 0;
}
/* ========================================
   Payment Gateway Styling - Fixed Layout
   ======================================== */

/* Payment Gateway Container */
#paymentGatewaysContainer {
    margin: 30px 0;
    overflow: visible;
    contain: none;
}

.payment-gateways-list {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 20px auto;
}

/* Individual Payment Gateway Option - VERTICAL LAYOUT */
.payment-gateway-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 1 1 200px;
    min-width: 180px;
    max-width: 250px;
    padding: 20px 15px;
    border: 2px solid #2B2B2B;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #262626;
    position: relative;
}

.payment-gateway-option:hover {
    border-color: #009CDE;
    box-shadow: 0 3px 10px rgba(0, 156, 222, 0.25);
    transform: translateY(-2px);
}

/* Hide iCheck visual wrapper completely */
.payment-gateway-option .iradio_square-blue,
.payment-gateway-option .iradio_square-blue ins.iCheck-helper {
    display: none !important;
}

/* Show native radio button at top */
.payment-gateway-option input[type="radio"] {
    display: inline-block !important;
    position: static !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 8px 0 !important;
    cursor: pointer;
    flex-shrink: 0;
}

/* Gateway Logos - centered */
.gateway-logo {
    flex-shrink: 0;
    height: 35px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 8px 0;
}

.gateway-logo--cards {
    height: 30px;
}

.gateway-logo--paypal {
    height: 35px;
}

.gateway-logo--bitpay {
    height: 32px;
}

/* Gateway Name - below logo */
.payment-gateway-name {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.3;
    margin-top: 4px;
}

/* Selected State */
.payment-gateway-option:has(input[type="radio"]:checked) {
    border-color: #009CDE;
    background: linear-gradient(135deg, #2B2B2B 0%, #262626 100%);
    box-shadow: 0 4px 12px rgba(0, 156, 222, 0.35);
}

.payment-gateway-option:has(input[type="radio"]:checked) .payment-gateway-name {
    color: #009CDE;
    font-weight: 600;
}

/* Fallback for browsers without :has() support */
.payment-gateway-option input[type="radio"]:checked ~ .payment-gateway-name {
    color: #009CDE;
    font-weight: 600;
}

/* ========================================
   Payment Section Styling Enhancements
   ======================================== */

/* Credit card container - ensure spacing */
.cc-input-container {
    margin-top: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: #262626;
    border-radius: 8px;
    border: 1px solid #2B2B2B;
    clear: both;
}

/* Security Notice - proper separation */
.payment-security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    padding: 15px;
    background: #262626;
    border-radius: 6px;
    font-size: 14px;
    color: #CFCFCF;
    border: 1px solid #2B2B2B;
    clear: both;
}

.payment-security-notice svg {
    flex-shrink: 0;
    color: #28a745;
}

/* Sub-heading (Notes, etc.) - proper spacing */
.sub-heading {
    clear: both;
    margin-top: 30px;
    margin-bottom: 15px;
}

.sub-heading span {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
}

/* Marketing Email Opt-in */
.marketing-email-optin {
    clear: both;
    margin: 35px 0;
    padding: 25px;
    background: #262626;
    border-radius: 8px;
    border: 1px solid #2B2B2B;
    border-left: 4px solid #009CDE;
}

.marketing-email-optin h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.marketing-email-optin p {
    margin-bottom: 15px;
    color: #CFCFCF;
}

/* Terms of Service Section */
.text-center {
    clear: both;
    margin-top: 25px;
}

.text-center p {
    margin-bottom: 20px;
}

.checkbox-inline {
    font-size: 15px;
}

/* Complete Order Button */
#btnCompleteOrder {
    clear: both;
    margin-top: 25px;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 600;
}

/* ========================================
   Credit Card Form Enhancements
   ======================================== */

/* Hide optional card description field */
#inputDescriptionContainer {
    display: none;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .payment-gateways-list {
        flex-direction: column;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .payment-gateway-option {
        max-width: 100%;
    }
    
    .marketing-email-optin {
        padding: 20px 15px;
    }
    
    #btnCompleteOrder {
        width: 100%;
        padding: 16px 20px;
    }
}

/* Stack payment methods vertically on small screens */
@media (max-width: 576px) {
    .payment-gateway-option {
        min-width: 100%;
    }

    .gateway-logo {
        height: 32px;
    }
}

/* ========================================
   Password Field Enhancements
   ======================================== */

.password-input-wrapper {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.password-input-container {
    position: relative;
    flex: 1;
}

.password-input-wrapper .password-input-field {
    width: 100%;
    padding-right: 40px; /* Make room for toggle icon inside */
}

.btn-password-toggle {
    position: absolute;
    right: 8px; /* Position inside the input field */
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 6px;
    transition: color 0.2s ease;
    z-index: 10;
    pointer-events: auto;
}

.btn-password-toggle:hover {
    color: #009CDE;
}

.btn-password-toggle:focus {
    outline: none;
    color: #009CDE;
}

/* Generate Password Button - Match Site Style */
.password-input-wrapper .generate-password {
    white-space: nowrap;
    flex-shrink: 0;
    background: #009CDE;
    color: #FFFFFF;
    border: 1px solid #009CDE;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    height: auto;
}

.password-input-wrapper .generate-password:hover {
    background: #66C4EB;
    border-color: #66C4EB;
    color: #FFFFFF;
}

.password-input-wrapper .generate-password:active {
    background: #007DB2;
    border-color: #007DB2;
}

.password-strength-meter {
    margin-top: 10px;
    width: 100%;
}

.password-strength-meter .progress {
    height: 8px;
    margin-bottom: 8px;
    background-color: #1D1D1D;
    border-radius: 4px;
}

.password-strength-meter p {
    margin: 0;
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .password-input-wrapper {
        flex-wrap: wrap;
    }

    .password-input-container {
        width: 100%;
    }

    .password-input-wrapper .password-input-field {
        padding-right: 40px;
    }

    .btn-password-toggle {
        right: 8px;
    }

    .password-input-wrapper .generate-password {
        width: 100%;
        margin-top: 8px;
    }

    .password-strength-meter {
        margin-top: 8px;
    }
}

/* ========================================
   Cart Summary Promo Code Section
   ======================================== */

.checkout-cart-summary__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.checkout-cart-summary__footer-left {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-cart-summary__promo {
    margin-top: 8px;
}

.promo-form {
    margin: 0;
}

.promo-input-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.promo-input {
    flex: 1;
    min-width: 150px;
    padding: 8px 12px;
    border: 1px solid #2B2B2B;
    border-radius: 4px;
    background: #1D1D1D;
    color: #FFFFFF;
    font-size: 13px;
    transition: border-color 0.2s ease;
}

.promo-input:focus {
    outline: none;
    border-color: #009CDE;
}

.promo-input::placeholder {
    color: #666;
}

.btn-apply-promo {
    padding: 8px 14px;
    background: #009CDE;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s ease;
    min-width: 60px;
}

.btn-apply-promo:hover {
    background: #66C4EB;
}

.btn-apply-promo:active {
    background: #007DB2;
}

.promo-applied {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #009CDE;
    font-size: 13px;
    padding: 6px 0;
}

.promo-error {
    color: #ff4444;
    font-size: 12px;
    margin-top: 6px;
}

.promo-applied i.fa-tag {
    font-size: 16px;
}

.promo-code-text {
    flex: 1;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-remove-promo {
    background: transparent;
    border: 1px solid #2B2B2B;
    color: #CFCFCF;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.btn-remove-promo:hover {
    background: rgba(255, 68, 68, 0.1);
    border-color: #ff4444;
    color: #ff4444;
    text-decoration: none;
}

.btn-remove-promo:active {
    background: rgba(255, 68, 68, 0.2);
    transform: scale(0.95);
}

.btn-remove-promo:focus {
    outline: 2px solid #ff4444;
    outline-offset: 2px;
}

.btn-remove-promo i {
    font-size: 14px;
}

/* Responsive adjustments for promo section */
@media (max-width: 768px) {
    .checkout-cart-summary__footer {
        flex-direction: column;
        gap: 15px;
    }

    .checkout-cart-summary__footer-left {
        width: 100%;
    }

    .checkout-cart-summary__footer-right {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .promo-input {
        font-size: 13px;
        padding: 7px 10px;
        min-width: 120px;
    }

    .btn-apply-promo {
        font-size: 12px;
        padding: 7px 10px;
    }

    .promo-applied {
        font-size: 12px;
    }
}
