﻿
:root {
    --font-main: "Vazirmatn", system-ui, -apple-system, sans-serif;
}

html, body, .mobile-wrapper, .containerr, .top-row, .title, .tab, .accessories-title, .item-name, .item-price {
    font-family: var(--font-main) !important;
}

body {
   background: linear-gradient(to bottom, #f1f4f9 0%, #e8edf3 35%, #d2dbe3 100%);
    margin: 0;
}

h1, h2, h3, h4, .title, strong, .item-price strong {
    font-weight: 700 !important;
}

 
 header,
 footer{
 display: none;
 }
 
 .mobile-wrapper {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    min-height: 100vh;
    overflow: hidden;
}
 
 .containerr {
    max-width: 1500px;
    margin: 0 auto;
    margin-bottom: 35px;
    padding: 30px 20px 1px 20px;
 }
 
 
 .top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    margin-bottom: 10px;
 }
 
 
 .top-row .title {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #000;
 }
 
 
 .left-icon {
            width: 45px;
            height: 45px;
            border-radius: 12px;
            background: #000000;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
        }
          
          .left-icon img {
              width: 35px;
              height: 30px;
              object-fit: contain;
          }
 
 .top-row .back-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
 }
 
 .stats-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin: 16px 0;
 }
 
 .stat-box {
    width: 65px;
    min-height: 65px;   
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    padding: 6px 4px;   
    text-align: center;
}



 .stat-box strong {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    word-break: break-word;     
    overflow-wrap: anywhere;    
}
 
 .stat-box span {
    font-size: 13px;
    color: #555;
    font-weight: 600;
 }
 

.header-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    padding: 1px 20px;
}

.header-tabs a,
.header-tabs .tab {
    text-decoration: none;
    color: inherit;
}

.tab {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    color: #7a7a7a !important;
}

 .product-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
 }

 .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
 }

 .accessories-title {
    padding: 30px 16px 8px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
 }

 .accessories-subtitle {
    padding: 0 16px 30px;
    font-size: 13px;
    color: #666;
 }

 .items-container {
    padding: 30px 12px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
 }

 .item-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.15s;
 }

 .item-card:hover {
    transform: translateY(-4px);
 }

 .item-price strong {
    font-size: 17px;
 }


.item-card {
    background: white;
    border-radius: 16px;
    overflow: visible; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.15s;
}

.text-center {
    text-align: center;
}


.font-bold {
    font-weight: 700;
}


.text-gray-800 {
    color: #1f2937;
}


.text-gray-600 {
    color: #4b5563;
}


.text-indigo-600 {
    color: #4f46e5;
}


.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}


.p-5 {
    padding: 1.25rem;
}


.mb-1 {
    margin-bottom: 0.25rem;
}


.mb-3 {
    margin-bottom: 0.75rem;
}


.back-icon {
    text-decoration: none;
}


.item-card {
    position: relative;
    width: 270px;
    padding-top: 60px;
    padding-bottom: 50px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    overflow: visible;
}

.item-image-wrapper {
    position: absolute;
    top: -24px; 
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image {
    width: 145px;
    height: auto;
    max-height: 280%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.item-name {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.item-km {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.item-price {
    font-size: 16px;
    font-weight: bold;
    margin-top: 6px;
}

.view-icon {
    width: 34px;
    height: 34px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    bottom: 17px; 
    transform: translateX(-50%);
    z-index: 5;
}



/****** @media ********/


@media (max-width: 450px) {

     .mobile-wrapper {
     border-radius: 0;
     box-shadow: none;
     min-height: 100vh;
     }
     .items-container {
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
     }
     
     .item-image-wrapper {
     height: 100px;
     }
 }


@media (max-width: 800px) {

    .tab { 
        font-size: 12px;
    }
      
     .stats-row {
         gap: 20px;
     }
     
     .item-card {
        width: 205px !important;
    }
}



@media (min-width: 768px){

        .container{
            padding: 1px 10px;
        }

}