* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header h1 img {
    max-width: 512px;
    height: auto;
    justify-content: flex-start;
}

.logo {
    margin: 0;
}

.logo img {
    width: 150px;
    height: auto;
}

nav {
    background-color: #34495e;
    padding: 15px;
}

nav ul {
    display: flex;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1em;
}

nav a:hover {
    color: #3498db;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.cart-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.cart-icon a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.cart-icon img {
    width: 30px;
    height: auto;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 50%;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
}

.product-name {
    font-size: 1.2em;
    font-weight: bold;
}

.product-price {
    font-size: 1.2em;
    color: #333;
}

.product-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cart-form,
.qty-form {
    margin: 0;
}

.cart-form {
    flex: 1;
}

.cart-form button,
.more-btn {
    width: 100%;
}

.product-description {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    border-radius: 6px;
    text-align: left;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1em;
}

button:hover {
    background-color: #2980b9;
}

.contact-card,
.contact-details,
.order-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-card {
    padding: 25px;
    margin-top: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
}

.contact-details {
    margin-top: 30px;
    padding: 20px;
}

.contact-details h3 {
    margin-bottom: 10px;
}

.contact-details p,
.order-item {
    margin-bottom: 8px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.modal-image {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

#modalName {
    margin-bottom: 10px;
}

#modalPrice {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

#modalDescription {
    line-height: 1.5;
    text-align: left;
}

.order-card {
    padding: 20px;
    margin-bottom: 20px;
}

.order-items {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.qty-form button {
    width: 35px;
    height: 35px;
    font-size: 18px;
    padding: 0;
}

.qty-number {
    font-size: 1.2em;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.admin-login {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-align: center;
    margin: 40px 0 20px;
}

.admin-btn {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    border: none;
    cursor: pointer;
    opacity: 0.7;
}

.admin-btn:hover {
    background-color: #1a252f;
    opacity: 1;
}

.admin-modal-content {
    max-width: 400px;
    text-align: left;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.home-intro {
    margin-bottom: 40px;
}

.home-intro h2 {
    margin-bottom: 15px;
}

.home-intro p {
    margin-bottom: 15px;
    line-height: 1.6;
}
.featured {
    text-align: center;
    margin-top: 40px;
}

.featured h3 {
    font-size: 2em;
    margin-bottom: 20px;
}