/templates/your_template_name/
/html/
/com_virtuemart/
/category/
/productdetails/
/css/
template.css
/js/
script.js
index.php
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
background-color: #fff;
padding: 10px 0;
border-bottom: 1px solid #ddd;
}
.logo img {
height: 50px;
}
.main-menu {
float: right;
}
.main-menu a {
margin: 0 10px;
color: #333;
text-decoration: none;
}
.cart-icon {
float: right;
margin-left: 20px;
}
.cart-icon img {
width: 30px;
}
.vm-product-list {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.vm-product {
background-color: #fff;
border: 1px solid #ddd;
padding: 10px;
width: 23%;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.vm-product img {
width: 100%;
}
.vm-product h2 {
font-size: 18px;
color: #333;
}
.price {
font-size: 16px;
color: #27ae60;
}
.add-to-cart {
display: inline-block;
background-color: #3498db;
color: #fff;
padding: 10px;
text-decoration: none;
margin-top: 10px;
text-align: center;
width: 100%;
}
footer {
background-color: #333;
color: #fff;
padding: 20px 0;
text-align: center;
}
footer a {
color: #fff;
text-decoration: none;
margin: 0 10px;
}