/**
 * Main Template CSS Stylesheet
 * 
 * BOOTSTRAP v3.4.0
 *
 */

/* STARTED BY CARLOS */

body {
    font-family: 'Inter', sans-serif;
}

nav.navbar {
    min-height: 40px;
    height: auto;
    margin-top: 10px;
}

.nav-pills .nav-link {
    background: transparent;
    border: 0;
    border-radius: .25rem;
    text-decoration: none;
}

.fixed-top {
    top: 0 !important;
}

/* These were added by Carlos to override the Admin Gui Colors. Delete if want to use Gui again */
/* CATEGORY TAB NAVIGATION STRUCTURE */
#categoriesTabs {
    margin-bottom: 0 !important;
	gap: 0 !important;
}

#categoriesTabs .nav-item {
    border-right: 1px solid rgba(255,255,255,0.15) !important;
	margin-right: 0 !important;
}

#categoriesTabs .nav-item:last-child {
    border-right: none !important;
}

#categoriesTabs .nav-link {
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    border-radius: 0 !important;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease !important;
}

#navCatTabsWrapper,
#categoriesTabsWrapper,
#headerWrapper {
    margin-bottom: 0;
}
#categoriesTabs {
    margin-bottom: 0 !important;
}

#navCatTabs {
    background-color: inherit;
}


/* End of area added to replace Gui by Carlos */

/* Making logo area more narrow to reduce space by Carlos*/
.pt-4, .py-4 {
    padding-top: 1.25rem !important;
}

/* End of logo area more narrow to reduce space by Carlos*/
/* Search bar below category tabs */
#headerSearchBelowTabs {
    display:flex;
    justify-content:center;
    align-items:center;
    padding:4px 0;
    margin-top:0;
    margin-bottom:2px;
    height:auto;
    background:#e8ddd0;
}

.header-right-info {
    font-size: 16px;
    font-weight: 500;
    color: #5a3e2b;
    white-space: nowrap;
}


/* To reduce space above the home slider image by carlos*/
/* Remove space only above the slider */
/* Remove space ABOVE the slider image */
#home-slider,
#carouselHomeSlider {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
#logoWrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
	margin-top: 10px;
}

#logo {
    justify-content: center;
}

.bell {text-align:center;}

/* Remove spacing from container wrapping the slider */
#indexDefault,
.centerColumn,
#indexHomeBody {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* End of to reduce space above the home slider image by carlos*/



#headerSearchBelowTabs .input-group {
    width: 100%;
	max-width: 620px !important;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: none;
}


#headerSearchBelowTabs .form-control {
    background:#f5efe7;
    border:none;
    box-shadow:none;
    height:38px;
    padding:8px 14px;
    font-size:14px;
    color:#4b372a;
}

#headerSearchBelowTabs .form-control::placeholder {
    color: #8a6f58;
}

#headerSearchBelowTabs .input-group-append {
    margin-left: 0;
}

#headerSearchBelowTabs .btn.button_search {
    background:#6b4a34;
    border:none;
    box-shadow:none;
    height:38px;
    padding:0 18px;
    font-weight:600;
    color:#fff;
    text-decoration:none;
    transition:all 0.2s ease;
    border-radius:0 6px 6px 0;
}

#headerSearchBelowTabs .btn.button_search:hover,
#headerSearchBelowTabs .btn.button_search:focus {
    background: #8a6348;
    border-color: #7a5540;
    color: #fffaf2;
}

/* Home page hero text */
.carousel-item {
    position: relative;
}

.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.35) 35%,
        rgba(0,0,0,0.10) 60%,
        rgba(0,0,0,0.00) 100%
    );
    z-index: 2;
}

.hero-text {
    position:absolute;
    top:42%;
    left:8%;
    transform:translateY(-50%);
    z-index:3;
    text-align:left;
    max-width:640px;
}

.hero-text h1 {
    font-family:'Playfair Display', serif;
    font-size:42px;
    font-weight:700;
    letter-spacing:0.8px;
    text-transform:uppercase;
    color:#f5f0e6;
    text-shadow:0 3px 8px rgba(0,0,0,0.65);
    margin-bottom:10px;
    line-height:1.05;
}
.hero-text p {
    font-size:19px;
    color:#f1e6d8;
    font-weight:600;
    letter-spacing:0.3px;
    text-shadow:0 2px 6px rgba(0,0,0,0.6);
    margin-bottom:6px;
}

.hero-tagline {
    display:block;
    margin-top:6px;
    font-size:15px;
    letter-spacing:0.4px;
    color:#e2d2bd;
    text-shadow:0 2px 6px rgba(0,0,0,0.6);
}

.hero-btn {
    display:inline-block;
    margin-top:18px;
    padding:12px 24px;
    background:#6b4a34;
    color:#fff !important;
    font-size:15px;
    font-weight:600;
    letter-spacing:0.4px;
    text-decoration:none !important;
    border-radius:6px;
    transition:all 0.2s ease;
    box-shadow:none;
}

.hero-btn:hover {
    background:#7a563d;
    color:#fff !important;
    text-decoration:none !important;
}


/* ===== ADD THIS BELOW EVERYTHING ===== */
#slideshow img,
#banner img,
.nivoSlider img,
#homepageSlider img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
}


/* Fix homepage slider container */
#slideshow,
#banner,
.nivoSlider,
#homepageSlider {
	height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
	max-height: none !important;
}

/* Ensure image fills width properly */
#slideshow img,
#banner img,
.nivoSlider img,
#homepageSlider img {
    width: 100%;
    height: auto;
    display: block;
}

/* End of home page image text */

.mx-auto {
    max-width: 100%;
}

#carouselHomeSlider .carousel-item img {
    max-width: 100%;
    width: auto;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

#conditionsDefault-pageHeading {display:none;}

@media (min-width: 576px) {
    .form-inline .input-group {
        width: 55%;
    }

    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 3.5rem;
        padding-left: .5rem;
		text-decoration: none;
    }
}

/* Customizations Added by Carlos */
.mt-5 {
    margin-top: .25rem !important;
}

.list-group-flush > .list-group-item {
    border-width: 1px 1px 1px;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 1.0rem 1.0rem;
    border: 0px solid rgba(0, 0, 0, .125);
}

.list-group-item a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
}

.card {
	border:none;
}

.card img,
.product img {
    border-radius: 6px;
}


.leftBoxHeading {background-color: #6b4a34;}

.phone2 {
    display: none;
}

#productListing .item {
    padding: 8px !important;
}

.p-2 btn {color:#ffffff;}
/* END BY CARLOS */

@media only screen and (max-width: 768px) and (orientation: portrait) {
    .phone2 {
        display: block;
        text-align: center;
        font-size: 2em;
        margin-top: 5px;
    }

    #logoWrapper {
        text-align: center;
    }

    #taglineWrapper {
        margin-top: 10px;
    }
}

#tagline {
    font-weight: bold;
}

@media (min-width: 768px) {
    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 992px) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 1200px) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 576px) {
    .card-deck .card {
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        margin-right: 0px;
        margin-bottom: 0;
        margin-left: 0px;
    }
}

@media only screen and (orientation: portrait) {
    .navbar-nav {
        background-color: #ffffff;
    }

    .phone2 {
        font-size: 1.05rem;
        text-align: center;
    }
}

/* Responsive mobile fixes */
@media (max-width: 767px) {

    #headerWrapper {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        margin-bottom: 0 !important;
    }

    #logoWrapper {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        text-align: center;
    }

    #logoWrapper #logo {
        justify-content: center;
        text-align: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    #hdr-img {
        display: block;
        width: 100%;
        text-align: center;
    }

    #hdr-img img {
        max-width: 400px;
        width: 100%;
        height: auto;
    }

    .phone2 {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        padding-top: 5px;
        text-align: center;
    }
  
	
	#headerSearchBelowTabs {
    display:flex;
    justify-content:center;
    align-items:center;
    padding:6px 0;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    height:auto;
    background:#e8ddd0;
}
	

    #carouselHomeSlider,
    #home-slider,
    #carouselHomeSlider .carousel-inner,
    #carouselHomeSlider .carousel-item {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        margin-top: 0 !important;
    }

    #carouselHomeSlider .carousel-item {
        overflow: hidden;
    }

    #carouselHomeSlider .carousel-item img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        display: block !important;
        object-fit: cover !important;
    }

    .hero-text {
        left: 6% !important;
        right: 6% !important;
        top: 58% !important;
        transform: translateY(-50%) !important;
        max-width: none !important;
    }

    #carouselHomeSlider .hero-text {
        left: 5% !important;
        right: 5% !important;
        top: 56% !important;
        max-width: 70% !important;
    }

    #carouselHomeSlider .hero-text h1 {
        font-size: 14px !important;
        line-height: 1.1 !important;
        margin-bottom: 4px !important;
    }

    #carouselHomeSlider .hero-text p {
        font-size: 10px !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
    }

    #carouselHomeSlider .hero-tagline {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
}


#logoWrapper #logo {
    max-width: 1200px;
    margin: 0 auto;
}

/* LEFT COLUMN WIDTH OVERRIDE */
#navColumnOne {
    flex: 0 0 180px !important;
    width: 180px !important;
    max-width: 180px !important;
    padding-left: 15px !important;
    padding-right: 10px !important;
	padding-top:15px !important;
	border-right: 1px solid #e9e9e9;
}

#navColumnOneWrapper {
    width: 100% !important;
}

/* keep filter from forcing extra width */
#filterBox,
#filterBoxForm,
#filterBox .sideBoxContent,
#filterBox .sideBoxContentCentered {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

#filterBox .card-header:first-child {
    background: #5a3a21;
    color: #fff;
    border-radius: 6px 6px 0 0;
}
#filterBoxForm .btn-primary {
    width: 100%;
    font-weight: 600;
}

#filterBoxForm .form-check:hover {
    background: #f8f9fb;
}

/* MOBILE PRODUCT IMAGE FIX */
#productMainImage img,
#productMainImage a img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
}

#productMainImage {
    width: 100%;
    overflow: hidden;
}

#productMainImage,
#productMainImage img {
    display: block;
}

/* Header logo size fix */
#hdr-img img,
#logoWrapper #logo img,
#logo img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Desktop logo sizing */
@media (min-width: 768px) {
    #hdr-img img,
    #logoWrapper #logo img,
    #logo img {
        max-height: 110px !important;
        width: auto !important;
    }
}


/* LARGE IMAGE MODAL FIX + MOBILE MENU */
@media (max-width: 767.98px) {
    .modal-dialog,
    #image-modal .modal-dialog {
        max-width: 95vw !important;
        width: 95vw !important;
        margin: 1rem auto !important;
    }

    .modal-content,
    #image-modal .modal-content {
        max-width: 100% !important;
    }

    .modal-body,
    #image-modal .modal-body {
        padding: 10px !important;
        overflow: auto !important;
    }

.modal-body img,
#image-modal img,
.modal img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 95vw !important;
    max-height: none !important;
    margin: 0 auto !important;
}
    html.modal-open,
    body.modal-open {
        overflow: auto !important;
    }

    /* Mobile menu */
    #navMainWrapper,
    #navMain,
    .navbar {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        z-index: 9999 !important;
        background: #ffffff !important;
    }

    .navbar-collapse,
    #navbarSupportedContent {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px 15px !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        z-index: 99999 !important;
    }

    .navbar-collapse .nav-link,
    .navbar-collapse a {
        display: block;
        width: 100%;
        padding: 10px 0;
        text-align: left;
    }

    .navbar-collapse .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        min-width: 100% !important;
        border: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 0 0 12px !important;
        background: transparent !important;
    }

    .navbar-collapse .header-right-info,
    .navbar-collapse .header-right-info-right,
    .navbar-collapse .navMainSearch,
    .navbar-collapse .contact-us,
    .navbar-collapse .dealer-application {
        display: block !important;
        width: 100% !important;
    }

    .navbar-collapse .header-right-info a,
    .navbar-collapse .header-right-info-right a {
        display: block !important;
        width: 100% !important;
        margin: 0 0 10px 0 !important;
        text-align: left !important;
    }

    .navbar-collapse .header-right-info .phone,
    .navbar-collapse .header-right-info .phone2,
    .navbar-collapse .header-right-info-right .phone,
    .navbar-collapse .header-right-info-right .phone2 {
        display: block !important;
        width: 100% !important;
        margin-top: 6px !important;
        text-align: left !important;
    }

    #navbarSupportedContent ul,
    #navbarSupportedContent li {
        display: block !important;
        width: 100% !important;
    }

    #navbarSupportedContent li a {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 10px !important;
    }

    #headerWrapper,
    #logoWrapper,
    #logo,
    #hdr-img {
        position: relative;
        z-index: 1 !important;
    }

    /* Hide EZ-pages heading text on mobile */
    #navbarSupportedContent #ezpagesDropdown {
        display: none !important;
    }
}

/* Desktop/tablet restore */
@media (min-width: 768px) {
    .modal-dialog,
    #image-modal .modal-dialog {
        max-width: none !important;
        width: auto !important;
        margin: 1.75rem auto !important;
    }

    .modal-body,
    #image-modal .modal-body {
        padding: 15px !important;
        overflow: visible !important;
    }

    .modal-body img,
    #image-modal img,
    .modal img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto !important;
    }

    html.modal-open,
    body.modal-open {
        overflow: hidden !important;
    }
}

/* =========================
   Product Attributes Cleanup
   Zen Cart 2.1.0 Bootstrap
   ========================= */

/* Main attributes area */
#productAttributes,
.wrapperAttribsOptions,
.attribsContainer,
[id^="attributeOptions"] {
    margin-top: 20px;
}

/* Section heading */
#productAttributes h4,
.wrapperAttribsOptions h4,
.attribsContainer h4,
[id^="attributeOptions"] h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 14px;
}

/* Attribute card */
.wrapperAttribsOptions .card,
[id^="attributeOptions"] .card {
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: none;
    overflow: hidden;
}

/* Attribute title bar */
.wrapperAttribsOptions .card-header,
[id^="attributeOptions"] .card-header {
    background: #faf8f5;
    color: #2f2f2f;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-size: 1rem;
    padding: 16px;
    border-bottom: 1px solid #ece7e1;
    text-align: center;
}

/* Card body */
.wrapperAttribsOptions .card-body,
[id^="attributeOptions"] .card-body {
    display: block;
    padding: 14px 16px 10px;
}

/* Dropdown */
#productAttributes select,
.wrapperAttribsOptions select,
.attribsContainer select,
[id^="attributeOptions"] select {
    display: block;
    width: 100%;
    margin: 0 0 18px 0;
    min-height: 48px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 0 14px;
    box-shadow: none;
}

#productPrices,
#product-price,
#productsPricing,
.product-price,
#price {
    margin-top: 8px !important;
}


#attributesWrapper {
    margin-bottom: 12px !important;
}



/* Swatch grid */
.attribSwatchGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 12px;
    align-items: stretch;
    margin: 0;
}

/* Swatch tile */
.attribSwatchGrid > div {
    min-height: 150px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 10px 8px;
    margin: 0;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s ease;
    height: 100%;
}

/* Hide blank swatch cells */
.attribSwatchGrid > div:empty,
.attribSwatchGrid > .hidden-empty,
.attribSwatchGrid > br,
.attribSwatchGrid > br.clearBoth,
.attribSwatchGrid > br.hidden-empty {
    display: none !important;
}

.attribSwatchGrid > br {
    content: none !important;
}


/* Hover */
.attribSwatchGrid > div:hover {
    border-color: #c6b29b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

/* Selected */
.attribSwatchGrid > div.is-selected {
    border-color: #b59678;
    box-shadow: 0 2px 6px rgba(154,123,92,0.08);
    background: #fcfaf7;
}

/* Links */
.attribSwatchGrid > div a {
    text-decoration: none;
    color: #222;
    display: block;
}

/* Images */
.attribSwatchGrid img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    display: block;
    margin: 0 auto 2px;
    border-radius: 4px;
}

/* Labels */
.attribSwatchGrid .attribImg,
.attribSwatchGrid .attribImg a,
.attribSwatchGrid .attribImg span,
.attribSwatchGrid .attribImg div,
.attribSwatchGrid .attribImg p,
.attribSwatchGrid .attribImg strong,
.attribSwatchGrid .attribImg b {
    font-size: 11px !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.attribSwatchGrid .attribImg a {
    display: block;
}

.attribSwatchGrid .attribImg img {
    margin-bottom: 0 !important;
}




/* Mobile */
@media (max-width: 767.98px) {
    .attribSwatchGrid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 12px;
	}

    .attribSwatchGrid > div {
        min-height: 145px;
        padding: 10px 8px;
    }

    .attribSwatchGrid img {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }

    .attribSwatchGrid a,
    .attribSwatchGrid span,
    .attribSwatchGrid label {
        font-size: 0.85rem;
        line-height: 1.25;
    }
}

/* Hide duplicate category link under header */
#categoryIcon {
    display: none !important;
}


/* ================================
   ADD TO CART FINAL CLEAN FIX
   ================================ */

/* Remove green header */
#addToCart-card-header {
    display: none !important;
}

/* Move entire cart section UP */
#productsPriceBottom-card {
    margin-bottom: 5px !important;
}

/* Tighten space above cart */
#addToCart-card {
    margin-top: 5px !important;
}

/* Align input + button */
#cartAdd {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

/* Input styling */
#cartAdd input {
    height: 42px !important;
    max-width: 100px;
}

/* Button styling */
#cartAdd .btn {
    height: 42px !important;
    padding: 0 18px !important;
    white-space: nowrap;
}

/* CENTER the whole block (this is what you're missing) */
#addToCart-card {
    display: flex !important;
    justify-content: center;
}

/* ================================
   ADD TO CART - MOBILE FULL WIDTH
   ================================ */

@media (max-width: 767px) {

    #cartAdd {
        display: block !important;
        width: 100% !important;
    }

    #cartAdd .input-group {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }

    #cartAdd .form-control,
    #cartAdd input {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    #cartAdd .input-group-append,
    #cartAdd .input-group-btn {
        display: block !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    #cartAdd .btn {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Additional images - keep proportional sizing */
/* Additional image thumbnails */
#productInfo-productAdditionalImages .card-deck .card a.imageModal img {
    width: auto !important;
    height: auto !important;
    max-width: 200px !important;
    max-height: 200px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Modal image should open large */
#productInfo-productAdditionalImages #myModal img,
#productInfo-productAdditionalImages .modal img,
#productInfo-productAdditionalImages .showimage {
    width: auto !important;
    height: auto !important;
    max-width: 95vw !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto !important;
}

/* Remove extra spacing above additional images */
#productInfo-productAdditionalImages > .p-3 {
    display: none !important;
}

/* ================================
   TOP NAV - LIGHT COMPACT TABS
   ================================ */

@media (min-width: 992px) {

    #navMain .navbar {
        margin-top: 0 !important;
        padding: 0 !important;
    }

    #navMain .navbar-collapse {
        border-radius: 4px;
        overflow: hidden;
        min-height: 38px;
    }

    #navMain .navbar-nav {
        width: auto !important;
    }

    #navMain .navbar-nav .nav-item {
        flex: 0 0 auto !important;
        text-align: center;
        border-right: 1px solid #d3b996;
    }

    #navMain .navbar-nav .nav-link {
        padding: 7px 14px !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
        color: #4a2f1a !important;
        background: transparent;
        white-space: nowrap;
    }

    #navMain .navbar-nav .nav-link:hover {
        background: rgba(90,58,33,0.08);
    }
	
	#navMain .nav-link:hover {
    transform: translateY(-1px);
}
	
	#navMain .nav-link.active {
    background: rgba(90,58,33,0.12);
}
	
	#navMainWrapper {
    margin-bottom: 14px;
}

    #navMain #ezpagesBarHeader {
        margin-left: auto !important;
    }

    #navMain #ezpagesBarHeader .nav-link {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    #navMain .navbar-nav.ml-3 {
        margin-left: 6px !important;
    }
}

/* EZ Pages - match main nav tabs */
#navMain #ezpagesBarHeader {
    background: transparent !important;
    border: none !important;
}

#navMain #ezpagesBarHeader .nav {
    display: flex;
    align-items: center;
}

#navMain #ezpagesBarHeader .nav-item {
    border-left: 1px solid #d3b996;
}

#navMain #ezpagesBarHeader .nav-item:first-child {
    border-left: none;
}

#navMain #ezpagesBarHeader .nav-link {
    background: transparent !important;
    color: #5a3a21 !important;
    font-size: 13px !important;
    padding: 7px 14px !important;
    white-space: nowrap;
}

#navMain #ezpagesBarHeader .nav-link:hover {
    background: rgba(90,58,33,0.08);
}

#headerWrapper > .row {
    margin-top: 16px;
}

/* EZ Pages hover - match top nav */
#navMain #ezpagesBarHeader .nav-link:hover,
#navMain #ezpagesBarHeader .nav-link:focus {
    background: rgba(90,58,33,0.08) !important;
    color: #3e2a18 !important;
    transform: translateY(-1px);
}

/* ACCOUNT PAGE BUTTON LINK COLOR FIX */
#accountDefault a,
#accountDefault .button a,
#accountDefault .cssButton,
#accountDefault .cssButton a {
  color: #ffffff !important;
}

#accountDefault a:hover,
#accountDefault .button a:hover,
#accountDefault .cssButton a:hover {
  color: #ffffff !important;
}

/* ===== GHI HEADER SOCIAL ===== */

.social-top-icons {
    align-items: center;
}

.social-item .social-link {
    padding: 0 3px !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 28px;
    color: #c7a56a !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-item .social-link:hover {
    color: #ffffff !important;
}

.phone-item .phone-link {
    display: flex;
    align-items: center;
}

/* TEST - GHI SOCIAL ICON SIZE */
ul.social-top-icons li.social-item a.social-link {
    font-size: 32px !important;
    color: red !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

/* ===== GHI TOP SOCIAL ICON OVERRIDE ===== */

#navMain .navbar-nav.social-top-icons .social-item .social-link {
    padding: 7px 5px !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #c7a56a !important;
}

#navMain .navbar-nav.social-top-icons .social-item:first-child .social-link {
    padding-left: 5px !important;
}

#navMain .navbar-nav.social-top-icons .phone-item .phone-link {
    padding: 7px 14px !important;
    font-size: 13px !important;
}

/* Remove extra space before Facebook */

#navMain .navbar-nav.social-top-icons .social-item {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#navMain .navbar-nav.social-top-icons .social-item:first-child {
    margin-left: -2px !important;
}

#navMain .navbar-nav.social-top-icons .social-item {
    margin-right: 4px !important;
}

/* Make social icons stand out more */

/* ===== COLOR SOCIAL ICONS ===== */

#navMain .navbar-nav.social-top-icons .social-item .social-link {
    text-shadow: 0 0 1px rgba(0,0,0,0.25);
    transition: all 0.25s ease;
    transform: scale(1);
}

/* Facebook */
#navMain .navbar-nav.social-top-icons .social-item:first-child .social-link {
    color: #1877f2 !important;
}

/* TikTok */
#navMain .navbar-nav.social-top-icons .social-item:nth-child(2) .social-link {
    color: #000000 !important;
}

/* Hover */
#navMain .navbar-nav.social-top-icons .social-link:hover {
    transform: scale(1.18);
    opacity: 0.85;
}

/* ===== SVG SOCIAL ICONS ===== */

.social-link img {
    width: 22px;
    height: 22px;
    display: block;
    transition: all 0.25s ease;
}

.social-facebook img {
    filter: none;
}

.social-tiktok img {
    filter: none;
}

.social-link:hover img {
    transform: scale(1.15);
    opacity: 0.85;
}

/* =========================================
   HOMEPAGE - NEW PRODUCTS SECTION MODERNIZATION
   ========================================= */

#whatsNew {
    margin-top:18px;
    border:none;
    box-shadow:none;
    background:transparent;
}

/* New Products Heading Bar */
#newCenterbox-card-header {
    background:#2f2f2f;
    color:#fff;
    font-size:20px;
    font-weight:700;
    letter-spacing:0.3px;
    padding:12px 18px;
    border:none;
    border-radius:0;
    margin-bottom:18px;
}

/* New Products Body Wrapper */
#newCenterbox-card-body {
    padding:0;
    background:transparent;
}

/* Individual Product Cards */
.centerBoxContentsNew {
    background:#fff;
    border:1px solid #e7dfd3;
    border-radius:8px;
    transition:all 0.2s ease;
    box-shadow:none;
}

/* Product Card Hover */
.centerBoxContentsNew:hover {
    transform:translateY(-2px);
    border-color:#d7c6b2;
}

/* Product Images */
.centerBoxContentsNew img {
    border-radius:4px;
}

/* Product Titles */
.centerBoxContentsNew a {
    color:#4b372a;
    font-weight:600;
    text-decoration:none;
}

/* Product Title Hover */
.centerBoxContentsNew a:hover {
    color:#6b4a34;
    text-decoration:none;
}

/* =========================================
   HOMEPAGE - PRODUCT CARD TYPOGRAPHY REFINEMENT
   ========================================= */

.centerBoxContentsNew {
    padding-bottom:18px !important;
}

.centerBoxContentsNew a {
    display:block;
    font-size:15px;
    line-height:1.35;
    margin-top:12px;
}

.centerBoxContentsNew .productPrice,
.centerBoxContentsNew .normalprice,
.centerBoxContentsNew .saleprice {
    font-size:14px;
    margin-top:10px;
    color:#5a4638;
}

/* =========================================
   HOMEPAGE - RESPONSIVE NEW PRODUCTS GRID
   Allows all product cards to flow together
   instead of staying locked inside each Bootstrap row
   ========================================= */

#newCenterbox-card-body {
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    justify-content:center;
}

#whatsNew .card-deck {
    display:contents;
}

#whatsNew .card-deck .centerBoxContentsNew {
    flex:1 1 calc(25% - 18px);
    max-width:calc(25% - 18px);
    min-width:240px;
    margin:0 !important;
}

#whatsNew .centerBoxContentsNew img {
    width:100%;
    max-width:100%;
    height:auto;
    display:block;
    margin:0 auto;
    border-radius:4px;
}

/* Medium desktop / narrow laptop */
@media only screen and (max-width:1200px) {
    #whatsNew .card-deck .centerBoxContentsNew {
        flex:1 1 calc(33.333% - 18px);
        max-width:calc(33.333% - 18px);
    }
}

/* Tablet */
@media only screen and (max-width:992px) {
    #whatsNew .card-deck .centerBoxContentsNew {
        flex:1 1 calc(50% - 18px);
        max-width:calc(50% - 18px);
    }
}

/* Mobile */
@media only screen and (max-width:768px) {
    #newCenterbox-card-body {
        gap:18px;
    }

    #whatsNew .card-deck .centerBoxContentsNew {
        flex:0 0 100% !important;
        max-width:100% !important;
        min-width:0;
        margin-bottom:0 !important;
    }

    #whatsNew .centerBoxContentsNew a {
        font-size:16px !important;
        line-height:1.4 !important;
        word-break:normal !important;
        overflow-wrap:break-word !important;
    }
}

/* =========================================================
   GHI PRODUCT INFO - TABLET AND MOBILE LAYOUT
   ========================================================= */

@media (max-width: 991.98px) {

    #productInfo-displayRow {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "additional"
            "details"
            "description";
        gap: 0;
        margin-left: 0;
        margin-right: 0;
    }

    /*
     * Allows the image and description inside the original
     * left column to be positioned separately in the grid.
     */
    #productInfo-displayColLeft {
        display: contents;
    }

    #productInfo-productMainImage {
        grid-area: image;
        padding-top: 0 !important;
    }

    #productInfo-productAdditionalImages {
        grid-area: additional;
    }

    #productInfo-displayColRight {
        grid-area: details;
        width: 100%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    #productInfo-productDescription {
        grid-area: description;
        width: 100%;
        margin-top: 1rem;
    }

    #productInfo-productMainImage a {
        display: block;
    }

    #productInfo-productMainImage img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    #productInfo-productReviewLink,
    #productInfo-productReviewCount {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   GHI PRODUCT INFO - COMPACT PURCHASE AREA
   Applies to desktop, tablet and mobile
   ========================================================= */

#productInfo-displayColRight {
    margin-bottom: 0 !important;
}

/* Reduce Bootstrap spacing throughout the purchase column. */
#productInfo-displayColRight .mt-3 {
    margin-top: 0.5rem !important;
}

#productInfo-displayColRight .mb-3 {
    margin-bottom: 0.5rem !important;
}

#productInfo-displayColRight .my-3 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

#productInfo-displayColRight .p-3 {
    padding: 0.5rem !important;
}

/* Wholesale price area. */
#productsPriceTop-card {
    margin-top: 0 !important;
    margin-bottom: 0.45rem !important;
}

#productsPriceTop-card-body {
    padding: 0.4rem 0.65rem !important;
}

#productsPriceTop-productPriceTopPrice {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Please Choose and attribute selection. */
#attributes-card {
    margin-top: 0 !important;
    margin-bottom: 0.45rem !important;
}

#attributes-card-header {
    padding: 0.4rem 0.65rem !important;
}

#attributes-card-body {
    padding: 0.4rem !important;
}

#productAttributes .wrapperAttribsOptions {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#productAttributes .wrapperAttribsOptions .card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#productAttributes .wrapperAttribsOptions .card-body {
    padding: 0.4rem !important;
}

/* Quantity and Add to Cart. */
#addToCart-card {
    margin-top: 0.45rem !important;
    margin-bottom: 0 !important;
}

#cartAdd {
    padding: 0.4rem !important;
}

#cartAdd .input-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =========================================================
   TABLET PRODUCT LAYOUT
   ========================================================= */

@media (min-width: 576px) and (max-width: 991.98px) {

    #productInfo-displayRow {
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
        grid-template-areas:
            "image details"
            "additional details"
            "description description";
        column-gap: 1rem;
        row-gap: 0;
        align-items: start;
    }

    #productInfo-productDescription {
        margin-top: 0.35rem;
    }
}


/* =========================================================
   MOBILE PURCHASE AREA
   ========================================================= */

@media (max-width: 575.98px) {

    #productInfo-displayColRight .mt-3 {
        margin-top: 0.35rem !important;
    }

    #productInfo-displayColRight .mb-3 {
        margin-bottom: 0.35rem !important;
    }

    #productInfo-displayColRight .my-3 {
        margin-top: 0.35rem !important;
        margin-bottom: 0.35rem !important;
    }

    #attributes-card,
    #productsPriceTop-card {
        margin-bottom: 0.35rem !important;
    }

    #addToCart-card {
        margin-top: 0.35rem !important;
    }

    #attributes-card-body,
    #productAttributes .wrapperAttribsOptions .card-body,
    #cartAdd {
        padding: 0.3rem !important;
    }
}

/* Hide redundant attribute option-group heading. */
#productAttributes .optionName {
    display: none !important;
}

/* =========================================================
   GHI 1024PX SIDEBAR / MAIN COLUMN WRAP FIX
   ========================================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {

    #navColumnOne {
        flex: 0 0 180px;
        max-width: 180px;
    }

    #navColumnOne + .col-12.col-lg-10 {
        flex: 0 0 calc(100% - 180px);
        max-width: calc(100% - 180px);
    }
}

/* =========================================================
   GHI PRODUCT INFO - TABLET LANDSCAPE / SMALL LAPTOP
   Moves description below both product columns
   ========================================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {

    #productInfo-displayRow {
        display: grid;
        grid-template-columns: minmax(0, 42%) minmax(0, 58%);
        grid-template-areas:
            "image details"
            "additional details"
            "description description";
        column-gap: 1rem;
        row-gap: 0;
        margin-left: 0;
        margin-right: 0;
        align-items: start;
    }

    #productInfo-displayColLeft {
        display: contents;
    }

    #productInfo-productMainImage {
        grid-area: image;
        padding-top: 0 !important;
    }

    #productInfo-productAdditionalImages {
        grid-area: additional;
    }

    #productInfo-displayColRight {
        grid-area: details;
        width: 100%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    #productInfo-productDescription {
        grid-area: description;
        width: 100%;
        margin-top: 0.5rem;
    }

    #productInfo-productMainImage a {
        display: block;
    }

    #productInfo-productMainImage img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================================
   GHI PRODUCT INFO - DESKTOP LAYOUT
   Description spans beneath image and purchase column
   ========================================================= */

@media (min-width: 1200px) {

    #productInfo-displayRow {
        display: grid;
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
        grid-template-areas:
            "image details"
            "additional details"
            "description description";
        column-gap: 1.5rem;
        row-gap: 0;
        margin-left: 0;
        margin-right: 0;
        align-items: start;
    }

    /*
     * Separates the image and description that normally
     * share the original left-hand Bootstrap column.
     */
    #productInfo-displayColLeft {
        display: contents;
    }

    #productInfo-productMainImage {
        grid-area: image;
        width: 100%;
        padding-top: 0 !important;
    }

    #productInfo-productAdditionalImages {
        grid-area: additional;
    }

    #productInfo-displayColRight {
        grid-area: details;
        width: 100%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    #productInfo-productDescription {
        grid-area: description;
        width: 100%;
        margin-top: 0.75rem;
    }

    #productInfo-productMainImage a {
        display: block;
    }

    #productInfo-productMainImage img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    #productInfo-productReviewLink,
    #productInfo-productReviewCount {
        grid-column: 1 / -1;
    }
}