AI update: תקן את מיקום התמונה בסקשן ההירו (Hero section). כרגע התמונה של כלי הספרות (מוצרי 18.21 Man Made, מספריים, מסרק) ממוקמת ב

This commit is contained in:
2026-08-25 12:06:18 +00:00
parent 7c65dfdb3c
commit df4b64ea16
+39 -14
View File
@@ -322,9 +322,9 @@ img {
.hero-content { .hero-content {
flex: 1; flex: 1;
padding-inline-end: var(--space-xl); max-width: 550px;
max-width: 650px; position: relative;
margin-inline-start: auto; z-index: 2;
} }
.hero-eyebrow { .hero-eyebrow {
@@ -363,12 +363,10 @@ img {
} }
.hero-visual { .hero-visual {
position: absolute; flex: 0 0 45%;
inset-inline-end: 5%; max-width: 500px;
top: 50%; position: relative;
transform: translateY(-50%); z-index: 1;
width: 35%;
max-width: 450px;
} }
.hero-image-container { .hero-image-container {
@@ -392,6 +390,15 @@ img {
background: linear-gradient(to top, rgba(44, 24, 16, 0.3) 0%, transparent 50%); background: linear-gradient(to top, rgba(44, 24, 16, 0.3) 0%, transparent 50%);
} }
/* Hero inner wrapper for proper two-column layout */
.hero {
display: flex;
align-items: center;
justify-content: space-between;
padding-inline: var(--space-xl);
gap: var(--space-xl);
}
/* Showcase Section */ /* Showcase Section */
.showcase { .showcase {
padding: var(--space-xl) 0; padding: var(--space-xl) 0;
@@ -1129,15 +1136,25 @@ section {
/* Responsive */ /* Responsive */
@media (max-width: 1024px) { @media (max-width: 1024px) {
.hero-visual { .hero {
display: none; flex-direction: column;
padding-inline: var(--space-md);
gap: var(--space-lg);
padding-top: 120px;
padding-bottom: var(--space-xl);
} }
.hero-content { .hero-content {
max-width: 100%; max-width: 100%;
text-align: center; text-align: center;
padding-inline: var(--space-md); order: 1;
margin-inline: auto; }
.hero-visual {
flex: 0 0 auto;
max-width: 350px;
width: 100%;
order: 2;
} }
.hero-desc { .hero-desc {
@@ -1312,6 +1329,10 @@ section {
.popup-title { .popup-title {
font-size: 1.5rem; font-size: 1.5rem;
} }
.hero-visual {
max-width: 280px;
}
} }
@media (max-width: 480px) { @media (max-width: 480px) {
@@ -1345,4 +1366,8 @@ section {
position: static; position: static;
margin-bottom: var(--space-sm); margin-bottom: var(--space-sm);
} }
}
.hero-visual {
max-width: 240px;
}
}