
.layout-product {
    padding-bottom: 20px;
}


.details-product .product-images .product-image-block {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .details-product .product-images .product-image-block {
        position: sticky !important;
        top: 100px;
    }
}

.gallery-top {
    position: relative;
    margin-bottom: 10px;
    border: 1px solid #ebebeb;
}
.gallery-top .swiper-slide {
    aspect-ratio: 1 / 1; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-top .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
}


.gallery-thumbs {
    margin-top: 10px;
}
.gallery-thumbs .swiper-slide {
    border: 1px solid #ebebeb;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
    border-color: #a14603;
}
.gallery-thumbs .swiper-slide:hover {
    border-color: #a14603;
}


.details-product .details-pro .title-product {
    font-size: 2.5rem;
    margin: 0 0 10px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--textColor);
}
.details-product .details-pro .product-top {
    margin-bottom: 10px;
}
.details-product .details-pro .sku-product {
    font-size: 1rem;
    color: #555;
}
.details-product .details-pro .sku-product span {
    margin-right: 15px;
}
.details-product .details-pro .sku-product .a-sku,
.details-product .details-pro .inventory_quantity .a-stock {
    color: #a14603;
    font-weight: 600;
}
.details-product .details-pro .inventory_quantity {
    font-size: 1.1rem;
    border-bottom: 1px solid #DDE1EF;
    padding-bottom: 15px;
    margin-bottom: 15px;
}


.details-product .details-pro .price-box {
    padding: 10px;
    background: #f5f5f5;
    margin-bottom: 20px;
    position: relative;
}
.details-product .details-pro .price-box .special-price {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--price, #d4 tradición00);
}
.details-product .details-pro .price-box .old-price {
    color: #393939;
    font-size: 1.1rem;
    margin-left: 10px;
}
.details-product .details-pro .price-box .sale-off {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 100%;
    background: var(--price, #d40000);
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    clip-path: polygon(8px 0%, 100% 0%, 100% 100%, 0% 100%);
    font-size: 1.1rem;
    font-weight: 600;
}


.details-product .details-pro .select-swatch .swatch {
    margin-bottom: 15px;
}
.details-product .details-pro .select-swatch .header {
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    background: none;
    box-shadow: none;
}
.details-product .details-pro .select-swatch .swatch-element {
    display: inline-block;
    margin: 0 5px 5px 0;
}
.details-product .details-pro .select-swatch .swatch-element input {
    display: none;
}
.details-product .details-pro .select-swatch .swatch-element label {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    cursor: pointer;
    padding: 0 10px;
    text-align: center;
}
.details-product .details-pro .select-swatch .swatch-element input:checked+label {
    background: #a14603;
    border-color: #a14603;
    color: #fff;
}
.details-product .details-pro .select-swatch .swatch-element.soldout label {
    background: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}


.details-product .details-pro .flex-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.details-product .details-pro .flex-quantity > span {
    margin-right: 10px;
    font-weight: 600;
    font-size: 1.6rem;
}
.details-product .details-pro .input_number_product {
    display: flex;
}
.details-product .details-pro .input_number_product input {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
    border-left: none;
    border-right: none;
}
.details-product .details-pro .input_number_product .btn_num {
    width: 35px;
    height: 38px;
    border: 1px solid #ccc;
    background: #f8f8f8;
}
.details-product .details-pro .button_actions {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 4px;
}
.details-product .details-pro .button_actions .btn {
    padding: 0px 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    transition-duration: .3s;
    line-height: initial;
    height: 42px;
    line-height: 42px;
    width: 50%;
    border-radius: 0;
}
.details-product .details-pro .button_actions .btn-add-to-cart {
    background: var(--mainColor);
    color: #fff;
    -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    clip-path: polygon(0 0, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    max-width: 100%;
}
.details-product .details-pro .button_actions .btn-buyNow {
    background: var(--subColor);
    color: #333;
    -webkit-clip-path: polygon(8px 0%, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(8px 0%, 100% 0%, 100% 100%, 0% 100%);
    border-radius: 0px;
}


.product-col-right .block-policy {
    margin-bottom: 30px;
}
.product-col-right .block-policy .policy-item {
    padding: 15px;
    background: #f4f4f4;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 1px solid #ddd;
}
.product-col-right .block-policy .policy-item img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}
.product-col-right .block-policy .policy-item .info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}


.product-review-details .product-tab .tabs-title {
    padding: 0;
    margin: 0 0 -1px 0;
    list-style: none;
    display: flex;
    border-bottom: 1px solid #eee;
}
.product-review-details .product-tab .tab-link {
    cursor: pointer;
    margin-right: 30px;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
}
.product-review-details .product-tab .tab-link h3 {
    color: #757575;
    margin: 0;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 600;
}
.product-review-details .product-tab .tab-link.active {
    border-bottom-color: var(--mainColor, #a14603);
}
.product-review-details .product-tab .tab-link.active h3 {
    color: var(--mainColor, #a14603);
}
.product-review-details .product-tab .tab-float {
    border: 1px solid #eee;
    border-top: none;
    padding: 20px;
}
.product-review-details .product-tab .tab-content {
    display: none;
}
.product-review-details .product-tab .tab-content.active {
    display: block;
}


@media (max-width: 1199px) {
    .details-product .details-pro .title-product {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .product-col-right {
        margin-top: 30px;
    }
}