

/* Breadcrumb Header */
.mysho-breadcrumb-container {
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: white;
    text-align: center;
}

.mysho-breadcrumb-container nav {
    background-color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
}

.mysho-breadcrumb a {
    color: white;
    text-decoration: none;
}

.mysho-breadcrumb a:hover {
    text-decoration: underline;
}

/* Store Details */
.mysho-store-details {
    text-align: center;
    padding: 40px;
    background-color: #fff;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.mysho-store-details h1 {
    font-size: 2.5em;
    color: #673ab7;
}

.mysho-store-details p {
    font-size: 1.1em;
    color: #666;
    margin: 10px 0;
}

.mysho-store-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.mysho-product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.mysho-product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.mysho-product-card:hover {
    transform: translateY(-5px);
}

.mysho-product-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.mysho-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mysho-product-details {
    margin-top: 15px;
}

.mysho-category-badge {
    background-color: #673ab7;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.mysho-product-name {
    font-size: 1.4em;
    color: #333;
}

.mysho-product-description {
    font-size: 1em;
    color: #777;
    margin: 10px 0;
}

.mysho-product-price {
    font-size: 1.2em;
    color: #673ab7;
    font-weight: bold;
}

/* Add to Cart Button */
.mysho-CartBtn {
    background-color: #673ab7;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.mysho-CartBtn:hover {
    background-color: #532da7;
}

.mysho-CartBtn .IconContainer {
    margin-right: 8px;
}

.mysho-CartBtn i {
    font-size: 1.2em;
}

.hidden {
    opacity: 0;              /* Fade out */
    height: 0;              /* Remove height */
    overflow: hidden;       /* Prevent overflow */
    /* Remove margin to collapse space */
    padding: 0;  
    margin:0;         /* Remove padding to collapse space */
    transition: height 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}
.category-filter {
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping of buttons */
    justify-content: center; /* Aligns buttons to the start */
    gap: 5px; /* Space between buttons */
    overflow-x: auto; /* Enables horizontal scrolling */
    padding: 10px; /* Adds some padding */
}

.category-btn {
    background-color: #673ab7; /* Button background color */
    color: white; /* Text color */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 15px; /* Padding inside buttons */
    cursor: pointer; /* Pointer on hover */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition for effects */
    flex: 0 0 auto; /* Prevents stretching of buttons */
    min-width: 120px; /* Minimum width for buttons */
    
}

.category-btn:hover {
    background-color: #fff; /* Background color on hover */
    transform: scale(1.05); /* Slight scaling effect */
    color: #673ab7; /* Text color on hover */
}

@media (max-width: 768px) {
    .category-btn {
        padding: 8px 10px; /* Smaller padding for mobile */
        font-size: 0.9rem; /* Responsive font size */
        
    }
    .category-filter{
        margin-block-start: auto;
    }
}

/* Footer */
footer {
    background-color: #673ab7;
    color: white;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 0;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mysho-product-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .mysho-store-details h1 {
        font-size: 2em;
    }

    .mysho-product-card {
        max-width: 100%;
    }
}

/* *************for modal form*********** */

/* Modal Wrapper */
.modal {
    display: none; /* Hidden by default */
    position: absolute; /* Stay in place for larger screens */
    z-index: 1000; /* Sit on top of everything */
    top: 0; /* Center vertically */
    left: 0; /* Center horizontally */
    transform: translate(-50%, -50%); /* Move to exact center */
    width: 100%;
    max-width: 600px;
    border-radius: 8px; /* Rounded corners */
    padding: 15px;
    height: auto;
    margin-top: -20%;
    overflow: hidden;
    margin-left: 15%;
    align-items: center;
    justify-content: center;
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    height: auto;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    align-self: flex-end;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Select Box */
select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px; /* Rounded corners */
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.quantity-controls button {
    background-color: #8e44ad; /* Purple */
    color: white;
    border: none;
    border-radius: 4px; /* Rounded corners */
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quantity-controls button:hover {
    background-color: #a965c7; /* Darker purple */
}

.quantity-controls span {
    margin: 0 10px;
    font-size: 18px;
}

/* Confirm Button */
.btn {
    background-color: #8e44ad; /* Purple */
    color: white;
    border: none;
    border-radius: 4px; /* Rounded corners */
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 50%; /* Button centered */
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.btn:hover {
    background-color: #a965c7; /* Darker purple */
}

/* Responsive Styles */
@media (max-width: 600px) {
    .modal {
        position: absolute; /* Position near the clicked card */
        top: 0; /* Remove the centering */
        left: 0;
        transform: none; /* Remove centering transform */
        width: 100%;
        max-width: 100%; /* Full width on mobile */
        height: auto;
        margin-top: -300px; /* Add some space between the card and the modal */
        margin-left:-30%;
    }

    .modal-content {
        padding: 15px;
        height: auto;
    }

    .quantity-controls button,
    .btn {
        padding: 8px 10px; /* Adjust button padding for smaller screens */
    }

    .quantity-controls span {
        font-size: 16px; /* Adjust font size for quantity */
    }

    .btn {
        width: 80%; /* Button takes more width on smaller screens */
    }
}

@media (max-width: 480px) {
    .modal {
        position: absolute; /* Position modal near the card */
        width: auto; /* Modal size based on content */
        max-width: 600px; /* Full width on mobile */
        height: auto;
        margin-top:-100%; /* Adjust distance from the card */
        margin-left: -25%;
    }

    .modal-content {
        padding: 10px;
        height: auto;
        width: 100%;
        min-width: 300px;
    }

    .quantity-controls button,
    .btn {
        padding: 6px 8px; /* Smaller padding for mobile */
    }

    .quantity-controls span {
        font-size: 14px; /* Smaller font size for quantity */
    }

    .btn {
        width: 90%; /* Button takes more width on smaller screens */
    }
   .CartBtn{
    margin-left: -15%;
   }
}
