.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.updatecheck {
  display: none;
}

/* Hide HTML5 Up and Down arrows. */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* jQuery Modal specific styling - avoid conflicts with ECT modals */
.jquery-modal .modal {
  max-width: 80%;
  z-index: 99999;
}

/* Ensure ECT modals work properly - fix positioning and overlay */
div.ectopaque {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(140, 140, 150, 0.5) !important;
  z-index: 998 !important;
  overflow-y: auto !important;
}

/* Let JavaScript control display - don't override with !important */
div.ectopaque[style*="display: none"],
div.ectopaque[style*="display:none"] {
  display: none;
}

/* Ensure the modal content is properly positioned */
div.ectopaque div.ectsoftwrapper {
  position: relative !important;
  margin: 40px auto 0 auto !important;
  background: #fff !important;
  max-width: 95vw !important;
  width: 600px !important;
  padding: 6px !important;
  border-radius: 5px !important;
  box-shadow: 1px 1px 5px #333 !important;
  box-sizing: border-box !important;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
  div.ectopaque div.ectsoftwrapper {
    width: 90% !important;
    margin-top: 20px !important;
  }
}

@media screen and (max-width: 560px) {
  div.ectopaque div.ectsoftwrapper {
    width: 95% !important;
    margin-top: 10px !important;
  }
}

.debugPre {
  border: 1px solid var(--cp-red);
  margin: 5px;
  padding: 5px;
  background-color: #ffffff;
  overflow: auto;
}

td.detail {
  text-align: center;
  padding-bottom: 15px;
}

.home_products {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.home_products li {
  flex: 0 0 33.33%;
  width: 33%;
  float: left;
  padding-bottom: 28px;
}

.midle_produt_image {
  text-align: center;
}

.midle_produt_image img {
  max-width: 100%;
}

.product_text {
  padding-top: 17px;
  font-family: "Exo 2", sans-serif;
  font-size: 14px;
  color: #242424;
  text-decoration: none;
  text-align: center;
}

.product_price {
  padding-top: 15px;
  font-family: "Exo 2", sans-serif;
  font-size: 14px;
  color: #242424;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
}

.product_price b {
  color: #ff9400;
  text-decoration: none;
}

.right_t {
  text-align: center;
  position: relative;
  margin-bottom: 15px !important;
  min-height: 200px;
}

.right_t_text {
  background-color: #7f7f7f;
  position: absolute;
  padding: 10px;
  bottom: 6px;
  width: 100%;
}

.right_t_text_top {
  font-family: "Exo 2", sans-serif;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

.right_t_text_bottom {
  font-family: "Exo 2", sans-serif;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  font-style: italic;
  white-space: nowrap;
}

.right_t_text_bottom strong {
  font-style: normal;
  font-weight: normal;
  color: #ff9400;
  text-transform: capitalize;
}

.right_img {
  padding-top: 25px;
}

.right_img img {
  max-width: 100%;
}

div.category {
  width: 100% !important;
}

div.catimage {
  width: 26% !important;
}

.TabbedPanelsTabGroup {
  display: none !important;
}

.TabbedPanelsContentGroup {
  border: none !important;
}

.responsive-image {
  display: block;
  /* Ensure the image is displayed as a block-level element */
  max-width: 100%;
  /* Make the image scale with its container */
  height: auto;
  /* Maintain aspect ratio */
  margin-top: 20px;
  /* Add space between the div and the image */
}

.recentviewimage {
  display: block !important;
  /* Ensure the image is displayed as a block-level element */
  max-width: 100% !important;
  /* Make the image scale with its container */
  height: auto !important;
  /* Maintain aspect ratio */
  margin-top: 20px !important;
  /* Add space between the div and the image */
}

.highlight {
  font-weight: bold;
  color: var(--cp-red);
  /* Example: Make the text red */
}

div.detailname {
  text-align: center !important;
  margin-bottom: 20px !important;
}

div.detailname h1 {
  color: #000000 !important;
  white-space: normal !important;
  width: 100% !important;
  border: unset !important;
  text-align: center !important;
  padding: 10px !important;
  /* text-decoration: underline 5px solid #ddd !important; */
}

div.detailmanufacturer {
  float: unset !important;
  width: unset !important;
  text-align: center !important;
}

div.catnavigation {
  border-bottom: unset !important;
  margin-bottom: 20px !important;
  background-color: unset !important;
}

.detaildiscountsapply {
  float: unset !important;
  width: 100% !important;
  text-align: center !important;
  color: var(--cp-red) !important;
  font-weight: bolder !important;
}

.imagenavigator {
  text-align: center !important;
}

.detaildiscounts {
  float: unset !important;
  width: 100% !important;
  text-align: center !important;
  color: var(--cp-red) !important;
  padding: 10px !important;
}

body
  > div:nth-of-type(1)
  > div:nth-of-type(5)
  > div:nth-of-type(2)
  > div
  > div
  > div:nth-of-type(1)
  > div
  > div
  > div:nth-of-type(3)
  > form
  > div:nth-of-type(1)
  > div:nth-of-type(2)
  > input {
  margin-left: 5px !important;
}

.top_row {
  padding: 0 !important;
}

.minicartcnt_dp {
  padding: 0 !important;
  margin: 0 !important;
  padding-top: 10px !important;
}

.glide__arrow {
  position: absolute;
  display: block;
  top: 50%;
  padding: 5px !important;
  /* z-index: 2; */
  color: #000000 !important;
  text-transform: uppercase;
  background-color: transparent;
  border: none !important;
  /* border-radius: 4px; */
  box-shadow: none !important;
  /* text-shadow: 0 .25em .5em rgba(0, 0, 0, .1); */
  /* opacity: 1; */
  cursor: pointer;
  transition:
    opacity 150ms ease,
    border 300ms ease-in-out;
  transform: translateY(-50%);
  line-height: 1;
}

.banner_text_wrap {
  display: none !important;
}

div.category {
  padding: 15px !important;
}

div.catimage {
  width: unset !important;
  float: unset !important;
  padding: unset !important;
}

div.catname {
  margin: 4px 8px;
  font-size: 1.8em !important;
  float: unset !important;
  width: unset !important;
}

div.catdesc {
  width: 100% !important;
}

div.detaildescription,
.detailoptions {
  padding: 5px !important;
  padding-left: 10px !important;
  margin: 5px;
  padding-top: 4px;
  float: unset !important;
  width: unset !important;
  border: none !important;
}

.price {
  border-bottom: 3px solid var(--cp-red) !important;
}

div.detailimage {
  width: 100% !important;
  padding: 15px !important;
  text-align: center !important;
  height: auto;
  margin-left: 5px;
  margin-bottom: 15px;
}

.brand-carousel {
  margin-bottom: 40px !important;
}

.ectdp_minicartmainwrapper {
  background: transparent none repeat scroll 0 0 !important;
  position: absolute;
  right: 0;
}

/* Color Picker Option Styles */
.colorpicker-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.color-option {
  position: relative;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 4px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.color-option:hover {
  border-color: #dee2e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.color-option.selected {
  border-color: var(--cp-red);
  background: #e7f3ff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.color-option .color-swatch {
  display: block;
  width: 125px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid #ddd;
  margin: 0 auto 6px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

/* Fix for product image scaling Issue #291 */
img.prodimage,
img.catimage {
  object-fit: cover !important;
  width: auto !important;
  height: 100% !important;
}

/* Fix for mobile sidebar menu overlap Issue #301 */
@media screen and (max-width: 800px) {
  /* Stack columns vertically on mobile */
  .col-3.mid_left,
  .col-9.mid_right {
    width: 100% !important;
    float: none !important;
    display: block !important;
  }

  /* Ensure main content appears first on mobile */
  .col-9.mid_right {
    order: 1;
  }

  .col-3.mid_left {
    order: 2;
    margin-top: 20px;
  }

  /* Use flexbox for proper mobile layout */
  .midWrapper .row {
    display: flex;
    flex-direction: column;
  }

  /* Add some spacing between sidebar sections */
  .col-3.mid_left + .col-3.mid_left {
    margin-top: 15px;
  }
}

@media screen and (max-width: 640px) {
  /* Extra adjustments for smaller mobile devices */
  .left_nav_wrap {
    padding: 10px;
  }

  .col-3.mid_left h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  /* Ensure no horizontal overflow */
  .midWrapper {
    overflow-x: hidden;
  }

  /* Adjust padding for better mobile experience */
  .col-3.mid_left,
  .col-9.mid_right {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Navigation and checkout in single row */
.catnavandcheckout {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 15px !important;
  width: 100% !important;
}

.catnavigation {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  flex: 1 !important;
}

.catnavcheckout {
  white-space: nowrap !important;
}

/* Bootstrap form styling for product page elements */
select.prodoption,
select.detailprodoption,
input[type="number"].qty,
input[class*="qty"] {
  display: block !important;
  width: 100% !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #212529 !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 0.375rem !important;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out !important;
  box-sizing: border-box !important;
}

select.prodoption:focus,
select.detailprodoption:focus,
input[type="number"].qty:focus,
input[class*="qty"]:focus {
  color: #212529 !important;
  background-color: #fff !important;
  border-color: #86b7fe !important;
  outline: 0 !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* Product option label styling */
.optName {
  display: block !important;
  margin-bottom: 0.5rem !important;
  font-weight: 500 !important;
}

/* Stack option containers vertically - label above input */
.optioncontainer.detailoptioncontainer {
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 1rem !important;
  width: 100% !important;
}

.optiontext.detailoptiontext {
  display: block !important;
  width: 100% !important;
  margin-bottom: 0.5rem !important;
  order: -1 !important;
}

.option.detailoption {
  display: block !important;
  width: 100% !important;
}

/* Quantity selector - Bootstrap styled */
.detailquantity {
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 1rem !important;
  width: 100% !important;
}

.detailquantitytext {
  display: block !important;
  margin-bottom: 0.5rem !important;
  font-weight: 500 !important;
  color: #212529 !important;
}

.quantity1div.detailquantity1div {
  display: flex !important;
  align-items: center !important;

  gap: 0 !important;
}

.quantity1input.detailquantity1input {
  display: block !important;
  width: 60px !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #212529 !important;
  background-color: #fff !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 0.375rem 0 0 0.375rem !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.quantity1div.detailquantity1div > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 38px !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  background-color: var(--cp-red) !important;
  border: 1px solid var(--cp-red) !important;
  cursor: pointer !important;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.quantity1div.detailquantity1div > div:hover {
  background-color: var(--cp-red);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

input.ectbutton.checkoutbutton {
  text-shadow: none !important;
  color: #fff !important;
}

input.ectbutton.checkoutbutton:hover {
  background-color: var(--cp-red) !important;
  border-color: var(--cp-red) !important;
  opacity: 0.9 !important;
  text-shadow: none !important;
  color: #fff !important;
}

input.ectbutton.checkoutbutton:active {
  background-color: var(--cp-red) !important;
  border-color: var(--cp-red) !important;
  text-shadow: none !important;
  color: #fff !important;
}

.quantity1div.detailquantity1div > div:last-of-type {
  border-radius: 0 0.375rem 0.375rem 0 !important;
}

.color-option:hover .color-swatch {
  transform: scale(1.05);
}

.color-option .color-name {
  font-size: 11px;
  font-weight: 500;
  color: #495057;
  line-height: 1.2;
  word-wrap: break-word;
}

.color-option.selected .color-name {
  color: var(--cp-red);
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .colorpicker-container {
    gap: 6px;
  }

  .color-option {
    padding: 3px;
  }

  .color-option .color-swatch {
    margin-bottom: 4px;
  }

  .color-option .color-name {
    font-size: 10px;
    max-width: 40px;
  }
}

/* Ensure the color name text fits within the swatch without overflow */
.color-name {
  overflow: hidden;
  white-space: nowrap;
  display: block;
  max-width: 100%;
  text-align: center;
}

.size-options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.size-options-container .size-option {
  padding: 10px 20px;
  background-color: var(--cp-red);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.size-options-container .size-option:hover {
  background-color: var(--cp-red);
}

.size-options-container .size-option.active {
  background-color: var(--cp-red);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Modern button style for size options */
.size-options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 100px;
}

.size-pill {
  display: inline-block;
  padding: 7px;
  margin: 5px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #f5f5f5;
  color: #333;
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  outline: none;
  height: unset !important;
}

.size-pill:hover,
.size-pill:focus {
  border-color: var(--cp-red);
}

.size-pill.selected {
  border-color: var(--cp-red);
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.size-pill .pill-stock {
  display: block;
  font-size: 0.75em;
  opacity: 0.8;
}

.size-pill.out-of-stock {
  opacity: 0.5;
  cursor: not-allowed;
  background: #eee;
}

.size-pill.out-of-stock:hover,
.size-pill.out-of-stock:focus {
  border-color: transparent;
}

.ectlabel {
  font-weight: 800 !important;
}

.margintop10 {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

.display-none {
  display: none !important;
}

.placeholder {
  color: #333;
  /* set the text color */
  font-size: 18px;
  /* set the font size */
  font-weight: bold;
  /* set the font weight */
}

div.wishlistcontainer {
  display: none !important;
}

.brand-carousel {
  margin-bottom: 40px !important;
}

.detailprevimg {
  color: #000000 !important;
  border: 1px solid #ddd !important;
}

.detailnextimg {
  color: #000000 !important;
  border: 1px solid #ddd !important;
}

.product-description,
.product-price,
.product-options {
  font-weight: bolder !important;
  text-transform: capitalize !important;
  text-align: left !important;
  align-self: start !important;
  font-size: 1.1em !important;
  margin-top: 50px !important;
  margin-bottom: 20px !important;
}

.detailprice {
  margin-top: 50px !important;
  margin-bottom: 50px !important;
}

div.detailoptiontext {
  display: inline-block;
  float: left;
  padding-left: 10px;
  margin: 0 !important;
  clear: left;
  min-width: 160px;
}

.slick-track {
  display: flex !important;

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

.slick-track img {
  max-width: 165px !important;
  height: auto !important;
}

.brand-carousel .slick-slide {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.optName {
  clear: left;
  clear: bottom;
  font-weight: 800 !important;
  text-align: left !important;
  align-self: start !important;
  display: block;
  padding: 20px;
  color: var(--cp-red);
  font-size: larger;
}

.minimailcontainer {
  display: flex !important;
  /* become a flex-box */
  flex-direction: column !important;
  /* stack children top-to-bottom */
  gap: 0.5rem !important;
  /* optional: space between rows   */
}

.minimailsubmit {
  margin-top: 10px !important;
}

/* any colour that fits your palette */
.size-pill .perf {
  color: var(--cp-red);
  /* highlight just the word */
  font-weight: 600;
  /* optional emphasis */
}

/* ──────────────────────────────────────────────
   FLEX-GRID LAYOUT
   ────────────────────────────────────────────── */

.swatch-flexgrid {
  /* Flexbox + wrap turns rows into a grid-like structure */
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* row + column spacing */
  list-style: none;
  /* if you swap to <li> later */
  margin: 0;
  padding: 0;
}

/* Each tile – identical width, but fluid */
.color-option {
  box-sizing: border-box;
  flex: 0 0 calc(20% - 12px);
  /* 5 per row on wide screens */
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 6px 8px 10px;
  text-align: center;
  cursor: pointer;
  /* optional, if clickable */
  transition: transform 0.15s ease;
}

.color-option:hover {
  transform: translateY(-2px);
}

/* Fluid image strip */
.color-swatch {
  display: block;
  /* removes inline-img gap */
  width: 100%;
  /* 🔑 fills tile width   */
  aspect-ratio: 4/1;
  /* keeps all strips equal height */
  object-fit: cover;
  /* prevents distortion   */
  border-radius: 2px;
  margin-bottom: 6px;
}

/* ───── Responsive breakpoints (min CSS, max clarity) ───── */
@media (max-width: 1200px) {
  .color-option {
    flex: 0 0 calc(25% - 12px);
  }
}

/* 4-up */
@media (max-width: 992px) {
  .color-option {
    flex: 0 0 calc(33.333% - 12px);
  }
}

/* 3-up */
@media (max-width: 768px) {
  .color-option {
    flex: 0 0 calc(50% - 12px);
  }
}

/* 2-up */
@media (max-width: 480px) {
  .color-option {
    flex: 0 0 100%;
  }
}

input.continueshopping,
input.printversion,
input.applycoupon,
input.configbutton,
input.reviewsubmit,
input.efsend,
input.efclose,
input.cartaccountlogin,
input.forgotpassword,
input.newaccount,
input.submit,
input.cancel,
input.createlist,
input.trackinggo,
input.logintoaccount,
input.createaccount,
input.gcsubmit,
input.login,
input.newaffiliate,
input.affiliatelogin,
input.search,
input.buybutton,
input.sccheckout,
input.checkoutbutton,
input.vieworderstatus,
input.viewlicense,
input.trackpackage,
input.logout,
input.editaffiliate,
input.backacct,
input.giftwrapsubmit,
input.giftwrapcancel {
  height: 38px;
  padding: 0.375rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  color: #fff;
  background-color: var(--cp-red);
  border: 1px solid var(--cp-red);
  border-radius: 0.375rem;
  cursor: pointer;
  user-select: none;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.detailsku {
  float: unset !important;
  text-align: center !important;
  width: 100% !important;
}

div.category {
  height: unset !important;
}

.detailaddtocart {
  margin-bottom: 30px !important;
}

.detailimagenavigator {
  padding: 30px;
}

.giantimage {
  width: 100% !important;
}

.product-body-content {
  margin-top: 18px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

div.cartoptionsline {
  font-size: 1.3rem !important;
}

a {
  color: var(--cp-red) !important;
  font-weight: 500 !important;
}

.a-white {
  color: #fff !important;
  font-size:0.875rem !important;
  font-weight:600 !important;
}

div.minicartcnt_dp {
    white-space: nowrap !important;
    margin-right: 15px !important;
}