/* ---------- Base ---------- */
:root{
  --emerald:#10b981;
  --gray-100:#f3f4f6;
  --gray-700:#374151;
}


/* Resetting some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Body */
body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Search blahs!!!! */
.search-popup a:hover {
    background-color: #f0f0f0;
}


/* Product List Styling */
.product-list {
    margin-top: 80px;
    padding: 20px;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-description {
    font-size: 14px;
    color: #777;
}

.view-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f79c42;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.view-btn:hover {
    background-color: #d77b2a;
}




/* Product Details Page Styling */
.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 20px;
    gap: 40px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-image-section {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-thumbnails {
    display: flex;
    margin-top: 20px;
    justify-content: center;
    gap: 10px;
}

.thumbnail-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail-img:hover {
    transform: scale(1.1);
}

.product-info-section {
    flex: 1;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

.product-description {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #f79c42; /* Warm orange for price */
}

.add-to-cart-container {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn {
    background-color: #1e2a47;
    color: white;
    border: none;
}

.add-to-cart-btn:hover {
    background-color: #f79c42;
}

.buy-now-btn {
    background-color: #f79c42;
    color: white;
    border: none;
}

.buy-now-btn:hover {
    background-color: #1e2a47;
}

.product-details {
    margin-top: 30px;
}

.product-details h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.product-details ul {
    list-style: none;
    padding-left: 0;
}

.product-details li {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.product-reviews {
    margin-top: 30px;
    width: 100%;
}

.product-reviews h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.review {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.review p {
    font-size: 16px;
    color: #555;
}

.review strong {
    font-weight: 700;
}





.no-products-container {
    text-align: center;
    padding: 30px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    margin: 20px auto;
    width: 80%;
}

.no-products-text {
    font-size: 20px;
    font-weight: bold;
    color: #555;
}

.add-product-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 18px;
    color: #fff;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
}

.add-product-btn:hover {
    background-color: #0056b3;
}






.upload-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    position: relative;
}

/* Navigation Bar */
.upload-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.back-btn {
    text-decoration: none;
    font-size: 16px;
    color: #007bff;
    padding: 10px 15px;
    border: 1px solid #007bff;
    border-radius: 5px;
    transition: 0.3s;
}

.back-btn:hover {
    background: #007bff;
    color: white;
}

.upload-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.upload-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.upload-btn {
    background: #007bff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.upload-btn:hover {
    background: #0056b3;
}














