/*
Theme Name: HighChem East Africa Website
Theme URI: https://midascreativelab.com/
Author: Midas Creative Labs
Author URI: https://midascreativelab.com/
Description: A lightweight and skeletal WordPress boilerplate theme for HTML5 and beyond
Version: 3.X
License: MIT
License URI: https://mit-license.org/
Text Domain: barebones
*/

@font-face {
    font-family: "Century Gothic";
    src: url("fonts/CenturyGothic.woff2") format("woff2"),
         url("fonts/CenturyGothic.woff") format("woff"),
         url("fonts/centurygothic.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Century Gothic";
    src: url("fonts/centurygothic_bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body{font-family: 'Century Gothic' !important; font-size: 17px !important;}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{font-family: 'Century Gothic' !important;}
.single-products .ban, .single-product .ban, .tax-product_cat .ban, .post-type-archive-product .ban, .single-post .ban, .category .ban, .search-results .ban{display:none;}
.text-muted a{color:#dc0000 !important;text-decoration:none !important;}
.eds-toggle-icon{
    right: 8px !important;
}
.pagination .nav-links .current {
    background: #ccc !important;
    padding: 2px 10px;
    border-radius: 3px;
    margin: 0 3px;
}
.pagination .nav-links .page-numbers {
    background: blue;
    padding: 2px 10px;
    border-radius: 3px;
    margin: 0 3px;
    color:#fff !important;
    text-decoration:none !important;
}
.page-link{
    display: inline-block !important;
}
#pagination{margin-top:25px;}
.hcaccount .woocommerce .woocommerce-MyAccount-content{
    float: none !important;
    width: 100% !important;
}
.hcaccount .woocommerce .woocommerce-MyAccount-navigation {
    display: none !important;
}
.hcaccount .woocommerce h2{text-align:center;margin: 30px auto;}
.dropdown-menu {
    min-width: 200px;
    border-radius: 10px;
    padding: 8px 0;
}

.dropdown-item {
    font-size: 14px;
    padding: 8px 16px;
}

.dropdown-item:hover {
    background: #f5f5f5;
}
.dropdown-toggle::after {
    border-top-color: #fff !important;
}
.account-dropdown {
    min-width: 240px;
    border-radius: 12px;
    padding: 8px 0;
}

.account-dropdown .dropdown-header {
    padding: 10px 16px;
    font-size: 14px;
}

.account-dropdown .dropdown-item {
    font-size: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
}

.account-dropdown .dropdown-item i {
    width: 18px;
    text-align: center;
}

.account-dropdown .dropdown-item:hover {
    background: #f5f5f5;
}

.account-dropdown .dropdown-item.active {
    background: #204392;
    color: #fff;
}

.account-dropdown .dropdown-item.active i {
    color: #fff;
}

.user-dropdown-toggle::after {
    border-top-color: #fff;
}
.mobile-cart-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 55px;
    height: 55px;
    background: #4780ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mobile-cart-float img {
    width: 24px;
    height: 24px;
}

.mobile-cart-float .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-cart-drawer {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 70%;
    background: #fff;
    z-index: 9999;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-cart-drawer.active {
    bottom: 0;
}

.drawer-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.drawer-footer {
    padding: 15px;
    border-top: 1px solid #eee;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 9998;
}

.drawer-overlay.active {
    display: block;
}
.mini-cart-item img {
    width: 100% !important;
    max-height: 70px !important;
    border-radius: 8px;
}

.qty-input {
    width: 60px;
    text-align: center;
}
.quantity {
    max-width: 120px;
}

.qty-minus,
.qty-plus {
    width: 30px;
    height: 30px;
    padding: 0;
}

.quantity input.qty {
    width: 40px;
}
.mini-cart-price {
    font-weight: 600;
}
.woocommerce-mini-cart.cart_list.product_list_widget {
    list-style: none !important;
    padding-left: 0 !important;
}

.woocommerce-mini-cart.cart_list.product_list_widget li {
    list-style: none !important;
}
.wc-forward, .woocommerce-Button .button{background:#204392 !important;color:#fff !important;}
.custom-single-product {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.product-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-image img {
    width: 100%;
    height: auto;
}

.product-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-categories a {
    color: #1e73be;
    text-decoration: none;
    font-weight: 500;
}

.product-categories {
    margin-bottom: 25px;
}

.product-meta {
    border-top: 1px solid #ddd;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.meta-row span:first-child {
    font-weight: 600;
    color: #555;
}

.meta-row span:last-child {
    color: #777;
    text-align: right;
    max-width: 60%;
}
.product-gallery img:hover {
    opacity: 0.8;
}

.breadcrumb a {
    text-decoration: none;
    color: #6c757d;
}

.breadcrumb a:hover {
    color: #0d6efd;
}
.product-price-row {
    margin-top: 10px;
    font-size: 28px;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.product-actions .button,
.buy-now-btn {
    flex: 1;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
}

.buy-now-btn {
    color: #fff;
    border: none;
    padding: 12px 20px;
    background: #1da32e;
}
.buy-now{margin-left: -10px !important;}
.single_add_to_cart_button{
    background: #204391 !important;
    font-weight: 400;
    padding: 15px !important;
    border-radius: 0 !important;
}
.woocommerce .quantity .qty {
    width: 3.631em;
    text-align: center;
    padding: 9px;
}
.woocommerce div.product form.cart div.quantity {
    float: left;
    margin: 0 10px 0 0 !important;
}
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    float: left;
    width: 100% !important;
}
.woocommerce div.product form.cart .variations select {padding-left:10px !important;}
.woocommerce div.product form.cart .reset_variations {
    visibility: hidden;
    font-size: .83em;
    background: #ff0000;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
}

.woocommerce-ordering .orderby{padding:10px;}

#product-loader {
    min-height: 150px;
}

#product-loader .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}
#product-results {
    transition: opacity 0.3s ease;
}
#custom-cart.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

#custom-cart.loading::after {
    content: "Updating...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cart-item.updating {
    opacity: 0.5;
}
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}
.ajax-add-to-cart {
    background: #204392;
    border: 0;
    border-radius: 0;
    color: #fff;
    padding: 12px 15px;
}
.loading::after {
    content: " ";
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top: 2px solid #000;
    border-radius: 50%;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
}

.toast-message {
    background: #111;
    color: #fff;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 6px;
    min-width: 220px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.toast-message.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: #28a745;
}

.toast-error {
    background: #dc3545;
}

.qty-input {
    font-weight: 600;
}

.qty-plus, .qty-minus {
    width: 36px;
}
.cart-count.bump {
    animation: bump 0.3s ease;
}

@keyframes bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.header-cart {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    position: relative;
}

.cart-icon img {
    width: 30px;
    height: 30px;
}

.header-cart .cart-count {
    background: #fff;
    color: blue;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    left: 18px;
}

.cart-total {
    font-weight: 600;
    font-size: 14px;
}
.card img {
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}
.hcprod .woocommerce-Price-amount{font-size: 12px !important;}
/* CARDS */
.card {
    border-radius: 12px;
}

/* TABLE STRIPES (custom alternating) */
.custom-order-table tbody tr.row-light {
    background: #204392;
    color: #fff;
}

.custom-order-table tbody tr.row-dark {
    background: #f1f1f1;
}

/* CLEAN TABLE */
.custom-order-table td,
.custom-order-table th {
    border: none;
    padding: 12px;
}

/* HOVER EFFECT */
.custom-order-table tbody tr:hover {
    background: #204392ab;
     color: #fff;
}

/* BUTTON */
.btn-primary {
    border-radius: 8px;
}
.card {
    border-radius: 12px;
}

.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px;
}

#order_review {
    font-size: 14px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 10px;
    border: none;
}

.woocommerce-checkout-review-order-table tr:nth-child(even) {
    background: #f8f8f8;
}

button.button.alt {
    width: fit-content;
    border-radius: 8px;
}
.woocommerce-dashboard-wrapper {
  background: #f5f7fa;
  min-height: 100vh;
}

.nav-link {
  border-radius: 8px;
  color: #333;
}

.nav-link.active {
  background: #000;
  color: #fff;
}

.card {
  border-radius: 12px;
  border: none;
}


.oh{
  /*font-size: 10pt;*/
  font-weight: 650;
  color: #ec2a30;
}
.sva{
  border: 1px solid #555;
  padding: 5px 10px;
  color: #555;
  text-decoration: navajowhite;
  width: 90%;
  display: inline-block;
  text-align: center;
  margin-left: 5%;
}
.bab .flex-direction-nav {
  position: absolute;
  top: 55% !important;
  width: 100%;
  margin-top: 0 !important;
}
.companies{background: #fff;}
.companies:hover{background: #204392;color: #fff;}
.plast{
    background: #0a4277;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
}
.line{
    background: #ea058b;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
}
#input_1_1, #input_1_3{
    background: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    color: #fff;
    outline: none;
}
#input_2_1, #input_2_3, #input_2_4, #input_2_5{
    background: transparent;
    border: 0px solid #ccc;
    /*border-radius: 5px;*/
    border-bottom: 1px solid #222;
    outline: none !important;
}
#gform_submit_button_2{
    background: #204392;
    color: #fff;
    padding: 10px 30px;
    border: 0px;
    border-radius: 10px;
    width: 100%;
}
.nav{
  display: block !important;
  text-align: end;
}
.header__navigation .nav ul li{
  text-align: left;
  display: inline-block;
  position: static;
  padding: 8px 10px !important;
}
.header__navigation .nav ul li a{
  color: #333;
  text-transform: uppercase;
  text-decoration: none;
}
.footer__navigation .nav ul li{
  text-align: center;
  display: inline-block;
  position: static;
  padding: 8px 10px;
}
ul.nav--header li.menu-item a{
  padding: 10px;
  color: #fff;
  font-size: 13pt;
  text-decoration: none;
  /*text-transform: uppercase;
  font-weight: 550;*/
}
ul.nav--header li.menu-item{
  padding: 10px 5px;
  display: inline-block;
}
.topmenu li.menu-item{padding:5px !important;}
.topmenu li.menu-item a {color:#333 !important;font-size: 15px !important;}

.header__navigation ul.nav li ul.sub-menu{
/*top: 100%;*/
padding: 0;
z-index: 100;
position: absolute;
display: none;
background: #f1f1f1;
min-width: 200px;
}
 .header__navigation ul.nav li ul.sub-menu li .sub-menu {
  top: 10px;
  left: 100%;
  /*border: 1px solid #333;*/
  padding: 4px;
}

.header__navigation ul.nav li ul.sub-menu li {
    position: relative;
    border-bottom: 1px solid #ccc;
    width: 100%;
}

.header__navigation ul.nav li ul.sub-menu li a {
    padding: 0px !important;
    color: #222 !important;
    text-transform: none !important;
    font-size: 11pt !important;
    font-weight: 500;
}

.header__navigation ul.nav li:hover > .sub-menu, .header__navigation ul.nav li:active > .sub-menu{display: block;}
.header__navigation ul.nav li ul.sub-menu li{
display: table;
}
#sidr{background: #fff !important;}
.kalogo {
  height: 180px;
  background: white;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
#gform_submit_button_1 {
  padding: 10px 20px;
  background: #fff;
  border: 0px solid;
  border-radius: 20px !important;
  color: #ff0000;
  width:100%;
  font-weight: bold;
}
.box {
  border: 0px solid #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 10px #777;
  -moz-box-shadow: 0 1px 10px #777;
  -ms-box-shadow: 0 1px 10px #777;
  box-shadow: 0 1px 10px #777;
}
.banner{display:table;width:100%;position:relative;z-index: 0;}
.banner_wrapper, .banner_wrapper *{
  background-size:cover;
  background-position: top 30% center;
}
.bab .flex-direction-nav .flex-next::before {
  content: url(img/bright.png) !important;
  color: rgba(0, 0, 0, 1) !important;
}
.bab .flex-direction-nav .flex-prev::before {
  content: url(img/bleft.png) !important;
  color: rgba(0, 0, 0, 1) !important;
}
.bab .flex-direction-nav {
  position: absolute;
  width: 100%;
  top: 40vh;
}
.flex-direction-nav a {opacity: 1 !important;}
.bab .flex-direction-nav .flex-nav-prev{
  height: 50px;
  width: 50px;
  left: 0;
  position: absolute;
}
.bab .flex-direction-nav .flex-nav-next{
  height: 50px;
  width: 50px;
  right: 0;
  position: absolute;
}
dl, ol, ul {
  margin-top: 0;
  margin-bottom: 0 !important;
}
.no_pad{padding: 0 !important;}
.light{color: #fff !important;}
.sbtn{
  text-decoration: none;
  padding: 10px 25px;
  border: 1px solid #a17a23;
  color: #222;
  font-size: 9pt;
}
.pkg{padding: 10px !important;}
.pkg section{
  background: #f3f3f3;
  border-radius: 15px;
}
.pkg:first-child section, .pkg:nth-child(3) section{
  padding: 0px;
  min-height: 400px;
  background: #00d2ff !important;
  color: #fff !important;
  border-radius: 15px;
}
#gform_submit_button_3 {
  background: #af0000;
  padding: 10px 30px;
  color: #fff;
  border: 0px;
}

//responsive media queries

//carousel bootstrap 5
@media (max-width: 767px) {
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
  transform: translateX(0);
}


@media screen and (max-width:767px){
  .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
  .socials {
    padding-top: 10px;
    background: #ccc;
    height: 50px;
    margin-top: 10px !important;
  }
  .cborder{border-bottom:2px solid #555;}
  .banimage{margin-top:125px;width: 75%;}
  .bantit{
    font-size: 40px;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    z-index: -1;
    top: 20px;
    /* text-transform: uppercase; */
    font-weight: 600;
  }
  .slider-text{padding-top: 40%;}
  .slider-text h1, .speak{font-size: 30pt;}
  .mobhide{display:none !important;}
  .banheight{height:70vh;}
  .hcaccount .woocommerce .woocommerce-form-login{
        width: 80%;
        margin: 0 auto 30px;
    }
}
@media(min-width:768px){
    .modal-dialog {
        max-width: 620px !important;
    }
    .col-sm-80 {
      flex: 0 0 auto;
      width: 12.5% !important;
    }
    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
      transform: translateX(25%);
    }
    
    .carousel-inner .carousel-item-start.active, 
    .carousel-inner .carousel-item-prev {
      transform: translateX(-25%);
    }
  .cborder{border-right:2px solid #555;}
  .socials {
    padding-top: 12px;
    background: #ccc;
    height: 50px;
    margin-top: 10px;
  }
  .banimage{width: 55%;}
  .bantit{
    font-size: 90px;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    z-index: -1;
    top: 20px;
    /* text-transform: uppercase; */
    font-weight: 600;
  }
  .slider-text{padding-top: 15%;}
  .slider-text h1, .speak{font-size: 50pt;}
  .width60{max-width: 60% !important;}
  .width80{max-width: 80% !important;}
  .width90{max-width: 90% !important;}
  .mobshow{display:none !important;}
  .banheight{height:90vh;}
  .padr{padding-right: 10% !important;}
  .hcaccount .woocommerce .woocommerce-form-login{
        width: 40%;
        margin: 0 auto 30px;
    }
}


