/* Product Detail Page Styles */
.product-detail {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
}

.product-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.product-info {
    max-width: 600px;
}

.product-info h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.product-info .price {
    font-size: 1.5em;
    color: #ff0000;
    margin-bottom: 20px;
}

.product-info .description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-info .btn {
    background-color: #ff0000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.product-info .btn:hover {
    background-color: #cc0000;
}

/* Order Page Styles */
.order-summary {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.order-item img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin-right: 20px;
}

.order-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.order-item p {
    font-size: 1em;
    margin-bottom: 5px;
}

.order-total {
    text-align: right;
    font-size: 1.5em;
    color: #ff0000;
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: #ff0000;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 5px 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Hero Section Styles */
.hero {
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 50px 0;
}

.hero h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1em;
    margin-bottom: 20px;
}

.hero .btn {
    background-color: #ff0000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 0.9em;
}

.hero .btn:hover {
    background-color: #cc0000;
}

/* Slider Section Styles */
.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    display: none; /* Hide all images by default */
}

/* Favorites Section Styles */
.favorites {
    background-color: #fff;
    padding: 30px 0;
    text-align: center;
}

.favorites h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.favorites ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.favorites ul li {
    margin: 10px 0;
}

.favorites ul li a {
    color: #ff0000;
    text-decoration: none;
    font-size: 1em;
}

.favorites ul li a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: #ff0000;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}


/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #333;
}

.product-card p {
    font-size: 1em;
    color: #ff0000;
    margin: 10px 0;
    font-weight: bold;
}

.product-card button {
    background-color: #ff0000;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    width: 100%;
}

.product-card button:hover {
    background-color: #cc0000;
}