/* =========================================
   Iran General Tools - Single Product
========================================= */

.igt-single-product{
    padding:22px 0 0;
    color:#282828;
}

.igt-single-product *,
.igt-product-tabs-section *{
    box-sizing:border-box;
}


/* =========================================
   Breadcrumb
========================================= */

.igt-product-breadcrumb{
    margin-bottom:18px;
    color:#999;
    font-size:12px;
}

.igt-product-breadcrumb a{
    color:#666;
    text-decoration:none;
}

.igt-product-breadcrumb a:hover{
    color:#E80545;
}


/* =========================================
   Header
========================================= */

.igt-product-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
    padding-bottom:15px;
    border-bottom:1px solid #eee;
}

.igt-product-title{
    flex:1;
    min-width:0;
}

.igt-product-title h1{
    margin:0 0 5px;
    color:#222;
    font-size:22px;
    font-weight:800;
    line-height:1.8;
    text-align:right;
}

.igt-product-en-title{
    color:#aaa;
    font-size:12px;
    direction:ltr;
    text-align:right;
}

.igt-product-brand{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-width:90px;
    min-height:58px;
    padding:7px 10px;
    border:1px solid #eee;
    border-radius:11px;
    background:#fff;
    color:#333;
    text-decoration:none;
}

.igt-brand-image{
    display:block;
    width:auto;
    max-width:90px;
    max-height:44px;
    object-fit:contain;
}


/* =========================================
   Product Summary
========================================= */

.igt-product-summary{
    width:100%;
}


/* =========================================
   Highlight Features
========================================= */

.igt-feature-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin-bottom:10px;
}

.igt-feature-item{
    min-width:0;
    padding:10px;
    border:1px solid #eee;
    border-radius:10px;
    background:#fafafa;
    transition:.2s ease;
}

.igt-feature-item:hover{
    border-color:#ddd;
    background:#fff;
}

.igt-feature-item span{
    display:block;
    margin-bottom:4px;
    color:#999;
    font-size:10px;
}

.igt-feature-item strong{
    display:block;
    overflow:hidden;
    color:#333;
    font-size:12px;
    font-weight:700;
    line-height:1.7;
    text-overflow:ellipsis;
}


/* =========================================
   Purchase Box
========================================= */

.igt-purchase-box{
    padding:14px;
    border:1px solid #e5e5e5;
    border-radius:14px;
    background:#fff;
    box-shadow:0 6px 30px rgba(0,0,0,.035);
}


/* =========================================
   Stock
========================================= */

.igt-product-stock{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-bottom:4px;
    padding:6px 9px;
    border-radius:8px;
    font-size:11px;
    font-weight:700;
}

.igt-product-stock.in-stock{
    background:#effaf1;
    color:#3f9c51;
}

.igt-product-stock.low-stock{
    background:#fff8e5;
    color:#bd8100;
}

.igt-product-stock.out-of-stock{
    background:#fff0f2;
    color:#d7354d;
}

.igt-product-stock i{
    font-size:14px;
}


/* =========================================
   Price
========================================= */

.igt-product-price{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:8px 0 11px;
}

.igt-price-label{
    color:#777;
    font-size:12px;
}

.igt-price-value{
    display:flex;
    align-items:center;
    gap:9px;
    color:#222;
    font-size:18px;
    font-weight:800;
}

.igt-price-value del{
    color:#aaa;
    font-size:12px;
    font-weight:400;
}

.igt-price-value ins{
    color:#222;
    text-decoration:none;
}


/* =========================================
   Cart Controller
========================================= */

.igt-cart-controller{
    position:relative;
    width:100%;
}

.igt-cart-row{
    display:flex;
    align-items:stretch;
    gap:8px;
    width:100%;
}


/* =========================================
   Quantity Controller
========================================= */

.igt-qty-controller{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    flex:0 0 125px;
    height:44px;
    overflow:hidden;
    border:1px solid #e4e4e4;
    border-radius:9px;
    background:#fff;
}

.igt-qty-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:100%;
    padding:0;
    border:0;
    outline:0;
    background:transparent;
    color:#E80545;
    font-size:17px;
    cursor:pointer;
    transition:.2s ease;
}

.igt-qty-btn:hover{
    background:#fff4f7;
}

.igt-qty-btn:active{
    transform:scale(.94);
}

.igt-qty-btn:disabled{
    opacity:.3;
    cursor:not-allowed;
    transform:none;
}

.igt-qty-value{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1;
    height:100%;
}

.igt-qty-value strong{
    color:#222;
    font-size:15px;
    font-weight:800;
}


/* =========================================
   Add To Cart Button
========================================= */

.igt-main-add-button{
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:7px;
    flex:1;
    width:auto !important;
    min-height:44px;
    padding:7px 14px;
    border:0;
    border-radius:9px;
    background:#E80545;
    color:#fff;
    font-family:inherit;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
}

.igt-main-add-button:hover{
    background:#c9043b;
}

.igt-main-add-button:active{
    transform:scale(.99);
}

.igt-main-add-button i{
    font-size:16px;
}

.igt-main-add-button.disabled,
.igt-main-add-button:disabled{
    background:#aaa;
    cursor:not-allowed;
    transform:none;
}

.igt-main-add-button.d-none{
    display:flex !important;
}


/* =========================================
   AJAX Loading
========================================= */

.igt-cart-loading{
    display:none;
    position:absolute;
    inset:0;
    z-index:20;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    background:rgba(255,255,255,.76);
}

.igt-cart-controller.is-loading .igt-cart-loading{
    display:flex;
}

.igt-cart-loading span{
    width:21px;
    height:21px;
    border:2px solid #eee;
    border-top-color:#E80545;
    border-radius:50%;
    animation:igt-cart-spin .6s linear infinite;
}

@keyframes igt-cart-spin{
    to{
        transform:rotate(360deg);
    }
}


/* =========================================
   Purchase Details
========================================= */

.igt-purchase-divider{
    height:1px;
    margin:13px 0 6px;
    background:#eee;
}

.igt-purchase-details{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:5px;
}

.igt-purchase-meta{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
    padding:6px;
    border-radius:8px;
}

.igt-purchase-meta > i{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 31px;
    width:31px;
    height:31px;
    border-radius:8px;
    background:#f7f7f7;
    color:#555;
    font-size:14px;
}

.igt-purchase-meta > div{
    min-width:0;
}

.igt-purchase-meta small{
    display:block;
    margin-bottom:2px;
    color:#999;
    font-size:9px;
}

.igt-purchase-meta strong,
.igt-purchase-meta a{
    display:block;
    overflow:hidden;
    color:#333;
    font-size:10px;
    font-weight:600;
    text-decoration:none;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.igt-catalog a{
    color:#E80545;
}


/* =========================================
   Variable Product
========================================= */

.igt-variation-selector{
    margin-bottom:10px;
}

.igt-variation-selector .quantity,
.igt-variation-selector .single_add_to_cart_button,
.igt-variation-selector .woocommerce-variation-add-to-cart,
.igt-variation-selector .woocommerce-variation-price,
.igt-variation-selector .woocommerce-variation-availability{
    display:none !important;
}

.igt-variation-selector .variations{
    width:100%;
    margin:0;
}

.igt-variation-selector .variations tbody{
    width:100%;
}

.igt-variation-selector .variations tr{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:8px;
}

.igt-variation-selector .variations th{
    flex:0 0 90px;
    padding:0;
    text-align:right;
}

.igt-variation-selector .variations td{
    flex:1;
    padding:0;
}

.igt-variation-selector .variations label{
    color:#444;
    font-size:11px;
    font-weight:700;
}

.igt-variation-selector .variations select{
    width:100%;
    min-height:40px;
    padding:6px 9px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:0;
    background:#fff;
    color:#333;
    font-family:inherit;
    font-size:12px;
}

.igt-variation-selector .variations select:focus{
    border-color:#E80545;
    box-shadow:0 0 0 3px rgba(232,5,69,.06);
}

.igt-variation-selector .reset_variations{
    display:inline-block;
    margin-top:5px;
    color:#E80545;
    font-size:10px;
    text-decoration:none;
}


/* =========================================
   Product Services
========================================= */

.igt-product-services{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:8px;
    margin-top:10px;
}

.igt-service-item{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:52px;
    padding:8px 10px;
    border:1px solid #eee;
    border-radius:10px;
    background:#fff;
    color:#444;
    font-size:11px;
}

.igt-service-item img{
    flex:0 0 32px;
    width:32px;
    height:32px;
    object-fit:contain;
}


/* =========================================
   Return Guarantee
========================================= */

.igt-return-box{
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:8px;
    padding:9px 11px;
    border:1px solid #dff1e2;
    border-radius:10px;
    background:#f5fbf5;
    color:#4da75b;
    font-size:11px;
}

.igt-return-box i{
    font-size:16px;
}


/* =========================================
   Short Description
========================================= */

.igt-short-description{
    margin-top:10px;
    overflow:hidden;
    border:1px solid #eee;
    border-radius:10px;
    background:#fafafa;
}

.igt-short-description summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 12px;
    color:#444;
    font-size:11px;
    font-weight:700;
    cursor:pointer;
    list-style:none;
}

.igt-short-description summary::-webkit-details-marker{
    display:none;
}

.igt-short-description summary span{
    display:flex;
    align-items:center;
    gap:6px;
}

.igt-short-description summary span i{
    color:#E80545;
}

.igt-short-description > summary > i{
    transition:.2s ease;
}

.igt-short-description[open] > summary > i{
    transform:rotate(180deg);
}

.igt-short-description-content{
    padding:0 12px 11px;
    color:#777;
    font-size:11px;
    line-height:1.9;
}

.igt-short-description-content p{
    margin:0;
}


/* =========================================
   Product Meta
========================================= */

.igt-product-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
    margin-top:10px;
    color:#999;
    font-size:10px;
}

.igt-product-meta a{
    color:#555;
    text-decoration:none;
}

.igt-product-meta a:hover{
    color:#E80545;
}


/* =========================================
   Gallery
========================================= */

.igt-product-gallery{
    position:sticky;
    top:20px;
    outline:none;
}

.igt-gallery-main{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:465px;
    overflow:hidden;
    border:1px solid #eee;
    border-radius:15px;
    background:#fff;
}

.igt-gallery-main > a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
}

.igt-gallery-main img{
    width:100%;
    height:100%;
    padding:18px;
    object-fit:contain;
    transition:
        opacity .2s ease,
        transform .3s ease;
}

.igt-gallery-main > a:hover img{
    transform:scale(1.025);
}


/* =========================================
   Discount Badge
========================================= */

.igt-discount-badge{
    position:absolute;
    top:17px;
    right:17px;
    z-index:5;
    padding:7px 11px;
    border-radius:8px;
    background:#E80545;
    color:#fff;
    font-size:12px;
    font-weight:700;
}


/* =========================================
   Gallery Arrows
========================================= */

.igt-gallery-arrow{
    position:absolute;
    top:50%;
    z-index:6;
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    padding:0;
    border:1px solid #eee;
    border-radius:50%;
    background:rgba(255,255,255,.95);
    color:#333;
    cursor:pointer;
    transform:translateY(-50%);
    box-shadow:0 5px 18px rgba(0,0,0,.06);
    transition:.2s ease;
}

.igt-gallery-arrow:hover{
    border-color:#E80545;
    background:#E80545;
    color:#fff;
}

.igt-gallery-prev{
    right:13px;
}

.igt-gallery-next{
    left:13px;
}


/* =========================================
   Gallery Thumbnails
========================================= */

.igt-gallery-thumbs{
    display:flex;
    gap:8px;
    margin-top:10px;
    padding:2px 1px 7px;
    overflow-x:auto;
    scrollbar-width:thin;
}

.igt-gallery-thumb{
    flex:0 0 72px;
    width:72px;
    height:72px;
    padding:3px;
    overflow:hidden;
    border:1px solid #eee;
    border-radius:9px;
    background:#fff;
    cursor:pointer;
    transition:.2s ease;
}

.igt-gallery-thumb:hover{
    border-color:#bbb;
}

.igt-gallery-thumb.active{
    border:2px solid #E80545;
}

.igt-gallery-thumb img{
    width:100%;
    height:100%;
    object-fit:contain;
}


/* =========================================
   Product Tabs
========================================= */

.igt-product-tabs-section{
    margin:55px 0;
}

.igt-product-tabs{
    display:flex;
    gap:4px;
    margin:0;
    padding:5px;
    overflow-x:auto;
    border:0;
    border-radius:11px;
    background:#f3f3f3;
    list-style:none;
}

.igt-product-tabs .nav-item{
    flex:0 0 auto;
}

.igt-product-tabs .nav-link{
    padding:11px 19px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:#777;
    font-family:inherit;
    font-size:13px;
    white-space:nowrap;
    transition:.2s ease;
}

.igt-product-tabs .nav-link:hover{
    color:#E80545;
}

.igt-product-tabs .nav-link.active{
    background:#fff;
    color:#E80545;
    box-shadow:0 3px 12px rgba(0,0,0,.05);
}

.igt-review-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:19px;
    height:19px;
    margin-right:4px;
    padding:0 4px;
    border-radius:20px;
    background:#eee;
    font-size:9px;
}

.igt-tabs-content{
    padding-top:28px;
}


/* =========================================
   Section Title
========================================= */

.igt-section-title{
    margin-bottom:20px;
}

.igt-section-title span{
    display:block;
    margin-bottom:3px;
    color:#E80545;
    font-size:11px;
}

.igt-section-title h2{
    margin:0;
    color:#222;
    font-size:20px;
    font-weight:800;
}


/* =========================================
   Product Description
========================================= */

.igt-product-description{
    color:#555;
    font-size:14px;
    line-height:2.1;
    text-align:justify;
}

.igt-product-description p{
    margin-bottom:17px;
}

.igt-product-description h2,
.igt-product-description h3,
.igt-product-description h4,
.igt-product-description h5,
.igt-product-description h6{
    margin:28px 0 14px;
    padding-bottom:11px;
    border-bottom:1px solid #eee;
    color:#222;
    font-size:17px;
    font-weight:800;
}

.igt-product-description ul,
.igt-product-description ol{
    margin-bottom:18px;
    padding-right:20px;
}

.igt-product-description li{
    margin-bottom:8px;
}

.igt-product-description img{
    max-width:100%;
    height:auto;
    border-radius:11px;
}


/* =========================================
   Specification Table
========================================= */

.igt-spec-table{
    width:100%;
    margin:0;
    overflow:hidden;
    border:1px solid #eee;
    border-collapse:separate;
    border-spacing:0;
    border-radius:11px;
}

.igt-spec-table th,
.igt-spec-table td{
    padding:14px 17px;
    border-bottom:1px solid #eee;
    text-align:right;
    vertical-align:middle;
}

.igt-spec-table th{
    width:32%;
    background:#fafafa;
    color:#444;
    font-weight:600;
}

.igt-spec-table td{
    background:#fff;
    color:#666;
}

.igt-spec-table tr:last-child th,
.igt-spec-table tr:last-child td{
    border-bottom:0;
}

.igt-spec-table tr:hover th,
.igt-spec-table tr:hover td{
    background:#fffafa;
}


/* =========================================
   Reviews
========================================= */

.igt-product-reviews{
    padding:22px;
    border:1px solid #eee;
    border-radius:13px;
    background:#fff;
}

.igt-product-reviews .commentlist{
    margin:0;
    padding:0;
    list-style:none;
}

.igt-product-reviews .commentlist > li{
    padding:18px 0;
    border-bottom:1px solid #eee;
}

.igt-product-reviews .commentlist > li:last-child{
    border-bottom:0;
}

.igt-product-reviews .comment_container{
    display:flex;
    gap:12px;
}

.igt-product-reviews img.avatar{
    width:46px !important;
    height:46px !important;
    min-width:46px;
    border-radius:50%;
    object-fit:cover;
}

.igt-product-reviews .comment-text{
    flex:1;
}

.igt-product-reviews .star-rating{
    margin:6px 0;
}

.igt-product-reviews .description{
    color:#555;
    font-size:13px;
    line-height:2;
}

.igt-product-reviews .comment-form input,
.igt-product-reviews .comment-form textarea{
    width:100%;
    padding:11px 13px;
    border:1px solid #ddd;
    border-radius:9px;
    outline:0;
    background:#fafafa;
    font-family:inherit;
}

.igt-product-reviews .comment-form input:focus,
.igt-product-reviews .comment-form textarea:focus{
    border-color:#E80545;
    background:#fff;
    box-shadow:0 0 0 3px rgba(232,5,69,.07);
}

.igt-product-reviews .comment-form .submit{
    padding:11px 26px !important;
    border:0 !important;
    border-radius:9px !important;
    background:#E80545 !important;
    color:#fff !important;
    font-family:inherit;
}


/* =========================================
   Tablet
========================================= */

@media(max-width:991.98px){

    .igt-product-gallery{
        position:static;
    }

    .igt-gallery-main{
        height:400px;
    }

    .igt-feature-grid{
        grid-template-columns:repeat(4,1fr);
    }

}


/* =========================================
   Mobile
========================================= */

@media(max-width:575.98px){

    .igt-single-product{
        padding-top:12px;
    }

    .igt-product-breadcrumb{
        margin-bottom:11px;
        font-size:10px;
    }


    /* Header */

    .igt-product-header{
        align-items:flex-start;
        gap:8px;
        margin-bottom:12px;
        padding-bottom:12px;
    }

    .igt-product-title h1{
        font-size:17px;
        line-height:1.7;
    }

    .igt-product-en-title{
        font-size:10px;
    }

    .igt-product-brand{
        min-width:65px;
        min-height:48px;
        padding:4px;
    }

    .igt-brand-image{
        max-width:60px;
        max-height:38px;
    }


    /* Features */

    .igt-feature-grid{
        grid-template-columns:repeat(2,1fr);
        gap:6px;
        margin-bottom:8px;
    }

    .igt-feature-item{
        padding:8px;
    }

    .igt-feature-item span{
        font-size:9px;
    }

    .igt-feature-item strong{
        font-size:11px;
    }


    /* Purchase */

    .igt-purchase-box{
        padding:11px;
    }

    .igt-product-price{
        padding:7px 0 9px;
    }

    .igt-price-value{
        font-size:16px;
    }


    /* Cart */

    .igt-cart-row{
        gap:6px;
    }

    .igt-qty-controller{
        flex:0 0 108px;
        height:43px;
    }

    .igt-qty-btn{
        width:35px;
        font-size:15px;
    }

    .igt-qty-value strong{
        font-size:14px;
    }

    .igt-main-add-button{
        min-height:43px;
        padding:6px 9px;
        font-size:11px;
    }

    .igt-main-add-button i{
        font-size:15px;
    }


    /* Purchase Meta */

    .igt-purchase-details{
        grid-template-columns:1fr 1fr;
    }


    /* Services */

    .igt-product-services{
        grid-template-columns:1fr;
    }


    /* Variable */

    .igt-variation-selector .variations tr{
        display:block;
    }

    .igt-variation-selector .variations th,
    .igt-variation-selector .variations td{
        display:block;
        width:100%;
    }

    .igt-variation-selector .variations th{
        margin-bottom:4px;
    }


    /* Gallery */

    .igt-gallery-main{
        height:315px;
        border-radius:12px;
    }

    .igt-gallery-main img{
        padding:9px;
    }

    .igt-gallery-arrow{
        width:34px;
        height:34px;
    }

    .igt-gallery-thumb{
        flex-basis:60px;
        width:60px;
        height:60px;
    }


    /* Tabs */

    .igt-product-tabs-section{
        margin:40px 0;
    }

    .igt-product-tabs{
        flex-wrap:nowrap;
        scrollbar-width:none;
    }

    .igt-product-tabs::-webkit-scrollbar{
        display:none;
    }

    .igt-product-tabs .nav-link{
        padding:10px 13px;
        font-size:12px;
    }

    .igt-tabs-content{
        padding-top:20px;
    }


    /* Specs */

    .igt-spec-table th,
    .igt-spec-table td{
        padding:11px;
        font-size:12px;
    }

    .igt-spec-table th{
        width:42%;
    }


    /* Reviews */

    .igt-product-reviews{
        padding:16px 12px;
    }

}