/**
 * Main Template CSS Stylesheet
 * 
 * BOOTSTRAP v3.4.0
 *
 */
.clearBoth {
   clear: both;
}
.forward {
    float: right;
}
.back {
    float: left;
}

html {
  font-size: 16px; /* Changes the base rem value to 20px */
}

body {
  font-size: 1rem; /* Example: changes the base font size */
  line-height: 1.2em; /* Example: changes the base line height */
}

/* Using unitless line-height for better scaling */
h1 { font-size: 1.4rem; line-height: 1.4; } 
h2 { font-size: 1.3rem; line-height: 1.3; }
h3 { font-size: 1.2rem; line-height: 1.2; } /* Slightly smaller for hierarchy */
h4 { font-size: 1.1rem !important; line-height: 1.2; }
h5 { font-size: 1rem; line-height: 1.2; }
h6 { font-size: 1.1rem; line-height: 1.2; }

/* Grouped selector is perfectly valid */
h4.optionName, LEGEND, ADDRESS, .larger { 
  font-size: 1.1rem; 
  line-height: 1.2;
}

h1, h2, h3, h4, h5, h6 { 
  margin: 5px 0; 
}

.wholesale-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Change to your brand color */
    color: #ffffff !important; /* Text color */
    text-decoration: none !important;
    border-radius: 4px; /* Rounded corners */
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s ease-in-out;
}

.wholesale-btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
    text-decoration: none;
}


/* Container styling to frame the restriction */
.wholesale-lock-container {
    background-color: #f9f9f9;
    border: 1px dashed #cccccc;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    max-width: 350px;
    margin: 15px 0;
}

.lock-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.wholesale-note {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #666666;
    margin: 0 0 15px 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* The primary Call-To-Action Button */
.btn-wholesale-login {
    display: block;
    background-color: #e67e22; /* High-visibility salon/orange tone, or use your site's accent color */
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hover effects for modern user feedback */
.btn-wholesale-login:hover {
    background-color: #d35400; 
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.btn-wholesale-login:active {
    transform: translateY(1px);
}

/* Secondary link for new registrations */
.link-wholesale-apply {
    display: inline-block;
    margin-top: 12px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #2980b9;
    text-decoration: underline;
}

.link-wholesale-apply:hover {
    color: #3498db;
}

@media (min-width: 1025px) {
  .mobile-only-buttons {
    display: none !important;
  }
}

@media (max-width: 575px) {
    /* 1. Your working 2-column code */
    .centerBoxContents.card {
        display: inline-flex !important;
        vertical-align: top;
        width: 48% !important;
        margin-left: 1% !important;
        margin-right: 1% !important;
        margin-bottom: 10px !important;
        float: left !important;
		padding: 0.5rem !important; /* Cuts the 1rem padding in half */
        /* Add this to help internal alignment */
        flex-direction: column !important; 
    }

    /* 2. The Truncation Logic for the Titles */
    /* This targets the title link/text inside your cards */
    .centerBoxContents.card .itemTitle, 
    .centerBoxContents.card h3,
    .centerBoxContents.card a {
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important; /* Limits to 3 lines */
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        
        /* Forces all titles to occupy the same vertical space */
        min-height: 3.9em !important; 
        line-height: 1.3em !important;
        font-size: 0.85rem !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    /* 3. Your working Clearfix */
    .centerBoxWrapper::after {
        content: "";
        display: table;
        clear: both;
    }
}

.itemTitle-h5 {
font-size: 1.15rem; line-height: 1.3; }

.custom-quantity-box {
  width: 80px; /* or any specific size */
}


.table-bordered {
  border: 1px solid #dee2e6;
  width: 100%;
}


/* This is used to re-size images */
img {
    max-width: 100%;
    height: auto;
    border: 0;
}

.qmix > br {
    display: none;
}

.normalprice, .productSpecialPriceSale {
    text-decoration: line-through;
}

#back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    z-index: 1;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}

#back-to-top.show {
    opacity: 1;
    z-index: 1;
}

/* set height of scrollable area in mobile menu */
div#navbarSupportedContent {
    max-height:90vh;
    overflow-y:auto;
}

.zca-banner {
    text-align: center;
}

.ot-title {
    text-align: right;
}
.ot-text,
.totalCell {
    text-align: right;
}

.centeredContent {
    text-align: center;
    padding: 1rem;
}

table.tabTable td {
    padding-top: 0.25rem;
    padding-right: 0.5rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
}
#indexProductList-cat-wrap {
    margin-bottom: 1rem;
}
#productsListing-bottomRow {
    margin-top: 1rem;
}

.sideBoxContent select {
    margin-bottom: 1rem;
}
#navCatTabs a,
#navCatTabs a:hover {
    border: 0.125rem solid #007faf;
}

/* These CSS media queries control how many columns of cards display on the login, checkout_shipping, checkout_payment & checkout_confirmation pages */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
.card-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}
}

/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.card-columns {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
.card-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
.card-columns {
  -webkit-column-count: 2;
  -moz-column-count:2;
  column-count: 2;
}
}



