:root {
    --primary-green: #6B9F82; /* A natural, muted green */
    --light-green: #A3D8B0;    /* Lighter shade for accents */
    --dark-green: #4A6E5C;      /* Darker shade for text/hover */
    --light-gray: #E0EAE4;     /* Soft, earthy light gray */
    --medium-gray: #BCCEC5;    /* Slightly darker gray for subtle contrast */
    --dark-text: #2D3E3F;      /* Deep, almost black text */
    --white: #FFFFFF;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    --border-radius: 10px;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: var(--light-gray);
    color: var(--dark-text);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


header {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 15px 20px;
    text-align: left;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 15px;
}

header h1 {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600; /* This weight looks perfect for your slogan */
    margin: 0;
    font-size: 1.5em;
    letter-spacing: 1.5px;
    flex-shrink: 0;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
    justify-content: flex-end;
}

.search-form {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-grow: 1;
    max-width: 300px;
}

.search-form input[type="text"] {
    padding: 8px 12px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 0.9em;
    width: 100%;
    background-color: var(--white);
    color: var(--dark-text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-form input[type="text"]:focus {
    border-color: var(--light-green);
    outline: none;
    box-shadow: 0 0 0 2px rgba(163, 216, 176, 0.5);
}

.search-form button {
    background-color: var(--dark-green);
    color: var(--white);
    border: none;
    padding: 8px 18px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-form button:hover {
    background-color: var(--primary-green);
    transform: translateY(-1px);
}

#cart-icon-container {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
    font-size: 1.6em;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

#cart-icon-container:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

#cart-icon {
    font-size: 1.2em;
}

#cart-count {
    background-color: #FF5733;
    color: var(--white);
    border-radius: 50%;
    padding: 3px 8px;
    font-size: 0.7em;
    font-weight: bold;
    min-width: 1em;
    text-align: center;
    line-height: 1;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#cart-count.visible {
    opacity: 1;
    transform: scale(1);
}

nav ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

main {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    flex-grow: 1;
    gap: 20px;
}

/* Category Dropdown Styles (Adjusted for Header) */
.category-filter-container {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    margin-top: 5px;
    color: var(--white);
}

.category-filter-container label {
    font-weight: 600;
    color: var(--white);
    font-size: 1.1em;
    white-space: nowrap;
}

.category-dropdown {
    flex-grow: 1;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%20viewBox%3D%220%200%20292.4%20292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2C197.971L159.266%2C68.905c-3.125-3.124-8.189-3.124-11.314%2C0L5.4%2C197.971c-3.124%2C3.124-3.124%2C8.188%2C0%2C11.312c3.124%2C3.125%2C8.189%2C3.125%2C11.313%2C0L145.266%2C85.589l128.551%2C123.694c3.124%2C3.125%2C8.189%2C3.125%2C11.314%2C0C290.125%2C206.159%2C290.125%2C201.095%2C287%2C197.971z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.category-dropdown option {
    background-color: var(--primary-green);
    color: var(--white);
}

.category-dropdown:focus {
    border-color: var(--light-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(163, 216, 176, 0.3);
}

/* --- Glassmorphism Style for Product Item List --- */
.product-list {
    flex: 1 1 65%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    padding: 10px;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
    box-sizing: border-box;
    /* Glass effect */
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    border: 2.5px solid rgba(60, 90, 80, 0.22);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(60,90,80,0.08) inset;
}

.product-item {
    background: rgba(255, 255, 255, 0.77);
    border: 2px solid rgba(34, 60, 45, 0.32);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 7px rgba(40, 70, 55, 0.10), 0 1px 5px rgba(60,90,80,0.05) inset;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
    min-height: 240px; /* Increased from 220px */
    max-height: 270px; /* Increased from 250px */
    overflow: hidden;
    position: relative;
}

.product-item:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(245, 255, 250, 0.92);
    box-shadow: 0 8px 22px rgba(40, 70, 55, 0.17);
    border-color: var(--dark-green, #4A6E5C);
}

.product-item::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 1.5px 5px 1px rgba(255,255,255,0.09) inset;
}

.product-item h3,
.product-item p {
    text-shadow: 0 1px 8px rgba(255,255,255,0.17), 0 1px 2px rgba(40,70,55,0.04);
}

.product-item img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 2px solid var(--medium-gray);
}

.product-item h3 {
    color: var(--dark-green);
    margin: 5px 0 8px 0; /* Added bottom margin for better spacing */
    font-size: 0.97em;
    flex-grow: 1;
    line-height: 1.25em; /* Slightly reduced for better fit */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Reduced to 2 lines for better fit */
    -webkit-box-orient: vertical;
    white-space: normal;
    max-height: 2.5em; /* Explicit max-height to ensure proper truncation */
    min-height: 2.5em; /* Ensures consistent height even with single line */
}

.product-item p {
    color: var(--dark-text);
    font-size: 1em;
    margin-bottom: 8px;
    font-weight: 500;
    flex-shrink: 0; /* Prevents price from shrinking */
}

button {
    background-color: var(--light-green);
    color: var(--dark-text);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: auto;
    flex-shrink: 0; /* Prevents button from shrinking */
}

button:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

#cart-content {
    flex: 1 1 30%;
    background-color: var(--white);
    padding: 25px;
    box-sizing: border-box;
    border-radius: var(--border-radius);
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    box-shadow: var(--box-shadow);
}

#cart-content h2 {
    color: var(--dark-green);
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid var(--medium-gray);
    padding-bottom: 10px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--medium-gray);
    font-size: 0.95em;
}

.cart-item:last-of-type {
    border-bottom: none;
}

.cart-item span {
    flex: 1;
    padding-right: 10px;
}

.cart-item button {
    background-color: var(--medium-gray);
    color: var(--dark-text);
    margin-left: 8px;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.85em;
    box-shadow: none;
}

.cart-item button:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: none;
}

#cart-content > button {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    font-size: 1.1em;
    background-color: var(--primary-green);
    color: var(--white);
}

#cart-content > button:hover {
    background-color: var(--dark-green);
}

.cart-total {
    text-align: right;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--primary-green);
    color: var(--dark-green);
}

footer {
    background-color: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 8px;
    margin-top: 15px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 0.85em;
    margin: 0;
}


/* --- General Page Layout (assuming .static-page-content for Contact Us, About Us, etc.) --- */
.static-page-content {
    max-width: 800px; /* Adjust as needed - makes content centered and readable */
    margin: 40px auto; /* Centers the content horizontally and adds vertical space */
    padding: 20px;
    background-color: #ffffff; /* White background for the content area */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* --- Contact Form Section Styling --- */
.contact-form-section {
    margin-top: 30px; /* Space above the form section */
    padding: 20px;
    border: 1px solid #ddd; /* Light border around the form */
    border-radius: 8px;
    background-color: #f9f9f9; /* Slightly off-white background for the form area */
}

.contact-form-section h3 {
    text-align: center; /* Center the "Send Us a Message" heading */
    color: #333;
    margin-bottom: 20px;
}

.contact-form-section p {
    text-align: center; /* Center the descriptive text */
    margin-bottom: 25px;
    color: #555;
    font-size: 0.95em;
}

/* --- Form Group (label + input/textarea) --- */
.form-group {
    margin-bottom: 20px; /* Space between each form field group */
}

.form-group label {
    display: block; /* Makes label appear on its own line above the input */
    margin-bottom: 8px; /* Space between label and input */
    font-weight: bold;
    color: #333;
    font-size: 1em; /* Adjust label font size if needed */
}

/* --- Textbox Styling (Input and Textarea) --- */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px); /* Full width minus padding for accurate calculation */
    padding: 12px 10px; /* Increase padding for bigger textboxes */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1em; /* Make font size inside textbox bigger */
    line-height: 1.5; /* Improve text spacing within textarea */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    transition: border-color 0.3s ease; /* Smooth transition on focus */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #007bff; /* Highlight border on focus (e.g., a blue accent) */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2); /* Subtle shadow on focus */
}

/* --- Textarea Specific Adjustments --- */
.form-group textarea {
    resize: vertical; /* Allow vertical resizing only */
    min-height: 120px; /* Set a comfortable minimum height */
}

/* --- Submit Button Styling --- */
.submit-button {
    display: block; /* Make the button take full width of its container */
    width: 100%;
    padding: 15px 25px; /* Bigger padding for a larger button */
    background-color: #28a745; /* Green for "send" or "submit" */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em; /* Bigger font size for the button text */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 20px; /* Space above the button */
}

.submit-button:hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-1px); /* Slight lift effect */
}

.submit-button:disabled {
    background-color: #cccccc; /* Grey out when disabled */
    cursor: not-allowed;
    transform: none;
}

/* --- Form Status Message --- */
#form-status {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
}

/* --- Responsive Adjustments (Optional but Recommended) --- */
@media (max-width: 768px) {
    .static-page-content {
        margin: 20px 15px; /* Less margin on smaller screens */
        padding: 15px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        font-size: 1em; /* Slightly smaller font on mobile */
        padding: 10px;
    }

    .submit-button {
        font-size: 1.1em;
        padding: 12px 20px;
    }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 60px;
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--medium-gray);
    width: 90%;
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    color: var(--dark-text);
    position: relative;
}

.close {
    color: var(--dark-text);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    transition: color 0.2s ease;
}

.close:hover,
.close:focus {
    color: var(--primary-green);
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    color: var(--dark-green);
    margin-bottom: 20px;
    text-align: center;
}

.order-summary, .customer-info, .payment-details-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--medium-gray);
}

.order-summary h3, .customer-info h3, .payment-details-section h3 {
    color: var(--dark-green);
    margin-top: 0;
    margin-bottom: 15px;
    border-left: 4px solid var(--light-green);
    padding-left: 10px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95em;
}

.order-item span:first-child {
    flex: 2;
}

.order-item span:last-child {
    flex: 1;
    text-align: right;
    font-weight: bold;
}

.order-item button {
    background-color: var(--medium-gray);
    margin-left: 8px;
    padding: 5px 10px;
    font-size: 0.8em;
}

.order-item button:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.customer-info label, .payment-details-section label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-green);
}

.customer-info input, .customer-info textarea, .customer-info select, .payment-details-section select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid var(--medium-gray);
    box-sizing: border-box;
    font-size: 1em;
    background-color: var(--light-gray);
    color: var(--dark-text);
}

.customer-info input:focus, .customer-info textarea:focus, .customer-info select:focus, .payment-details-section select:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 2px rgba(107, 159, 130, 0.3);
}

.payment-info-display {
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-top: 15px;
    background-color: var(--light-gray);
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.payment-info-display img {
    max-width: 150px;
    height: auto;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid var(--medium-gray);
}

.payment-info-display p {
    margin: 5px 0;
    font-size: 0.95em;
    line-height: 1.4;
}

.order-footer {
    text-align: right;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--medium-gray);
}

.order-footer p {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.order-footer button {
    width: auto;
    padding: 12px 30px;
    font-size: 1.1em;
    background-color: var(--primary-green);
    color: var(--white);
}

.order-footer button:hover {
    background-color: var(--dark-green);
}

/* --- Product Image Preview Modal Styles --- */
.modal.image-preview-modal {
    display: none;
    z-index: 2000;
    background: rgba(0,0,0,0.85);
    padding-top: 0;
    backdrop-filter: blur(2px);
}

.image-preview-content {
    background: transparent;
    border: none;
    box-shadow: none;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 5% auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#previewedProductImage {
    display: block;
    max-width: 80vw;
    max-height: 70vh;
    margin: 0 auto;
    border-radius: 16px;
    border: 3px solid #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    background: #fff;
    object-fit: contain;
}

.modal.image-preview-modal .close {
    color: #fff;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 5px 14px;
    font-size: 2.2em;
    font-weight: bold;
    position: absolute;
    top: 8px;
    right: 20px;
    z-index: 3;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.modal.image-preview-modal .close:hover {
    background: #fff;
    color: #222;
}

/* Product name and price below the image in preview modal */
.image-preview-meta {
    width: 100%;
    text-align: center;
    margin-top: 18px;
    color: #222;
    background: rgba(255,255,255,0.96);
    border-radius: 10px;
    padding: 14px 12px 8px 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    max-width: 420px;
}

#imagePreviewProductName {
    font-size: 1.3em;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: var(--dark-green, #4A6E5C);
    line-height: 1.2;
}

#imagePreviewProductPrice {
    font-size: 1.05em;
    font-weight: 600;
    margin: 0;
    color: var(--primary-green, #6B9F82);
}

/* --- Responsive adjustments --- */
@media (max-width: 992px) {
    .product-list {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .search-form input[type="text"] {
        width: 180px;
    }
    header {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 10px;
    }
    .header-controls {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    .search-form {
        flex-grow: 1;
        max-width: none;
    }
    .search-form input[type="text"] {
        width: 100%;
    }
    .category-filter-container {
        padding: 5px 0;
        margin-top: 10px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
    }
    .category-dropdown {
        max-width: 250px;
        flex-grow: 0;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .header-controls {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        align-items: stretch;
    }
    .search-form {
        width: 100%;
        flex-grow: 1;
    }
    .search-form input[type="text"] {
        width: 100%;
    }
    #cart-icon-container {
        position: static;
        font-size: 1.6em;
        top: auto;
        right: auto;
        padding: 10px;
        justify-content: center;
        width: 100%;
        border-radius: var(--border-radius);
        background-color: rgba(255, 255, 255, 0.1);
    }
    main {
        flex-direction: column;
        padding: 15px;
    }
    .category-filter-container {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0;
        padding: 10px 0;
        gap: 5px;
    }
    .category-filter-container label {
        font-size: 0.95em;
    }
    .category-dropdown {
        width: 100%;
        max-width: none;
        font-size: 0.9em;
        padding: 8px 12px;
    }
    .product-list, #cart-content {
        flex: 1 1 100%;
        max-height: none;
        padding: 15px;
    }
    .product-list {
        margin-bottom: 20px;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        max-height: calc(100vh - var(--header-height, 180px));
    }
    #cart-content {
        max-height: calc(100vh - var(--header-height, 180px));
    }
    .product-item {
        padding: 10px;
        min-height: 200px;
        max-height: 230px;
        overflow: hidden;
    }
    .product-item img {
        height: 70px;
        width: 70px;
    }
    header h1 {
        font-size: 1.6em;
        text-align: center;
    }
    .modal-content {
        margin: 10% auto;
        padding: 25px;
    }
    /* Responsive for product image preview modal */
    #previewedProductImage {
        max-width: 96vw;
        max-height: 55vh;
    }
    .image-preview-content {
        margin: 20% auto;
    }
    .image-preview-meta {
        max-width: 98vw;
        font-size: 0.97em;
        padding: 10px 5px 4px 5px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.4em;
    }
    .product-list {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 15px;
    }
    .product-item {
        min-height: 190px;
        max-height: 220px;
    }
    .product-item img {
        height: 60px;
        width: 60px;
    }
    .product-item h3 {
        font-size: 1em;
        line-height: 1.2em;
        max-height: 3.6em; /* Adjusted for 3 lines on smaller screens */
        -webkit-line-clamp: 3;
    }
    .product-item p {
        font-size: 0.9em;
    }
    .search-form input[type="text"] {
        font-size: 0.85em;
    }
    .search-form button {
        padding: 6px 12px;
        font-size: 0.85em;
    }
}