/* 
.section-products{
    margin-top: 50px;
} */

/* General Page Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
 
}

/* Product Card */
.product-card {
    border: 2px solid rgba(192, 120, 56, 0.2);
    border-radius: 10px;
    padding: 10px;
    background: #fff;
    transition: transform 0.3s ease;
    height: 100%;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* Image */
.product-image {
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Info Container */
.product-info {
    padding: 10px 0 0;
}

/* Title and Price Row */
.product-title-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* Title */
.product-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* Price */
.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #c07838;
    margin: 0;
}

/* Button */
.product-card .btn {
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    background-color: #6f3b0f;
    color: white;
    border: none;
    width: 100%;
}

.product-imagez {
    height: 100%;
    width: 100%;
    background-size: cover;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .col-sm-12 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-image {
        height: 350px;
        width: 350px;
        background-size: cover;
    }
    .product-imagez {
        height: 350px;
        width: 350px;
        background-size: cover;
    }


    .product-title {
        font-size: 16px;
    }

    .product-price {
        font-size: 14px;
    }
}


.product-details {
    padding: 50px 0;
}

.product-details .container {
    max-width: 1200px;
    margin: auto;
}

.product-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.product-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-top: 15px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.product-thumbnail:hover {
    transform: scale(1.1);
}

h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.price {
    font-size: 24px;
    color: #E74C3C;
    font-weight: bold;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.quantity {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.btn-add-to-cart {
    background: #000;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    background: #333;
}

input[type="number"] {
    width: 80px;
    padding: 5px;
    font-size: 16px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .product-main-image {
        height: 350px;
    }

    .product-thumbnail {
        height: 100px;
    }

    .btn-add-to-cart {
        width: 100%;
    }
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

.product-detailsz {
    margin-top: 90px;
    padding: 50px 0;
}

.containerz {
    max-width: 1200px;
    margin: auto;
    background: white;
    padding: 20px;
}

.rowz {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col-lg-6z {
    width: 48%;
}

.image-containerz {
    display: flex;
    justify-content: center;
}

.product-main-imagez {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
    transition: opacity 0.3s ease-in-out;
}

.product-infoz {
    padding: 20px;
}

.product-titlez {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pricez {
    font-size: 20px;
    color: #555;
}

.descriptionz h4 {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
}

.quantity-selectorz {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.quantity-inputz {
    width: 50px;
    text-align: center;
    font-size: 16px;
}

.minus-btnz, .plus-btnz {
    border: 1px solid #ddd;
    background: #fff;
    padding: 5px 10px;
    cursor: pointer;
}

.buttons-containerz {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.add-to-cartz {
    background: black;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
}

.wishlist-btnz {
    border: 1px solid #ddd;
    padding: 12px 20px;
    cursor: pointer;
    background: white;
}


.thumbnail-galleryz {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.product-thumbnailz {
    width: 80px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, border 0.2s ease-in-out;
}

.product-thumbnailz:hover {
    transform: scale(1.1);
}

/* Highlight selected thumbnail */
.product-thumbnailz.selected {
    border: 2px solid black;
    transform: scale(1.1);
}


@media (max-width: 768px) {
    .rowz {
      flex-direction: column;
    }
  
    .col-lg-6z {
      width: 100%;
      margin-bottom: 20px;
    }
  
    .product-infoz {
      padding: 10px;
    }
  
    .product-titlez {
      font-size: 22px;
      text-align: center;
    }
  
    .pricez {
      font-size: 18px;
      text-align: center;
    }
  
    .quantity-selectorz {
      justify-content: center;
    }
  
    .buttons-containerz {
      flex-direction: column;
      align-items: center;
    }
  
    .add-to-cartz, .wishlist-btnz {
      width: 90%;
      text-align: center;
    }
  
    .thumbnail-galleryz {
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
    }
  
    .product-thumbnailz {
      width: 70px;
    }
  }
  
.wrapper{ 
    position:fixed;
    bottom:20px;
    right:20px;
    z-index:1000;
}

.wrapper a:nth-child(1){
    background-color:green;
}

.wrapper a:nth-child(2){
    background-color:blue;
}
  
.wrapper a:nth-child(3){
    
    animation: 0.7s ease-out 0s 1 FadeIn;
    transition:all 0.3s;
}


.wrapper a:hover:nth-child(3){
    
    background-color:red;
}
 
 
@keyframes FadeIn {
    0% {
     transform:rotate(0deg);
    }
    100% {
      transform:rotate(360deg); 
    }
}


.hide{
    position:absolute;
    bottom:0px !important;
    z-index:-1;
    transition:all 2s;
    
}


.wrapper a{ 
    height:30px;
    width:30px;
    background:#000;
    padding:10px;
    display:flex;
    flex-direction:row;
    border-radius:50%;
    justify-content:center;
    align-items:center; 
    text-decoration:none;
    color:#fff;
    margin:2px;
}







/* Image styling */
.card-img-top {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* Hover zoom on image */
.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Whole card styling */
.modern-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    background: #fff;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Card content spacing */
.card-body {
    padding: 0.6rem;
}

/* Title & price styling */
.card-title {
    /* font-size: 4vw; */
    /* font-weight: 600; */
    color: #222;
}

.price-tag {
    font-size: 4vw;
    font-weight: bold;
    color: #111;
}

/* Stylish button */
.modern-btn {
    width: 120px;
    height: 40px;
    background: linear-gradient(135deg, #333, #222);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-transform: uppercase;
}

.modern-btn:hover {
    background: linear-gradient(135deg, #000, #444);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
