/* LockNet VPN Order Form Custom Styling */

/* LockNet cart fixes - Header overlap and layout */
body.orderform {
  --ln-header-h: 80px;          /* adjust to your header height */
}

/* push content below fixed header */
body.orderform #order-standard_cart,
body.orderform .order-container,
body.orderform .main-content,
body.orderform .container {
  padding-top: var(--ln-header-h);
  position: relative;
  z-index: 1;
}

/* keep your navbar above but sane */
.template-locknet .navbar,
.template-locknet .header {
  position: sticky;      /* or fixed if you prefer */
  top: 0;
  z-index: 1030;
}

/* if your footer is fixed, unfix it on cart pages */
body.orderform .footer,
body.orderform .site-footer {
  position: static !important;
}

/* tidy the promo area spacing when a code is applied */
#order-standard_cart .promo-code .form-control[disabled],
#order-standard_cart .promo-code .input-group { min-height: 44px; }
#order-standard_cart .promo-code .alert { margin-top: .5rem; }

/* optional: make order summary stick under the header on desktop */
@media (min-width: 992px) {
  #order-standard_cart .order-summary,
  #order-standard_cart .sidebar .card {
    position: sticky;
    top: calc(var(--ln-header-h) + 16px);
  }
}

/* LockNet VPN Theme Integration */
body.orderform {
    background-color: #ffffff !important;
    color: #2c3e50 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Cart styling improvements */
.view-cart-items {
    background: white !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin: 20px 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.view-cart-items .item {
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 15px 0 !important;
}

.view-cart-items .item:last-child {
    border-bottom: none !important;
}

.item-title {
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin-bottom: 5px !important;
}

.item-price {
    font-weight: 600 !important;
    color: #2c3e50 !important;
}

/* Order Summary Styling */
.order-summary {
    background: white !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin: 20px 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.order-summary h2 {
    color: #2c3e50 !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.5rem !important;
}

/* Total Due Today Styling */
.total-due-today {
    background: #f8f9fa !important;
    border: 2px solid #4a90e2 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin: 20px 0 !important;
    text-align: center !important;
}

.total-due-today .amt {
    color: #4a90e2 !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

/* Checkout Button */
.btn-checkout {
    background-color: #4a90e2 !important;
    border-color: #4a90e2 !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 12px 30px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.btn-checkout:hover {
    background-color: #2a60b0 !important;
    border-color: #2a60b0 !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3) !important;
}

/* Form styling */
.field {
    background: white !important;
    border: 2px solid #e9ecef !important;
    color: #2c3e50 !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    transition: border-color 0.3s ease !important;
}

.field:focus {
    border-color: #4a90e2 !important;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25) !important;
}

/* Button styling */
.btn {
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.btn-primary {
    background-color: #4a90e2 !important;
    border-color: #4a90e2 !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #2a60b0 !important;
    border-color: #2a60b0 !important;
    color: white !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body.orderform #order-standard_cart,
    body.orderform .order-container {
        padding-top: 120px !important;
    }
    
    .order-summary {
        position: static !important;
        margin-top: 2rem !important;
    }
}