/* ============================================================
   KarasHost — web20cart order form (dark theme to match kh3)
   ============================================================ */

#order-web20cart {
    margin: 0;
    padding: 40px 0 60px 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'DM Sans', sans-serif;
    color: #e8eaf0;
}

#order-web20cart h1 {
    margin: 0 0 24px 0;
    padding: 0;
    font-family: 'Syne', sans-serif;
    font-size: 2.2em;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
}

#order-web20cart h2 {
    margin: 0 0 16px 0;
    padding: 0;
    font-family: 'Syne', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
}

#order-web20cart h3 {
    margin: 0 0 14px 0;
    padding: 0;
    font-family: 'Syne', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
}

#order-web20cart a { color: #00e5c3; text-decoration: none; transition: color .2s; }
#order-web20cart a:hover { color: #fff; }

#order-web20cart .center90 { margin: 0 auto; padding: 0; width: 90%; }
#order-web20cart .textcenter { text-align: center; }
#order-web20cart .textright { text-align: right; }
#order-web20cart .textgreen { color: #00e5a0; }
#order-web20cart .textred { color: #00e5c3; }

/* ── CART MENU (category nav bar) ── */
#order-web20cart .cartmenu {
    margin: 0 0 28px 0;
    padding: 14px 20px;
    background: #0e1117;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    font-size: 13.5px;
    color: #7a8099;
    text-align: center;
    line-height: 2;
}
#order-web20cart .cartmenu strong { color: #00e5c3; font-weight: 600; }
#order-web20cart .cartmenu a { color: #b0b8cc; }
#order-web20cart .cartmenu a:hover { color: #fff; }

/* ── PRODUCT CARD ── */
#order-web20cart .cartbox {
    margin: 0 0 16px 0;
    padding: 24px 28px;
    background: #111418;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    transition: border-color .25s, transform .2s;
}
#order-web20cart .cartbox:hover {
    border-color: rgba(0,229,195,0.3);
    transform: translateY(-2px);
}

#order-web20cart table.noborders,
#order-web20cart .noborders {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}
#order-web20cart table.noborders td {
    border: none;
    background: transparent;
    vertical-align: middle;
    padding: 4px 8px;
}

/* Product name + description (left column) */
#order-web20cart .cartbox td:first-child {
    color: #b0b8cc;
    font-size: 13.5px;
    line-height: 1.7;
}
/* Product NAME = first strong only (big heading) */
#order-web20cart .cartbox td:first-child > strong:first-child {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}
/* All other strongs in description = inline emphasis, normal flow */
#order-web20cart .cartbox td:first-child strong {
    color: #fff;
    font-weight: 600;
}
#order-web20cart .cartbox td:first-child em {
    color: #7a8099;
    font-size: 12px;
    font-style: normal;
    font-family: 'DM Mono', monospace;
}

/* Pricing (middle column) */
#order-web20cart .pricing {
    color: #00e5c3 !important;
    font-family: 'DM Mono', monospace;
    font-size: 13.5px;
    line-height: 1.9;
}

/* ── ORDER NOW BUTTON ── */
#order-web20cart input[type="button"],
#order-web20cart input[type="submit"] {
    background: #00e5c3;
    color: #050a08;
    border: none;
    border-radius: 8px;
    padding: 11px 26px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}
#order-web20cart input[type="button"]:hover,
#order-web20cart input[type="submit"]:hover {
    opacity: .88;
    transform: translateY(-1px);
}
#order-web20cart input[type="button"]:disabled {
    background: #4a5068;
    color: #1a1d26;
    cursor: not-allowed;
    transform: none;
    opacity: .6;
}

/* ── FORM ELEMENTS ── */
#order-web20cart input[type="text"],
#order-web20cart input[type="email"],
#order-web20cart input[type="password"],
#order-web20cart select,
#order-web20cart textarea {
    background: #131720;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 8px;
    color: #e8eaf0;
    padding: 9px 12px;
    font-size: 13.5px;
    font-family: 'DM Sans', sans-serif;
}
#order-web20cart input[type="text"]:focus,
#order-web20cart input[type="email"]:focus,
#order-web20cart input[type="password"]:focus,
#order-web20cart select:focus,
#order-web20cart textarea:focus {
    outline: none;
    border-color: #00e5c3;
}
#order-web20cart select { cursor: pointer; }

/* ── ALERT BOXES ── */
#order-web20cart .errorbox {
    margin: 0 0 16px;
    padding: 12px 16px;
    background: rgba(255,77,77,0.08);
    border: 1px solid rgba(255,77,77,0.3);
    color: #ff9999;
    font-weight: 500;
    border-radius: 8px;
}
#order-web20cart .errorbox p { margin: 0; padding: 0; }

#order-web20cart .successbox {
    margin: 0 0 16px;
    padding: 12px 16px;
    background: rgba(0,229,160,0.07);
    border: 1px solid rgba(0,229,160,0.3);
    color: #00e5a0;
    font-weight: 600;
    border-radius: 8px;
}

/* ── ORDER SUMMARY / VIEW CART ── */
#order-web20cart .ordersummary,
#order-web20cart .summarybox {
    background: #111418;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 20px;
}

#order-web20cart table.cart,
#order-web20cart table.data {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}
#order-web20cart table.cart th,
#order-web20cart table.data th {
    background: #131720;
    border-bottom: 1px solid rgba(255,255,255,0.13);
    color: #4a5068;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 10px 14px;
    text-align: left;
}
#order-web20cart table.cart td,
#order-web20cart table.data td {
    background: #111418;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 11px 14px;
    font-size: 13.5px;
    color: #e8eaf0;
}

/* ── FIELD LABELS / CONFIG ── */
#order-web20cart .fieldlabel {
    color: #7a8099;
    font-size: 13px;
}
#order-web20cart .fieldarea { color: #e8eaf0; }

#order-web20cart p { color: #7a8099; line-height: 1.7; }
#order-web20cart strong { color: #e8eaf0; }
#order-web20cart hr { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 16px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    #order-web20cart { padding: 24px 16px 40px; }
    #order-web20cart table.noborders td {
        display: block;
        width: 100% !important;
        text-align: left !important;
        padding: 6px 0;
    }
    #order-web20cart .pricing { text-align: left !important; }
}

/* ============================================================
   CHECKOUT FLOW — viewcart / configure / complete
   ============================================================ */

/* Order summary box */
#order-web20cart .summary {
    background: #0e1117;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 20px;
}
#order-web20cart .summary table { width: 100%; }
#order-web20cart .summary .due {
    color: #00e5c3;
    font-family: 'DM Mono', monospace;
    font-weight: 600;
    font-size: 1.1em;
}
#order-web20cart .summary .recurring { color: #7a8099; font-size: 12.5px; }

/* Signup fields (account creation on checkout) */
#order-web20cart .signupfieldsextra:empty { display:none; }
#order-web20cart .signupfieldsextra {
    background: #111418;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
#order-web20cart .fieldlabel {
    color: #7a8099;
    font-size: 13px;
    padding: 6px 0;
}

/* Payment gateway selection */
#order-web20cart .gateway {
    background: #131720;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    transition: border-color .2s;
}
#order-web20cart .gateway:hover { border-color: rgba(0,229,195,0.3); }

/* Config / promo / domain config rows */
#order-web20cart .config,
#order-web20cart .promo,
#order-web20cart .newccinfo {
    background: #111418;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}

#order-web20cart .imgfloat { float: left; margin-right: 12px; }
#order-web20cart .clear, #order-web20cart .clearfix { clear: both; }
#order-web20cart .hidden { display: none; }
#order-web20cart .disabled { opacity: .5; }
#order-web20cart .verttop { vertical-align: top; }

/* Checkboxes/radios accent */
#order-web20cart input[type="checkbox"],
#order-web20cart input[type="radio"] { accent-color: #00e5c3; }


/* Two-column Your Details layout */
#order-web20cart #signupfrm {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
#order-web20cart #signupfrm .signupfields {
    flex: 1 1 calc(50% - 8px);
    min-width: 260px;
}
#order-web20cart #signupfrm > .clear {
    flex: 0 0 100%;
    width: 100%;
}
#order-web20cart #signupfrm > .signupfieldsextra {
    flex: 0 0 100%;
    width: 100%;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: none;
    margin: 0;
}

/* Fix narrow signup fields */
#order-web20cart #signupfrm .signupfields { width: 100% !important; max-width: 100% !important; float: none !important; }
#order-web20cart input[type="text"],
#order-web20cart input[type="email"],
#order-web20cart input[type="password"],
#order-web20cart select { width: 100% !important; max-width: 460px !important; box-sizing: border-box; }

/* Full-width inputs inside signupfields */
#order-web20cart #signupfrm .signupfields input[type="text"],
#order-web20cart #signupfrm .signupfields input[type="email"],
#order-web20cart #signupfrm .signupfields input[type="password"],
#order-web20cart #signupfrm .signupfields select { width: 100%; box-sizing: border-box; }

/* Fix checkout form layout */
#order-web20cart #signupfrm { display: block; }
#order-web20cart #signupfrm .signupfields { width: 100% !important; max-width: 100% !important; float: none !important; display: block; }
#order-web20cart input[type="text"],
#order-web20cart input[type="email"],
#order-web20cart input[type="password"],
#order-web20cart select { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }

/* Two-column form layout */
#order-web20cart #signupfrm { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
#order-web20cart #signupfrm .signupfields { width: 100% !important; max-width: 100% !important; }
#order-web20cart #signupfrm .signupfields input[type="text"],
#order-web20cart #signupfrm .signupfields input[type="email"],
#order-web20cart #signupfrm .signupfields input[type="password"],
#order-web20cart #signupfrm .signupfields select { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }

/* Full-width fields that should span both columns */
#order-web20cart #signupfrm .signupfieldsextra,
#order-web20cart #signupfrm .clear,
#order-web20cart #signupfrm > p,
#order-web20cart #signupfrm > div.fieldlabel { grid-column: 1 / -1; }
