.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 #006ABA;
    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: 20px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    color: #FFF;
    font-style: italic;
}

.right_t_text_bottom b {
    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: #ff0000; /* Example: Make the text red */
}

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

div.detailname h1 {
    color: #000000 !important;
    margin-top: 10px;
    margin-bottom: 12px;
    font-size: 1.8em !important;
    white-space: normal !important;
    width: 100% !important;
    border: unset !important;
    text-align: start !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: #ff0000 !important;
    font-weight: bolder !important;
}

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

.detaildiscounts {
    float: unset !important;
    width: 100% !important;
    text-align: center !important;
    color: #ff0000 !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 {
    font-size: 1em;
    padding: 5px !important;
    padding-left: 10px !important;
    margin: 5px;
    padding-top: 4px;
    float: unset !important;
    width: unset !important;
    border: none !important;
}

div.detailimage {
    width: 100% !important;
    padding: 15px !important;
    border: unset !important;
}

.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: #006ABA;
    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: contain !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !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;
    }
}

.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: #0056b3;
    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: #0056b3;
    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: #0056b3;
}

.size-options-container .size-option.active {
    background-color: #0056b3;
    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: .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: #0056b3;
}

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

.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;
}

div.detailimage {
    width: 100% !important;
    height: auto;
}

.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-decoration: underline 5px solid #ddd !important;
    text-align: left !important;
    align-self: start !important;
}

.product-options, product-price {
    margin-top: 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: #0056b3;
    font-size: larger;
}

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

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

/* any colour that fits your palette */
.size-pill .perf{
  color:#0056b3;          /* 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;
    font:13px/1.35 "Helvetica Neue",Arial,Helvetica,sans-serif;
    box-shadow:0 1px 2px rgb(0 0 0 / .08);
    cursor:pointer;                 /* optional, if clickable */
    transition:transform .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%; } }               /* 1-up */

/* FINAL FIX: New Account modal positioning and styling to match login modal */
#newacctdiv {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: white !important;
    padding: 6px !important;
    border-radius: 5px !important;
    box-shadow: 1px 1px 5px #333 !important;
    z-index: 999 !important;
    width: 600px !important;
    max-width: 95vw !important;
    min-height: 300px !important;
}

/* When JavaScript hides it */
#newacctdiv[style*="display: none"],
#newacctdiv[style*="display:none"] {
    display: none !important;
}

/* Add close X button to New Account modal */
#newacctdiv::after {
    content: "✕";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
}

#newacctdiv::after:hover {
    background: rgba(240,240,240,1);
    color: #000;
}

/* Force all content inside New Account modal to be visible */
#newacctdiv,
#newacctdiv *,
#newacctdiv .softformheader,
#newacctdiv .ectsf2col,
#newacctdiv .softformsend,
#newacctdiv input,
#newacctdiv div,
#newacctdiv button {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Match login modal form layout exactly */
#newacctdiv .ectsf2col {
    margin: 12px 0px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

#newacctdiv .ectsf2col > div:first-child {
    width: 25% !important;
}

#newacctdiv .ectsf2col > div:nth-of-type(2) {
    flex-grow: 1 !important;
}

/* Match exact input field styling from login modal */
#newacctdiv input[type="text"],
#newacctdiv input[type="email"],
#newacctdiv input[type="password"] {
    width: 66% !important;
    border: 1px solid gray !important;
    padding: 6px !important;
    border-radius: 5px !important;
    display: inline-block !important;
    box-sizing: border-box !important;
    height: auto !important;
    font-family: inherit !important;
    font-size: inherit !important;
}

/* Match checkbox styling */
#newacctdiv input[type="checkbox"].ectcheckbox {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 17px !important;
    height: 17px !important;
    border: 2px solid gray !important;
    transform: translateY(-1px) !important;
    display: inline-grid !important;
    place-content: center !important;
    background-color: white !important;
    border-radius: 4px !important;
}

#newacctdiv input[type="checkbox"].ectcheckbox::before {
    content: "" !important;
    transform: scale(0) !important;
    transition: 120ms transform ease-in-out !important;
    box-shadow: inset 17px 17px #333 !important;
    box-sizing: border-box !important;
    width: 12px !important;
    height: 12px !important;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%) !important;
    transform-origin: bottom left !important;
}

#newacctdiv input[type="checkbox"].ectcheckbox:checked::before {
    transform: scale(1) !important;
    box-sizing: border-box !important;
}

#newacctdiv .softformheader {
    border-bottom: 1px solid #999 !important;
    padding-bottom: 6px !important;
    margin: 12px 0px 16px 0px !important;
    font-size: 1.3em !important;
    text-align: center !important;
}

#newacctdiv .softformsend {
    text-align: center !important;
}

#newacctdiv .softformsend input,
#newacctdiv .softformsend button {
    margin: 8px !important;
}

/* Mobile responsive adjustments for New Account modal */
@media screen and (max-width: 768px) {
    #newacctdiv {
        width: 90% !important;
        margin-top: 20px !important;
    }
    
    #newacctdiv .ectsf2col > div:first-child {
        width: auto !important;
        margin-bottom: 3px !important;
    }
    
    #newacctdiv .ectsf2col {
        display: block !important;
    }
}

/* JavaScript to add close functionality - This will be executed when DOM loads */
