/*=====================================
    PRODUCT DETAIL PAGE
=====================================*/


.a-product-detail-page{

    background:#fff;
    padding:30px 0 60px;

}


.a-container{

    width:1600px;
    max-width:95%;
    margin:auto;

}



/*=====================================
    BREADCRUMB
=====================================*/


.a-breadcrumb{

    font-size:14px;
    color:#777;
    margin-bottom:25px;

}



/*=====================================
    PRODUCT TOP
=====================================*/


.a-product-detail-top{

    display:grid;
    grid-template-columns:720px 1fr;
    gap:50px;
	min-width:0;

}



/*=====================================
    PRODUCT GALLERY
=====================================*/
.a-gallery-pagination,
.a-gallery-prev,
.a-gallery-next{

    display:none;

}

.a-product-gallery{

    background:#f9f9f9;
    padding:25px;
	 width:100%;
    min-width:0;

}


.a-product-main-image{

    height:520px;
    display:flex;
    align-items:center;
    justify-content:center;
	
	    position:relative;

    overflow:hidden;

    cursor:none;

    user-select:none;

    -webkit-user-select:none;

}


.a-product-main-image img{

    max-width:100%;
    max-height:100%;
    object-fit:contain;
	 display:block;


    pointer-events:none;

    -webkit-user-drag:none;

}



.a-product-thumbs{

    display:flex;
    gap:15px;
    margin-top:15px;
	    overflow-x:auto;
    overflow-y:hidden;

    -webkit-overflow-scrolling:touch;

    scrollbar-width:none;

    padding-bottom:5px;

}



.a-thumb{

    width:90px;
    height:90px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    border:1px solid #ddd;

}

.a-product-thumbs::-webkit-scrollbar{

    display:none;

}


.a-thumb img{

    max-width:80%;
    max-height:86%;

}



.a-thumb.active{

    border:2px solid #004F94;

}

.a-image-zoom-btn{

    position:absolute;

	right:5px;
    bottom:10px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    width:150px;
    height:42px;

    border:1px solid rgba(255,255,255,.4);
    border-radius:8px;

    background:rgba(255,255,255,.25);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);

    color:#555;
    font-size:14px;
    font-weight:500;

    cursor:pointer;

    transition:.25s;

    z-index:1903;

}

.a-image-zoom-btn:hover{

    background:rgba(255,255,255,.95);

}


.a-zoom-icon{

    position:relative;

    width:14px;
    height:14px;

    border:2px solid currentColor;
    border-radius:50%;

    display:inline-block;

    flex-shrink:0;

}

.a-zoom-icon::after{

    content:"";

    position:absolute;

    width:7px;
    height:2px;

    background:currentColor;

    border-radius:2px;

    right:-5px;
    bottom:-2px;

    transform:rotate(45deg);

}

/*=====================================
    PRODUCT INFO
=====================================*/


.a-product-info{

    padding:10px 0;

}


.a-product-brand{

    color:#004F94;
    font-size:16px;
    font-weight:600;
    margin-bottom:10px;

}



.a-product-info h1{

    font-size:32px;
    line-height:1.3;
    font-weight:600;
    margin:0 0 20px;
    color:#222;

}



.a-product-code{

    font-size:14px;
    color:#666;
    margin-bottom:15px;

}


.a-product-code strong{

    color:#222;

}



/* Rating */

.a-product-rating{

    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;

    margin-bottom:18px;

}

.stars{

    display:flex;

    gap:3px;

}

.stars i{

    color:#F7B500;

    font-size:14px;

}

.rating-value{

    font-size:14px;

    font-weight:700;

    color:#1F2937;

}

.rating-count{

    font-size:13px;

    color:#8B96A5;

}

/* Price */


.product-price-box{
     background-color:#f9f9f9; margin-bottom:15px; 

}
.product-price-stk{
    font-size:32px;
    font-weight:700;
    color:#F00; padding:15px; padding-left:25px;

}
.product-price{
    font-size:32px;
    font-weight:700;
    color:#004F94; padding:15px; padding-bottom:0px; padding-left:25px;

}

.old-price{ font-size:18PX;     color:#9AA5B1;

    text-decoration:line-through; margin-left:30px;}
	
.product-price-stk{     
font-size:24px;
    font-weight:700;
    color:#004F94; padding:15px;  padding-left:25px;}
.current-stk{     
font-size:24px;
    font-weight:700;
    color:#004F94; padding-bottom:20px;}	

	
.price-info{
    display:flex;
    gap:30px;
    align-items:center;
    font-size:14px;
    color:#666; padding:15px; padding-left:28px; padding-top:8px;
}

.stock-status{
    color:#198754;
    font-weight:600;
}

.stock-status i{
    font-style:normal;
}



/* Stock */


.a-product-stock{

    display:flex;
    gap:20px;
    margin-bottom:25px;

}


.a-product-stock span{

    padding:8px 18px;
    background:#eee;
    border-radius:20px;
    font-size:14px;

}


.a-product-stock .stock-ok{

    background:#e7f6ea;
    color:#218838;

}



/*=====================================
 PRODUCT INFO BOX
=====================================*/


.a-product-details-box{
    display:flex;
    flex-direction:column;
    gap:15px;
}


.a-product-detail-row{
    display:grid;
    gap:15px; font-weight:500;
}


.a-product-detail-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:6px 8px;
    border:1px solid #f9f9f9; 
	background-color:#f9f9f9;
}


.a-product-detail-item span{
    color:#777;
    font-size:14px; min-width:150px;
}


.a-product-detail-item strong{
    color:#222;
    font-size:15px;
    font-weight:600;
}



/*=====================================
    CART AREA
=====================================*/


.a-product-action{
    margin-top:3px;
}


.a-cart-row{

    display:flex;
    align-items:center;
    gap:17px;

}



.a-quantity{

    display:flex;
    align-items:center;
    height:48px;

    border:1px solid #ddd;
   
    overflow:hidden;

}



.a-quantity button{

    width:40px;
    height:100%;

    border:0;
    background:#f5f5f5;

    font-size:20px;
    cursor:pointer;

}



.a-quantity input{

    width:45px;
    height:100%;

    border:0;

    text-align:center;

    font-size:16px;

}



.a-add-cart{

    height:48px;

    padding:0 55px;

    border:0;

    background:#004F94;
    color:#fff;

    font-size:16px;
    font-weight:600;

    cursor:pointer;

}



.a-favorite-btn{

    margin-top:15px;

    width:100%;
    height:46px;

    border:1px solid #ddd;

    background:#fff;



    font-size:15px;

    cursor:pointer;

}



.a-favorite-btn span{

    font-size:17px;

    vertical-align:-2px;

    margin-right:8px;

}

.a-favorite-btn.is-active .a-favorite-text {
    font-size: 0;
}

.a-favorite-btn.is-active .a-favorite-text::after {
    content: "Favorilerimde";
    font-size: 17px;
}
.a-favorite-btn.is-active .a-favorite-icon {
    font-size: 0;
}
.a-favorite-btn.is-active .a-favorite-icon::after {
    content: "♥";
	font-size: 17px;
}

/* Extra */

.a-product-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    padding-left: 4px;
    font-size: 14px;
    color: #444;
}

.a-product-extra span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px 9px 10px;
    border: 0px solid #d8d8d8;
    border-radius: 0px;
    background: #fff;
    white-space: nowrap;

    transition: all .2s ease;
}

.a-product-extra span::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border-radius: 50%;
    background: #fff;
    color: #004F94;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}


/*=====================================
    TABS
=====================================*/


.a-product-tabs{

    margin-top:60px;

}



.a-detail-section{

    margin-bottom:40px;

}



.a-detail-section h2{

    font-size:22px;
    font-weight:600;

    padding:15px;

    border-bottom:1px solid #ccc;

    margin-bottom:25px; background-color:#f9f9f9; 

}

.a-detail-section h2::after{

content:"";
display:block;
width:40px;
height:1px;
background:#004F94; margin-top:10px; 


}

.a-detail-body{

    color:#555;

    font-size:15px;

    line-height:1.8;

}



.a-detail-body h3{

    font-size:20px;

    color:#222;

    margin-bottom:15px;

}



.a-detail-body p{

    margin-bottom:15px;

}



/* Teknik tablo */


.a-detail-body table{

    width:100%;

    border-collapse:collapse;

}



.a-detail-body td{

    padding:15px;

    border-bottom:1px solid #ddd;

}



.a-detail-body td:first-child{

    width:220px;

    font-weight:600;

    color:#222;

}



/* Araç listesi */


.a-detail-body ul {
    list-style: none;
    padding: 0;
    margin: 0;

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px 15px;
}

.a-detail-body li {
    padding: 12px 15px;
    background-color:#f9f9f9;
}
@media (max-width: 1300px) {

    .a-detail-body ul {
         grid-template-columns: repeat(4, 1fr);
    }

}
@media (max-width: 900px) {

    .a-detail-body ul {
         grid-template-columns: repeat(3, 1fr);
    }

}
@media (max-width: 680px) {

    .a-detail-body ul {
         grid-template-columns: repeat(2, 1fr);
    }

}



/*=====================================
    RELATED PRODUCTS
=====================================*/


.a-related-products{

    margin-top:50px;

}





.a-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

.p-product-card-horizontal {
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0px;
}

.p-card-img-box {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
}

.p-card-img-box img {
    display: block;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-card-info-box {
    min-width: 0;
    flex: 1;
    padding: 8px 10px;
}

.p-product-category,
.p-product-title-horizontal,
.p-home-produst-brk {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p-product-category {
    font-size: 11px;
}

.p-product-title-horizontal {
    margin: 3px 0;
    font-size: 13px;
    line-height: 1.3;
}

.p-home-produst-brk {
    font-size: 10px;
}

.p-product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
}

.p-price-container-horizontal {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.p-current-price {
    font-size: 13px;
    font-weight: 700;
}

.p-old-price {
    font-size: 10px;
}


/* MOBİL */
@media (max-width: 800px) {

    .a-related-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 8px;
    }

    .p-product-card-horizontal {
        min-width: 0;
    }

    .p-card-img-box {
        flex: 0 0 65px;
        width: 65px;
        height: 65px;
    }

    .p-card-info-box {
        padding: 6px;
    }

    .p-product-category {
        font-size: 9px;
    }

    .p-product-title-horizontal {
        font-size: 11px;
        margin: 2px 0;
    }

    .p-home-produst-brk {
        font-size: 8px;
    }

    .p-product-rating {
        font-size: 8px;
    }

    .p-price-container-horizontal {
        gap: 3px;
    }

    .p-current-price {
        font-size: 11px;
    }

    .p-old-price {
        font-size: 9px;
    }
	

	
	
}



/*=====================================
    TABLET 992px
=====================================*/


@media(max-width:1150px){


.a-product-detail-top{

    grid-template-columns:1fr;
    gap:30px;

}


.a-product-main-image{

    height:420px;

}




}



/*=====================================
    MOBILE 768px
=====================================*/


@media(max-width:768px){
    .a-product-detail-row{
        grid-template-columns:1fr;
    }

.a-container{

    max-width:92%;

}



.a-product-gallery{

    padding:15px;

}



.a-product-main-image{

    height:250px;

}



.a-product-thumbs{

    overflow-x:auto;

}

 .a-product-thumbs{

        display:flex;

        overflow-x:auto;

        flex-wrap:nowrap;

        gap:10px;

        -webkit-overflow-scrolling:touch;

    }

    .a-thumb{

        flex:0 0 70px;

    }



.a-product-info h1{

    font-size:24px;

}



.a-product-price strong{

    font-size:26px;

}



.a-product-action{

    flex-direction:column;

}



  .a-cart-row{

        width:100%;

    }


    .a-quantity{

        flex:0 0 auto;

    }


    .a-add-cart{

        flex:1;

        padding:0;

    }



.a-product-extra{

    flex-direction:column;
    gap:10px;

}



.a-tab-menu{

    overflow-x:auto;

}



.a-tab-menu button{

    white-space:nowrap;
    padding:15px 20px;

}



}



/*=====================================
    SMALL MOBILE 480px
=====================================*/


@media(max-width:480px){

.a-thumb{

    width:70px;
    height:70px;

}

}
.a-lightbox{

 position:fixed;
    inset:0;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(0,0,0,.92);

    opacity:0;
    visibility:hidden;

    transition:opacity .35s ease,
               visibility .35s;

    z-index:9999;

}

.a-lightbox.active{

    opacity:1;
    visibility:visible;

}

.a-lightbox-image{

 display:block;

    max-width:80vw;
    max-height:80vh;

    width:auto;
    height:auto;

    object-fit:contain;

    transform-origin:center center;

    transform:translate(0,0) scale(1);

    transition:transform .25s ease;

    cursor:grab;

    user-select:none;

}

.a-lightbox-close{

 position:absolute;
    top:25px;
    right:25px;

    width:44px;
    height:44px;

    background:none;
    border:none;

    cursor:pointer;

    z-index:1002;

}


.a-lightbox-close::before,
.a-lightbox-close::after{

    content:"";

    position:absolute;

    width:26px;
    height:2px;

    background:#fff;

    top:20px;
    left:8px;

}

.a-lightbox-close::before{

    transform:rotate(45deg);

}

.a-lightbox-close::after{

    transform:rotate(-45deg);

}
.a-lightbox-next{

    position:absolute;

    right:30px;

    top:50%;

    width:55px;
    height:55px;

    transform:translateY(-50%);

    background:none;

    border:none;

    cursor:pointer;

}

.a-lightbox-next::before{

    content:"";

    display:block;

    width:18px;
    height:18px;

    border-top:3px solid #fff;

    border-right:3px solid #fff;

    transform:rotate(45deg);

    margin:auto;

}
.a-lightbox-prev{

    position:absolute;

    left:30px;

    top:50%;

    width:55px;
    height:55px;

    transform:translateY(-50%);

    background:none;

    border:none;

    cursor:pointer; z-index:1003;

}

.a-lightbox-prev::before{

    content:"";

    display:block;

    width:18px;
    height:18px;

    border-top:3px solid #fff;

    border-left:3px solid #fff;

    transform:rotate(-45deg);

    margin:auto;

}

.a-image-lens {
    position: absolute;

    width: 150px;
    height: 150px;

    border-radius: 8px;

    border: 2px solid rgba(255,255,255,.95);

    background-repeat: no-repeat;

    pointer-events: none;

    opacity: 0;

    transform: translate(-50%, -50%);

    z-index: 20;

    box-shadow:
        0 4px 18px rgba(0,0,0,.28),
        inset 0 0 0 1px rgba(0,0,0,.08);

    transition: opacity .15s ease;

    overflow: hidden;
}


/* Cam Parlaması */

.a-image-lens::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:50%;

    background:
        radial-gradient(circle at 30% 30%,
        rgba(255,255,255,.55),
        rgba(255,255,255,0) 55%);

}


/* İnce dış halka */

.a-image-lens::after{

    content:"";

    position:absolute;

    inset:5px;

    border-radius:50%;

    border:1px solid rgba(255,255,255,.45);

}


/* ==========================================================
   LOADING
========================================================== */

.a-image-loading{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.92);

    opacity:0;

    visibility:hidden;

    transition:.25s;

    z-index:25;

}

.a-image-loading.active{

    opacity:1;

    visibility:visible;

}


.a-image-loading span{

    width:44px;

    height:44px;

    border-radius:50%;

    border:3px solid #ddd;

    border-top-color:#004F94;

    animation:aLensLoading .7s linear infinite;

}


@keyframes aLensLoading{

    to{

        transform:rotate(360deg);

    }

}


/* ==========================================================
   IMAGE CHANGE
========================================================== */

.a-main-image{

    transition:opacity .18s ease;

}

.a-main-image.loading{

    opacity:.25;

}


/* ==========================================================
   HOVER
========================================================== */

.a-product-main-image:hover .a-image-lens{

    opacity:1;

    visibility:visible;

}


/* ==========================================================
   CURSOR
========================================================== */

.a-product-main-image{

    cursor:crosshair;

}


/* ==========================================================
   PERFORMANCE
========================================================== */

.a-main-image,

.a-image-lens{

    will-change:transform,left,top,background-position;

}


/* ==========================================================
   MOBILE
========================================================== */

@media (hover:none){

    .a-image-lens{

        display:none;

    }

    .a-product-main-image{

        cursor:default;

    }

}
.a-lightbox-counter{

    position:absolute;

    left:50%;

    bottom:25px;

    transform:translateX(-50%);

    display:flex;

    align-items:center;

    gap:6px;

    padding:8px 16px;

    border-radius:30px;

    background:rgba(0,0,0,.65);

    color:#fff;

    font-size:14px;

    font-weight:600;

    letter-spacing:.5px;

    user-select:none;

}

.a-current-image{

    color:#fff;

}

.a-total-image{

    color:#d8d8d8;

}
@media (max-width:768px){

    .a-product-thumbs{

        display:none;

    }
.a-gallery-prev,
.a-gallery-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:40px;
    height:40px;

    border:none;

    background:transparent;

    cursor:pointer;

    z-index:15;

    display:flex;
    align-items:center;
    justify-content:center;

}


.a-gallery-prev{

    left:15px;

}


.a-gallery-next{

    right:15px;

}



/* CSS OK */

.a-gallery-prev::before,
.a-gallery-next::before{

    content:"";

    width:14px;
    height:14px;

    border-top:2px solid #333;
    border-right:2px solid #333;

    display:block;

    transition:.3s ease;

}



/* SOL OK */

.a-gallery-prev::before{

    transform:rotate(-135deg);

    margin-left:6px;

}



/* SAĞ OK */

.a-gallery-next::before{

    transform:rotate(45deg);

    margin-right:6px;

}



/* Hover */

.a-gallery-prev:hover::before,
.a-gallery-next:hover::before{

    border-color:#004F94;

}



/* Mobil */

@media(max-width:768px){
.a-image-zoom-btn{

    width:150px;
    height:32px;
    border:0px solid #e5e5e5;
	left:50%;
    bottom:10px;
	 transform:translateX(-50%);

}

.a-image-zoom-btn:hover{

    background:#f0f0f0;
    border-color:#004F94;
    color:#000;

}




    .a-gallery-prev,
    .a-gallery-next{

        width:32px;
        height:32px;

    }


    .a-gallery-prev{

        left:5px;

    }


    .a-gallery-next{

        right:5px;

    }


    .a-gallery-prev::before,
    .a-gallery-next::before{

        width:12px;
        height:12px;

    }

}

.a-gallery-dots{

    display:flex;

    justify-content:center;

    gap:8px;

    margin-top:15px;

}

.a-gallery-dot{

    width:8px;

    height:8px;

    border-radius:50%;

    background:#d4d4d4;

    transition:.3s;

}

.a-gallery-dot.active{

    width:22px;

    border-radius:10px;

    background:#004F94;

}
.a-gallery-counter{

    margin-top:12px;

    text-align:center;

    font-size:14px;

    color:#777;

    font-weight:600;

}
  .a-product-thumbs{

        display:none;

    }

    .a-gallery-pagination{

        display:block;

    }

    .a-gallery-prev,
    .a-gallery-next{

        display:flex;

    }
}
@media(min-width:769px){

    .a-gallery-prev,
    .a-gallery-next{

        display:none;

    }

}