body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.shop {
flex: 1.0;
padding: 2rem;
}
.search-bar {
margin-bottom: 2rem;
display: flex;
gap: 1rem;
}
.search-bar input {
flex-grow: 1.0;
padding: 0.5rem;
border: 0 none transparent;
border-radius: 0.25rem;
}
.search-bar button {
padding: 0.5rem 1rem;
border: 0 none transparent;
border-radius: 0.25rem;
background-color: var(--primary-bg);
color: var(--primary-text);
cursor: pointer;
}
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
}
.product-card {
background-color: rgba(255, 255, 255, 0.1);
color: var(--secondary-text);
padding: 1rem;
border-radius: 0.5rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
border: 1px solid rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
box-shadow: var(--box-shadow);
transition: transform 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
}
.product-card:hover {
box-shadow: 0 8px 32px rgba(217, 119, 6, 0.4);
transform: scale(1.02);
}
.product-card a {
color: var(--secondary-text);
text-decoration: none;
}
.product-card form {
margin-top: auto;
}
.product-card h3 {
margin-top: 0;
margin-bottom: 0.5rem;
}
.product-image {
width: 100%;
height: 200px;
border-radius: 0.25rem;
object-fit: contain;
margin-bottom: 0.5rem;
}
.product-detail {
display: flex;
flex-direction: row;
gap: 2rem;
}
.product-images {
width: 40%;
}
.product-image-large {
width: 100%;
height: 300px;
border-radius: 0.25rem;
object-fit: contain;
}
.product-gallery {
margin-top: 0.5rem;
display: flex;
gap: 0.5rem;
}
.product-thumb {
width: 60px;
height: 60px;
border-radius: 0.25rem;
object-fit: contain;
}
.product-info {
flex-grow: 1.0;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
@media only screen and (max-width: 768px) {
.product-detail {
flex-direction: column;
}
.product-images {
width: auto;
}
}
