:root {
    --gutter: 16px;
    --primary-color: #000;
    --top-bar-height: 90px;
    --top-bar-small-height: 55px;
}

.btn-primary {

    --bs-btn-color: #fff;
    --bs-btn-bg: #000;
    --bs-btn-border-color: #000;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #FFF;
    --bs-btn-hover-border-color: #000;
    --bs-btn-focus-shadow-rgb: 0, 0, 0;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #666;
    --bs-btn-active-border-color: #000;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #999;
    --bs-btn-disabled-border-color: #666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #f9f9f9;
    /* font-size:12px; */


}

.btn {
    font-weight: 700;
    font-size: 0.8em;
}

.btn.btn-brand:HOVER i.bi.bi-trash3 {
    display: inline-block !important;
}

html,
body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    height: 100%;
    --bs-card-border-width: 3px;
    --bs-card-border-radius: 2rem;
    --bs-card-inner-border-radius: calc(2rem - 3px);
    --bs-card-border-color: rgba(0, 0, 0, 0.175);
}


.mainHolder {
    display: flex;
    flex-direction: column;
}

.shadowBox {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
    background: #FFF;
    padding: 1em;
}



a.brand {
    text-decoration: none;
}

.masonry {
    display: flex;
    flex-direction: row;
    gap: var(--gutter);
}

.pCol {

    max-width: 303px;
    /* background-color: #ddd; */
    flex: 1;
}

.pInnerCol {
    min-height: 10px;
    /*  max-width: 309px;*/
}

.pCol.pCol1 .pInnerCol {
    /* background-color: #F00; */
    min-height: 20px;
}

.pCol.pCol2 .pInnerCol {
    /* background-color: #0F0; */
    min-height: 30px;
}

.pCol.pCol3 .pInnerCol {
    /* background-color: #00f; */
    min-height: 40px;
}

.pin {
    margin-bottom: var(--gutter);
}

.product-card {
    text-decoration: none;
}

.product-card:HOVER .card {
    border-color: #000;
}

.procuctSizes {
    font-size: 0.8em;
    background: #FFF;
    color: #060;
    margin: 2px;
}

.square {
    position: relative;
    border: SOLID 1PX #EEE;
    margin: 10px;
    background-color: #FFFFFF;
    /*   height: 270px; */
}

.square::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.square img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center bottom;
    position: absolute;
    width: calc(100% - 20px);
    top: 10px;
    left: 10px;
}

/*
.product-card.product-type-5 img{
  aspect-ratio: 3 / 2;
}
.product-card.product-type-5 .square::after {
  padding-bottom: 66.6667%;
}
*/

.product-card.product-type-25 img {
    aspect-ratio: 2 / 3;
}

.product-card.product-type-25 .square::after {
    padding-bottom: 150%;
}

.product-sizes {
    font-size: .75em;
}

.product-card-description {
    font-size: .6em;
}

.product-card .card-footer {
    background: none;
    /* border-top: none; */
}

.saleLabel {
    position: absolute;
    z-index: 10;
    top: 15px;
    right: 15px;
    text-align: center;
    font-size: 1.2em;
    line-height: 1em;
    padding-top: .5em;
    font-weight: 700;
    background-color: #C00;
    color: #FFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    transform: rotate(10deg);
}

.pin0 .card {
    min-height: 210px;
}

.pin1 .card {
    min-height: 250px;
}

.pin2 .card {
    min-height: 320px;
}

.pin3 .card {
    min-height: 380px;
}

.pin-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pin-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-end;
    align-items: flex-end;
}

.overlay-content-sizes {
    color: #FFF;
    font-size: 0.8em;
    font-weight: 700;
}

.overlay-content-footer {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: space-between;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.overlay-price {
    font-size: 20px;
    font-weight: 700;
    color: #060;
}

.overlay-from {
    font-size: 0.6em;
    color: #111;
}

.overlay-from del {
    color: #C00;
}

.overlay-discount {
    background: rgba(255, 76, 76, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
}

#loader {
    text-align: center;
    padding: 28px;
    width: 100%
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    margin: 0 3px;
    animation: bounce 0.7s infinite alternate;
}

.dot:nth-child(2) {
    animation-delay: 0.15s;
}

.dot:nth-child(3) {
    animation-delay: 0.30s;
}

@keyframes bounce {
    from {
        transform: translateY(0);
        opacity: 0.4;
    }

    to {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.mainHolder {
    margin-top: var(--top-bar-height);
}

.pinbar {
    position: fixed;
    padding-top: 0.25em;
    top: 0;
    height: var(--top-bar-height);
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    width: 100%;
}

/* .pinbar {
  position: fixed;
  top: 0;
  height: var(--top-bar-height);
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden
} */

.pinbar::-webkit-scrollbar {
    display: none;
}

.brand {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    white-space: nowrap;
    margin-right: 6px;
    flex-shrink: 0;
    font-weight: bold;
}

.brand img.mainLogo {
    max-height: 1.5em;
    /*  max-width: 2em;*/
    margin-right: 0.25em;
}

.cat-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    background: #efefef;
    color: #333;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.cat-btn.active,
.cat-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.categoriesHolder {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categoriesHolder::-webkit-scrollbar {
    display: none;
}

.categoriesHolder::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.like-brand-btn,
.like-btn {
    border: none;
    background: none;
    color: #000;
    font-size: 24px;
    width: 44px;
    cursor: pointer;
}

.product-card .like-btn {
    /* margin-top:auto; */
}

.like-btn:hover {
    transform: scale(1.1);
}

.share-btn {
    border: none;
    background: none;
    color: #000;
    font-size: 24px;
    width: 44px;
    cursor: pointer;
}

.share-btn:hover {
    background: none !important;
    transform: scale(1.1);
}

.offcanvas.offcanvas-end {
    /* width: 90vw; */
    max-width: 100%;
}



.scroll-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    /* border: 1px solid #ccc; */
}

.scroll-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    padding-top: 5px;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    /* pointer-events: none; */
    opacity: 0;
    transition: opacity 0.3s;
}

.scroll-indicator.scroll-indicator-left {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.scroll-indicator.scroll-indicator-right {
    right: 0;

    text-align: right;
}

.scroll-container:hover .scroll-indicator {
    opacity: 1;
}

.offcanvas.offcanvas-bottom.offcanvasFilter {
    height: 50vh;
}

.offcanvasFilter .btn.btn-light i {
    display: none;
}

.like-btn i.bi.bi-heart,
.like-brand-btn i.bi.bi-heart {
    display: inline-block;
}

.like-btn.liked i.bi.bi-heart,
.like-brand-btn.liked i.bi.bi-heart {
    display: none;
}

.like-btn i.bi.bi-heart-fill,
.like-brand-btn i.bi.bi-heart-fill {
    display: none;
}

.like-btn.liked i.bi.bi-heart-fill,
.like-brand-btn.liked i.bi.bi-heart-fill {
    display: inline-block;
}

.brandSubstitute {
    border: solid 1px #222;
    color: #000;
    padding: 0.25em 0.5em;
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {

    .mainHolder {
        margin-top: var(--top-bar-small-height);
    }

    .brand img.mainLogo {
        max-height: 2em;
        margin-right: 0.5em;
    }

    .scroll-container {
        margin-top: 0.25em;
    }

    .pinbar {
        padding-top: 0.5em;
        height: var(--top-bar-small-height);
    }

    .offcanvas.offcanvas-end {
        width: 50vw;
        max-width: 100%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}