

.sub-banner {
background: rgba(76, 133, 96, 0.08);
border: 1px solid rgba(76, 133, 96, 0.15);
border-radius: 30px;
padding: 30px 50px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
transition: 0.3s ease;
}
.sub-banner:hover {
background: rgba(76, 133, 96, 0.12);
box-shadow: 0 15px 35px rgba(76, 133, 96, 0.1);
transform: translateY(-3px);
}
.sub-banner-icon {
font-size: 2.5rem;
color: var(--green-fresh);
background: #fff;
width: 80px;
height: 80px;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.sub-banner-content {
flex: 1;
}
.sub-banner-content h3 {
font-size: 1.8rem;
margin-bottom: 5px;
}
.sub-banner-content p {
margin: 0;
opacity: 0.8;
}
.shop-layout {
display: grid;
grid-template-columns: 260px 1fr;
gap: 50px;
align-items: start;
}
.shop-sidebar {
position: sticky;
top: 100px;
background: #fff;
padding: 30px;
border-radius: 30px;
border: 1px solid rgba(0,0,0,0.03);
box-shadow: 0 15px 30px rgba(44, 54, 47, 0.04);
}
.filter-group {
margin-bottom: 30px;
border-bottom: 1px solid rgba(0,0,0,0.06);
padding-bottom: 30px;
}
.filter-group:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.filter-title {
font-size: 1.2rem;
margin-bottom: 20px;
}
.filter-list li {
margin-bottom: 12px;
}
.custom-checkbox {
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
font-size: 0.95rem;
color: var(--text-dark);
transition: 0.2s;
}
.custom-checkbox:hover {
color: var(--green-fresh);
}
.custom-checkbox input {
display: none;
}
.checkmark {
width: 20px;
height: 20px;
border: 2px solid rgba(44, 54, 47, 0.2);
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
transition: 0.2s ease;
}
.custom-checkbox input:checked + .checkmark {
background: var(--green-fresh);
border-color: var(--green-fresh);
}
.custom-checkbox input:checked + .checkmark::after {
content: '\f00c';
font-family: 'Font Awesome 6 Free';
font-weight: 900;
color: #fff;
font-size: 11px;
}
.price-slider {
width: 100%;
accent-color: var(--green-fresh);
margin-bottom: 10px;
}
.price-labels {
display: flex;
justify-content: space-between;
font-size: 0.85rem;
color: #888;
font-weight: 600;
}
.shop-topbar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
background: #fff;
padding: 15px 25px;
border-radius: 20px;
box-shadow: 0 10px 20px rgba(44, 54, 47, 0.03);
}
.sort-box {
max-width: 100%;
display: flex;
align-items: center;
gap: 15px;
font-weight: 600;
font-size: 0.95rem;
flex-wrap: wrap;
}
.custom-select-wrapper {
position: relative;
flex: 1;
display: flex;
align-items: center;
min-width: 0;
max-width: 100%;
}
.custom-select {
width: 100%;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-right: 30px;
appearance: none;
-webkit-appearance: none;
background: var(--ui-light);
border: none;
padding: 10px 40px 10px 20px;
border-radius: 50px;
font-family: var(--font-body);
font-size: 0.95rem;
font-weight: 600;
color: var(--text-dark);
cursor: pointer;
outline: none;
}
.select-icon {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
color: var(--green-fresh);
}
.shop-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
}
.shop-grid .product-card {
min-width: 0;
flex-shrink: 1;
}
@media (max-width: 1024px) {
.shop-layout {
grid-template-columns: 1fr;
gap: 30px;
}
.shop-sidebar {
position: relative;
top: 0;
}
.sub-banner {
flex-direction: column;
text-align: center;
padding: 30px 20px;
}
}
@media (max-width: 600px) {
.shop-topbar {
flex-direction: column;
gap: 15px;
align-items: flex-start;
}
}
.shop-hero {
margin-top:150px;
}
.product-card {
background: #fff;
border-radius: 30px;
padding: 20px;
transition: all 0.4s ease;
border: 1px solid rgba(0,0,0,0.03);
position: relative;
display: flex;
flex-direction: column;
}
.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 25px 50px rgba(44, 54, 47, 0.08);
border-color: rgba(76, 133, 96, 0.2);
}
.product-img-wrapper {
position: relative;
width: 100%;
height: 320px;
border-radius: 20px;
overflow: hidden;
margin-bottom: 20px;
background: var(--ui-light);
}
.product-img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.8s ease;
}
.product-card:hover .product-img {
transform: scale(1.08);
}
.product-badge {
position: absolute;
top: 15px;
left: 15px;
color: #fff;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
padding: 8px 16px;
border-radius: 50px;
z-index: 2;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.product-info {
display: flex;
flex-direction: column;
flex: 1;
}
.product-cat {
font-size: 0.8rem;
color: var(--green-fresh);
text-transform: uppercase;
letter-spacing: 1.5px;
font-weight: 600;
margin-bottom: 8px;
}
.product-title {
font-size: 1.3rem;
margin-bottom: 20px;
line-height: 1.2;
}
.product-bottom {
display: flex;
justify-content: space-between;
align-items: center;
border-top: 1px solid rgba(0,0,0,0.05);
padding-top: 20px;
margin-top: auto;
}
.price-current {
font-size: 1.3rem;
font-weight: 700;
color: var(--text-dark);
}
.price-unit {
font-size: 0.85rem;
color: #888;
margin-left: 5px;
}
.add-btn {
width: 45px;
height: 45px;
background: var(--ui-light);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: 0.3s;
border: none;
color: var(--text-dark);
font-size: 1.1rem;
}
.add-btn:hover {
background: var(--green-fresh);
color: #fff;
transform: rotate(90deg);
}
.shop-pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-top: 60px;
padding-top: 30px;
border-top: 1px solid rgba(0,0,0,0.05);
}
.page-num, .page-arrow {
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-weight: 600;
font-family: var(--font-body);
font-size: 1rem;
color: var(--text-dark);
background: #fff;
border: 1px solid rgba(0,0,0,0.08);
transition: all 0.3s ease;
}
.page-num:hover, .page-arrow:hover:not(.disabled) {
background: var(--ui-light);
border-color: var(--ui-light);
color: var(--text-dark);
transform: translateY(-2px);
}
.page-num.active {
background: var(--text-dark);
color: #fff;
border-color: var(--text-dark);
box-shadow: 0 10px 20px rgba(44, 54, 47, 0.15);
}
.page-dots {
color: #999;
font-weight: 600;
letter-spacing: 2px;
padding: 0 5px;
}
.page-arrow.disabled {
opacity: 0.4;
cursor: not-allowed;
background: transparent;
}
@media (max-width: 480px) {
.page-num, .page-arrow {
width: 38px;
height: 38px;
font-size: 0.9rem;
}
.shop-pagination {
gap: 5px;
}
}
.sidebar-search {
position: relative;
display: flex;
align-items: center;
width: 100%;
}
.search-input {
width: 100%;
box-sizing: border-box;
padding: 14px 45px 14px 20px;
border-radius: 50px;
border: 2px solid rgba(0,0,0,0.06);
background: var(--bg-color);
font-family: var(--font-body);
font-size: 0.95rem;
color: var(--text-dark);
outline: none;
transition: all 0.3s ease;
box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
overflow: hidden;
text-overflow: ellipsis;
}
.search-input:focus {
border-color: var(--green-fresh);
background: #fff;
box-shadow: 0 5px 15px rgba(76, 133, 96, 0.1);
}
.search-input::placeholder {
color: #999;
font-size: 0.9rem;
}
.search-btn {
position: absolute;
right: 5px;
top: 50%;
transform: translateY(-50%);
width: 38px;
height: 38px;
border-radius: 50%;
border: none;
background: var(--text-dark);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: 0.3s ease;
}
.search-btn:hover {
background: var(--green-fresh);
box-shadow: 0 5px 15px rgba(76, 133, 96, 0.3);
}
@media (max-width: 1024px) {
.shop-sidebar {
width: 100%;
box-sizing: border-box;
overflow: hidden;
}
}
.price-slider-container{
width: 100%;
box-sizing: border-box;
overflow: hidden;
padding: 0 10px;
}
.price-slider{
display: block;
width: 100%;
max-width: 100%;
box-sizing: border-box;
margin: 0;
}