
.cart-wrapper { width: 97%; margin: 0 auto; }
.empty-cart {
	border: 2px solid #ececec;
	padding: 25px;
	padding-bottom: 225px;
}

#cart-table tr th { padding: 13px 0px; }
#cart-table .cart-image img {
    display: inline-block;
    max-height: 100px;
    height: 100%;
    width: auto;
    max-width: 100%;
}
#cart-table .cart-logo img, #cart-table .cart-file img {
	max-width: 90px;
	max-height: 35px;
	padding-top: 5px;
}
.remove-item { display: block; }

.totals-table tr td {
	padding: 5px 3px;
	text-align: right;
}
.totals-table tr td.totals-title {
	text-transform: uppercase;
	font-weight: bold;
	padding-right: 20px;
}

#cart-table tr th:first-child, #cart-table tr td:first-child {
	display: none;
}

#cart-table td {
	padding: 15px 10px;
}

#cart-table td.cart-options, #cart-table td.cart-options p {
    font-size: 14px;
}
#cart-table td.cart-options p.note {
	margin: 0px;
    margin-bottom: 5px;
}
#cart-table td.cart-options p:last-of-type { margin-bottom: 0px; }


.customOpts-trigger {
    position: relative;
}
.customOpts-container {
    display: none;
    position: absolute;
    max-width: 450px;
    min-width: 220px;
    padding: 10px;
    background-color: #FFFFFF;
    border: 1px solid #dedede;
    bottom: 125%;  /* Positions it above the link */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 100;
    border-radius: 4px;
    text-align: left;
}
.customOpts-container p {
    font-size: 14px;
}
.popUp .scroller {
    max-height: 400px;
    overflow-y: scroll;
}



/*
#cart-options { margin-top: 25px; }
#cart-options p { font-size: 13px; }
.cart-option { float: left; }
#coupon-code-container { margin-right: 50px; }
.cart-option input[type="text"] {
	width: 135px;
	text-transform: uppercase;	
}
.coupon-discount {
	display: block;
	text-decoration: line-through;
	color: #999999;
}

.cart-option p, .cart-option ul li {
	font-weight: bold;
	padding: 10px 0px;
	font-size: 13px;
}
.cart-option ul.bulleted li { padding: 5px 13px; margin: 0px; }
.cart-option ul.bulleted li:before { top: 9px; }
*/

#checkout-payment {
    margin-bottom: 35px;
}
#checkout-details {
    margin-bottom: 35px;
}

.form-container p, .form-container li, .form-container label { font-size: 16px; }

p.purchase-button { clear: right; margin-bottom: 20px; }

#cart-addons { min-height: 350px; }

#checkout-terms-field { margin-bottom: 35px; }

input#billing-zip, input#shipping-zip { width: 125px; }


#cart-response .notification-container { margin-bottom: 10px; }
#cart-response .notification-container:last-child { margin: 0px; }
.notification-container h5 { margin-bottom: 5px; }
.form-container p span, .form-container li span {
    display: block;
}
.form-container p span.inline-field, .form-container li span.inline-field {
    margin-bottom: 7px;
}

.payment-icon {
	display: inline-block;
    width: 48px;
    height: 32px;
    border: 1px solid #e2e2e2;
    background: #FDFDFC;
    border-radius: 3px;
    text-align: center;
    box-shadow: 0 1px 0 rgba(226, 226, 226, 0.2);
    vertical-align: middle;
	padding: 2px;
	text-indent: -9999px;
}
.icon-mastercard {
	background: url('/images/icon_mastercard.svg') center no-repeat;
	background-size: 46px auto;
}
.icon-visa {
	background: url('/images/icon_visa.svg') center no-repeat;
	background-size: 46px auto;
}
.icon-discover {
	background: url('/images/icon_discover.svg') center no-repeat;
	background-size: 46px auto;
}
.icon-amex {
	background: url('/images/icon_amex.svg') center no-repeat;
	background-size: 46px auto;
}
.icon-paypal {
	background: url('/images/icon_paypal.svg') center no-repeat;
	background-size: auto 28px;
}

#payment-types input[type="radio"] + label:before {
  top: 8px;
}
#payment-types input[type="radio"]:checked + label:after {
  top: 12px;
}

ul.address-list li { font-size: 15px; line-height: 1.1em; }
.form-container .apply-field.loading {
    background-position: right bottom;
    display: inline-block;
    padding-right: 69px;
}

#ship-service-wrapper.loading { min-height: 55px; }

/* ===== Checkout Enhancements ===== */

/* Progress steps */
#checkout-steps {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.ck-step {
    display: flex;
    align-items: center;
    color: #b0bec5;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}
.ck-step.ck-done  { color: #64748b; }
.ck-step.ck-active { color: #1e293b; }
.ck-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
    line-height: 1;
}
.ck-done   .ck-num  { background: #d1fae5; color: #059669; }
.ck-active .ck-num  { background: #27ba5b; color: #fff;    }
.ck-divider {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 10px;
    min-width: 18px;
}

/* Trust badge */
#checkout-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 14px;
    float: right;
}
#checkout-trust svg { color: #16a34a; flex-shrink: 0; }
#checkout-trust p   { font-size: 13px; color: #166534; margin: 0; line-height: 1.4; }

/* Improved submit button */
p#submit-order a {
    background: linear-gradient(135deg, #27ba5b 0%, #1fa050 100%);
    border-radius: 30px;
    padding: 15px 38px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 14px rgba(39,186,91,0.38);
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}
p#submit-order a:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(39,186,91,0.45); }
p#submit-order.loading a { opacity: 0.75; transform: none; pointer-events: none; }

/* Card brand icon overlay on card-number field */
.card-input-wrap {
    position: relative;
    display: block;
    max-width: 280px;
}
#card-number {
    display: block;
    width: 100%;
    box-sizing: border-box;
}
#card-brand-display {
    display: none;
    position: absolute;
    right: 8px;
    bottom: 6px;
    width: 38px;
    height: 26px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 3px;
}
#card-number.has-brand { padding-right: 54px; }

/* CVV tooltip */
.cvv-help-icon,
.form-container p span.cvv-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    background: #94a3b8;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    cursor: help;
    margin-left: 4px;
    vertical-align: middle;
    position: relative;
    z-index: 2;
}
.cvv-help-icon .cvv-help-tip {
    display: none;
}
.cvv-help-icon:hover .cvv-help-tip { display: block; }
.cvv-help-tip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 6px;
    width: 210px;
    text-align: center;
    z-index: 200;
    line-height: 1.5;
    white-space: normal;
    pointer-events: none;
}
.cvv-help-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1e293b;
}

/* Inline card validation feedback */
#card-number.field-valid, #card-security-code.field-valid { border-color: #16a34a; }
#card-number.field-error, #card-security-code.field-error { border-color: #ef4444; }

/* Better error container */
#checkout-response.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    padding: 12px 16px;
}
#checkout-response.error p { color: #dc2626; font-size: 14px; }

