html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1400px){
    .container{
        max-width:90%;

    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-group .form-label {
    font-size: 16px;
    font-weight: 500;
    color: #141515;
    display: block;
    line-height: 1.2em;
    text-align: center;
}



.form-group.basic .form-control,
.form-group.basic .custom-select {
    background: transparent;
    border: none;
    border-bottom: 1px solid #E1E1E1;
    padding: 0 0px 0 0;
    border-radius: 0;
    height: 40px;
    color: #141515;
    font-size: 15px;
    text-align: center;
}

.form-group .input-wrapper.not-empty .clear-input {
    display: flex;
}

.form-group .input-wrapper.active .form-label {
    color: #1E74FD !important;
}

.form-group.basic {
    padding: 8px 0;
    margin: 0;
}

    .form-group.basic .form-label {
        margin-bottom: 0;
    }

.login-form{
    margin-top: 15em!important;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-price {
    display: block;
    width: 100%;
    text-align: center;
}

.nordthy-bg {
    color: #fff;
    background-color: rgba(152,132,92);
    background: rgba(152,132,92);
    border-color: rgba(152,132,92);
}

.nordthy {
    color: #fff;
    background-color: rgba(152,132,92);
    border-color: rgba(152,132,92);
}

/* --- Card shell --- */
.product-card {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    background: #fff;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: #e3e7ea;
}

/* --- Image well --- */
.product-img-well {
    height: 220px; /* match visual scale from screenshot */
    background: #f6f7f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-img-well img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        width: auto;
        height: 100%;
    }

/* --- Body spacing & typography --- */
.product-card .card-body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.product-sku {
    font-size: .8rem;
    color: #6c757d;
    letter-spacing: .02em;
}

.product-name {
    font-weight: 600;
    line-height: 1.2;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* clamp to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-sub {
    font-size: .86rem;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Price line + size dot --- */
.price-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .2rem;
    margin-bottom: .25rem;
    font-size: .98rem;
}

    .price-row .amount {
        font-weight: 700;
    }

    .price-row .size {
        color: #6c757d;
        white-space: nowrap;
    }

    .price-row .dot::before {
        content: "•";
        margin: 0 .35rem;
        color: #adb5bd;
    }

/* --- Emphasis badge (e.g., AppPrice) --- */
.badge.nordthy {
    background: #222;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: .4rem .75rem;
    text-align: center;
}

/* --- Footer controls: qty + CTA aligned --- */
.card-cta {
    display: grid;
    gap: .5rem;
    margin-top: .35rem;
}

/* qty group */
.qty-group {
    display: grid;
    grid-template-columns: 1fr 2.5rem 1fr;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    height: 40px;
}

    .qty-group button {
        border: 0;
        background: #f8f9fa;
        font-size: 1.15rem;
        line-height: 1;
    }

    .qty-group input {
        border: 0;
        text-align: center;
        padding: 0;
        font-weight: 600;
        background: #fff;
    }

/* CTA button */
.btn-add {
    height: 40px;
    border-radius: 999px;
    font-weight: 700;
}

/* subtle spacing for optional BOM button */
.bom-btn {
    height: 40px;
    border-radius: 6px;
    white-space: nowrap;
}

/* responsive density like the screenshot */
@media (min-width: 992px) {
    .product-img-well {
        height: 240px;
    }
}

@media (min-width: 1400px) {
    .product-img-well {
        height: 260px;
    }
}

.sticky-bottom-actions {
    position: sticky;
    bottom: 80px;
    z-index: 1020; /* Higher than the scrollable content */
}

#product-scroll-body {
    overflow-anchor: none;
}