#sp-main-body {
    padding: 50px 0;
}
#sp-header {
    background: #ffffff none repeat scroll 0 0;
    box-shadow: 0 3px 3px rgba(0,0,0,0.05);
    height: 140px;
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 99;
}
#sp-header .sp-module {
    display: inline-block;
    margin-top: 0px;
}

/* ---------- Products Mega Menu 2 Columns with 2 Category Headings ---------- */
.sp-megamenu-wrapper {
    margin-top: 0px !important;
    height: 140px !important;
}

.sp-megamenu-wrapper {
    display: inline-block;
    margin-top: 50px;
}

.sp-megamenu-parent {
    list-style: none;
    padding: 48px 0;
    margin: 0;
    z-index: 99;
    display: block;
    position: relative;
}

.sp-megamenu-parent > li > a::before {
    content: "";
    position: absolute;
    top: 90px;
    bottom: 0;
    height: 2px;
    left: 10px;
    right: 10px;
    transform: scale(0);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    background: #f9f9f9;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
    padding: 5px;
    margin-top: 22px;
}
#sp-top1 {
  text-align: left;
  min-height: 120px;
  padding: 50px 200px 0 0;
}
/* Cart link */
.j2store-cart-icon {
  color: #333333;
  text-decoration: none;
  font-weight: normal;
}

.j2store-cart-icon:hover {
  color: #c71a1a; /* red on hover */
}

/* Account link */
.j2store-login-icon {
  color: #333333;
  text-decoration: none;
  font-weight: normal;
}

.j2store-login-icon:hover {
  color: #c71a1a; /* red on hover */
}

/* Align icon and text nicely */
.j2store-cart-icon i,
.j2store-login-icon i {
  margin-right: 5px;
}
.btn-info {
    color: #fff;
    background-color: #c71a1a;
    border-color: #c71a1a;
    margin-bottom: 20px;
}
.btn-info:hover {
    color: #fff;
    background-color: rgba(199,26,26,0.8);
    border-color: #c71a1a;
}
.sppb-btn.sppb-btn-success {
    color: #fff;
    background-color: #c71a1a;
    border-color: #c71a1a;
}
.sp-page-title {
  background-color: #FAFAFA;
  padding: 30px 0 30px !important;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  text-align: center;
  background-attachment: fixed;
}
.sppb-btn.sppb-btn-default {
  background-color: #c71a1a;
}
.sppb-addon-ajax-contact .sppb-ajaxt-contact-form .sppb-btn-success {
    color: #fff;
    background-color: #c71a1a;
    border-color: #c71a1a;
}
.btn-success {
    color: #ffffff !important;        /* Text color white */
    background-color: #c71a1a !important; /* Button background */
    border: 0 !important;             /* Remove border */
    padding: 13px 30px !important;    /* Adjust padding as needed */
    font-size: 16px !important;       /* Adjust font size */
    font-weight: bold !important;     /* Bold text */
    border-radius: 6px !important;   /* Rounded corners */
    cursor: pointer !important;       /* Pointer on hover */
    transition: background-color 0.3s ease;
}
.btn-success:hover {
  background-color: #a41515 !important;
}

/* J 2 store */
.j2store-login-icon a {
  color: #c71a1a !important;
}
.j2store-mainimage img.j2store-product-main-image {
    width: 500px !important;   /* display width you want */
    height: auto !important;   /* keep aspect ratio */
    max-width: 100%;           /* responsive */
}
.product-price-container .sale-price {
    color: #c71a1a !important;
    font-size: 26px;
    font-weight: bold;
    line-height: 35px !important;
}
/* J2Store Add to Cart button */
.j2store-cart-button {
    color: #ffffff !important;        /* Text color white */
    background-color: #c71a1a !important; /* Button background */
    border: 0 !important;             /* Remove border */
    padding: 13px 30px !important;    /* Adjust padding as needed */
    font-size: 16px !important;       /* Adjust font size */
    font-weight: bold !important;     /* Bold text */
    border-radius: 6px !important;   /* Rounded corners */
    cursor: pointer !important;       /* Pointer on hover */
    transition: background-color 0.3s ease;
}

/* Optional hover effect */
.j2store-cart-button:hover {
    background-color: #a41515 !important; /* Slightly darker on hover */
}
h1.product-title {
    font-family: Playfair Display, sans-serif;
    font-size: 30px;
}
.j2store-single-product.simple .product-content .j2store-addtocart-form .options label,
.j2store-single-product.configurable .product-content .j2store-addtocart-form .options label,
.j2store-single-product.downloadable .product-content .j2store-addtocart-form .options label,
.j2store-single-product.variable .product-content .j2store-addtocart-form .options label {
  font-size: 14px;
  border: 2px solid #EDEDED;
  display: inline-block;
  letter-spacing: 1.87px;
  text-transform: uppercase;
  padding: 5px 10px;
  line-height: 1;
  margin-bottom: 0;
  margin-right: 4px;
  cursor: pointer;
}
.j2store-single-product.simple .product-content .j2store-addtocart-form .options b {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.87px;
    display: inline;
    width: 100%;
}
.j2store-single-product.configurable .product-content .j2store-addtocart-form .options b {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.87px;
    display: inline;
    width: 100%;
}
.j2store-single-product.simple .note {
    font-size: 16px;
    color: #4A4A4A;
    font-weight: 700;
}
.j2store-single-product.configurable .note {
    font-size: 16px;
    color: #4A4A4A;
    font-weight: 700;
}
.pill {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin-right: 15px;
    vertical-align: middle;
}
.j2store-single-product.simple .product-content {
    padding-top: 5px !important;
}
.simple-product .manufacturer-brand {
  color: #c71a1a;
  font-weight: 600;
}
.j2store-single-product.simple .nav.nav-tabs  {
    border-bottom: 0;
    margin: 20px 0 20px !important;
}
.j2error {
  color: #ff0000;
  font-style: italic;
  background-color: yellow;
}
/* Hide all text inputs in product options */
.j2store-single-product .option input[type="text"] {
    display: none !important;
}
/* Style only selects inside product Add to Cart forms */
.j2store-addtocart-form select {
    display: block;
    width: 100%;               /* full width */
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

    /* Keep the native dropdown arrow */
    -webkit-appearance: menulist-button;
    -moz-appearance: menulist-button;
    appearance: menulist-button;
}

/* Optional: focus state */
.j2store-addtocart-form select:focus {
    border-color: #c71a1a;
    outline: none;
    box-shadow: 0 0 5px rgba(199,26,26,0.5);
}
/* Inline label + select for product options */
.j2store-addtocart-form .option {
    display: flex;
    align-items: center;       /* vertically center label and select */
    gap: 10px;                 /* space between label and select */
    margin-bottom: 10px;       /* space between options */
}

/* Label text */
.j2store-addtocart-form .option b,
.j2store-addtocart-form .option .required {
    color: #c71a1a;            /* red text for label and required star */
    margin: 0;                 
    white-space: nowrap;       
}

/* Select box */
.j2store-addtocart-form .option select {
    flex: 1;                   /* select fills remaining space */
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #c71a1a;            /* red text inside select */
    background-color: #fff;
    -webkit-appearance: menulist-button;
    -moz-appearance: menulist-button;
    appearance: menulist-button;
}

/* Optional: focus state */
.j2store-addtocart-form .option select:focus {
    border-color: #c71a1a;
    outline: none;
    box-shadow: 0 0 5px rgba(199,26,26,0.5);
}
.manufacturer-brand::after {
    content: " IN STOCK";
    display: inline-block;
    width: 80px;               /* fixed width, adjust as needed */
    text-align: center;         /* centers text inside the box */
    border: 1px solid #33861b;
    color: #33861b;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    padding: 3px 0;             /* vertical padding only */
    margin: 5px 0 0 0;          /* spacing above */
}
.j2store-single-product.configurable .nav.nav-tabs  {
    border-bottom: 0;
    margin: 20px 0 20px !important;
}
.j2store-single-product.configurable .nav.nav-tabs li.active a {
    color: #c71a1a !important;
}
.configurable-product .nav.nav-tabs li.active {
    border-bottom: 2px solid #c71a1a !important;
}
.configurable-product .manufacturer-brand {
  color: #c71a1a;
  font-weight: 600;
}
.j2store-single-product.configurable .product-content .product-price .sale-price {
    color: #c71a1a;
}
.product-upsells-container h3 {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}
.upsell-product {
    box-shadow: 0px 0px 0px 0px #cccccc;
    background-color: #ffffff;
    border: 1px solid #d8d8d8;
    padding: 20px;
    text-align: center;
}
.upsell-product-image img {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.j2store-single-product-view #sp-main-body .j2store-single-product .product-ldesc {
    margin: 15px 0;
    padding: 15px 0 15px 0;
    border-top: solid 1px #e5e5e5;
    border-bottom: solid 1px #e5e5e5;
}
.j2store-product-filters {
    border: 1px solid #eee;
    line-height: 1;
    padding: 18px 5px 15px;
    display: table;
    width: 100%;
}
.cart-no-items {
    background-image: url('/images/top-cart.png');
    background-repeat: no-repeat;
    padding-left: 60px;  /* width of the image plus a little extra padding */
    display: block;  /* may not need this, but I've found I do */
    font-size: 28px;
    font-weight: 400;
    line-height: 2.0;
    color: #212529;
    text-align: left;
}
.category-filters ul li.j2product-categories a {
    color: #666666;
    padding: 5px 0px;
    font-size: 14px;
    position: relative;
}
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 25px 0;
}

.pagination > li {
  display: inline-block;
  margin: 0 5px;
}

/* Force identical size */
.pagination > li > a,
.pagination > li > span {
  display: inline-block;
  padding: 8px 14px !important;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  text-decoration: none;
  line-height: 1.4;
  min-width: 36px;
  text-align: center;
}

/* Hover */
.pagination > li > a:hover,
.pagination > li > a:focus {
  background-color: #c71a1a !important;
  border-color: #c71a1a !important;
  color: #fff !important;
}

/* Active */
.pagination > .active > span,
.pagination > .active > a {
  background-color: #c71a1a !important;
  border-color: #c71a1a !important;
  color: #fff !important;
}
/* Container row */
#productFilters.form-inline {
  display: flex;
  flex-wrap: wrap; /* wrap on very small screens */
  align-items: center;
  gap: 10px; /* spacing between elements */
  border: 1px solid #eee;
  padding: 10px 12px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 5px;
}

/* Search input */
#productFilters.form-inline .j2store-product-search-input {
  flex: 1; /* take available space */
  min-width: 150px;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

/* Buttons */
#productFilters.form-inline input[type="button"] {
  padding: 6px 12px;
  border-radius: 3px;
  font-weight: 600;
  cursor: pointer;
}

/* Go button styling */
#productFilters.form-inline input.btn-success {
  background-color: #c71a1a; /* your option text color */
  border-color: #c71a1a;
  color: #fff;
}

/* Reset button styling */
#productFilters.form-inline input.btn-inverse {
  background-color: #f5f5f5;
  border-color: #ddd;
  color: #333;
}
/* Sort dropdown */
#productFilters.form-inline select {
  -webkit-appearance: menulist !important; /* restore native arrow */
  -moz-appearance: menulist !important;    /* Firefox */
  appearance: menulist !important;         /* standard */
  background: none;                         /* no extra background */
  padding: 6px 10px;                        /* adjust as needed */
  border: 1px solid #ccc;                   /* optional styling */
  font-size: 14px;
}
.view-carts .j2store-cart .btn {
    padding: 10px 20px;
    font-size: 14px;
    margin: 15px 0;
}
.j2store-single-product.configurable .product-content .j2store-addtocart-form .options b, .j2store-single-product.downloadable .product-content .j2store-addtocart-form .options b, .j2store-single-product.variable .product-content .j2store-addtocart-form .options b {
    width: 180px !important;
}
#j2store_app_shareButton::before {
  content: "Share ";
  margin-right: 20px;
  color: #888585;
  font-size: 14px;
} 
#j2store_app_shareButton {
  display: block;
  font-size: 12px;
  position: relative;
  margin-top: 70px;
  float: right;
}
.fa.fa-twitter-square::before {
  width: 30px;
  height: 30px;
  text-align: center;
  color: #28aae1;
  border-radius: 5px;
  line-height: 30px;
  margin-right: 10px;
}
.fa.fa-facebook-square::before {
  width: 30px;
  height: 30px;
  text-align: center;
  color: #3b5998;
  border-radius: 5px;
  line-height: 30px;
  margin-right: 10px;
}
.fa.fa-linkedin-square::before {
  width: 30px;
  height: 30px;
  text-align: center;
  color: #0077b5;
  border-radius: 5px;
  line-height: 30px;
  margin-right: 10px;
}
.product-compare {
  padding: 5px 2px;
  margin-top: 80px !important;
}
.sku-brand {
  margin-bottom: 10px;
}

.black-block {
  border-bottom: 7px solid #000000 !important;
}
.red-block {
  border-bottom: 7px solid #BA2014 !important;
}
.j2store-single-product.simple .nav.nav-tabs li a,
.j2store-single-product.configurable .nav.nav-tabs li a,
.j2store-single-product.downloadable .nav.nav-tabs li a,
.j2store-single-product.variable .nav.nav-tabs li a {
    padding: 0 0 7px 0;   /* top, right, bottom, left */
    border-bottom: 2px solid #c71a1a;
    color: #c71a1a;
    font-size: 20px;
    font-weight: 600;
}
.badge {
  display: inline-block;
  padding: .35em .65em;
  font-size: .75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  background-color: green;
}
/* Style upsell product titles */
.upsell-product-title a {
    color: #333333 !important;
}
/* Error page */
.error-page .error-code {
  font-size: 24px !important;
  line-height: 1;
  margin: 0 0 10px 0;
    margin-bottom: 10px;
  padding: 0;
  letter-spacing: 2px;
  color: #f00 !important;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 700 !important;
}
.error-page .error-message {
  font-size: 45px !important;
  color: #fff !important;
  line-height: 1;
  margin-bottom: 30px;
  font-family: Playfair Display, sans-serif;
  font-weight: 900 !important;
}
.error-page .btn {
  font-size: 16px;
  color: #fff !important;
  background: #000 !important;
    background-color: rgb(0, 0, 0);
  border: 2px solid #fff !important;
  font-weight: 700 !important;
  padding: 10px 15px;
}
.error-page .btn:hover, .error-page .btn:focus {
  background-color: #f00 !important;
  color: #fff;
}
legend {
  padding-bottom: 10px;
  font-size: 16px;
  text-align: center;
}
@media only screen and (max-width: 600px) {
  .sp-megamenu-wrapper {
    display: inline-block;
    margin-top: 0px;
}
  #sp-top1 {
    padding: 0 !important;
}
.simple-product .product-image .j2store-mainimage, .variable-product .product-image .j2store-mainimage {
  padding-left: 5px !important;
}  
}
@media only screen and (max-width: 767px) {
#sp-header .sp-module {
  float: none !important;
}
}
@media (min-width: 992px) and (max-width: 1550px) {
  #sp-header {
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 0 3px 3px rgba(0,0,0,0.05);
  height: 92px !important;
  left: 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 99;
}
  #sp-menu {
    width: 57%;
    padding-right: 0px;
  }
  .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    padding: 0px 10px;
  }
  #sp-top1 {
    padding-left: 0px;
    padding-right: 10px;
    width: 18%;
  }
  #sp-top1 > div > .sp-module {
    padding-left: 5px;
  }
  #sp-logo {
    padding: 0px;
  }
}
@media (min-width: 992px) and (max-width: 1320px) {
  #sp-header {
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 0 3px 3px rgba(0,0,0,0.05);
  height: 92px !important;
  left: 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 99;
}
  #sp-header {
    padding: 0px 10px !important;
  }
  #sp-menu {
    width: 57%;
    padding-right: 0px;
  }
  .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    font-size: 14px;
    padding: 0px 10px;
  }
  #sp-top1 {
    padding-left: 0px;
    padding-right: 10px;
    width: 18% !important;
  }
  #sp-top1 > div > .sp-module {
    padding-left: 5px;
  }
  #sp-top1 a {
    font-size: 13px;
  }
  #sp-header .logo {
    height: 80px;
  }
  #sp-logo {
    padding: 0px;
  }
  .shopin-ico-search {
    margin: 5px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  #sp-header {
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 0 3px 3px rgba(0,0,0,0.05);
  height: 92px !important;
  left: 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 99;
}
  .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    padding: 0 5px;
    font-size: 13px;
  }
}
@media (max-width: 991px) {
  #sp-header {
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 0 3px 3px rgba(0,0,0,0.05);
  height: 92px !important;
  left: 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 99;
}
  #sp-menu {
    display: flex;
    justify-content: end;
    padding: 0px;
    margin-right: 10px;
  }
  #sp-logo {
    width: 28%;
  }
  #sp-top1 {
    padding: 0px !important;
    width: 68% !important;
    height: 92px !important;
  } 
  .sp-page-title {  
    background-position: top 55px left 105px !important;
  }
}
.sp-megamenu-wrapper{
  margin-top:0px !important;
}



@media (max-width: 820px){
  div#sp-top1{
    position: relative;
    bottom: 212px !important;
}

#offcanvas-toggler {
    position: absolute;   /* absolute positions relative to header */
    top: 10px;            /* adjust as needed */
    right: 30px;
    bottom: auto;          /* cancel previous bottom */
    z-index: 9999;         /* make sure it's on top */
  }
.sp-module.top-search {
  position: relative;
  bottom: 65px;
  right:10px;
}
}