.back-link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: 1.5rem;
    left: 9.7rem;
    gap: 0.5rem;
}

.back-link i,
.back-link button {
    color: var(--blue);
}

.back-link button {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.product-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;

    height: 100%;

    margin-top: 1.5rem;
}

.main {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.main-container {
    display: flex;
    flex-direction: row;
    margin: 3rem 1rem 3rem 3rem;
}

.gallery-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-right: 2.4rem;
}

.thumbnails-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumb-box {
    width: 70px;
    height: 70px;
    border: 1px solid #d6d5d5;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.2s;
}

.thumb-box:hover {
    border-color: var(--blue);
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-box {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d6d5d5;
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
    width: 500px;
    min-height: 470px;
    max-height: 470px;
}

.main-image-box img {
    max-width: 100%;
    object-fit: contain;
    transform: scale(1.1);
}

.product-section {
    margin-top: 3.6rem;
    padding-bottom: 1rem;

    background-color: white;
    width: 80%;
    border-radius: 2rem;
}

.product-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin-right: 1rem;
}

.tags {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.tag {
    background-color: var(--blue);
    border-radius: 4rem;
    color: white;
    font-size: 0.8rem;
    padding-inline: 1rem;
    padding-block: 0.3rem;
}

.product-name {
    font-size: 1.5rem;
    margin-top: 1.3rem;
}

.product-rating {
    margin-top: 0.5rem;
}

.product-rating i {
    color: var(--blue);
    font-size: 1.2rem;
}

.productPrice {
    margin-block: 2rem;
}

.productPrice span {
    font-size: 1.8rem;
}

.productPrice del {
    font-size: 1.1rem;
    font-weight: 400;
    margin-left: 0.3rem;
    color: #8f8f8f;
}

.qty-label {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.qty-label p {
    display: flex;
    align-items: flex-end;
    margin-left: 0.5rem;
}

.qty-label p,
.qty-label span {
    font-size: 0.9rem;
    text-align: end;
    color: gray;
}

.qty-label span {
    margin-right: 0.3rem;
}

.qty-input {
    display: flex;
    flex-direction: column;
}

.qty-label input {
    width: 140px;
    padding: 0.3rem 0.8rem;
    margin-top: 0.4rem;
    border: 2px solid #D9D9D9;
    border-radius: 1rem;
    background-color: #f4f4f4;
}

.addCart,
.addPreview,
.now,
.nowPreview {
    width: 100%;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.9rem 1.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.now,
.nowPreview {
    background-color: var(--blue);
    color: white;
    border: 0;

}

.addCart,
.addPreview {
    background-color: white;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.addCart::before,
.addPreview::before
.now::before,
.nowPreview::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.addCart:hover::before,
.addPreview:hover::before,
.now:hover::before,
.nowPreview:hover::before {
    left: 100%;
}

.addCart:hover,
.addPreview:hover{
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    color: var(--blue);
    background-color: rgb(247, 247, 247);
}

.now:hover,
.nowPreview:hover {
    background-color: color-mix(in srgb, var(--blue) 90%, black);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    color: white;
}

.now.now, .nowPreview.now {
    background-color: var(--blue);
    color: white;
}

.addCart.now,
.addPreview.now {
    background-color: white;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.addCart.now:hover,
.addPreview.now:hover {
    background-color: #f2f2f3;
}

.addCart.now::before,
.addPreview.now::before {
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 2.4rem;
}

.add-wishlist,
#share-btn {
    background-color: transparent;
    text-align: end;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.add-wishlist {
    color: rgb(225, 3, 3);
}

#share-btn {
    color: green;
}

#share-btn i,
.add-wishlist i {
    font-size: 1.5rem;
}

.section-cart {
    width: 81%;
    margin-top: 2rem;
}

.products-tabs {
    border-radius: 2rem;
    padding: 1rem;
}

.section-title-text {
    padding-left: 0.5rem !important;
}

.qty-div {
    display: flex;
}

.qty-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.3rem;
}

.out-of-stock {
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin-top: auto;
    gap: 1rem;
}

.out-of-stock-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: #c53030;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
}

.out-of-stock-text {
    font-size: 0.875rem;
    color: #718096;
    margin: 0;
}

.product-divider {
    width: 76%;
    margin: 0 auto;
    border: none;
    border-top: 2px solid #e2e8f0;
    margin-block: 3rem;
}

#extra-section {
    display: flex;
    flex-direction: row;
    padding-inline: 3.5rem;
    margin-bottom: 2rem;
    padding-top: 0;
    margin-top: 0;
}

#video-description {
    width: 60%;
}

#product-tab h1 {
    color: var(--blue);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: left;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--blue);
    width: fit-content;
}

.sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 40%;
    padding-left: 2rem;
}

.sidebar-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--blue);
    width: fit-content;
    margin-bottom: 0.25rem;
}

.sidebar-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2d3748;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.4rem;
}

.sidebar-contact i {
    font-size: 1.3rem;
    color: #25d366;
}

.sidebar-contact:hover {
    color: #1bb152;
}

.sidebar-contact > span {
    font-size: 0.9rem;
    font-weight: 600;
}

.sidebar-payment-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
    margin-top: 0.4rem;
}

.sidebar-payment-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}

.sidebar-payment-icons i {
    font-size: 1.8rem;
    color: #4a5568;
}

.sidebar-payment-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #2d3748;
    font-weight: 500;
}

#credit-card {
    margin-block: 1rem;
}

#debit-card {
    margin-top: 0.4rem;
}

#pix {
    margin-block: 1rem;
}