@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
   
}

/*  =========================        image and informtion=============== */
.card-wrapper{
    max-width: 1400px;
    margin: 0 auto;
    height: auto;
}
.card-wrapper img{
    width: 100%;
      display: block;
      height: 120px;
}
.img-display{
    overflow: hidden;
}
.img-showcase{
    display: flex;
    width: 100%;
    transition: all 0.5s ease;
}
.img-showcase img{
    min-width: 100%;
    height: 450px;
}
.img-select{
    display: flex;
}
.img-item{
    margin: 0.3rem;
}
.img-item:nth-child(1),
.img-item:nth-child(2),
.img-item:nth-child(3){
    margin-right: 0;
}
.img-item:hover{
    opacity: 0.8;
}
.product-content{
    color: #000000;
    padding: 2rem 1rem;
}
.product-title{
    font-size: 3rem;    
    text-transform: capitalize;
    font-weight: 700;
    position: relative;
    color: rgb(0, 0, 0);
    margin: 1rem 0;
}
.product-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
    background: rgb(0, 0, 0);;
}
.product-link{
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.9rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    /* background: #256eff; */
    color: #000000;
    padding: 0 0.3rem;
    transition: all 0.5s ease;
}
.product-link:hover{
    opacity: 0.9;
}
.product-rating{
    padding: 20px 0px;
    color: #ffc107;
}
.product-rating span{
    font-weight: 600;
    color: #252525;
}
.product-price{
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 700;
}
.product-rating span{
    font-weight: 600;
    color: rgb(0, 0, 0);
}
.product-price{
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 700;
}
.product-price span{
    font-weight: 400;
}
.last-price span{
    color: rgb(0, 0, 0);
    
}
.new-price span{
    color: rgb(0, 0, 0);
}
.product-detail h2{
    text-transform: capitalize;
    color:rgb(0, 0, 0);
    padding-bottom: 0.6rem;
}
.product-detail p{
    font-size: 0.9rem;
    padding: 0.3rem;
    opacity: 0.8;
}
.product-detail ul{
    margin: 1rem 0;
    font-size: 0.9rem;
}
.product-detail ul li{
    margin: 0;
    list-style: none;
    /* background: url(shoes_images/checked.png) left center no-repeat; */
    background-size: 18px;
    padding-left: 1.7rem;
    margin: 0.4rem 0;
    font-weight: 600;
    opacity: 0.9;
}
.product-detail ul li span{
    font-weight: 400;
}
.purchase-info{
    margin: 1.5rem 0;
}
.purchase-info input,
.purchase-info .btn{
    border: 1.5px solid #000000;
    border-radius: 25px;
    text-align: center;
    padding: 0.45rem 0.8rem;
    outline: 0;
    margin-right: 0.2rem;
    margin-bottom: 1rem;
}
.purchase-info input{
    width: 60px;
}
.purchase-info .btn a{
    text-decoration: none;
    color: #ffffff;
}
.purchase-info .btn{
    cursor: pointer;
    color: #000000;
}


.purchase-info .btn:last-of-type{
    background: #000000;
}
.purchase-info .btn:hover{
    opacity: 0.9;
}
.social-links{
    display: flex;
    align-items: center;
}
.social-links a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    margin: 0 0.2rem;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.5s ease;
}
.social-links a:hover{
    background:rgb(255, 244, 36);
    border-color: transparent;
    color: #fff;
}

@media screen and (min-width: 992px){
    .card{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1.5rem;
    }
    .card-wrapper{
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-imgs{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .product-content{
        padding-top: 0;
    }
}

/* ========================== grid item  fontawsome       =================== */
.g-item{
    /* border: 2px solid red; */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 5px;
    /* background-color: #f4f4f4; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
}
.grid-item {
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-5px);
}
.grid-item i {
    font-size: 40px;
    color: #333;
    margin-bottom: 10px;
}
.grid-item h3 {
    font-size: 18px;
    margin: 0;
    color: #555;
}
@media (max-width: 480px) {
    .grid-item {
        padding: 15px;
    }
    .grid-item i {
        font-size: 30px;
    }
    .grid-item h3 {
        font-size: 16px;
    }
}
/* ======== endgrisd=================== */


/*  =============  catgaries 1bhk 32bhk 3bhk  */
.bhkopt {
    font-family: Arial, sans-serif;
    /* background-color: #ffffff; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.bhk-options {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.bhk-option {
    background-color: #007bff;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.bhk-option:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.bhk-option:active {
    transform: scale(0.95);
}

.image-display {
    text-align: center;
}

.image-display img {
    max-width: 100%;
    height: auto;
    border: 2px solid #333; /* Dark border around the image */
    border-radius: 5px;
    max-height: 400px;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .bhk-options {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .bhk-option {
        width: 100%;
        max-width: 300px;
    }
    
    .image-display img {
        max-height: 300px;
    }
}
/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .bhk-options {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .bhk-option {
        width: 100%;
        max-width: 300px;
    }
    
    .image-display img {
        max-height: 300px;
    }
}

/* ======================= table i */
.table-wrapper {
    width: 100%;
    overflow-x: auto; /* Allows horizontal scrolling */
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th, .responsive-table td {
    
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center; /* Center-align text */
}

.responsive-table th {
    border: 2px solid rebeccapurple;
    background-color: #f4f4f4;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .responsive-table thead {
        display: none; /* Hide the table header on small screens */
    }
    
    .responsive-table tr {
        display: block;
        margin-bottom: 15px;
        text-align: center; /* Center-align text in mobile view */
    }
    
    .responsive-table td {
        display: block;
        text-align: center; /* Center-align text in each cell */
        padding-left: 0; /* Remove padding to align center */
        position: relative;
    }
    
    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        
        font-weight: bold;
        text-align: center; /* Center-align the labels */
        background-color: #f4f4f4;
        border-bottom: 1px solid #ddd;
    }
}