



/* banner section */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
.banner-section {
    overflow-x: hidden;
}
.button-container {
    display: flex;
    justify-content: center; /* Center the button */
    align-items: center; /* Vertically align if necessary */
    height: 100vh; /* Optional, adjust height as per your requirement */
    background-color: #fefdf6; /* Matching background color */
}

.custom-button {
    display: inline-block;
    padding: 12px 24px;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #3a3a3a; /* Dark text color */
    border: 2px solid #3a3a3a; /* Border color */
    background-color: #ffffff; /* Button background color */
    transition: all 0.3s ease; /* Smooth hover effects */
}

    .custom-button .arrow {
        margin-left: 8px; /* Space between text and arrow */
        transition: margin-left 0.3s ease;
    }

    .custom-button:hover {
        background-color: var(--theme-color); /* Slightly lighter background on hover */
        color: #ffffff;
        border:none;
    }

        .custom-button:hover .arrow {
            margin-left: 12px; /* Arrow moves slightly on hover */
        }


/* product section */
.product-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    justify-content: start;
  
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    width: 23%; /* for 4 in a row */
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    min-height: 450px;
}


    .product-card:hover {
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

.image-wrapper {
    position: relative;
    height: 75%;
    overflow: hidden;
    flex: 1 0 75%;
}

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}
.product-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
    max-height: 2.4em; /* allows ~2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* limits to 2 lines */
    -webkit-box-orient: vertical;
    word-break: break-word;
}
.product-info-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* top align to handle long titles */
    flex-wrap: nowrap; /* Prevent stacking if you want a horizontal layout */
    gap: 10px;
}

.left-info {
    width: 70%;
    min-width: 0;
}

.right-action {
    width: 30%;
    text-align: right;
}



.product-pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    color: #555;
    align-items: center;
    white-space: normal; /* Allow wrapping if needed */
}


.discounted-price {
    color: green;
    font-weight: bold;
}

.original-price {
    text-decoration: line-through;
    color: gray;
}

.discount-percent {
    color: red;
    font-weight: 500;
}


.product-info-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    gap: 15px;
    flex-wrap: wrap;
}

.left-info {
    flex: 1;
    text-align: left;
}

.right-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}



.btn-add-to-cart {
    background-color: var(--theme-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
}

    .btn-add-to-cart:hover {
        background-color: #000;
        color: white;
    }

.image-wrapper {
    position: relative;
}

.heart-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background-color: #ffffff;
    border-radius: 50%;
    height: 28px;
    width: 28px;
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically */
    opacity: 0; /* Hide by default */
    transition: opacity 0.3s ease;
}

.image-wrapper:hover .heart-icons {
    opacity: 1; /* Show on hover */
}

.heart-button i {
    font-size: 20px;
    color: red;
}

@media (max-width: 820px) {
    .product-grid {
        justify-content: center;
        gap: 10px;
    }

    .product-card {
        width: calc(50% - 10px);

    }
}
@media (max-width: 480px) {
    .product-card {
        width: 100%;
    }
}


/* blog section */

.blog-category {
    font-weight: bold;
    color: #007BFF;
}

.blog-date {
    font-style: italic;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.collection-section {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

.card-img-top {
    height: 300px; /* or any fixed height you prefer */
    object-fit: cover;
}

@media (max-width: 820px) {
    .blog {
        justify-content: center;
        gap: 10px;
    }

    .blog-view {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .blog-view {
        width: 100%;
    }
}
