.Product_Card{ .cardSec { border-radius: 10px; background-color: var(--themeBg4); overflow: hidden; padding-bottom: 70px; } .imgSec { aspect-ratio: 1; } .cardTextSec { padding: 15px; background-color: var(--themeBg4); width: -webkit-fill-available; position: absolute; bottom: -60px; transition: 0.4s; } .cardSec:hover .cardTextSec { bottom: 0px; } .cardHead { font-size: 15px; font-weight: 500; margin-bottom: 5px; } .featurePara { width: max-content; padding: 2px 15px 2px 10px; background-color: var(--anchorColorHover); font-size: 11px; font-weight: 500; color: var(--paragraphColorWhite); border-top-right-radius: 15px; border-bottom-right-radius: 15px; } .price { font-size: 16px; font-weight: 500; color: var(--paragraphColorBlack); } .price span { color: rgba(0, 0, 0, 0.5); font-size: 15px; margin-left: 10px; text-decoration: line-through; vertical-align: middle; } .rating { font-size: 16px; font-weight: 400; } .rating i { font-size: 13px; color: #eabe12; } .btnSec { margin-top: 10px; width: -webkit-fill-available; padding: 12px; background-color: var(--btnColor); border: none; color: var(--btnTextColor); border-radius: 30px; cursor: pointer; font-size: 12px; font-weight: 500; transition: 0.3s; } .btnSec:hover { background-color: var(--btnHoverColor); } .btnSec .firstIcon { display: block; transition: 0.5s; width: 20px; overflow: hidden; margin-right: 5px; } .btnSec .secondIcon { width: 0; margin-left: 10px; transition: 0.5s; overflow: hidden; } .btnSec:hover .firstIcon { width: 0px; } .btnSec:hover .secondIcon { width: 20px; } .colorSec { padding: 8px 0px; bottom: 0px; left: 0px; right: 0px; gap: 5px; } .colors { width: 10px; height: 10px; background-color: white; border: 1px solid #00000019; border-radius: 3px; } .moreTxt { font-size: 14px; color: rgba(0, 0, 0, 0.8); } .tagSec { top: 20px; left: 0px; gap: 5px; } @media only screen and (max-width: 900px) { .cardSec { box-shadow: 0px 0px 10px 10px #f5f5f5; padding: 0px; } .cardTextSec { position: static; } } }.Product_Card{ @media only screen and (max-width: 900px) { background-attachment:scroll; } }