/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/


@font-face {
    font-family: 'Cupra';
    src: url('../fonts/Cupra-Light.woff2') format('woff2'),
    url('../fonts/Cupra-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cupra';
    src: url('../fonts/Cupra-MediumItalic.woff2') format('woff2'),
    url('../fonts/Cupra-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cupra Book';
    src: url('../fonts/Cupra-BookItalic.woff2') format('woff2'),
    url('../fonts/Cupra-BookItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cupra';
    src: url('../fonts/Cupra-ExtraLightItalic.woff2') format('woff2'),
    url('../fonts/Cupra-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cupra';
    src: url('../fonts/Cupra-ExtraBold.woff2') format('woff2'),
    url('../fonts/Cupra-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cupra';
    src: url('../fonts/Cupra-Medium.woff2') format('woff2'),
    url('../fonts/Cupra-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cupra';
    src: url('../fonts/Cupra-Italic.woff2') format('woff2'),
    url('../fonts/Cupra-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cupra';
    src: url('../fonts/Cupra-LightItalic.woff2') format('woff2'),
    url('../fonts/Cupra-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cupra';
    src: url('../fonts/Cupra-ExtraBoldItalic.woff2') format('woff2'),
    url('../fonts/Cupra-ExtraBoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cupra';
    src: url('../fonts/Cupra-ExtraLight.woff2') format('woff2'),
    url('../fonts/Cupra-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

body {
    font-weight: normal;
    font-family: 'Cupra';
}

.h2, h2 {
    font-size: calc(1rem + .9vw);
    font-weight: 400 !important;
}

.title-price {
    font-size: calc(3rem + .6vw);
}

.p-price {
    font-size: 0.7rem;
    line-height: 1.2;
}

.p-price-2 {
    font-size: 0.85rem;
    line-height: 1.2;
}

.row-section {
    margin-top: 1.5rem;
}

.row-section > h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.row-section .row-section h3 {
    font-size: 2rem;
}

.row-section .card .card-title {
    font-size: 1.2rem !important;
}

.qr_code {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr_code .card {
    background-color: #D9CEBD;
    color: #000000;
    border: solid 3px #000;
    border-radius: 20px;
    padding: 20px;
    width: 150px;
}

.card-body {
    padding: 0;
    text-align: center;
    font-size: 0.7em;
    line-height: 1.5em;
}

.qr_code .card-text {
    background: #fff;
    padding: 0.7rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
}

.bg-black {
    background-color: #000000;
    color: #FFFFFF;
}

.card {
    border: none;
    border-radius: 0;
    padding: 20px;
}

.card-img-top {
    margin-bottom: 0.5rem;
}

.card.selected {
    background-color: #DED8D0;
}

.card .card-title {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.card .card-text {
    font-size: 1.5em;
    font-weight: 300;
}

.row-section .card .card-text {
    font-size: 1.5em;
    font-weight: 300;
    position: absolute;
    bottom: 20px;
}

#nav-selectors a {
    text-decoration: none;
    color: #000;
}

#nav-selectors a:hover {
    text-decoration: underline;
}

#highlight-element {
    position: absolute;
    right: 10px;
    background: #d9cebd;
    padding: 0.5rem 0.5rem;
    border-radius: 20px;
}

#highlight-element p {
    display: flex;
    justify-content: center;
    font-weight: 300;
}

.navbar-header .btn-topbar {
    color: #000;
}

.topbar-user {
    background-color: #ffffff;
}

.btn-outline-secondary {
    border-color: #000;
    color: #000;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    border-radius: 0;
}

.btn-outline-secondary.btn-rounded {
    border-radius: 30px;
}

.btn:hover {
    background-color: #000;
    border-color: #000;
}

.ribbon-box .ribbon {
    border-radius: 0;
    background: #DBD3CB;
    color: #000;
    font-weight: 300;
    -webkit-box-shadow: none;
    box-shadow: none;
    left: 10px;
    top: auto;
    bottom: 10px;
    padding: 3px 7px;
}

.ribbon-box .ribbon-danger {
    background: #B50303;
    color: #fff;
}

.ribbon-box .ribbon-warning {
    background: #F8D391;
}

.card-list {
    background-color: #f1f1f1;
    padding: 0;
    border: solid 1px #ddd;
    min-height: 455px;
}

.card-list .card-body {
    padding: 1rem;
    min-height: 185px;
}

.card-list h3 {

}

.card-list h4 {
    font-size: 0.9rem;
}

.card-list .item-code {
    color: #495057;
    font-size: 1.2rem;
    padding: 0.5rem 0;
}

.card-list .item-price {
    color: #495057;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    font-weight: 600;
}

.card-list .card-footer {
    padding-top: 0;
    background-color: transparent;
    border-top: none;
}

.line {
    width: 100%;
    border-top: solid 1px #ddd;
    padding-bottom: 1rem;
}

.card-list .btn-outline-secondary {
    min-width: calc(50% - 0.5rem);
}

.card-list .ribbon-box {
    border: none !important;
}

@media (max-width: 992px) {
    .card-list {
        min-height: 470px;
    }
}

@media (max-width: 768px) {
    .card-list {
        min-height: auto;
    }
}

#login.form-check {
    margin-left: 1.6em;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}

#login.form-check .form-check-input {
    float: none;
    margin-left: -1.6em;
    margin-right: 0;
}




/* ========================================
   Price Section - Single Configuration
   ======================================== */
.price-section {
    background: #000;
}

.price-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
}

.price-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.price-total {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.price-disclaimer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .price-amount {
        font-size: 2rem;
    }

    .price-total {
        font-size: 1.1rem;
    }
}

/* ========================================
   Lazy Loading
   ======================================== */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img.lazy.loaded,
img:not(.lazy) {
    opacity: 1;
}

/* Reduce layout shift for lazy images */
.card-img-top.lazy {
    aspect-ratio: 3/2;
    object-fit: contain;
    background-color: #f0f0f0;
}

/* ========================================
   Equipment Cards - Unified Design
   ======================================== */
.row-section .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.row-section .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.row-section .card.selected {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.row-section .card .card-img-top {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    margin-bottom: 0;
    background-color: #f5f5f5;
}

.row-section .card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1rem;
    text-align: left;
}

.row-section .card .card-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #212529;
}

.row-section .card .card-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: #6c757d;
    position: static;
    margin-top: auto;
}

/* Grid adjustments for equipment cards */
.row-section > [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .row-section .card .card-img-top {
        aspect-ratio: 4/3;
    }

    .row-section .card .card-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .row-section .card .card-body {
        padding: 0.75rem;
    }

    .row-section .card .card-title {
        font-size: 0.85rem;
    }
}

