/* Custom Inventory Styles */
/* Using a different name to avoid permission issues with inventory.css */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

body {
    font-family: "Google Sans", sans-serif;
}
a {
    text-decoration: none;
}
.rank-math-breadcrumb p{
  margin: 0;
}
.inv-page {
    background: #F7F7F7;
}

.inv-brand-logo-link img {
    max-height: 27px;
}

/* Embla Carousel Styles */
.embla {
    overflow: hidden;
}

.embla__container {
    display: flex;
}

.embla__slide {
    flex: 0 0 100%;
    min-width: 0;
}


.embla__button {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.embla__button:hover {
    background-color: rgba(255, 255, 255, 1);
}

.embla__parallax {
    height: 100%;
    overflow: hidden;
}

.embla__parallax__layer {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.embla__parallax__layer img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* Related Carousel Styles */
.embla-related {
    overflow: hidden;
}

.embla-related .embla__container {
    display: flex;
    /* gap: 1.5rem; Removed gap, using padding on slides */
    /* cancel out first left padding if using left, but using right is easier for flow */
}

.embla-related .embla__slide {
    flex: 0 0 100%;
    min-width: 0;
    /* Add gap as padding */
}

@media (min-width: 768px) {
    .embla-related .embla__slide {
        flex: 0 0 50%;
    }

    .embla__parallax__layer img {
        height: 420px;
    }
}

@media (min-width: 992px) {
    .embla-related .embla__slide {
        flex: 0 0 25%;
        padding-right: 1.5rem;
        /* Add padding to simulate gap for proper overflowing */
    }

    .embla__parallax__layer img {
        height: 640px;
    }
}

@media (min-width: 1200px) {

    .embla__parallax__layer img {
        height: 615px;
    }
}

@media (min-width: 1600px) {

    .embla__parallax__layer img {
        height: 720px;
    }
}

/* Loan Calculator Styles */
.btn-black {
    background-color: #000;
    color: #fff;
    transition: all 0.3s ease;
}

/* Remove Number Input Arrows */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
    /* Standard property */
}

/* Collapsible Description */
.inv-details-collapsed {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.inv-details-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.inv-details-expanded {
    max-height: none;
    overflow: visible;
}

#lc-chart {
    width: 100% !important;
    height: auto !important;
    max-width: 200px;
    /* Limit size */
    margin: 0 auto;
}

/* New Card Design */
.card-badge-transparent {
    background-color: rgba(33, 37, 41, 0.6);
    /* Darker transparent background */
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    padding: 0.5em 1em !important;
    /* Force padding */
}

.inv-card-stock {
    background-color: #9CA3AF;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3em 0.8em;
    border-radius: 4px;
    display: inline-block;
}

.inv-card-price {
    color: #2563EB;
    /* Bright Blue */
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.inv-card-icon {
    width: 16px;
    text-align: center;
    color: #6c757d;
    /* Muted gray for icons */
}

.card-body h5 {
    font-weight: 700;
    /* Extra bold for title */
    font-size: 1.1rem;
}

.action-card {
    transition: all 0.3s ease;
}

.action-card:hover {
    background-color: #2563EB !important;
    color: #fff;
}

.action-card:hover i {
    color: #fff !important;
}

@media print {
    @page {
        margin: 1cm;
        size: auto;
    }

    body {
        margin: 0;
        padding: 0;
        background-color: #fff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    #printable-area {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border: 5px solid #000 !important;
        /* Force black border for better contrast */
    }

    /* Ensure Bootscore/Bootstrap doesn't override sizes */
    .container,
    .container-fluid,
    .row,
    .col-7,
    .col-5 {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .col-7 {
        width: 58% !important;
        float: left;
    }

    .col-5 {
        width: 40% !important;
        float: left;
        margin-left: 2% !important;
    }

    img {
        max-width: 100% !important;
    }
}
