.tg_inventory #related-products .splide__pagination {
    bottom: -2.5em;
}

.tg-product-page-content--preparing {
	opacity: 0 !important;
	pointer-events: none;
}

.tg-product-page-content--preparing[data-aos] {
	transform: none !important;
}

.tg-product-page-content.is-ready {
	pointer-events: auto;
}


.tg_inventory .tapgoods .tg-search-container {
    display: none;
}

.tg_inventory .breadcrumb {
    text-align: left;
    margin-bottom: 20px;
}

.tg_inventory .breadcrumb p {
	text-align: left;
	margin:0;
	padding:0;
}

.tg_inventory .single-product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 0;
}

.tapgoods .inventory-single .inventory-single-content {
    background: transparent;
    padding: 2rem 0 
}

.tapgoods .inventory-single .quantity-select .btn {
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    padding: 1rem 3rem;
    font-size: 1rem;
    border: none;
    letter-spacing: 1.2px;
    height: auto;
}

.tapgoods .inventory-single .quantity-select .tapgoods-add-item-button.mbm-button,
.tapgoods .inventory-single .quantity-select #add-item-btn.mbm-button {
    min-width: 180px;
    height: 50px;
    padding: 0 30px;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    flex-shrink: 0;
    width: fit-content;
}

.tapgoods .inventory-single .quantity-select {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tapgoods .inventory-single .quantity-select .qty-input {
    height: 62px;
    background: whitesmoke;
    border-radius: var(--tg-button-border);
}

.tapgoods .inventory-single .date-range .dates-selector .form-control, .tapgoods .inventory-single .date-range .dates-selector input[type=date].form-control {
    background-color: whitesmoke;
    border-radius: var(--tg-button-border);
    height: 50px;
}

/* START Add to cart Message */
    .success-message {
        display: none;
        position: fixed;
        top: -50px; /* Start above the viewport */
        left: 50%;
        transform: translateX(-50%);
        background-color: #b8ffc9e3;
        color: white;
        padding: 1.5rem 50px 1.5rem 20px;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        opacity: 0;
        transition: all 0.3s ease-in-out;
        backdrop-filter: blur(10px);
    }

@keyframes slideDown {
    0% {
        top: -50px;
        opacity: 0;
    }
    100% {
        top: 120px;
        opacity: 1;
    }
}


#success-message.show {
    display: block;
    animation: slideDown 0.6s ease-in-out forwards;
    opacity: 1;
}

#success-message p {
    color: #319131;
    margin-bottom: 0;
    font-weight: 500;
}

.success-message-go-cart {
    color: green;
    background: #fff;
    padding: 0.3rem 0.6rem;
    margin: 0 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0px;
    text-transform: uppercase;
    border-radius: 2px;
}

.success-message .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 3px;
    background-color: #13a334;
    animation: progress 5s linear forwards;
    max-width: 96%;
    left: 2%;
    bottom: 5%;
}

@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0;
    }
}

.success-message .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    position: absolute;
    top: 18%;
    right: 10px;
    cursor: pointer;
}
/* END Add to cart Message */

@media (min-width: 1025px) and (max-width: 1250px) {
	
    .tapgoods .inventory-single .date-range .dates-selector {
        display: flex;
		flex-direction: column;
		gap: 20px;
		margin-bottom: 3rem;
    }
	.tapgoods .inventory-single .date-range .date-input-wrapper {
		display: flex;
		flex-wrap: wrap;
	}
	.tapgoods .inventory-single .date-range .date-input-wrapper > label {
		width: 100%;
	}

}
@media screen and (max-width: 768px){
    .tg_inventory .single-product-content {
        align-items: normal;
    }
    .tapgoods .inventory-single .date-range .dates-selector {
        display: flex;
		flex-direction: column;
		gap: 20px;
		margin-bottom: 3rem;
    }

    .tapgoods .inventory-single .date-range p:before, .tapgoods .inventory-single .date-range p:after {
        width: 5%;
    }

    .rp-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .container-related-products {
        padding: 6rem 2.2rem 1rem 2.2rem;
        width: auto!important;
    }

    .tg_inventory .single-product-content {
        padding: 2rem 0;
    }

    .success-message {
        width: 90%;
    }

    #success-message.show {
        display: block;
        opacity: 1;
        z-index: 9999;
        position: fixed;
        top: 50px;
        left: 50%!important;
        transform: translateX(-50%)!important;
    }

    .success-message-go-cart {
        position: relative;
        left: -0.5rem;
        top: 0.2rem;
    }

    #related-products .catalog-item img {
        max-width: 234px;
    }

    .tapgoods .p-3 {
        padding: 0!important;
    }

}





/* Start Single TG Inventory */
#single_tg_inventory .tg_inventory {
    padding: 0rem 0 0rem 0;
}

#single_tg_inventory .inventory-single-content {
    display: flex;
    align-items: center;
}

@media (min-width: 901px) {
    body.has-thumbs #single_tg_inventory .inventory-single-content {
        align-items: flex-start;
    }
}

#single_tg_inventory .inventory-single-content .splide__pagination {
    display: none;
}


#single_tg_inventory .tg_inventory .breadcrumb {
    margin-bottom: 0px;
}

#single_tg_inventory .tags {
    margin-top: 0.5rem;
}

.details .tags {
    display: none!important;
}

/* Estilos quando há thumbnails */
body.has-thumbs .tapgoods img,
body.has-thumbs .tg-product-image-viewer__image {
    padding: 4rem 0;
    background: #fff;
    max-width: 100% !important;
}

/* Estilos quando não há thumbnails */
body .tapgoods img,
body .tg-product-image-viewer__image {
    padding: 4rem 0;
    background: #fff;
    max-width: 100% !important;
}

.splide__slide.is-active.is-visible img{
    box-shadow: 0 0 30px -5px #00000014;
}


@media screen and (max-width: 900px) {
    body .tapgoods img,
    body .tg-product-image-viewer__image {
        padding: 2.5rem 1rem;
        background: #fff;
        max-width: 100% !important;
    }

    body.has-thumbs .tapgoods img,
    body.has-thumbs .tg-product-image-viewer__image {
        padding: 2rem 1rem;
        background: #fff;
        max-width: 100% !important;
    }

}

#single_tg_inventory .thumbs {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}

#single_tg_inventory .thumbnail-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    background: #fff;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    padding: 6px!important;
}

#single_tg_inventory .thumbnail-btn:hover,
#single_tg_inventory .thumbnail-btn:focus-visible {
    border-color: var(--muted-teal, #408788);
    outline: none;
}

#single_tg_inventory .thumbnail,
#single_tg_inventory .thumbnail-btn .thumbnail,
body.has-thumbs #single_tg_inventory .thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    background: #fff !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
}

#single_tg_inventory .tapgoods .inventory-single .pricing {
    display: none !important;
    grid-template-columns: 0fr 1fr;
    grid-column-gap: 15px;
    line-height: 50px;
    grid-auto-rows: 50px;
}

#single_tg_inventory .tapgoods .inventory-single .details {
    border-top: none;
    border-bottom: none;
    width: 100%;
    display: none;
}

#single_tg_inventory .tapgoods .inventory-single .pricing span {
    font-size: 20px;
}

#single_tg_inventory.splide__pagination {
    /* display: none; */
    bottom: -1.5em;
}

#container-related-products {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#single_tg_inventory #container-related-products .splide__arrow {
    background: #f5f2e8;
    height: 2.5em;
    width: 2.5em;
    border-radius: 0;
}

#single_tg_inventory #container-related-products.splide__arrow--prev {
    left: -4em !important;
}

#single_tg_inventory #container-related-products .splide__arrow--next {
    right: -4em !important;
}

@media (max-width: 768px) {
    #single_tg_inventory #container-related-products .splide__arrow--next {
        right: 1em !important;
    }
}

#single_tg_inventory .tags {
    margin-top: 1rem;
}

#single_tg_inventory .tag a {
    color: #fff;
    font-size: 14px;
    padding-left: 0.3rem;
}

/* Removed display: none to show subcategory in breadcrumb */
/* .product-category-link {
    display: none;
} */

/* .pre-product-category-link {
    display: none;
} */

#single_tg_inventory .tags>.tag {
    display: inline-block;
    background-color: #000;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    text-decoration: none;
    margin-right: 30px;
    position: relative;
    margin-bottom: 1rem;
    transition: all .3s;
    padding: 0.2rem 0.5rem;
    height: 35px;
    display: none;
}

#single_tg_inventory .tags>.tag:after,
.tags>.tag:before {
    display: block;
    content: " ";
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJhIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NzcuOTIgMzE2Ljc4Ij48cGF0aCBmaWxsPSIjMzg0Zjc0IiBkPSJNNDYzLjg2LDE5Mi4zM2wtMTA1LjcxLDEwNS43MWMtMTIuMDIsMTIuMDItMjguMjQsMTguNzEtNDUuMjIsMTguN2wtMjQ4Ljg3LC4wNEMyOC43MSwzMTYuNzgsMCwyODguMDgsMCwyNTIuNzJWNjQuMDZDMCwyOC43MSwyOC43MSwwLDY0LjA2LDBsMjQ4Ljg3LC4wNGMxNi45OCwwLDMzLjIsNi42OCw0NS4yMiwxOC43bDEwNS43MSwxMDUuNzFjMTguNzUsMTguNzUsMTguNzUsNDkuMTQsMCw2Ny44OGgwWm0tMTQ3LjA4LTU2LjU3Yy0xMi41MiwxMi41Mi0xMi41MiwzMi43NCwwLDQ1LjI1LDEyLjUyLDEyLjUyLDMyLjc0LDEyLjUyLDQ1LjI1LDBzMTIuNTItMzIuNzQsMC00NS4yNWMtMTIuNTItMTIuNTItMzIuNzYtMTIuNDktNDUuMjUsMFoiLz48L3N2Zz4=);
    position: absolute;
    top: 0;
    right: -20px;
    height: 35px;
    width: 20px;
    z-index: 0;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: all .3s;
    fill: #000;
    filter: grayscale(1) contrast(100) brightness(1);
    mix-blend-mode: multiply;
}


/* #single_tg_inventory .splide__arrow--prev {
    left: -2.8em;
} */

#single_tg_inventory .splide__arrow {
    background: #f5f5f5;
}

#single_tg_inventory .splide__arrow svg {
    fill: #000;
}

@media screen and (max-width: 900px) {
    #single_tg_inventory .tapgoods img {
        padding: 5rem 2rem;
        background: #fff;
        max-width: 100% !important;
    }
}

@media screen and (max-width: 900px) {
    #single_tg_inventory .tapgoods .inventory-single {
        max-width: 100%;
    }

    #single_tg_inventory .splide__arrow--prev {
        left: 1rem !important;
    }

    #single_tg_inventory .thumbs {
        max-width: 100%;
    }
}


#single_tg_inventory #related-products .row {
    display: flex;
    flex-wrap: wrap;
    row-gap: 6rem;
}

#single_tg_inventory #related-products .catalog-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#single_tg_inventory #related-products .catalog-item img {
    /* height: 234px; */
    height: auto;
    object-fit: scale-down;
    width: 100%;
    max-width: 100%;
    object-position: center;
    background: #fff;
}

#single_tg_inventory #related-products .catalog-item .caption {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    max-width: 70%;
    margin: 0 auto;
    margin-top: 1rem;
}

@media screen and (min-width: 900px) {

    #single_tg_inventory .tapgoods .inventory-single .date-range .dates-selector .form-control,
    .tapgoods .inventory-single .date-range .dates-selector input[type=date].form-control {
        width: 140px;
    }
}

#single_tg_inventory .container-related-products {
    padding: 6rem 0rem 1rem 0rem;
    width: 1280px;
}

#single_tg_inventory .rp-title {
    padding: 0 2rem;
	font-size: 2rem;
    font-size: 1.6rem;
    font-family: var(--font-family-body);
    color: #408788;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    #single_tg_inventory .splide__pagination {
        bottom: -1.9em;
    }
}
/* ENd Single TG Inventory */

/* START TG Inventory Thumbs */
#tg_inventory_thumb .tapgoods .inventory-single .pricing {
    display: none!important;
    grid-template-columns: 0fr 1fr;
    grid-column-gap: 15px;
    line-height: 50px;
    grid-auto-rows: 50px;
}

#tg_inventory_thumb .tapgoods .inventory-single .details {
    border-top: none;
    border-bottom: none;
}

#tg_inventory_thumb .tapgoods .inventory-single .pricing span {
    font-size: 20px;
}

#tg_inventory_thumb .splide__pagination {
    display: none;
}

#tg_inventory_thumb .splide-thumbnails {
    margin-top: 1rem;
}

#tg_inventory_thumb .splide-thumbnails .splide__slide {
    padding: 0.25rem;
}


.tapgoods #tg-single .summary.col {
    grid-template-columns: 1fr!important;
    /* min-height: 500px; */
    align-items: center;
}

.tapgoods #tg-single .quantity-select .qty-input {
    height: 64px!important;
    background: #ececec!important;
    border-radius: 0!important; 
}

.tapgoods #tg-single .quantity-select {
    gap: 3rem!important; 
}

/* Quantity Selector with Increment/Decrement Buttons */
.quantity-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

.quantity-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    flex-shrink: 0;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.quantity-btn::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 0.32s ease;
}

.quantity-btn:hover::before,
.quantity-btn:focus-visible::before {
    transform: scaleY(1);
}

.quantity-btn--decrement,
.quantity-btn--increment {
    background-color: var(--button-color-muted-teal, var(--muted-teal));
}

.quantity-btn--decrement::before,
.quantity-btn--increment::before {
    background: linear-gradient(179deg, #23737557, #39c0c1);
}

.quantity-btn:active {
    opacity: 0.8;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-icon {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    display: block;
}

.quantity-display {
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ececec;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    min-width: 80px;
    text-align: center;
    max-width: 80px;
    border: none;
}
/* END TG Inventory Thumbs */

@media (max-width: 768px) {
    .quantity-display {
        max-width: 100%;
    }
}

.tapgoods h1 {
    font-size: 1.6rem!important;
    font-family: var(--font-family-body)!important;
    color: #408788!important;
    letter-spacing: -0.02em!important;
    font-weight: 600!important;
}

.tapgoods .breadcrumb {
    font-size: 14px!important;
}

.tapgoods a {
    color: #000!important;
}

.single-product-meta {
    margin-top: 1.25rem;
    width: 100%;
    max-width: 100%;
}

.single-product-meta__list {
    margin: 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    width: 100%;
    max-width: 410px;
}

.single-product-meta__row {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0.35rem 0;
    border-bottom: 1px solid #ddd;
}

.single-product-meta__row .single-product-meta__value {
    margin-bottom: 0;
}

.single-product-meta__row:last-child {
    border-bottom: 0;
}

.single-product-meta__label {
    margin: 0;
    font-weight: 700;
    color: #333;
}

.single-product-meta__value {
    margin: 0;
    text-align: left;
    color: #333;
    min-width: 0;
    overflow-wrap: anywhere;
}

.single-product-meta__value a {
    color: var(--color-link) !important;
    text-decoration: none;
}

.single-product-meta__value a:hover,
.single-product-meta__value a:focus-visible {
    color: var(--color-link-hover) !important;
    text-decoration: underline;
}

.single-product-description {
    margin: 1rem 0 0;
    width: 100%;
    max-width: 410px;
}

.single-product-description p {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.55;
}

.tapgoods .inventory-single .summary .linked-items,
.tapgoods .inventory-single .summary .linked-items.linked-items--summary {
    display: block !important;
    float: none !important;
    flex: none !important;
    width: 100% !important;
    max-width: 410px;
    margin: 1rem 0 1.25rem;
    padding: 0;
    clear: both;
    grid-column: 1 / -1;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--color-text);
    text-transform: uppercase;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
}

.tapgoods .inventory-single .summary .linked-items strong {
    color: #333;
}

#title-breadcrumb-tag {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .single-product-meta__list,
    .tapgoods .inventory-single .summary .linked-items,
    .tapgoods .inventory-single .summary .linked-items.linked-items--summary {
        max-width: 100%;
    }

    .tapgoods #tg-single .summary.col,
    .tapgoods .inventory-single .summary.col,
    .tapgoods .inventory-single .summary {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .tapgoods .inventory-single .quantity-select,
    .tapgoods #tg-single .quantity-select {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0.75rem !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .quantity-selector-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .tapgoods .inventory-single .quantity-select .tapgoods-add-item-button.mbm-button,
    .tapgoods .inventory-single .quantity-select #add-item-btn.mbm-button {
        width: 100%;
        min-width: 0;
        flex: 1 1 100%;
        min-height: 60px;
    }

    #single_tg_inventory .tapgoods .inventory-single {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.tg-product-image-viewer {
    position: relative;
    width: 100%;
}

.tg-product-image-viewer__frame {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

@media (min-width: 901px) {
    .tg-product-image-viewer__frame {
        cursor: zoom-in;
    }
}

.tg-product-image-viewer__image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.08s linear;
    will-change: transform;
}

.tg-product-image-viewer__open {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
    cursor: pointer;
}

.tg-product-image-viewer__open svg {
    width: 22px;
    height: 22px;
}

.tg-product-image-viewer__open:hover,
.tg-product-image-viewer__open:focus-visible {
    color: #000;
}

html.tg-product-image-lightbox-open,
body.tg-product-image-lightbox-open {
    overflow: hidden;
}

.tg-product-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.82);
}

.tg-product-image-lightbox.is-open {
    display: flex;
}

.tg-product-image-lightbox__image {
    max-width: min(1200px, 100%);
    max-height: calc(100vh - 4rem);
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
}

.tg-product-image-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}





.tg-product-image-viewer__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;  
}


body.has-thumbs .tapgoods img, body.has-thumbs .tg-product-image-viewer__image {
    padding: 4rem 0;
    background: #fff;
    max-width: 100% !important;
    max-height: 440px;
    width: auto !important;
}

.splide__slide.is-active.is-visible img {
    box-shadow: none;
}