/* General Body Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar Styles */
.top-bar {
    background-color: #f8f8f8;
    padding: 10px 0;
    font-size: 0.9em;
    border-bottom: 1px solid #eee;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Styles */
.shop-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.shop-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-header .logo img {
    height: 50px;
}

.search-bar {
    flex-grow: 1;
    margin: 0 40px;
}

.search-form {
    position: relative;
    display: flex; /* Use flexbox to align input and button */
    align-items: center;
}

.search-form input[type="text"] {
    width: 100%;
    padding: 10px 40px 10px 15px; /* Add padding on the right for the icon */
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;
}

.search-form .search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: none;
    border: none;
    color: #333;
    padding: 0 15px;
    cursor: pointer;
    border-radius: 0 20px 20px 0; /* Match border-radius of input */
}

.search-form .search-button i {
    font-size: 1.2em;
}

.header-actions a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
}

/* Main Content Styles */
.shop-main {
    padding: 40px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    border: 1px solid #eee;
    text-align: center;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    height: auto;
}

.product-card-content {
    padding: 20px;
}

.product-card h3 {
    font-size: 1.2em;
    margin: 0 0 10px;
}

.price {
    font-weight: bold;
    color: #e83e8c; /* Pink */
}

/* Footer Styles */
.shop-footer {
    background-color: #2a2a2a; /* Dark Gray from Logo */
    color: #fff;
    padding: 40px 0;
}

.shop-footer .container {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
}

.footer-column h4 {
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-column .social-media {
    margin-top: 20px;
}

.footer-column .social-media a {
    margin-right: 10px;
    color: #fff;
    font-size: 1.5em;
}

/* Sidebar Toggle Button */
.sidebar-toggle-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    margin-right: 10px;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Hidden by default */
    width: 250px;
    height: 100%;
    background-color: #333;
    color: #fff;
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 1000;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #222;
}

.close-sidebar-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.sidebar-nav a:hover {
    background-color: #555;
}

.sidebar.active {
    left: 0; /* Show sidebar */
}

/* Input Styles */
input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #555;
}

.btn-primary {
    background-color: #e83e8c; /* Pink */
}

.btn-primary:hover {
    background-color: #d63384; /* Darker Pink */
}
