/* ==========================================================
   Product Grid Cards
========================================================== */


.product-grid-image {

    width:100%;

    height:220px;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    background:#f8f8f8;

}



.product-grid-image img {

    width:100%;

    height:100%;

    object-fit:contain;

}



.product-grid-body {

    flex:1;

    padding:15px;

}



.product-grid-body h3 {

    font-size:18px;

    line-height:1.3;

    min-height:46px;

}



.product-meta {

    font-size:14px;

    line-height:1.7;

}



.product-grid-price {

    margin-top:15px;

    font-size:20px;

    font-weight:bold;

}



.product-grid-button {

    padding:15px;

}



.product-grid-button .btn {

    width:100%;

}





/* ==========================================================
   Grid Layout
========================================================== */


.product-grid-item {

    margin-bottom:30px;

    display:flex;

}



.product-grid-item .product-grid-card {

    width:100%;

}







/* ==========================================================
   Header Logo
========================================================== */


.site-brand {

    display:flex !important;

    align-items:center;

    height:50px;

}



.site-logo-wrapper {

    display:flex;

    align-items:center;

    height:50px;

}



.site-logo-small {

    max-height:38px;

    width:auto;

    max-width:45px;

    object-fit:contain;

}



.site-company-name {

    margin-left:10px;

    font-size:16px;

    font-weight:600;

    white-space:nowrap;

}

@media (max-width: 768px) {

    .site-brand {

        display: flex !important;

        align-items: center;

        max-width: calc(100% - 70px);

        padding-right: 5px;

    }

    .site-brand-text {

        display: flex;

        flex-direction: column;

        justify-content: center;

        min-width: 0;

    }

    .site-company-name {

        margin-left: 8px;

        font-size: 17px;

        font-weight: 700;

        white-space: nowrap;

        line-height: 1.1;

    }

    .site-company-tagline {

        display: none;

    }

    .site-logo-small {

        max-height: 40px;

        max-width: 220px;

    }

}
/* ==========================================================
   Content Pages
========================================================== */


.page-container {

    max-width:1200px;

    margin:0 auto;

    padding:30px 15px;

}



.page-title {

    font-size:32px;

    font-weight:700;

    margin-bottom:30px;

}



.content-card {

    background:#ffffff;

    border-radius:8px;

    padding:25px;

    margin-bottom:30px;

}



.content-card-body {

    font-size:16px;

    line-height:1.7;

}



.side-card {

    height:100%;

}




@media(max-width:768px){


.page-title {

    font-size:26px;

}


.content-card {

    padding:20px;

}


}

/* ==========================================================
   NAVBAR V3
========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-main {
    background: #fff !important;
    border: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    margin-bottom: 0;
    min-height: 78px;
}

.navbar-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-brand {
    display: flex !important;
    align-items: center;
    height: 78px;
    padding: 0 !important;
    overflow: visible;
}

/* Combined logo + company name PNG */
.site-logo-small {
    display: block;
    max-height: 120px;
    max-width: 440px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* No separate company text is being used */
.site-brand-text {
    display: none;
}

.site-company-name {
    display: none;
}

.site-company-tagline {
    display: none;
}


/* ==========================================================
   Desktop Navigation
========================================================== */

.navbar-main .navbar-nav > li > a {
    color: #333 !important;
    font-weight: 600;
    font-size: 15px;
    padding-top: 29px;
    padding-bottom: 29px;
    transition: color .2s ease;
}

.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > .open > a {
    color: #ec971f !important;
    background: transparent !important;
}

.navbar-main .dropdown-menu {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    padding: 8px 0;
}

.navbar-main .dropdown-menu > li > a {
    padding: 10px 18px;
    color: #333;
    font-weight: 500;
}

.navbar-main .dropdown-menu > li > a:hover {
    background: #f8f8f8;
    color: #ec971f;
}


/* ==========================================================
   Client Area
========================================================== */

.client-area-link {
    background: #f0ad4e !important;
    color: #fff !important;
    border-radius: 10px;
    margin-top: 18px;
    padding: 12px 18px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.client-area-link .caret {
    border-top-color: #fff !important;
}

.client-area-link:hover,
.client-area-link:focus {
    background: #ec971f !important;
    color: #fff !important;
}

.client-area-link .glyphicon {
    margin-right: 6px;
}


/* ==========================================================
   Mobile Navbar
========================================================== */

@media (max-width: 767px) {

    .navbar-main {
        background: #f5f5f5 !important;
        border-bottom: 1px solid #ddd !important;
        min-height: 64px;
    }

    .navbar-main .container {
        display: block;
    }

    .site-brand {
        height: 64px;
        max-width: calc(100% - 70px);
        overflow: visible;
    }

    /* Combined transparent PNG */
    .site-logo-small {
        display: block;
        max-height: 88px;
        max-width: 360px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    /* Separate text is no longer used */
    .site-brand-text {
        display: none;
    }

    .site-company-name {
        display: none;
    }

    .site-company-tagline {
        display: none;
    }


    /* Hamburger button */
    .navbar-main .navbar-toggle {
        margin-top: 15px;
        border-color: #999 !important;
        background: transparent !important;
    }

    .navbar-main .navbar-toggle:hover,
    .navbar-main .navbar-toggle:focus {
        background: #e9e9e9 !important;
    }

    .navbar-main .navbar-toggle .icon-bar {
        background: #333 !important;
    }


    /* Mobile expanded menu */
    .navbar-main .navbar-collapse {
        border-top: 1px solid #ddd;
        background: #fff;
    }

    .navbar-main .navbar-nav > li > a {
        color: #333 !important;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .navbar-main .navbar-nav > li > a:hover,
    .navbar-main .navbar-nav > .open > a {
        color: #ec971f !important;
        background: #f8f8f8 !important;
    }


    /* Mobile dropdown */
    .navbar-main .dropdown-menu {
        background: #fff;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }

    .navbar-main .dropdown-menu > li > a {
        color: #333 !important;
    }

    .navbar-main .dropdown-menu > li > a:hover {
        background: #f8f8f8;
        color: #ec971f !important;
    }


    /* Mobile Client Area */
    .client-area-link {
        background: #f0ad4e !important;
        color: #fff !important;
        margin: 10px 15px;
        text-align: center;
    }

    .client-area-link:hover,
    .client-area-link:focus {
        background: #ec971f !important;
        color: #fff !important;
    }

}

/* ==========================================================
   PRODUCT GRID CARDS V3
========================================================== */

.product-grid{
    display:flex;
    flex-wrap:wrap;
}

.product-grid > .row{
    width:100%;
}

.product-grid > .row > [class*='col-']{
    display:flex;
    margin-bottom:30px;
}

.product-grid-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    transition:transform .25s ease,
               box-shadow .25s ease,
               border-color .25s ease;
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
}

.product-grid-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 24px rgba(0,0,0,.10);
    border-color:#f0ad4e;
}

.product-grid-link{
    color:inherit;
    text-decoration:none !important;
    display:flex;
    flex-direction:column;
    flex:1;
}

.product-grid-image{
    position:relative;
    background:#f7f7f7;
    aspect-ratio:4 / 3;
    overflow:hidden;
}

.product-grid-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    padding:12px;
    transition:transform .3s ease;
}

.product-grid-card:hover .product-grid-image img{
    transform:scale(1.03);
}

.product-status-badge{
    position:absolute;
    top:12px;
    left:12px;
    z-index:2;
    padding:6px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.3px;
    color:#fff;
}

.status-available{
    background:#28a745;
}

.status-pending{
    background:#f0ad4e;
}

.status-sold{
    background:#dc3545;
}

.product-grid-body{
    padding:18px 18px 14px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.product-grid-category{
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.4px;
    color:#888;
    margin-bottom:8px;
}

.product-grid-title{
    font-size:18px;
    line-height:1.35;
    font-weight:700;
    color:#222;
    margin:0 0 14px;
    min-height:48px;
}

.product-grid-specs{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-bottom:18px;
}

.product-spec-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    font-size:13px;
    color:#666;
}

.product-spec-row strong{
    color:#222;
    font-weight:600;
    text-align:right;
}

.product-grid-price{
    margin-top:auto;
    padding-top:14px;
    border-top:1px solid #eee;
    display:flex;
    align-items:baseline;
    gap:4px;
}

.price-currency{
    font-size:16px;
    font-weight:700;
    color:#ec971f;
}

.price-value{
    font-size:28px;
    line-height:1;
    font-weight:800;
    color:#222;
}

.product-grid-footer{
    padding:0 18px 18px;
}

.product-grid-btn{
    border-radius:10px;
    font-weight:700;
    padding:12px 18px;
}

@media (max-width: 767px){

    .product-grid-title{
        min-height:auto;
        font-size:17px;
    }

    .price-value{
        font-size:24px;
    }
}

/* =========================================================
   FORCE SINGLE-LINE MOBILE BRAND
========================================================= */

@media (max-width: 768px) {

    .navbar-brand.site-brand {

        display: flex !important;

        align-items: center !important;

        width: auto !important;

        max-width: calc(100vw - 80px) !important;

        overflow: visible !important;

        white-space: nowrap !important;

    }

    .navbar-brand.site-brand .site-brand-text {

        display: block !important;

        flex: 1 1 auto !important;

        min-width: 0 !important;

        white-space: nowrap !important;

    }

    .navbar-brand.site-brand .site-company-name {

        display: inline-block !important;

        white-space: nowrap !important;

        font-size: 15px !important;

        line-height: 1 !important;

        margin-left: 0 !important;

    }

    .navbar-brand.site-brand .site-company-tagline {

        display: none !important;

    }

}


/* ==========================================================
   Mobile Navbar - Light Background
   ========================================================== */

@media (max-width: 768px) {

    .navbar-main {
        background-color: #f5f5f5 !important;
        border-color: #ddd !important;
    }

    .navbar-main .navbar-toggle {
        border-color: #999 !important;
    }

    .navbar-main .navbar-toggle .icon-bar {
        background-color: #333 !important;
    }

    .navbar-main .navbar-nav > li > a {
        color: #333 !important;
    }

}

/* ==========================================================
   Place an Order Header
========================================================== */

.order-card-title {
    display: block;
    margin: -20px -20px 24px -20px;
    padding: 15px 20px;
    background: #28a745;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .10);
}