/* ---------- Layout general ---------- */
#order-standard_cart>.row {
    display: flex;
    gap: 26px;
    flex-wrap: nowrap;
}

#order-standard_cart .cart-sidebar {
    flex: 0 0 260px;
    max-width: 260px;
}

#order-standard_cart .cart-body {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
}

#order-standard_cart .secondary-cart-sidebar {
    flex: 0 0 340px;
    max-width: 340px;
}

/* Card generic */
.eg-card {
    background: #0f1420;
    border: 1px solid rgba(0, 255, 170, .14);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    overflow: hidden;
}

.eg-section {
    padding: 18px 20px;
}

.eg-section+.eg-section {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Header */
.header-lined {
    margin: 0 0 16px;
}

.header-lined h1 {
    font-size: 28px;
    line-height: 1.2;
    color: #e9f3ff;
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 255, 170, .15);
}

/* HERO produs */
.config-hero {
    position: relative;
    padding: 18px 20px 14px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background:
        radial-gradient(1200px 200px at 20% -20%, rgba(0, 255, 170, .08), transparent 40%),
        #0f1420;
}

.config-hero .flag {
    width: 26px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 255, 170, .25);
}

.config-hero h2 {
    margin: 0;
    font-size: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-hero .sub {
    color: #93a3b8;
    margin-top: 4px;
    font-size: 14px;
}

.config-hero .os {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-hero .os img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 6px #00ffaa);
    transition: transform .3s;
}

.eg-card:hover .config-hero .os img {
    transform: rotate(8deg) scale(1.05);
}

/* Ribbon (dacă îl activezi din TPL) */
.ribbon {
    position: absolute;
    top: 14px;
    right: -44px;
    background: linear-gradient(45deg, #00ffaa, #0077ff);
    color: #071218;
    padding: 6px 64px;
    transform: rotate(45deg);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .2px;
    box-shadow: 0 6px 20px rgba(0, 255, 170, .25);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1
    }

    50% {
        opacity: .65
    }

    100% {
        opacity: 1
    }
}

/* Sub-heading */
.sub-heading {
    margin: 18px 0 10px;
}

.sub-heading>span {
    display: inline-block;
    background: linear-gradient(90deg, #00ffaa1a, #0077ff1a);
    border: 1px solid rgba(0, 255, 170, .25);
    color: #d8e7ff;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .4px;
}

/* Fields & grid */
.field-container .row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.field-container .col-sm-6,
.field-container .col-sm-12 {
    flex: 1 1 300px;
    max-width: none;
}

.form-group label {
    color: #cfe3ff;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-control,
.custom-select {
    background: #0a0f19;
    border: 1px solid rgba(0, 255, 170, .15);
    color: #dbe9ff;
    border-radius: 10px;
    height: 44px;
}

.form-control:focus {
    border-color: #00ffaa;
    box-shadow: 0 0 0 3px rgba(0, 255, 170, .12);
    outline: 0;
}

/* Product text */
.product-info {
    margin-bottom: 8px;
}

.product-title {
    font-size: 18px;
    color: #eaf4ff;
    font-weight: 800;
    margin: 0 0 6px;
}

/* Addons */
.panel-addon.eg-addon {
    border: 1px solid rgba(0, 255, 170, .14);
    background: #0f1420;
    border-radius: 14px;
    overflow: hidden;
}

.panel-addon.eg-addon .panel-price {
    background: #0b1220;
    color: #9fc8ff;
}

.panel-addon.eg-addon.panel-addon-selected {
    border-color: #00ffaa;
    box-shadow: 0 0 18px rgba(0, 255, 170, .25);
}

/* Order summary */
#orderSummary .order-summary {
    background: #0f1420;
    border: 1px solid rgba(0, 255, 170, .14);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

#orderSummary h2 {
    color: #eaf4ff;
    margin: 0 0 6px;
}

#producttotal {
    color: #cfe3ff;
}

#btnCompleteProductConfig.btn {
    background: #00ffaa !important;
    border: none;
    color: #00100a !important;
    font-weight: 800;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 10px 24px rgba(0, 255, 170, .25);
    transition: transform .15s ease, background .2s ease;
}

#btnCompleteProductConfig.btn:hover {
    background: #00cc88 !important;
    transform: translateY(-2px);
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
}

.alert-danger {
    background: #2c1420;
    color: #ffd6e0;
}

.alert-warning {
    background: #1f2430;
    color: #e5f0ff;
    border: 1px solid rgba(0, 255, 170, .18);
}

/* ionRangeSlider fine-tune (dacă este folosit) */
.irs-bar,
.irs-line {
    height: 8px;
}

.irs-bar {
    background: #00ffaa;
    border: none;
    box-shadow: 0 0 14px rgba(0, 255, 170, .45);
}

.irs-handle {
    top: 16px;
    border-color: #00ffaa;
    background: #001713;
    box-shadow: 0 0 0 4px rgba(0, 255, 170, .22);
}

/* Responsive */
@media (max-width: 1100px) {
    #order-standard_cart>.row {
        flex-wrap: wrap;
    }

    #order-standard_cart .cart-sidebar,
    #order-standard_cart .secondary-cart-sidebar {
        flex: 1 1 100%;
        max-width: none;
    }
}
