
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}
header {
    background: #333;
    color: white;
    padding: 1em;
    text-align: center;
}
nav ul {
    list-style: none;
    padding: 0;
}
nav ul li {
    display: inline;
    margin: 0 1em;
}
nav ul li a {
    color: white;
    text-decoration: none;
}
.inventory {
    padding: 2em;
    background: white;
    text-align: center;
}
.product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em;
}
.product-card {
    background: #eee;
    padding: 1em;
    border-radius: 8px;
    width: 250px;
}
.carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.carousel-img {
    display: none;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.carousel-img.active {
    display: block;
}
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.carousel-controls button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.2em;
    padding: 0.3em 0.6em;
    cursor: pointer;
    border-radius: 4px;
}
.cta-button {
    display: inline-block;
    margin-top: 1em;
    padding: 0.5em 1em;
    background: #e8491d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1em;
}
.card {
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 1em;
  padding: 1em;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  flex: 0 0 auto;
}

.card .gallery {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card .gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: none;
}

.card .gallery img.active {
  display: block;
}

.price {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 0.5em;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}
header {
    background: #333;
    color: white;
    padding: 1em;
    text-align: center;
}
nav ul {
    list-style: none;
    padding: 0;
}
nav ul li {
    display: inline;
    margin: 0 1em;
}
nav ul li a {
    color: white;
    text-decoration: none;
}
.inventory {
    padding: 2em;
    background: white;
    text-align: center;
}
.product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em;
}
.product-card {
    background: #eee;
    padding: 1em;
    border-radius: 8px;
    width: 250px;
}
.carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.carousel-img {
    display: none;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.carousel-img.active {
    display: block;
}
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.carousel-controls button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.2em;
    padding: 0.3em 0.6em;
    cursor: pointer;
    border-radius: 4px;
}
.cta-button {
    display: inline-block;
    margin-top: 1em;
    padding: 0.5em 1em;
    background: #e8491d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1em;
}
