:root {
    --primary-color: #333;
    --secondary-color: #FF6200;
    --secondary-hover-color: #e55b00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.header {
    background-color: var(--primary-color);
    color: #fff;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.search-bar {
    flex: 1;
    display: flex;
    margin: 0 20px;
    max-width: 600px;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 14px;
}

.search-btn {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: var(--secondary-hover-color);
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.header-actions a:hover {
    color: var(--secondary-color);
}

.cart-btn {
    position: relative;
}

.cart-btn i {
    font-size: 20px;
}

.cart-count {
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 4px 8px;
    position: absolute;
    top: -5px;
    right: -10px;
}

.login-btn i {
    margin-right: 5px;
}

.cart-btn {
    position: relative;
}
.cart-btn i {
    font-size: 18px;
}
.cart-count {
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -5px;
    right: -10px;
}

.flash-deals {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}
.flash-deals-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.flash-deals-header h2 {
    font-size: 24px;
    margin-right: 20px;
}
.timer {
    font-size: 14px;
    color: #555;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
}
.product-card:hover {
    transform: translateY(-3px);
    border: 2px solid var(--secondary-color);
}

.discount-label {
    position: absolute;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 0 0 8px 0;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 280px;
    background-color: #e2e2e2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-info {
    padding: 10px;
    text-align: center;
}
.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #999;
    margin-top: 50px;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.timer {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
}