/*
Theme Name: HP Store V1
Theme URI: https://nestinfotechnologies.com
Author URI: Nest Info Technologies
Description: Wholesale Dealers
Version: 1.6
Text Domain: Promise Computer Technologies
*/

header {
    position: relative;
}

::-webkit-scrollbar {
    width: 4px;
    height: 8px;
}

/* Track (background) */
::-webkit-scrollbar-track {
    background: var(--bs-light);
    border-radius: 4px;
}

/* Handle (thumb) */
::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 4px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-blue);
}

/****************************************
    Logo
****************************************/
.logo img {
    height: 6rem;
}

@media (max-width: 398px) {
    .logo img {
        height: 5rem;
    }
}

/****************************************
    Home Banner
****************************************/
#workstationCarousel {
    background-image: url('img/banner.gif');
    background-size: cover;
}

#workstationCarousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

#workstationCarousel .carousel-inner,
#workstationCarousel .carousel-item {
    position: relative;
    z-index: 2;
}

#workstationCarousel .carousel-item {
    min-height: 500px;
}

#workstationCarousel .carousel-img {
    max-height: 400px;
}

.slide_image {
    height: 470px;
}

@media (max-width: 578px) {
    .slide_image {
        height: 370px;
    }
}

/****************************************
    Home Feature
****************************************/
.home-feature {
    background: url("img/feature-banner.jpg") no-repeat center center;
    background-size: cover;
}

.home-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.home-feature>* {
    position: relative;
    z-index: 1;
}

/****************************************
    Image Gallery
****************************************/
.thumb-img {
    width: 60px;
    height: auto;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumb-img.active {
    border: 2px solid white;
}

/***************************************
    Stick Tab For Product Page
****************************************/
.spa-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 2em;
    height: 75px;
    z-index: 2;
    -webkit-transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.spa-header--scrolled {
    background: #fafafa;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.spa-header--move-up {
    -webkit-transform: translateY(-75px);
    transform: translateY(-75px);
    -webkit-transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.spa-header__logo {
    color: #000;
}

.spa-header__link {
    margin-left: 1em;
    color: #000;
}

.sticky-nav-tabs,
.spa-slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    background: var(--bs-black);
    text-align: justify;
    padding: 2em 2em;
}

.sticky-nav-tabs h1,
.spa-slide h1 {
    font-size: 2rem;
    margin: 0;
    letter-spacing: 1rem;
}

.sticky-nav-tabs h2,
.spa-slide h2 {
    font-weight: 700;
}

.sticky-nav-tabs h3,
.spa-slide h3 {
    font-size: 1rem;
    letter-spacing: 0.3rem;
    opacity: 0.6;
}

.sticky-nav-tabs-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background: var(--bs-light);
    z-index: 10;
    -webkit-transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: scroll;
}

.sticky-nav-tabs-container--top-first {
    position: fixed;
    top: 124px;
    -webkit-transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.sticky-nav-tabs-container--top-second {
    position: fixed;
    top: 124px;
}

@media (max-width: 768px) {
    .sticky-nav-tabs-container--top-first {
        top: 90px;
    }

    .sticky-nav-tabs-container--top-second {
        top: 90px;
    }
}

.sticky-nav-tab {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    color: #000;
    letter-spacing: 0.1rem;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-size: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
    padding: 0 10px;
}

.sticky-nav-tab:hover {
    color: white;
    background: var(--bs-primary);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.sticky-nav-tab-slider {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 6px;
    background: var(--bs-primary);
    -webkit-transition: left 0.3s ease;
    transition: left 0.3s ease;
}

@media (min-width: 800px) {

    .sticky-nav-tabs h1,
    .spa-slide h1 {
        font-size: 3rem;
    }

    .sticky-nav-tabs h3,
    .spa-slide h3 {
        font-size: 1rem;
    }

    .sticky-nav-tab {
        font-size: 1rem;
    }
}

/***************************************
    Product Specifications
****************************************/
.product-specifications-table .table thead th {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    font-weight: bold;
}

.product-specifications-table td:first-child {
    width: 25%;
}

.product-specifications-table .table-bordered td,
.product-specifications-table .table-bordered th {
    border-color: var(--bs-light);
}

.product-specifications-table td {
    vertical-align: middle;
    padding: 1rem 1.25rem;
    color: var(--bs-white);
    font-weight: 400;
}

/***************************************
    Product Card
****************************************/
.product-card {
    background-color: var(--bs-black);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-card .add-to-cart-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    background: #000;
    color: #fff;
    transition: transform 0.3s ease;
    height: 50px;
}

.product-card:hover .add-to-cart-overlay {
    transform: translateY(0);
}

.add-to-cart-overlay .btn {
    height: 100%;
    font-weight: bold;
    font-size: 0.9rem;
    color: #fff;
}

.add-to-cart-button {
    background-color: #111;
    color: #fff;
    text-decoration: none;
    height: 48px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0;
}

.add-to-cart-button .add-to-cart-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.add-to-cart-button .cart-icon {
    background-color: #111;
    height: 100%;
    transition: background-color 0.3s ease;
}

.add-to-cart-button .cart-icon i {
    font-size: 18px;
    color: white;
}

/* On Hover */
.add-to-cart-button:hover .cart-icon {
    background-color: #00c5cb;
}

.add-to-cart-button:hover {
    background-color: #111;
}

.wishlist-icon i {
    font-size: 1rem;
    color: #aaa;
    transition: color 0.3s ease;
}

.wishlist-icon i:hover {
    color: #e74c3c;
}

.text-muted {
    color: #888 !important;
}

/***************************************
    Filter Page
****************************************/
.stars span {
    display: none !important;
}

/***************************************
    Product Card
****************************************/
.quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 150px;
}

.quantity-wrapper input.qty {
    text-align: center;
    font-size: 16px;
    padding: 6px 12px;
    width: 60px;
    border-radius: 0;
    -moz-appearance: textfield;
}

.quantity-wrapper input.qty::-webkit-outer-spin-button,
.quantity-wrapper input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/***************************************
    Swiper
****************************************/
.nav-tabs .nav-link.active {
    border-bottom: 2px solid #007bff;
    font-weight: bold;
}

.swiper-slide {
    height: auto !important;
    display: flex !important;
    align-items: flex-start;
    justify-content: flex-start;
}

.swiper-slide .card {
    background-color: #0d0d0d;
    color: white;
    border-radius: 10px;
    border: 1px solid #444;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.swiper-slide .card img {
    object-fit: contain;
}

.swiper-slide .card-body {
    flex-grow: 1;
    display: flex;
    text-align: center;
    align-items: flex-start;
    justify-content: flex-start;
}

.swiper-slide .spec {
    text-align: justify;
    padding: 0.5rem 1rem;
    margin-top: auto;
}

.swiper {
    padding-bottom: 30px !important;
}

/***************************************
    Homepage
****************************************/
.ai-workstations {
    position: relative;
    background-image: url('img/bg-banner-01.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
    z-index: 1;
    overflow: hidden;
}

.ai-workstations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: -1;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.ai-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50px;
    transition: all 0.3s ease;
}

.ai-card img {
    max-width: 50px;
    margin: 10px auto;
}

.ai-card h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ai-card p {
    font-size: 12px;
    margin-top: auto;
    opacity: 0.7;
}

/***************************************
    Filter Page
****************************************/
.sticky-sidebar {
    position: sticky;
    top: 60px;
    min-height: calc(100vh - 115px);
    overflow-y: auto;
    /*z-index: 1020;*/
}

/***************************************
    Checkout Form
****************************************/
.woocommerce-shipping-totals.shipping ul#shipping_method {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-shipping-totals.shipping ul#shipping_method li {
    padding: 10px 0px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.woocommerce-shipping-totals.shipping ul#shipping_method li:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.woocommerce-shipping-totals.shipping ul#shipping_method input[type="radio"] {
    margin-right: 10px;
    accent-color: #198754;
}

.woocommerce-shipping-totals.shipping ul#shipping_method label {
    margin: 0;
}

/***************************************
    Contact Form Submit Button Spinner
****************************************/
.wpcf7-spinner {
    display: none !important;
}

/***************************************
    account Login
****************************************/
.account-signup {
    min-height: calc(100vh - 115px);
}

/*================================================================== 
  scrollThumbnails
====================================================================*/
#product-thumbnails {
    overflow-x: auto;
    overflow-y: hidden;
}

@media (min-width: 768px) {
    #product-thumbnails {
        overflow-x: hidden;
        overflow-y: auto;
    }
}