@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600&family=Lora:wght@400;500;600&family=Sriracha&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
background: #fdf3e7;
color: #1d2f4f;
line-height: 1.4;
overflow-x: hidden;
}
ul,
ol {
list-style: none;
}
a {
text-decoration: none;
color: inherit;
}
img {
max-width: 100%;
display: block;
}
button {
font-family: inherit;
background: none;
border: none;
cursor: pointer;
}
.header {
position: relative;
z-index: 5;
height: 128px;
background: #0b2a52;
display: flex;
align-items: flex-start;
justify-content: space-between;
padding: 10px 6% 0 133px;
border-bottom-left-radius: 75% 42px;
border-bottom-right-radius: 25% 22px;
}
.logo img {
width: 170px;
height: auto;
}
.nav {
position: absolute;
left: 50%;
top: 50px;
transform: translateX(-50%);
margin-left: -2px;
}
.nav ul {
display: flex;
align-items: center;
gap: 22px;
}
.nav a {
font-family: "Inter", Arial, sans-serif;
font-size: 16px;
font-weight: 600;
letter-spacing: 0.05em;
color: #ffffff;
padding: 0 8px;
transition: color 0.2s;
}
.nav a.active,
.nav a:hover {
color: #f5dcb7;
}
.header-icons {
display: flex;
align-items: center;
gap: 16px;
margin-top: 36px;
}
.header-icons button {
display: flex;
align-items: center;
justify-content: center;
}
.header-icons img {
width: 26px;
height: 26px;
}
.hero {
position: relative;
margin-top: -44px;
min-height: 483px;
padding-top: 44px;
background: #f5dcb7;
display: grid;
grid-template-columns: 38% 62%;
align-items: center;
overflow: hidden;
}
.hero-text {
position: relative;
z-index: 2;
padding: 20px 0 0 80px;
}
.hero-text h4 {
font-size: 19px;
font-weight: 400;
text-transform: uppercase;
margin-bottom: 20px;
}
.hero-text h1 {
font-family: "Playwrite AR", cursive;
font-size: 62px;
font-weight: 400;
line-height: 1.15;
color: #0b2a52;
margin: 0 0 6px 10px;
white-space: nowrap;
}
.hero-text h3 {
font-size: 24px;
font-weight: 400;
margin-bottom: 30px;
}
.hero-text p {
font-size: 20px;
line-height: 1.15;
max-width: 400px;
margin-bottom: 38px;
}
.btn {
display: inline-flex;
align-items: center;
gap: 14px;
height: 48px;
padding: 0 26px;
font-size: 21px;
color: #0b2a52;
border: 2px solid #0b2a52;
border-radius: 40px;
transition: background 0.2s, color 0.2s;
}
.btn img {
width: 20px;
height: 20px;
}
.btn-search {
background-color: #07204a;
padding: 8px 8px;
border-radius: 100%;
}
.hero .btn:hover {
background: #0b2a52;
color: #ffffff;
}
.hero-image {
align-self: end;
height: 436px;
margin-bottom: 12px;
}
.hero-image img {
width: 100%;
height: 100%;
object-fit: cover;
border-top-left-radius: 330px 260px;
border-bottom-left-radius: 330px 190px;
}
.products {
padding: 92px 80px 0;
}
.add-cart {
overflow: hidden;
transition: background 0.2s, width 0.35s ease;
}
.add-cart::before {
content: "Add to cart";
max-width: 0;
margin-right: 0;
overflow: hidden;
opacity: 0;
white-space: nowrap;
font-size: 15px;
color: #ffffff;
transition: max-width 0.35s ease, margin 0.35s ease, opacity 0.25s ease;
}
.add-cart:active {
filter: brightness(1.2);
}
@keyframes cartWiggle {
0%,
100% {
transform: rotate(0deg) translateY(0);
}
20% {
transform: rotate(-14deg) translateY(-3px);
}
40% {
transform: rotate(12deg) translateY(0);
}
60% {
transform: rotate(-8deg);
}
80% {
transform: rotate(5deg);
}
}
.toolbar {
display: flex;
align-items: center;
gap: 44px;
margin-bottom: 46px;
}
.search {
display: flex;
align-items: center;
justify-content: space-between;
width: 260px;
height: 46px;
padding: 0 14px 0 16px;
background: #ffffff;
border: 2px solid #cdd5de;
border-radius: 30px;
font-size: 14px;
color: #777777;
}
.search button {
display: flex;
}
.search img {
width: 16px;
height: 16px;
}
.results {
font-size: 15px;
}
.sort {
margin-left: auto;
display: flex;
align-items: center;
gap: 8px;
font-size: 15px;
}
.sort-box {
display: flex;
align-items: center;
justify-content: space-between;
width: 146px;
height: 48px;
padding: 0 14px;
background: #ffffff;
border: 2px solid #cdd5de;
border-radius: 30px;
font-size: 15px;
margin-right: 6px;
}
.sort-box img {
width: 11px;
}
.view {
width: 46px;
height: 46px;
display: flex;
align-items: center;
justify-content: center;
background: #ffffff;
border: 2px solid #cdd5de;
border-radius: 12px;
}
.view img {
width: 18px;
height: 18px;
}
.view.active {
background: #0b2a52;
border-color: #0b2a52;
}
.view.active img {
filter: brightness(0) invert(1);
}
.products-layout {
display: grid;
grid-template-columns: 260px 1fr;
column-gap: 35px;
align-items: start;
}
.sidebar {
display: flex;
flex-direction: column;
}
.filter {
background: #ffffff;
border: 2px solid #cdd5de;
border-radius: 12px;
overflow: hidden;
}
.filter h3 {
display: flex;
align-items: center;
gap: 14px;
height: 52px;
padding: 0 14px;
background: #0b2a52;
color: #ffffff;
font-size: 20px;
font-weight: 400;
}
.filter h3 img {
width: 22px;
height: 22px;
filter: brightness(0) invert(1);
}
.category-list li {
border-bottom: 1px solid #cdd5de;
background: #ffffff;
}
.category-list li:last-child {
border-bottom: none;
}
.category-list a {
display: flex;
align-items: center;
gap: 16px;
height: 44px;
padding: 0 14px;
font-size: 15px;
}
.category-list a img {
width: 18px;
height: 18px;
}
.category-list a span:last-child {
margin-left: auto;
margin-right: 8px;
}
.category-list li.active {
background: #fdd88f;
border-radius: 10px;
}
.category-list li:hover:not(.active) {
background: #f6efe5;
}
.promo {
position: relative;
width: 214px;
height: 296px;
margin: 36px 0 0 22px;
background: linear-gradient(180deg, #0d3a70 0%, #0b2a52 100%);
border-radius: 16px;
color: #ffffff;
}
.promo > img {
width: 200px;
margin: 14px auto 0;
}
.promo .btn {
position: absolute;
left: 50%;
bottom: 18px;
transform: translateX(-50%);
height: 34px;
padding: 0 22px;
font-size: 13px;
color: #ffffff;
border: 1.5px solid #ffffff;
gap: 26px;
white-space: nowrap;
}
.promo .btn img {
width: 10px;
height: 10px;
}
.promo .btn:hover {
background: #ffffff;
color: #0b2a52;
}
.sidebar-features {
margin: 44px 0 0 26px;
display: flex;
flex-direction: column;
gap: 11px;
}
.sidebar-features li {
display: flex;
align-items: center;
gap: 16px;
font-size: 15px;
}
.sidebar-features img {
width: 24px;
height: 24px;
flex-shrink: 0;
}
.product-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 62px 17px;
}
.product-card {
position: relative;
display: flex;
flex-direction: column;
min-height: 470px;
padding: 40px 17px 0;
background: #ffffff;
border: 1px solid #e3e7ec;
border-radius: 26px;
box-shadow: 0 3px 8px rgba(11, 42, 82, 0.25);
overflow: hidden;
transition: transform 0.2s;
}
.product-card:hover {
transform: translateY(-4px);
}
.wishlist {
position: absolute;
top: 17px;
right: 17px;
z-index: 2;
}
.wishlist img {
width: 28px;
height: 28px;
}
.side-img {
width: 20px;
height: 20px;
object-fit: contain;
}
.product-img {
width: 115px;
height: 154px;
object-fit: contain;
margin: 0 auto 28px;
}
.product-card h3 {
font-size: 24px;
font-weight: 400;
margin-bottom: 4px;
}
.rating {
display: flex;
align-items: center;
gap: 5px;
margin-bottom: 8px;
font-size: 14px;
color: #555555;
}
.rating img {
height: 17px;
width: auto;
}
.weight {
font-size: 21px;
margin-bottom: 2px;
}
.price {
font-size: 24px;
}
.add-cart {
position: absolute;
right: 0;
bottom: 0;
width: 70px;
height: 57px;
display: flex;
align-items: center;
justify-content: center;
background: #0b2a52;
border-top-left-radius: 26px;
transition: background 0.2s;
}
.add-cart:hover {
background: #07204a;
}
.add-cart img {
width: 30px;
height: 30px;
}
.pagination {
grid-column: 1 / -1;
margin: 76px 0 130px;
display: flex;
justify-content: center;
}
.pagination ul {
display: flex;
gap: 9px;
}
.pagination a {
display: flex;
align-items: center;
justify-content: center;
width: 35px;
height: 35px;
background: #ffffff;
border-radius: 8px;
box-shadow: 0 1px 4px rgba(11, 42, 82, 0.2);
font-size: 14px;
transition: background 0.2s, color 0.2s;
}
.pagination a.active,
.pagination a:hover {
background: #0b2a52;
color: #ffffff;
}
.process {
position: relative;
margin-top: 40px;
padding: 150px 80px 70px 55px;
background: #0b2a52;
color: #ffffff;
display: grid;
grid-template-columns: 38% 1fr;
align-items: center;
column-gap: 30px;
border-top-left-radius: 55% 70px;
border-top-right-radius: 45% 40px;
overflow: hidden;
}
.process::after {
content: "";
position: absolute;
right: -40px;
bottom: -90px;
width: 140px;
height: 140px;
background: #fbbd5a;
border-radius: 50%;
box-shadow: -18px -14px 0 -12px #0b2a52, -20px -16px 0 -10px #fbbd5a;
}
.process-text {
margin-top: 40px;
}
.process-text h4 {
font-size: 19px;
font-weight: 400;
margin: 0 0 14px 4px;
}
.process-text h2 {
position: relative;
font-size: 33px;
font-weight: 400;
margin-bottom: 46px;
white-space: nowrap;
}
.process-text h2::after {
content: "";
position: absolute;
left: 6px;
bottom: -26px;
width: 95px;
height: 4px;
background: #f1b53f;
border-radius: 4px;
transform: rotate(-12deg);
}
.process-text p {
font-size: 20px;
line-height: 1.15;
max-width: 400px;
margin-bottom: 28px;
}
.process-text .btn {
height: 40px;
padding: 0 20px;
font-size: 19px;
color: #ffffff;
border: 1.5px solid #ffffff;
gap: 14px;
}
.process-text .btn img {
width: 16px;
height: 16px;
}
.process-text .btn:hover {
background: #ffffff;
color: #0b2a52;
}
.steps {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 78px;
margin-top: 20px;
}
.step {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
border-radius: 100%;
}
.step::after {
content: "→";
position: absolute;
top: 34px;
right: -64px;
font-size: 38px;
line-height: 1;
color: #ffffff;
}
.step:last-child::after {
content: none;
}
.step-icon {
border-radius: 100%;
border: 1px solid #f1b53f;
margin-bottom: 20px;
}
.step img {
width: 100px;
height: 100px;
padding: 30px;
margin-bottom: 8px;
}
.step h3 {
font-size: 21px;
font-weight: 600;
white-space: nowrap;
}
.step p {
font-size: 15px;
margin-top: 8px;
white-space: nowrap;
}
.step span {
margin-top: 14px;
font-size: 21px;
font-weight: 700;
}
.footer {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 138px;
padding: 6px 80px 6px 70px;
background: #f0e4d3;
}
.footer .logo img {
width: 170px;
}
.payments {
display: flex;
align-items: center;
gap: 26px;
margin-left: 90px;
}
.payments img {
height: 34px;
width: auto;
}
.copyright {
font-size: 15px;
}
body {
font-family: Lora, Georgia, serif;
}
.header-icons img {
object-fit: contain;
}
.product-grid {
grid-template-columns: repeat(4,minmax(0,1fr));
}
.products-layout {
grid-template-columns: 260px minmax(0,1fr);
}
.product-card {
min-width: 0;
padding-bottom: 70px;
}
.product-media {
min-width: 0;
}
.pagination {
margin: 76px 0 130px;
}
.home-page {
background: #f7f0e8;
color: #082b52;
}
.home-page .hero {
grid-template-columns: 38% 62%;
min-height: 0;
padding: 55px 5% 35px;
margin-top: -30px;
border-radius: 0 0 50% 5% / 0 0 5% 2%;
overflow: hidden;
}
.home-page .hero-text {
padding: 0;
}
.home-page .hero-text h3 {
font-size: clamp(20px,2.3vw,32px);
margin: 0;
}
.home-page .hero-text h1 {
font-family: Sriracha,cursive;
font-size: clamp(60px,8vw,120px);
margin: 0;
line-height: 1.1;
}
.home-page .hero-text p {
font-size: clamp(17px,2vw,28px);
line-height: 1.35;
max-width: 470px;
margin: 15px 0 25px;
}
.home-page .hero-image {
position: relative;
height: auto;
margin: 0;
align-self: center;
}
.home-page .hero-image img {
width: 100%;
height: auto;
object-fit: contain;
border-radius: 0;
}
.home-page .hero-image .leaf {
position: absolute;
width: 11%;
top: 0;
}
.home-page .hero-image .left {
left: 0;
}
.home-page .hero-image .right {
right: 0;
}
.home-page .about {
display: grid;
grid-template-columns: 32% 34% 1fr;
gap: 4%;
align-items: center;
padding: 65px 5%;
background: repeating-linear-gradient(90deg,#f7f0e8 0 90px,#f3eadf 90px 130px);
border-radius: 0 0 50% 50% / 0 0 4% 4%;
}
.home-page .about-image img {
width: 100%;
}
.home-page h4 {
font-size: clamp(16px,1.5vw,24px);
font-weight: 400;
}
.home-page .about h2,
.home-page .range h2 {
font-size: clamp(24px,2.5vw,36px);
line-height: 1.2;
margin: 8px 0 15px;
}
.home-page .about p,
.home-page .range p {
font-size: clamp(15px,1.45vw,20px);
line-height: 1.4;
margin: 0 0 20px;
}
.home-page .about-features li {
display: flex;
align-items: center;
gap: 12px;
margin: 15px 0;
font-size: clamp(13px,1.25vw,19px);
font-weight: 600;
}
.home-page .about-features img {
width: 48px;
height: 48px;
object-fit: contain;
padding: 12px;
border-radius: 50%;
background: #082b52;
}
.home-page .range {
display: grid;
grid-template-columns: 34% 1fr;
gap: 5%;
align-items: center;
padding: 65px 5% 80px;
background: #f1e5d6;
}
.home-page .categories {
display: grid;
grid-template-columns: repeat(5,minmax(0,1fr));
gap: 14px;
}
.home-page .category {
background: #9eaf9f;
border-radius: 20px;
min-height: 150px;
}
.home-page .category:nth-child(even) {
background: #e8b98a;
}
.home-page .category:nth-child(3) {
background: #bdcfa6;
}
.home-page .category a {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
height: 100%;
padding: 12px 4px;
}
.home-page .category img:first-child {
width: 80%;
height: 65px;
object-fit: contain;
}
.home-page .category img:last-child {
width: 30px;
}
.home-page .category span {
font-size: clamp(13px,1.4vw,20px);
}
.home-page .process {
margin-top: -30px;
padding: 80px 5% 55px;
grid-template-columns: 35% minmax(0,1fr);
gap: 4%;
border-radius: 50% 50% 0 0 / 8% 8% 0 0;
}
.home-page .process-text {
margin: 0;
}
.home-page .process-text h2 {
white-space: normal;
font-size: clamp(24px,2.5vw,36px);
margin-bottom: 24px;
}
.home-page .process-text h2::after {
display: none;
}
.home-page .steps {
gap: clamp(12px,3vw,48px);
margin: 0;
}
.home-page .step h3 {
font-size: clamp(13px,1.4vw,21px);
}
.home-page .step p {
font-size: clamp(10px,1vw,15px);
}
.home-page .step img {
width: clamp(55px,6vw,100px);
height: clamp(55px,6vw,100px);
padding: 20%;
margin: 0;
}
.home-page .step::after {
right: -30px;
top: 25px;
font-size: 25px;
}
.header {
height: 105px;
padding: 0 5%;
align-items: center;
border-radius: 0 0 50% 50% / 0 0 15% 15%;
}
.header .logo img {
width: clamp(90px,11vw,165px);
}
.nav {
position: static;
transform: none;
margin: 0;
}
.nav ul {
gap: clamp(8px,1.5vw,24px);
}
.nav a {
font-size: clamp(11px,1vw,16px);
padding: 0;
}
.header-icons {
margin: 0;
gap: 12px;
}
.header-icons img {
width: 22px;
height: 22px;
filter: brightness(0) invert(1);
}
.hero {
margin-top: -18px;
padding: 35px 5% 25px;
min-height: 0;
grid-template-columns: minmax(0,38fr) minmax(0,62fr);
gap: 3%;
}
.hero-text {
padding: 0;
min-width: 0;
}
.hero-text h1 {
white-space: normal;
font-size: clamp(36px,4.3vw,65px);
margin-left: 0;
}
.hero-text h3 {
font-size: clamp(16px,1.7vw,24px);
margin-bottom: 14px;
}
.hero-text p {
font-size: clamp(15px,1.45vw,21px);
line-height: 1.4;
margin-bottom: 22px;
}
.hero-image {
height: auto;
margin: 0;
align-self: center;
min-width: 0;
}
.hero-image img {
height: auto;
width: 100%;
object-fit: contain;
}
.btn {
height: auto;
min-height: 40px;
padding: 9px 18px;
font-size: clamp(13px,1.3vw,20px);
max-width: 100%;
}
.home-page .hero {
grid-template-columns: minmax(0,35fr) minmax(0,65fr);
padding: 40px 5% 25px;
margin-top: -18px;
gap: 3%;
}
.home-page .hero-image img:first-child {
position: relative;
z-index: 2;
}
.home-page .hero-image .leaf {
width: 35%;
top: 0;
z-index: 1;
}
.home-page .about {
grid-template-columns: minmax(0,32fr) minmax(0,36fr) minmax(0,26fr);
gap: 3%;
padding: 45px 5%;
}
.home-page .range {
grid-template-columns: minmax(0,34fr) minmax(0,66fr);
gap: 4%;
padding: 45px 5% 85px;
}
.products {
padding: 55px 5% 0;
}
.toolbar {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12px;
}
.search {
width: clamp(150px,20vw,260px);
}
.sort {
gap: 6px;
}
.products-layout {
grid-template-columns: minmax(170px,20%) minmax(0,1fr);
gap: 24px;
}
.product-grid {
grid-template-columns: repeat(4,minmax(0,1fr));
gap: 24px 16px;
}
.product-card {
min-height: 340px;
padding: 30px 12px 58px;
border-radius: 18px;
}
.product-img {
width: 100%;
height: 150px;
margin: 0 auto 15px;
}
.product-card h3 {
font-size: clamp(14px,1.25vw,20px);
overflow-wrap: anywhere;
}
.weight,
.price {
font-size: clamp(13px,1.2vw,19px);
}
.rating {
font-size: 12px;
flex-wrap: wrap;
}
.rating img {
max-width: 75%;
height: auto;
max-height: 15px;
}
.wishlist {
top: 10px;
right: 10px;
}
.wishlist img {
width: 20px;
height: 20px;
}
.add-cart {
width: 48px;
height: 44px;
border-top-left-radius: 18px;
}
.add-cart img {
width: 22px;
height: 22px;
}
.promo {
width: 90%;
height: auto;
min-height: 220px;
margin: 25px auto 0;
padding-bottom: 55px;
}
.promo>img {
width: 100%;
margin: 0 auto;
}
.sidebar-features {
margin: 24px 0;
gap: 12px;
}
.category-list a {
gap: 8px;
padding: 0 9px;
font-size: 13px;
}
.category-list a span:last-child {
margin-right: 0;
}
.pagination {
margin: 35px 0 60px;
}
.process,
.home-page .process {
display: grid;
grid-template-columns: minmax(0,35fr) minmax(0,65fr);
gap: 5%;
padding: 65px 5% 45px;
margin-top: 0;
border-radius: 0;
overflow: visible;
}
.process::before {
content: "";
position: absolute;
left: 0;
top: -39px;
width: 100%;
height: 40px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%230b2a52' d='M0 55C230 0 370 0 560 45S850 75 1040 25S1320 -15 1440 25V100H0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.process::after {
right: 0;
bottom: 0;
width: 65px;
height: 65px;
border-radius: 100% 0 0 0;
box-shadow: none;
}
.process-text,
.home-page .process-text {
margin: 0;
min-width: 0;
}
.process-text h2 {
white-space: normal;
font-size: clamp(24px,2.4vw,36px);
margin-bottom: 18px;
}
.process-text h2::after {
display: none;
}
.process-text p {
font-size: clamp(14px,1.35vw,19px);
line-height: 1.4;
}
.steps,
.home-page .steps {
display: grid;
grid-template-columns: repeat(4,minmax(0,1fr));
gap: 20px;
margin: 0;
}
.step h3,
.step p {
white-space: normal;
}
.step h3 {
font-size: clamp(13px,1.3vw,20px);
}
.step p {
font-size: clamp(11px,1vw,15px);
}
.step-icon {
width: clamp(55px,6vw,95px);
height: clamp(55px,6vw,95px);
display: grid;
place-items: center;
margin: 0 auto 10px;
}
.step img,
.home-page .step img {
width: 100%;
height: 100%;
padding: 23%;
margin: 0;
object-fit: contain;
}
.step::after,
.home-page .step::after {
right: -20px;
top: 24px;
font-size: 23px;
}
.footer {
padding: 18px 5%;
min-height: 100px;
gap: 20px;
}
.footer .logo img {
width: clamp(85px,10vw,150px);
}
.payments {
margin: 0;
gap: 10px;
}
.payments img {
height: clamp(15px,2vw,30px);
}
.copyright {
font-size: clamp(10px,1vw,14px);
}
@media(max-width:1024px) {
.header {
height: 80px;
padding: 0 4%;
}
.nav ul {
gap: 12px;
}
.header-icons {
gap: 7px;
}
.header-icons img {
width: 17px;
height: 17px;
}
.hero,
.home-page .hero {
padding: 30px 5%;
}
.home-page .hero-text h1 {
font-size: clamp(48px,9vw,85px);
}
.home-page .hero-text p {
font-size: 17px;
}
.home-page .about {
grid-template-columns: 1fr 1fr;
gap: 20px;
padding: 35px 5%;
}
.home-page .about-features {
grid-column: 1/-1;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px 20px;
}
.home-page .about-features li {
margin: 0;
}
.home-page .range {
grid-template-columns: 1fr;
gap: 24px;
padding: 35px 5% 75px;
}
.home-page .categories {
grid-template-columns: repeat(5,minmax(0,1fr));
gap: 10px;
}
.home-page .category {
min-height: 125px;
}
.products {
padding: 35px 4% 0;
}
.products-layout {
grid-template-columns: minmax(145px,30%) minmax(0,1fr);
gap: 16px;
}
.product-grid {
grid-template-columns: repeat(2,minmax(0,1fr));
gap: 18px 12px;
}
.product-card {
min-height: 300px;
}
.product-img {
height: 130px;
}
.process,
.home-page .process {
grid-template-columns: 1fr;
gap: 28px;
padding: 45px 5% 35px;
}
.steps,
.home-page .steps {
gap: 18px;
}
.footer {
gap: 10px;
}
}
@media(max-width:600px) {
.header {
height: auto;
min-height: 60px;
flex-wrap: wrap;
gap: 8px;
padding: 8px 4% 12px;
}
.header .logo img {
width: 75px;
}
.nav {
order: 3;
width: 100%;
}
.nav ul {
justify-content: space-between;
gap: 5px;
flex-wrap: wrap;
}
.nav a {
font-size: 10px;
}
.hero,
.home-page .hero {
grid-template-columns: 1fr;
gap: 18px;
padding: 28px 6% 20px;
margin-top: -8px;
}
.hero-text h4 {
font-size: 12px;
margin-bottom: 8px;
}
.hero-text h1 {
font-size: 40px;
}
.home-page .hero-text h1 {
font-size: 64px;
}
.hero-text h3,
.home-page .hero-text h3 {
font-size: 18px;
}
.hero-text p,
.home-page .hero-text p {
font-size: 15px;
margin: 10px 0 16px;
}
.hero-image img {
border-radius: 40% 0 0 25%;
}
.home-page .hero-image img {
border-radius: 0;
}
.home-page .about {
grid-template-columns: 1fr;
padding: 25px 6%;
gap: 18px;
}
.home-page .about-image {
width: 90%;
margin: auto;
}
.home-page .about-features {
grid-template-columns: 1fr;
gap: 8px;
}
.home-page .about-features img {
width: 35px;
height: 35px;
padding: 8px;
}
.home-page .range {
padding: 28px 6% 65px;
}
.home-page .categories {
grid-template-columns: 1fr;
gap: 10px;
}
.home-page .category {
min-height: 0;
border-radius: 12px;
}
.home-page .category a {
flex-direction: row;
justify-content: space-between;
padding: 10px 15px;
}
.home-page .category img:first-child {
width: 65px;
height: 45px;
}
.home-page .category img:last-child {
width: 24px;
}
.products {
padding: 24px 5% 0;
}
.toolbar {
gap: 8px;
margin-bottom: 20px;
}
.search {
width: 100%;
}
.results {
font-size: 11px;
}
.sort {
margin-left: 0;
font-size: 11px;
flex-wrap: wrap;
}
.sort-box {
width: 95px;
height: 34px;
font-size: 11px;
}
.view {
width: 30px;
height: 30px;
}
.products-layout {
grid-template-columns: 1fr;
gap: 20px;
}
.filter {
display: none;
}
.promo {
width: 100%;
max-width: 280px;
margin: 0 auto;
}
.sidebar-features {
margin: 16px 0;
gap: 8px;
}
.sidebar-features li {
font-size: 13px;
}
.product-grid {
grid-template-columns: repeat(2,minmax(0,1fr));
gap: 12px;
}
.product-card {
min-height: 250px;
padding: 25px 10px 48px;
border-radius: 12px;
}
.product-img {
height: 100px;
margin-bottom: 8px;
}
.product-card h3 {
font-size: 13px;
}
.rating {
font-size: 10px;
}
.weight,
.price {
font-size: 13px;
}
.add-cart {
width: 38px;
height: 36px;
}
.add-cart img {
width: 18px;
height: 18px;
}
.process,
.home-page .process {
display: flex;
flex-direction: column;
align-items: stretch;
padding: 30px 6%;
gap: 20px;
}
.process-text,
.home-page .process-text {
display: contents;
}
.process-text h4 {
order: 1;
margin: 0;
}
.process-text h2 {
order: 2;
margin: 0;
}
.process-text p {
order: 3;
margin: 0;
}
.steps,
.home-page .steps {
order: 4;
grid-template-columns: 1fr;
gap: 10px;
}
.process-text .btn {
order: 5;
align-self: flex-start;
}
.step {
display: grid;
grid-template-columns: 45px 1fr auto;
grid-template-rows: auto auto;
gap: 3px 12px;
text-align: left;
padding: 10px;
background: #0e3566;
border: 1px solid #2a4f80;
border-radius: 12px;
}
.step-icon {
grid-column: 1;
grid-row: 1/3;
width: 45px;
height: 45px;
margin: 0;
}
.step h3 {
grid-column: 2;
grid-row: 1;
font-size: 16px;
}
.step p {
grid-column: 2;
grid-row: 2;
margin: 0;
}
.step span {
grid-column: 3;
grid-row: 1/3;
margin: 0;
color: #f1b53f;
}
.step::after,
.home-page .step::after {
display: none;
}
.footer {
flex-direction: column;
text-align: center;
gap: 12px;
padding: 20px 5%;
}
.footer .logo img {
width: 100px;
}
}
@keyframes alDohaEnter {
from {
opacity: 0;
translate: 0 20px;
}
to {
opacity: 1;
translate: 0 0;
}
}
@keyframes alDohaFloat {
0%,
100% {
translate: 0 0;
}
50% {
translate: 0 -7px;
}
}
@keyframes alDohaWheat {
0%,
100% {
rotate: -3deg;
}
50% {
rotate: 3deg;
}
}
.hero-text > * {
animation: alDohaEnter .75s ease both;
}
.hero-text h1 {
animation-delay: .12s;
}
.hero-text p {
animation-delay: .24s;
}
.hero-text .btn {
animation-delay: .36s;
}
.hero-image {
animation: alDohaEnter .9s .12s ease both;
}
.hero-image img:first-child {
animation: alDohaFloat 5s ease-in-out infinite;
}
.home-page .hero-image .leaf {
animation: alDohaWheat 5s ease-in-out infinite;
}
.home-page .hero-image .right {
animation-delay: -2s;
}
.btn,
.header-icons button,
.home-page .category,
.product-card,
.step-icon,
.about-features li img,
.wishlist,
.add-cart {
transition: transform .3s ease,box-shadow .3s ease,background-color .3s ease,color .3s ease;
}
.btn img,
.product-img,
.home-page .category img {
transition: transform .35s ease;
}
@media (hover:hover) and (pointer:fine) {
.btn:hover img {
transform: translateX(4px);
}
.header-icons button:hover {
transform: translateY(-3px);
}
.home-page .category:hover,
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 18px #0b2a521c;
}
.product-card:hover .product-img,
.home-page .category:hover img:first-child {
transform: scale(1.06);
}
.step:hover .step-icon,
.about-features li:hover img {
transform: scale(1.08);
}
.wishlist:hover,
.add-cart:hover {
transform: scale(1.08);
}
}
.btn:active,
.add-cart:active,
.wishlist:active,
.home-page .category:active,
.header-icons button:active {
transform: scale(.96);
}
@supports (animation-timeline: view()) {
.about-image,
.about-text,
.about-features,
.range-text,
.categories,
.process-text,
.steps,
.product-card,
.sidebar {
animation: alDohaEnter linear both;
animation-timeline: view();
animation-range: entry 0% entry 65%;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
}
}
