.ml-1 {
    margin-left: 5px;
}

.ml-2 {
    margin-left: 10px;
}

.ml-3 {
    margin-left: 15px;
}

h1.product-title {
    margin-top: 0;
}

.h1,
h1 {
    font-size: 24px;
    font-weight: 500;
    color: #000;
}

.h3,
h3 {
    font-size: 21px;
    line-height: 1.23 !important;
}

.gallery-thumbnail {
    width: 60px;
    height: 60px;
    margin: 5px;
    cursor: pointer;
}

.product-gallery {
    display: flex;
    flex-direction: column;
}

.fw-500 {
    font-weight: 500;
}

.rating-other {
    font-size: 16px !important;
}

.rating>i {
    color: #ddd;
    cursor: pointer;
}

.rating>i:hover,
.rating>i:hover~i {
    color: #f8ce0b;
}

.rating .icon-star {
    color: #f8ce0b;
}

.rating .icon-star-o {
    color: #ddd;
}

.nav-tabs {
    display: flex;
    flex-wrap: wrap;
}

.nav-tabs .nav-item {
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
}

.nav-tabs .nav-link {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1.23rem 1rem;
}

@media (max-width: 768px) {
    .nav-tabs {
        justify-content: space-between;
    }

    .nav-tabs .nav-item {
        flex-basis: auto;
    }

    .nav-tabs .nav-link {
        font-size: 1.5rem;
    }

    .p-3 {
        padding: 0;
    }
}

#form_add_cart .p-3 {
    padding: 0px !important;
    max-height: 48px;
}

.row-custom.meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.icon-comment,
.icon-heart,
.icon-eye {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.row-custom.price {
    margin-top: 15px;
}

.original-price {
    font-size: 14px;
    margin-right: 15px;
}

.lbl-price {
    font-size: 24px;
}

.row-custom.sku {
    margin-top: 15px;
}

.lbl-sku {
    font-size: 15px;
}

.btn-product-cart {
    text-transform: uppercase;
    margin-top: -5px;
}

.discount-badge {
    font-size: 18px;
    padding: 9px 9px;
    margin-top: 0;
    border-radius: 3px;
    margin-left: 15px;
    background: #000;
}

.custom-fields li {
    color: #575757;
    margin-bottom: 3px;
    font-size: 1.53rem;
}

#collapse_additional_information_content li {
    margin-bottom: 3px;
    font-size: 1.53rem;
}

.custom-fields ul li div p {
    color: #000;
}

@media (max-width: 768px) {
    .row-custom.meta {
        margin-top: 10px;
    }
}



.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.d-lg-inline {
    display: block !important;
}

.product-gallery {
    display: flex;
}

.gallery-thumbnail,
.video-thumbnail {
    width: 80px;
    height: 80px;
    margin: 5px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    object-fit: contain;
}

.video-thumbnail {
    background: rgb(248, 248, 248);
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-thumbnail i {
    color: black;
    font-size: 32px;
}

.product-imagea {
    max-width: 100%;
    max-height: 693px;
    margin-bottom: 5px;
    cursor: pointer;
    object-fit: cover;
}

.h4 {
    color: #000 !important;
}

@media (max-width: 768px) {
    .product-gallery {
        flex-direction: column;
    }

    .gallery-thumbnail,
    .video-thumbnail {
        width: 84px;
        height: 84px;
        max-width: 84px;
        max-height: 84px;
    }

    .d-lg-inline {
        display: none !important;
    }

    .d-lg-inline-block {
        display: none !important;
    }
}



#videoModal .modal-body {
    height: calc(100vh - 100px);
    min-width: 963px;
    width: 100%;
}

#videoIframe {
    height: 100%;
    border: none;
}

.mw-frame {
    min-width: 963px;
}

.font-size-10 {
    font-size: 10px !important;
}

.font-size-12 {
    font-size: 12px !important;
}

.font-size-13 {
    font-size: 13px !important;
}

.font-size-14 {
    font-size: 14px !important;
}

.font-size-16 {
    font-size: 16px !important;
}

.font-size-153 {
    font-size: 1.53rem !important;
}

.lh-12 {line-height: 1.2 !important;}

@media (max-width: 600px) {
    #videoModal .modal-body {
        height: calc(100vh - 100px);
        min-width: 345px;
        width: 100%;
    }

    .mw-frame {
        min-width: 345px;
    }
}

.gallery-container {
    position: relative;
}

.carousel-inner {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.carousel-item {
    flex: 0 0 auto;
    margin-right: 5px;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column;
    }

    .carousel-inner {
        flex-direction: row;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .carousel-inner {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
}



@media (min-width: 768px) {
    .row .col-md-3:nth-child(4n+5) {
        clear: left;
    }
}

.product .card {
    border: 0px solid #ddd !important;
    padding: 0 !important;
}

.product-image-div {
    text-align: center;
}

.product-image-div .row {
    margin: 0;
}

.product-image-div h4 {
    font-size: 15px;
    margin-bottom: 0.5rem;
}

.product-image-div .btn {
    width: 100%;
}

.product-image-div img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-image-div p {
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.might_like .col-sm-12 {
    padding: 0 !important;
}

.might_like .card {
    display: flex;
    flex-direction: column;
}

.might_like .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.might_like .card-text {
    flex-grow: 1;
}

.might_like .card h4 {
    overflow: hidden;
    text-overflow: ellipsis;
}

.pl-1 {
    padding-left: 5px !important;
}

.pl-2 {
    padding-left: 10px !important;
}

.pr-1 {
    padding-right: 5px !important;
}

.ctitle {
    margin-left: -10px;
    font-size: 21px;
    font-weight: 500;
}

.share-label {}

.btn-outline-primary {
    border: none;
}

@media (max-width: 768px) {
    .product-image-div {
        margin-bottom: 20px;
    }

    .might_like .row {
        display: flex;
        flex-wrap: wrap;
    }

    .might_like .col-md-3.col-sm-6.col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .might_like .col-md-2.col-sm-6.col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .ctitle {
        font-size: 20px;
    }

    .col-sm-3 {
        width: 33% !important;
    }

    .viewed-products {}

    .share-labell {
        display: none;
    }

    .btn-outline-primary {
        border: none;
    }
}

#imageGalleryModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#imageGalleryModal .modal-title {
    margin: 0;
}

#imageGalleryModal .close {
    margin: 0;
    padding: 0;
}

#imageGalleryModal .modal-body {
    text-align: center;
}

#imageGalleryModal .modal-body img {
    max-width: 100%;
    max-height: 99vh;
}

.a-brand {
    font-size: 16px;
}

.a-brand-more {
    color: #142127;
    font-weight: 600;
}

.color-me {
    color: #142127;
}

.dropdown-right {
    margin-left: auto !important;
}

.dropdown-menu-right {
    right: 0;
    left: 0px;
    top: 39px;
}

.dropdown-menu-right>li>a {
    display: block;
    padding: 15px 18px;
    clear: both;
    font-weight: 500;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    font-size: 14px;
}

.btn-outline-primary {
    text-transform: none;
}

.dividerLine {
    border-bottom: 1px solid #ececec;
}

.pl-0 {
    padding-left: 0 !important;
}

.ml-0 {
    margin-left: 0 !important;
}

#mainImageContainer {
    text-align: center;
}

.productP,
.productP p {
    font-size: 16px !important;
}

.productP ul {
    margin-left: 20px;
}

.carousell-container {
    position: relative;
    width: 100%;
}

.carousell-wrapper {
    width: 100%;
    overflow-x: scroll !important;
}

.carousell-content {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
}

.carousell-content,
.carousell-content-similar {
    transition: transform 0.3s ease;
}

.carousell-content,
.carousell-content-similar {
    isolation: isolate;
}

.carousel-item-more {
    flex: 0 0 auto;
    width: 200px;
    margin-right: 10px;
}

.carousell-control-prev,
.carousell-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.56);
    color: white;
    border: none;
    padding: 10px;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
}

.carousell-control-prev {
    margin-left: -15px;
}

.carousell-control-next {
    margin-right: -15px;
}

.carousell-control-prev {
    left: 0;
}

.carousell-control-next {
    right: 0;
}

.carousell-control-prev i,
.carousell-control-next i {
    pointer-events: none;
}

.carousell-container {
    position: relative;
    width: 100%;
}

.carousell-wrapper {
    width: 100%;
    overflow-x: scroll;
    padding-bottom: 10px;
    box-sizing: border-box;
}

.carousell-wrapper::-webkit-scrollbar {
    height: 10px;
}

.carousell-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.carousell-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.carousell-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.carousell-wrapper {
    scrollbar-color: #888 #f1f1f1;
    scrollbar-width: none;
}

.carousell-wrapper {
    -ms-overflow-style: scrollbar;
}

.no-scrollbar .carousell-wrapper {
    overflow-x: hidden !important;
}

.no-scrollbar .carousell-control-prev,
.no-scrollbar .carousell-control-next {
    display: none !important;
}

.font-size-18 {
    font-size: 18px !important;
}

#addToCartButton {
    position: relative;
    min-width: 200px;
    background-color: #0e0e0e;
    display: block;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-color: #0e0e0e;
}

#addToCartButton .btn-cart-icon {
    transition: transform 1s ease, opacity 1s ease;
}

#addToCartButton .cart-text {
    transition: opacity 0.3s ease;
}

.cart-text.hidden {
    opacity: 0;
}

.btn-cart-icon.hidden {
    transform: translateX(150px);
    opacity: 0;
}

.btn-cart-icon.moved {
    transform: translateX(150px);
}

.ptb-3 {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}


.bb-1 {
    border-bottom: 1px solid #f3f3f3;
    width: 100%;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
}

.quantity-control {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px;
    border: 1px solid #dedede;
    background: #f8f9fa;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
    margin: 0px;
    padding: 0;
    color: #818181;
}

.quantity-input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: 1px solid #dedede !important;
}

#notifyStockForm .input-group {
    display: flex !important;
}

#notifyStockForm .form-control {
    border-radius: 0.25rem 0 0 0.25rem;
}

#notifyStockForm .btn-primary {
    border-radius: 0 0.25rem 0.25rem 0;
    padding: 0.375rem 0.75rem;
}

.stock-alert {
    max-width: 396px;
}

.text-stock-alert {
    color: #142127;
    font-weight: 600;
}

.input-email-alert {
    vertical-align: baseline;
    height: 30px !important;
    width: 207px !important;
}

.btn-stock-alert {
    vertical-align: baseline;
}

.mt-36 {
    margin-top: 36px !important;
}

.mt-45 {
    margin-top: 45px !important;
}

.clear-w {
    min-width: 50px;
}

.like-me {
    position: absolute;
    left: 0;
}

.like-me a i {
    font-size: 24px;
}

.font-size-21 {
    font-size: 21px !important;
}

.btn-like-big i.far.fa-heart {
    color: black;
}

.btn-like-big i {
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-like-big i:hover {
    transform: scale(1.2);
}

.btn-like-big i.fas.fa-heart {
    color: #c70039;
    animation: pulse 0.5s ease;
}

.cLike {
    margin-top: 5px;
}

.like-count {
    font-size: 12px;
    vertical-align: baseline;
    margin-left: 5px;
}

.like-right {
    position: static;
    margin-left: auto;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .like-me {
        right: 69px;
    }

    .like-right {
        position: absolute;
        right: 5%;
    }

    .input-email-alert {
        width: 171px !important;
        height: 29px !important;
    }
}

.product-details-review {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rating {
    display: inline-flex;
    align-items: center;
    font-size: 14px !important;
    margin-right: 10px;
    cursor: pointer;
    direction: ltr;
}

.stars-wrapper {
    display: inline-flex;
    unicode-bidi: bidi-override;
    direction: rtl;
}

.rating i {
    color: #ddd;
    margin-right: 5px;
}

.rating i.icon-star {
    color: #f8ce0b;
}

.rating.static i {
    cursor: pointer;
}

.product-details-review .rating {font-size: 21px !important;}

.review-count {
    font-size: 14px;
    color: #6c757d;
    margin-left: 9px;
    margin-right: 15px;
    cursor: pointer;
    margin-top: 9px;
}

.like-right {
    position: static;
    margin-left: auto;
}

@media (max-width: 768px) {
    .like-right {
        position: absolute;
        right: 5%;
    }
}

.reviews-list {
    border-top: 1px solid #ececec;
    padding-top: 15px;
}

.reviews-list .rating {
    font-size: 18px;
}

.review-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ececec;
}

.review-item:last-child {
    border-bottom: none;
}

.review-item .rating {
    margin-bottom: 5px;
}

.review-item .review-text {
    font-size: 16px;
    margin-bottom: 10px;
}

.review-item .review-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
}

.review-item .review-meta .user-name {
    font-weight: bold;
    margin-right: 10px;
    margin-bottom: 3px;
    font-size: 16px;
    color: #4f4f4f;
}

.review-item .review-meta .review-date {
    margin-right: 10px;
}

.review-item .verified-purchase {
    color: #28a745;
    font-size: 14px;
    display: inline;
    align-items: center;
    margin-left: 10px;
}

.review-item .verified-purchase i {
    margin-right: 3px;
}

.review-item .review-images {
    margin-top: 10px;
}

.review-item .review-images img {
    max-width: 100px;
    margin-right: 5px;
}

.reviews-summary {
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 345px;
}

.reviews-summary h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.reviews-summary .average-rating {
    font-size: 18px;
    margin-bottom: 10px;
}

.reviews-summary .average-rating i {
    color: #f8ce0b;
    margin-right: 0px;
}

.reviews-summary .average-rating i.far {
    color: #ddd;
}

.reviews-summary .total-reviews {
    font-size: 14px;
    color: #6c757d;
    margin-left: 15px;
}

.reviews-summary .average-of-total {
    margin-left: 5px;
}

.reviews-summary .rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
}

.reviews-summary .rating-bar span {
    width: 50px;
    font-size: 15px;
}

.reviews-summary .rating-bar .bar {
    width: 200px;
    height: 10px;
    background: #ddd;
    margin: 0 10px;
    position: relative;
}

.reviews-summary .rating-bar .bar .fill {
    height: 100%;
    background: #f8ce0b;
    position: absolute;
    top: 0;
    left: 0;
}

.reviews-summary .rating-bar .percentage {
    font-size: 15px;
}

.reviews-summary .how-reviews-work {
    font-size: 12px;
    color: #007bff;
    margin-top: 10px;
    display: block;
}

.reviews-summary .rating-bar {
    cursor: pointer;
    padding-left: 5px;
    padding: 5px;
}

.reviews-summary .rating-bar:hover {
    background-color: #f8f9fa;
}

.reviews-summary .rating-bar.active {
    background-color: #fbfbfb;
}

.filter-controls {
    margin-top: 10px;
    vertical-align: middle;
    display: flex;
}

.filter-controls label {
    font-size: 15px;
    display: inline;
    align-items: center;
    margin-top: 3px;
}

.filter-controls input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #6c757d;
    appearance: none;
    cursor: pointer;
    position: relative;
}

.filter-controls input[type="checkbox"]:checked {
    background-color: #142127;
    border-color: #142127;
    text-decoration: none;
}

.filter-controls input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.filter-controls input[type="checkbox"]:hover {
    border-color: #142127;
}

@media (min-width: 768px) {
    .productP h4.mb-3 {
        margin-bottom: 0 !important;
    }
}

#custom-toast-container-product {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1050;
}

.custom-toast-product {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 369px;
    animation: slideIn 0.5s ease-in-out forwards;
    opacity: 0;
}

.custom-toast-product img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-right: 15px;
    margin-bottom: 45px;
}

.custom-toast-product .toast-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.custom-toast-product h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
    width: 100%;
}

.custom-toast-product .brand-text {
    font-size: 12px;
    color: #6c757d;
    margin: 2px 0;
}

.custom-toast-product .divider {
    border-top: 1px solid #e9ecef;
    margin: 5px 0;
    width: 100%;
}

.custom-toast-product .button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.custom-toast-product .button-group a {
    font-size: 12px;
    padding: 3px 6px;
}

.custom-toast-product:hover {
    animation-play-state: paused;
}

.btn-checkout {
    background-color: #e80c0c !important;
    border-color: #e80c0c !important;
    color: #fff !important;
}

@keyframes slideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

#stickyCartContainer,
.sticky-cart-content {
    z-index: 999999999999 !important;
}

.sticky-cart {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 10px 20px;
    align-items: center;
}

.sticky-cart-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1414px;
    margin: 0 auto;
    width: 100%;
}

.sticky-cart-image img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 5px;
}

.sticky-cart-details {
    flex-grow: 1;
    margin-right: 10px;
}

.sticky-cart-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: #333;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sticky-cart-brand {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.2;
}

.sticky-cart-button {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sticky-cart-button .btn {
    min-width: 50px;
    white-space: nowrap;
}

.sticky-cart-button .stock-alert {
    max-width: 300px;
    margin: 0;
}

.sticky-cart-button .input-group {
    max-width: 250px;
}

.sticky-cart-button .input-email-alert {
    width: 178px !important;
    font-size: 12px;
    margin-right: 3px;
    height: 36px !important;
}

.sticky-cart-button .btn {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.variations {}

@media (max-width: 768px) {
    .sticky-cart {
        top: auto;
        bottom: 0;
        padding: 8px;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    }

    .sticky-cart-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .sticky-cart-image img {
        width: 45px;
        height: 45px;
        margin-right: 3px;
    }

    .sticky-cart-details {
        margin-right: 8px;
        flex-grow: 1;
    }

    .sticky-cart-title {
        font-size: 14px;
        line-height: 1.3;
        -webkit-line-clamp: 3;
    }

    .sticky-cart-brand {
        font-size: 11px;
        line-height: 1.2;
    }

    .sticky-cart-button .btn {
        min-width: 45px;
        font-size: 12px;
        padding: 6px 10px;
    }

    .sticky-cart-button .input-group {
        max-width: 180px;
    }

    .sticky-cart-button .input-email-alert {
        width: 123px !important;
        font-size: 12px;
        margin-right: 3px;
        height: 32px !important;
    }

    .sticky-cart-button .btn-stock-alert {
        padding: 6px 10px;
        font-size: 12px;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header .close {
    margin-left: auto;
    padding: 0.5rem;
}

.inserted-image {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    display: block;
    object-fit: contain;
}

/* Stilizare offcanvas personalizat */
.custom-offcanvas {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Previne overflow-ul necontrolat */
}

.custom-offcanvas.active {
    right: 0;
}

.custom-offcanvas-header {
    padding: 1rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-offcanvas-title {
    margin: 0;
    font-size: 1.25rem;
}

.custom-offcanvas-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
}

.custom-offcanvas-body {
    padding: 1rem;
    flex-grow: 1;
    overflow-y: auto;
    /* Permite derularea doar în body */
}

.custom-offcanvas-footer {
    padding: 1rem;
    border-top: 1px solid #e5e5e5;
    flex-shrink: 0;
    /* Previne micșorarea footer-ului */
}

.free-shipping-message {
    font-size: 0.9rem;
    padding: 0.5rem;
    text-align: center;
}

.cart-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-buttons li {
    margin-bottom: 0.5rem;
}

.cart-buttons .w-100 {
    width: 100%;
    display: block;
    text-align: center;
    /* Centrează textul butoanelor */
}

.cart-items-here {
    max-height: 456px;
    overflow-y: auto;
}

.media-object {
    border-radius: 4px;
}

.remove {
    color: #c70039;
    text-decoration: none;
}

.remove:hover {
    color: #a0002f;
}

.custom-offcanvas-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.custom-offcanvas-overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .inserted-image {
        max-width: 100%;
    }
}

.row-custom.mt-5.mb-5 .button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.row-custom p {
    margin: 0 0 5px;
}

@media (min-width: 769px) {
    .row-custom.mt-5.mb-5 .button-group {
        flex-direction: row;
        justify-content: space-between;
        align-items: end;
    }

    .row-custom.mt-5.mb-5 .button-group .product-price,
    .row-custom.mt-5.mb-5 .button-group .presentation-zone,
    .row-custom.mt-5.mb-5 .button-group form,
    .row-custom.mt-5.mb-5 .button-group .stock-alert {
        flex: 0 0 auto;
    }

    .row-custom.mt-5.mb-5 .button-group .presentation-zone {
        margin-left: auto;
    }

    .row-custom.mt-5.mb-5 .button-group .btn,
    .row-custom.mt-5.mb-5 .button-group a.btn,
    .row-custom.mt-5.mb-5 .button-group .stock-alert {
        width: auto !important;
        min-width: 200px;
    }
}

@media (max-width: 768px) {

    .row-custom.mt-5.mb-5 .button-group .btn,
    .row-custom.mt-5.mb-5 .button-group a.btn,
    .row-custom.mt-5.mb-5 .button-group .stock-alert {
        width: 100% !important;
    }

    .row-custom.mt-5.mb-5 .button-group .input-group {
        width: 100% !important;
    }

    .row-custom.mt-5.mb-5 .button-group .input-email-alert {
        width: calc(100% - 80px) !important;
    }

    .row-custom.mt-5.mb-5 .button-group .btn-stock-alert {
        width: 80px !important;
    }

    .row-custom.mt-5.mb-5 .button-group .ml-1 {
        margin-left: 0 !important;
    }
}

.carousell-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousell-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 6px;
}

.carousell-wrapper::-webkit-scrollbar {
    height: 8px;
}

.carousell-wrapper::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.carousell-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.carousell-content {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding: 10px 0;
}

.carousel-item-more {
    flex: 0 0 auto;
    width: 250px;
    background: #fff;
}

.product-image-div {
    position: relative;
    min-height: 3px;
    overflow: hidden;
    border: 1px solid #ddd;
    padding: 10px;
}

.product-image-div h4 {
    font-size: 15px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.4em;
}

.product-image-div .btn {
    width: 100%;
    padding: 5px;
}

.product-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease-in-out;
}

.product-image.zoom-on-hover {
    transform: scale(1.2);
}

.mh198 {
    min-height: 198px;
}

.product-details {
    position: relative;
    padding-bottom: 33px;
}

.init-hidden {
    display: block;
    position: static;
    background-color: transparent;
    max-height: none;
    padding: 0;
    margin-top: 10px;
    text-align: center;
}

.stock-and-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.stock-availability {
    font-weight: 600;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 12px;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
}

.action-like i {
    color: #888;
    font-size: 14px;
}

.action-like i.fas {
    color: #e80c0c;
}

.action-cart i {
    color: #000;
    font-size: 14px;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.btn-product-cart {
    background-color: #04AA6D !important;
    border-color: #039b63ff !important;
    color: #fff !important;
    padding: 6px 12px;
    font-size: 12px;
    min-width: 150px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border-radius: 4px;
    transition: none;
}

.btn-product-cart:hover {
    background-color: #039b63ff !important;
    border-color: #04c27cff !important;
}

.btn-product-cart .btn-cart-icon i {
    color: #fff !important;
    font-size: 16px !important;
}

.btn-product-cart .cart-text {
    font-size: 14px;
}

.btn-like {
    border: 1px solid #8888881c !important;
    background-color: transparent !important;
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: none;
}

.btn-like i {
    color: #888 !important;
    font-size: 14px !important;
}

.btn-like i.fas {
    color: #e80c0c !important;
}

.carousell-control-prev,
.carousell-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
}

.carousell-control-prev {
    left: 10px;
}

.carousell-control-next {
    right: 10px;
}

.product-image-div:hover .product-image {
    transform: scale(1.1);
}

.product-image-div:hover .product-image[data-hover-src] {
    src: attr(data-hover-src);
}

.products .card {
    box-shadow: none;
    transform: none;
    border: 0;
}

.products .card:hover {
    box-shadow: none;
    transform: none;
    border: 0;
}

.stock-status {
    display: inline-block;
    text-transform: uppercase;
    padding: 5px 0;
    border-radius: 10px;
}

.stock-status.custom-made-btn {
    color: #363636ff;
}

.mt-6 {
    margin-top: 36px !important;
}

.custom-fields p {
    text-align: justify;
}

.bt-1 {
    border-top: 1px solid #f1f1f1;
    padding-top: 3px;
}

@media (max-width: 768px) {
    .carousel-item-more {
        width: 200px;
    }

    .carousell-control-prev,
    .carousell-control-next {
        width: 30px;
        height: 30px;
        padding: 5px;
    }

    .btn-product-cart {
        min-width: 140px;
        font-size: 12px;
        padding: 5px 10px;
        height: 34px;
    }

    .btn-product-cart .btn-cart-icon i {
        font-size: 13px !important;
    }

    .btn-product-cart .cart-text {
        font-size: 12px;
    }

    .btn-like {
        display: none !important;
    }
}



.row-custom.mt-5.mb-5 .button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.row-custom p {
    margin: 0 0 5px;
}

@media (min-width: 769px) {
    .row-custom.mt-5.mb-5 .button-group {
        flex-direction: row;
        justify-content: space-between;
        align-items: end;
    }

    .row-custom.mt-5.mb-5 .button-group .product-price,
    .row-custom.mt-5.mb-5 .button-group .presentation-zone,
    .row-custom.mt-5.mb-5 .button-group form,
    .row-custom.mt-5.mb-5 .button-group .stock-alert {
        flex: 0 0 auto;
    }

    .row-custom.mt-5.mb-5 .button-group .presentation-zone {
        margin-left: auto;
    }

    .row-custom.mt-5.mb-5 .button-group .btn,
    .row-custom.mt-5.mb-5 .button-group a.btn,
    .row-custom.mt-5.mb-5 .button-group .stock-alert {
        width: auto !important;
        min-width: 200px;
    }
}

@media (max-width: 768px) {

    .row-custom.mt-5.mb-5 .button-group .btn,
    .row-custom.mt-5.mb-5 .button-group a.btn,
    .row-custom.mt-5.mb-5 .button-group .stock-alert {
        width: 100% !important;
    }

    .row-custom.mt-5.mb-5 .button-group .input-group {
        width: 100% !important;
    }

    .row-custom.mt-5.mb-5 .button-group .input-email-alert {
        width: calc(100% - 80px) !important;
    }

    .row-custom.mt-5.mb-5 .button-group .btn-stock-alert {
        width: 80px !important;
    }

    .row-custom.mt-5.mb-5 .button-group .ml-1 {
        margin-left: 0 !important;
    }
}

.btn-outline-primary.pdf-button {
    padding: 5px 10px;
    border: 1px solid #000;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    color: #000;
    transition: all 0.3s ease;
}

.btn-outline-primary.pdf-button:hover {
    background: #000;
    color: #fff;
}

.btn-outline-primary.pdf-button i {
    margin-right: 5px;
}

.pdf-button,
.pdf-button:visited,
.pdf-button:hover {
    background-color: #142127 !important;
    color: #FFF !important;
    border: 0;
}

@media (max-width: 768px) {
    .btn-outline-primary.pdf-button {
        padding: 3px 8px;
        font-size: 14px;
    }

    .btn-outline-primary.pdf-button i {
        font-size: 18px;
    }
}



.row-custom.mt-5.mb-5 .button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.row-custom p {
    margin: 0 0 5px;
}

@media (min-width: 769px) {
    .row-custom.mt-5.mb-5 .button-group {
        flex-direction: row;
        justify-content: space-between;
        align-items: end;
    }

    .row-custom.mt-5.mb-5 .button-group .product-price,
    .row-custom.mt-5.mb-5 .button-group .presentation-zone,
    .row-custom.mt-5.mb-5 .button-group form,
    .row-custom.mt-5.mb-5 .button-group .stock-alert {
        flex: 0 0 auto;
    }

    .row-custom.mt-5.mb-5 .button-group .presentation-zone {
        margin-left: auto;
    }

    .row-custom.mt-5.mb-5 .button-group .btn,
    .row-custom.mt-5.mb-5 .button-group a.btn,
    .row-custom.mt-5.mb-5 .button-group .stock-alert {
        width: auto !important;
        min-width: 200px;
    }

    .lightgallery {
        min-height: 612px;
    }

    .main-product-image {
        max-height: 693px;
    }
}

@media (max-width: 768px) {

    .row-custom.mt-5.mb-5 .button-group .btn,
    .row-custom.mt-5.mb-5 .button-group a.btn,
    .row-custom.mt-5.mb-5 .button-group .stock-alert {
        width: 100% !important;
    }

    .row-custom.mt-5.mb-5 .button-group .input-group {
        width: 100% !important;
    }

    .row-custom.mt-5.mb-5 .button-group .input-email-alert {
        width: calc(100% - 80px) !important;
    }

    .row-custom.mt-5.mb-5 .button-group .btn-stock-alert {
        width: 80px !important;
    }

    .row-custom.mt-5.mb-5 .button-group .ml-1 {
        margin-left: 0 !important;
    }
}



.video-testimonials .card {
    box-shadow: none;
    transform: none;
    border: 0;
}

.video-testimonials .card:hover {
    box-shadow: none;
    transform: none;
    border: 0;
}

.video-card {
    position: relative;
    min-height: 3px;
    overflow: hidden;
    border: 1px solid #ddd;
    padding: 10px;
}

.video-card h4 {
    font-size: 15px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.4em;
}

.video-description {
    font-size: 14px;
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
}

.mh250 {
    min-height: 250px;
}

.video-details {
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.video-testimonial-item {
    width: 336px;
}

.video-card video {
    max-width: 100%;
    height: 250px;
    object-fit: contain;
}

/* Ascunderea scrollbar-ului pentru carousel */
.video-testimonials .carousell-wrapper {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.video-testimonials .carousell-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

@media (max-width: 768px) {
    .video-testimonial-item {
        width: 100%;
    }
}

.lbl-brand img {
    vertical-align: middle;
    border-radius: 30%;
}





.main-product-image {
    width: 100%;
    max-height: 693px;
    object-fit: cover;
    background: transparent;
    border-radius: 6px;
}

@media (min-width: 769px) {
    .main-product-image {
        max-height: 693px;
    }
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

/* THUMBNAIL-URI MICI ȘI PE RÂND */
.lg-thumbnail-container {
    overflow-x: auto;
    display: flex;
    gap: 12px;
    padding: 15px 0;
    margin-top: 20px;
}

.lg-thumbnail-container .lg-thumb-item {
    width: 90px !important;
    height: 90px !important;
    border-radius: 10px !important;
    border: 3px solid transparent !important;
    flex-shrink: 0;
    transition: all 0.3s;
}

.lg-thumbnail-container .lg-thumb-item.active,
.lg-thumbnail-container .lg-thumb-item:hover {
    border-color: #000 !important;
    transform: scale(1.08);
}

.lg-thumbnail-container img {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover;
    border-radius: 7px;
}

@media (max-width: 768px) {

    .lg-thumbnail-container .lg-thumb-item,
    .lg-thumbnail-container img {
        width: 70px !important;
        height: 70px !important;
    }
}



#lightgallery-product a:not(:first-child) {
    display: none !important;
}

.product-thumbnails-row {
    margin-top: 3px;
    overflow-x: auto;
    display: flex;
    gap: 12px;
    padding: 15px 10px;
    background: #fff;
    border-radius: 12px;
    scrollbar-width: none;
}

.product-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: #000;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-thumb.video-thumb {
    position: relative;
}

.product-thumb.video-thumb::after {
    content: "\f01d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: white;
    text-shadow: 0 0 15px black;
    pointer-events: none;
}

@media (max-width: 768px) {
    .product-thumb {
        width: 70px;
        height: 70px;
    }
}

.form-control {
    width: auto;
}

.lg-outer.lg-visible .main-product-image {
    opacity: 0;
    pointer-events: none;
}

.lg-outer:not(.lg-visible) .main-product-image {
    opacity: 1;
}

.carousell-content .action-like {
    position: absolute;
    top: 10px;
    right: 10px;
}

.badge.bg-light {
    background-color: #dbdada61 !important;
    color: #676767;
    font-weight: 500;
}

.badge {
    font-size: 12px !important;
}

.d-sm-block {
    display: flex;
}

@media(max-width: 768px) {
    .d-sm-block {
        display: block !important;
    }
}

.hidden-file {
    display: none !important;
}

.vezi-mai-multe {
    border-style: dotted;
    border-width: 2px;
    border-color: #c4c4c4;
    color: #242424;
    font-weight: bold;
}

.vezi-mai-multe:hover {
    background-color: #cfcfcf;
    color: white;
}

.vezi-mai-multe.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#digitalFilesList .list-group-item {padding: 5px 5px !important;}