This commit is contained in:
Alisa
2026-06-07 21:14:30 +03:00
parent 76bf5d8191
commit 66e931e0d6
14 changed files with 1079 additions and 12 deletions
+381 -7
View File
@@ -226,9 +226,13 @@ body {
.category-mega-bar {
position: relative;
z-index: 19;
border-bottom: 1px solid var(--line);
background: rgba(255, 254, 250, 0.96);
border-top: 1px solid rgba(48, 110, 132, 0.12);
border-bottom: 1px solid rgba(48, 110, 132, 0.18);
background:
radial-gradient(circle at 10% 0, rgba(92, 154, 176, 0.18), transparent 34%),
linear-gradient(135deg, rgba(227, 241, 245, 0.96), rgba(250, 252, 247, 0.98) 42%, rgba(234, 244, 239, 0.96));
backdrop-filter: blur(14px);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.76), 0 12px 34px rgba(28, 76, 88, 0.06);
}
.category-mega-inner {
@@ -239,10 +243,16 @@ body {
align-items: center;
justify-content: center;
margin: 0 auto;
padding: 10px 0;
padding: 9px 0;
overflow: visible;
}
@media (min-width: 1200px) {
.category-mega-inner {
flex-wrap: nowrap;
}
}
.mega-item {
position: relative;
flex: 0 0 auto;
@@ -265,15 +275,18 @@ body {
width: auto;
min-width: 94px;
max-width: 205px;
min-height: 42px;
min-height: 38px;
border-radius: 999px;
padding: 8px 12px 8px 9px;
font-size: 12px;
border: 1px solid rgba(48, 110, 132, 0.13);
padding: 7px 11px 7px 8px;
font-size: 11px;
line-height: 1.15;
font-weight: 850;
color: var(--brand-green);
text-align: center;
white-space: normal;
background: rgba(255, 255, 255, 0.72);
box-shadow: 0 8px 22px rgba(28, 76, 88, 0.05);
}
.mega-root > span:last-child {
@@ -287,6 +300,30 @@ body {
text-decoration: none;
}
.mega-all-link,
.mega-virtual-link {
min-width: 0;
padding: 8px 12px;
border: 1px solid rgba(48, 110, 132, 0.18);
background: rgba(255, 255, 255, 0.86);
}
.mega-all-link {
color: #fff;
background: var(--brand-green);
}
.mega-virtual-link.is-promo {
color: #fff;
border-color: var(--brand-red);
background: var(--brand-red);
}
.mega-virtual-link.is-new {
color: var(--brand-green);
background: #eaf4e7;
}
.mega-submenu {
position: absolute;
top: calc(100% + 8px);
@@ -1623,6 +1660,279 @@ a:hover {
font-size: 16px;
}
.home-catalog-showcase {
display: grid;
gap: 18px;
margin-top: 26px;
}
.home-catalog-heading,
.home-product-section-head {
display: flex;
gap: 16px;
align-items: center;
justify-content: space-between;
}
.home-catalog-heading h2 {
font-size: clamp(26px, 3vw, 40px);
}
.home-product-section {
display: grid;
gap: 12px;
padding: 14px;
border: 1px solid var(--line);
border-radius: 10px;
background: rgba(255, 255, 255, 0.78);
box-shadow: 0 12px 30px rgba(22, 60, 43, 0.055);
}
.home-product-section.is-promo {
border-color: rgba(196, 57, 47, 0.28);
background:
linear-gradient(135deg, rgba(196, 57, 47, 0.12), rgba(255, 255, 255, 0.9) 44%),
#fff;
}
.home-product-section.is-new {
border-color: rgba(19, 66, 45, 0.26);
background:
linear-gradient(135deg, rgba(19, 66, 45, 0.12), rgba(255, 255, 255, 0.92) 46%),
#fff;
}
.home-product-section-head h3 {
margin: 0;
font-size: clamp(20px, 1.9vw, 29px);
}
.home-product-section-actions {
display: inline-flex;
flex: 0 0 auto;
gap: 10px;
align-items: center;
justify-content: flex-end;
}
.home-product-section-head a {
flex: 0 0 auto;
color: var(--brand-green);
font-size: 14px;
font-weight: 900;
text-decoration: none;
}
.home-strip-controls {
display: inline-flex;
gap: 6px;
align-items: center;
}
.home-strip-controls button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border: 1px solid rgba(19, 66, 45, 0.12);
border-radius: 999px;
color: var(--brand-green);
font-size: 15px;
font-weight: 900;
line-height: 1;
background: #fff;
box-shadow: 0 8px 18px rgba(19, 66, 45, 0.08);
cursor: pointer;
transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.home-strip-controls button:hover,
.home-strip-controls button:focus-visible {
color: #fff;
background: var(--brand-green);
transform: translateY(-1px);
}
.home-products-strip {
display: grid;
grid-auto-flow: column;
grid-auto-columns: minmax(200px, calc((100% - 42px) / 4));
gap: 14px;
overflow-x: auto;
overflow-y: visible;
padding: 2px 2px 4px;
scroll-snap-type: x proximity;
scrollbar-width: none;
}
.home-products-strip::-webkit-scrollbar {
display: none;
}
.home-products-strip .product-card {
min-width: 0;
scroll-snap-align: start;
}
.home-delivery-separator {
display: grid;
grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
gap: 18px;
align-items: center;
padding: clamp(20px, 3vw, 34px);
border-radius: 14px;
background:
linear-gradient(135deg, rgba(9, 42, 28, 0.96), rgba(19, 66, 45, 0.86)),
var(--home-warehouse-main) center / cover no-repeat;
color: #fff;
box-shadow: 0 22px 56px rgba(10, 38, 25, 0.2);
}
.home-delivery-separator .eyebrow,
.home-delivery-separator p {
color: rgba(255, 255, 255, 0.82);
}
.home-delivery-separator h3 {
max-width: 720px;
margin: 0 0 10px;
color: #fff;
font-size: clamp(24px, 3vw, 42px);
line-height: 1.04;
}
.home-delivery-mini {
display: grid;
gap: 12px;
padding: 16px;
border: 1px solid rgba(255, 255, 255, 0.24);
border-radius: 10px;
background: rgba(255, 255, 255, 0.14);
backdrop-filter: blur(12px);
}
.home-delivery-mini label {
display: grid;
gap: 6px;
}
.home-delivery-mini span {
color: rgba(255, 255, 255, 0.82);
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
}
.home-delivery-mini input,
.home-delivery-mini select {
width: 100%;
min-height: 42px;
border: 0;
border-radius: 8px;
padding: 10px 12px;
color: var(--ink);
font: inherit;
background: #fff;
}
.wishlist-request-panel {
display: grid;
grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
gap: 22px;
align-items: stretch;
margin-top: 26px;
padding: clamp(20px, 3vw, 36px);
border-radius: 14px;
background:
radial-gradient(circle at 13% 20%, rgba(196, 57, 47, 0.16), transparent 28%),
linear-gradient(135deg, #fffaf4, #edf4ea);
box-shadow: 0 20px 54px rgba(21, 54, 39, 0.12);
}
.wishlist-request-copy {
display: grid;
align-content: center;
gap: 12px;
}
.wishlist-request-copy h2 {
max-width: 540px;
font-size: clamp(32px, 4.4vw, 58px);
line-height: 0.96;
}
.wishlist-request-copy p {
max-width: 560px;
color: #526257;
font-size: 18px;
line-height: 1.5;
}
.wishlist-request-copy span {
width: fit-content;
padding: 8px 12px;
border-radius: 999px;
color: var(--brand-red);
font-size: 13px;
font-weight: 900;
background: rgba(196, 57, 47, 0.1);
}
.wishlist-request-card {
display: grid;
gap: 14px;
padding: 18px;
border: 1px solid rgba(19, 66, 45, 0.14);
border-radius: 12px;
background: rgba(255, 255, 255, 0.88);
}
.wishlist-request-form {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.wishlist-request-form label {
display: grid;
gap: 7px;
}
.wishlist-request-form label span {
color: var(--brand-green);
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
}
.wishlist-request-form input,
.wishlist-request-form textarea {
width: 100%;
min-height: 46px;
border: 1px solid #d6dfd3;
border-radius: 8px;
padding: 12px 13px;
color: var(--ink);
font: inherit;
background: #fff;
}
.wishlist-request-form textarea {
min-height: 126px;
resize: vertical;
}
.wishlist-request-form .wide {
grid-column: 1 / -1;
}
.form-hint {
margin: 0;
color: var(--muted);
font-size: 13px;
}
.content-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -1708,6 +2018,27 @@ a:hover {
font-weight: 760;
}
.category-list.depth-0 > .category-special-link > a {
display: flex;
min-height: 38px;
align-items: center;
justify-content: center;
border: 1px solid #dbe5d6;
padding: 8px 10px;
text-align: center;
}
.category-list.depth-0 > .category-special-link.is-all > a {
color: #fff;
border-color: var(--brand-green);
background: var(--brand-green);
}
.category-list.depth-0 > .category-special-link:not(.is-all) > a {
color: var(--brand-green);
background: #fff;
}
.category-list a,
.category-details summary {
box-sizing: border-box;
@@ -1984,6 +2315,31 @@ a:hover {
box-shadow: 0 8px 20px rgba(24, 34, 24, 0.12);
}
.product-card-badge {
position: absolute;
top: 12px;
left: 12px;
z-index: 3;
display: inline-flex;
min-height: 28px;
align-items: center;
border-radius: 999px;
padding: 6px 10px;
color: #fff;
font-size: 12px;
line-height: 1;
font-weight: 900;
box-shadow: 0 10px 22px rgba(24, 34, 24, 0.14);
}
.product-card-badge.is-promo {
background: var(--brand-red);
}
.product-card-badge.is-new {
background: var(--brand-green);
}
.product-card-image {
display: block;
overflow: hidden;
@@ -4171,10 +4527,28 @@ body[data-payment-mode="invoice"] .invoice-benefit-banner {
.home-benefit-grid,
.audience-system,
.audience-grid,
.warehouse-photo-grid {
.warehouse-photo-grid,
.home-delivery-separator,
.wishlist-request-panel,
.wishlist-request-form {
grid-template-columns: 1fr;
}
.home-catalog-heading,
.home-product-section-head {
align-items: flex-start;
flex-direction: column;
}
.home-product-section-actions {
width: 100%;
justify-content: space-between;
}
.home-products-strip {
grid-auto-columns: minmax(210px, 78vw);
}
.price-request-cover {
position: static;
margin-top: 16px;