{% extends 'core/base.html' %} {% block title %}{{product.title}}{% endblock title %} {% block css %} /* Reset some default styles for the page */ body, h1, p, label { margin: 0; padding: 0; } /* Style for the product container */ .product { display: flex; flex-direction: column; max-width: 800px; margin: 20px auto; padding: 20px; border: 1px solid #ddd; box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); } /* Style for the product image */ .product-image img { max-width: 100%; height: auto; } .product-details { flex: 1; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; } .product-details p{ font-size: 15px; line-height: 22px; color: black; margin-bottom:0; } /* Style for the product title */ .product-title { font-size: 24px; margin-bottom: 15px; } /* Style for the product category and description */ .product-category, .product-description { font-size: 16px; margin-bottom: 10px; } /* Style for the product price */ .product-price { font-size: 20px; font-weight: bold; margin-bottom: 15px; } /* Style for the quantity input and add to cart button */ .product-actions { display: flex; align-items: center; } #quantity { width: 50px; padding: 5px; margin-right: 10px; } .add-to-cart { background-color: #2e4ead; color: #fff; border: none; padding: 10px 20px; font-size: 18px; cursor: pointer; } .cat_p{ margin-top: 5px; margin-bottom: 15px; color: white; background-color: #ffd907; padding: 8px 8px 8px 8px; height: fit-content; width: fit-content; border-radius: 4px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: poppins; } ul { list-style-type: none; } img { user-select: none !important; list-style-type: none; } /* START */ .container__feed { height: 100%; width: 100%; display: flex; justify-content: center; align-items: center; padding: 20px; } .feedbacks { display: flex; flex-direction: column; gap: 20px; } .feed_box { position: relative; width: 100%; max-width: 500px; border-radius: 15px; padding: 15px 20px; box-shadow: 0 0 10px #00000028; z-index: 999; background-color: #fff; overflow: hidden; } .feed_box .user_icon img { position: absolute; width: 45%; min-width: 150px; top: 15px; right: -15px; z-index: -1; } .feed__hed { display: flex; align-items: center; z-index: 99 !important; } .feed__hed .usr_img { width: 45px; height: 45px; padding: 11px; border-radius: 50px; box-shadow: 0 0 5px #00000033; display: flex; justify-content: center; align-items: center; } .feed__hed .usr_img img { width: 100%; } .feed__hed h1 { margin-left: 10px; font-size: 2.2rem; } .container__users_info { display: flex; flex-direction: column; } .feed_txt { position: relative; margin-top: 12px; } .feed_txt::before { position: absolute; content: ""; z-index: 99; bottom: -1px; left: 0; width: 100%; height: 20px; } .feed_txt summary { width: 100%; height: 100px; overflow-y: scroll; padding-bottom: 10px; } .feed_txt summary::-webkit-scrollbar { display: none !important; } .feed_foot { margin-top: 14px; display: flex; justify-content: space-between; } .feed_foot a { padding: 9px 20px; border-radius: 5px; text-decoration: none; color: black; background: #ffd907; } /* MEDIA */ @media (max-width: 800px) { .feedbacks { display: flex; flex-direction: column; } .feed_box { position: relative; width: 100%; max-width: 100%; } } @media (max-width: 450px) { .feed__hed h1 { font-size: 1.4em; } } .review{ padding: 17px 12px; } {% endblock css %} {% block content %}
{{product.category}}
{{product.description}}
${{product.price}}