@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;1,500;1,700&family=Poppins:wght@300;400;500;600&display=swap');
:root {
--bg-color: #fcf3ea;
--card-color: #fffaf5;
--soft-color: #f5e6d6;
--img-bg: #f6e9dc;
--text-color: #4a2e18;
--muted-color: #8a7260;
--main-color: #8b5a2b;
--main-dark: #6e4420;
--gold-color: #d9a066;
--border-color: #ead8c5;
--shadow: 0 8px 24px rgba(139, 90, 43, 0.12);
--radius: 18px;
}
.dark-mode {
--bg-color: #1b1410;
--card-color: #261d17;
--soft-color: #30251d;
--text-color: #f6e8d9;
--muted-color: #b9a28d;
--main-color: #c98a4b;
--main-dark: #e0a669;
--gold-color: #f0c48a;
--border-color: #3d2f24;
--shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Poppins', sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
transition: background-color 0.5s ease, color 0.5s ease;
overflow-x: hidden;
}
ul {
list-style: none;
}
a {
color: inherit;
text-decoration: none;
}
button {
font-family: inherit;
border: none;
background: none;
color: inherit;
cursor: pointer;
}
img {
max-width: 100%;
display: block;
}
h1, h2, h3 {
font-family: 'Playfair Display', serif;
font-style: italic;
font-weight: 500;
}
section {
padding: 50px 6%;
}
h2 {
font-size: 40px;
color: var(--text-color);
}
.btn {
position: relative;
overflow: hidden;
display: inline-flex;
align-items: center;
gap: 10px;
padding: 14px 30px;
border-radius: 40px;
background-color: var(--main-color);
color: #fff;
font-weight: 500;
font-size: 15px;
box-shadow: var(--shadow);
transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn .icon {
width: 16px;
height: 16px;
transition: transform 0.3s ease;
}
.btn::after {
content: "";
position: absolute;
top: 0;
left: -80%;
width: 50%;
height: 100%;
background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
transform: skewX(-20deg);
}
.btn:hover {
transform: translateY(-3px);
background-color: var(--main-dark);
}
.btn:hover::after {
animation: shine 0.8s ease;
}
.btn:hover .icon {
transform: translateX(5px);
}
.header {
position: sticky;
top: 0;
z-index: 50;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 12px 6%;
background-color: var(--bg-color);
transition: background-color 0.5s ease;
}
.logo {
display: flex;
align-items: center;
gap: 10px;
color: var(--main-dark);
}
.logo-icon {
width: 26px;
height: 26px;
color: var(--gold-color);
animation: spin 8s linear infinite;
}
.logo-text strong {
display: block;
font-family: 'Playfair Display', serif;
font-size: 28px;
font-weight: 500;
letter-spacing: 0.08em;
line-height: 1;
}
.logo-text span {
font-size: 9px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(--muted-color);
}
.nav ul {
display: flex;
gap: 40px;
}
.nav a {
position: relative;
padding: 6px 0;
font-size: 15px;
font-weight: 500;
}
.nav a::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 2px;
background-color: var(--main-color);
transform: scaleX(0);
transform-origin: right;
transition: transform 0.4s ease;
}
.nav a:hover::after {
transform: scaleX(1);
transform-origin: left;
}
.header-icons {
display: flex;
align-items: center;
gap: 18px;
}
.header-icons .icon {
width: 24px;
height: 24px;
color: var(--text-color);
transition: transform 0.3s ease, color 0.3s ease;
}
.header-icons button:hover .icon {
transform: scale(1.2) rotate(-8deg);
color: var(--main-color);
}
.cart-icon {
position: relative;
}
#cartCount {
position: absolute;
top: -8px;
right: -10px;
min-width: 18px;
height: 18px;
padding: 0 4px;
border-radius: 50%;
background-color: var(--main-color);
color: #fff;
font-size: 11px;
line-height: 18px;
text-align: center;
}
.mode-toggle {
display: flex;
align-items: center;
width: 62px;
height: 32px;
padding: 3px;
border-radius: 30px;
background-color: var(--main-color);
}
.mode-toggle .icon {
width: 26px;
height: 26px;
padding: 4px;
border-radius: 50%;
background-color: #fff;
color: var(--main-color);
}
.mode-toggle .moon-icon {
display: none;
}
.dark-mode .mode-toggle .sun-icon {
display: none;
}
.dark-mode .mode-toggle .moon-icon {
display: block;
}
.dark-mode .mode-toggle {
justify-content: flex-end;
}
.mode-toggle:hover .icon {
animation: spin 0.8s ease;
}

.hero {
display: grid;
grid-template-columns: 1fr 1.3fr;
align-items: center;
min-height: 420px;
padding: 0 0 0 6%;
overflow: hidden;
background: linear-gradient(110deg, var(--bg-color) 40%, var(--soft-color));
}
.hero-text h4 {
font-size: 15px;
font-weight: 400;
letter-spacing: 0.45em;
text-transform: uppercase;
color: var(--muted-color);
animation: slideUp 0.8s ease both;
}
.hero-text h1 {
font-size: 92px;
line-height: 1.1;
background: linear-gradient(100deg, var(--main-dark) 20%, var(--gold-color) 45%, var(--main-dark) 70%);
background-size: 250% 100%;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
animation: slideUp 0.8s ease 0.2s both, shimmer 5s linear 1s infinite;
}
.hero-text p {
margin: 14px 0 28px;
max-width: 300px;
font-size: 18px;
color: var(--muted-color);
animation: slideUp 0.8s ease 0.4s both;
}
.hero-text .btn {
animation: slideUp 0.8s ease 0.6s both;
}
.hero-dots {
display: flex;
gap: 10px;
margin-top: 30px;
}
.dot {
width: 9px;
height: 9px;
border-radius: 50%;
background-color: var(--border-color);
}
.dot.active {
background-color: var(--main-color);
animation: pulse 2s ease infinite;
}
.hero-image {
height: 100%;
overflow: hidden;
}
.hero-image img {
width: 100%;
height: 100%;
min-height: 420px;
object-fit: cover;
-webkit-mask-image: linear-gradient(to right, transparent, #000 30%);
mask-image: linear-gradient(to right, transparent, #000 30%);
animation: slowZoom 14s ease-in-out infinite alternate;
}

.categories-section h2,
.arrivals h2 {
position: relative;
display: flex;
align-items: center;
justify-content: center;
gap: 24px;
margin-bottom: 30px;
text-align: center;
}
.categories-section h2::before,
.categories-section h2::after,
.arrivals h2::before,
.arrivals h2::after {
content: "";
width: 80px;
height: 1px;
background-color: var(--main-color);
}
.categories {
display: flex;
justify-content: space-between;
gap: 14px;
}
.category {
flex: 1;
text-align: center;
}
.category a {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
height: 100%;
padding: 16px 8px 12px;
border-radius: 90px 90px 14px 14px;
background-color: var(--img-bg);
color: #4a2e18;
font-size: 14px;
transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.category img {
width: 100%;
height: 92px;
object-fit: contain;
mix-blend-mode: multiply;
transition: transform 0.5s ease;
}
.category a:hover {
transform: translateY(-10px);
box-shadow: var(--shadow);
}
.category a:hover img {
transform: scale(1.15) rotate(-6deg);
}

.bestsellers {
display: grid;
grid-template-columns: 260px 1fr;
align-items: center;
gap: 30px;
}
.bestsellers-text > .icon {
width: 38px;
height: 38px;
margin-bottom: 6px;
color: var(--main-color);
animation: floatY 3s ease-in-out infinite;
}
.bestsellers-text h2 {
font-size: 46px;
color: var(--main-dark);
}
.bestsellers-text p {
margin: 8px 0 28px;
color: var(--muted-color);
}
.bestsellers-text .btn {
background-color: transparent;
color: var(--main-color);
border: 1.5px solid var(--main-color);
box-shadow: none;
}
.bestsellers-text .btn:hover {
background-color: var(--main-color);
color: #fff;
}

.product-grid {
display: grid;
gap: 20px;
}
.bestsellers .product-grid {
grid-template-columns: repeat(3, 1fr);
}
.arrivals .product-grid {
grid-template-columns: repeat(4, 1fr);
}
.product-card {
position: relative;
padding: 14px;
border-radius: var(--radius);
border: 1px solid var(--border-color);
background: linear-gradient(var(--img-bg) 0 150px, var(--card-color) 150px);
box-shadow: var(--shadow);
transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.product-card:hover {
transform: translateY(-8px);
box-shadow: 0 16px 34px rgba(139, 90, 43, 0.25);
}
.product-img {
width: 100%;
height: 130px;
margin-bottom: 18px;
object-fit: contain;
mix-blend-mode: multiply;
transition: transform 0.5s ease;
}
.product-card:hover .product-img {
transform: scale(1.1) rotate(4deg);
}
.wishlist {
position: absolute;
top: 12px;
right: 12px;
z-index: 2;
}
.wishlist .icon {
width: 24px;
height: 24px;
color: var(--main-color);
transition: transform 0.3s ease, color 0.3s ease;
}
.wishlist:hover .icon {
transform: scale(1.2);
}
.wishlist.liked .icon {
fill: #e0426b;
color: #e0426b;
animation: heartPop 0.5s ease;
}
.product-card h3 {
font-family: 'Poppins', sans-serif;
font-style: normal;
font-size: 15px;
font-weight: 500;
}
.rating {
display: flex;
align-items: center;
gap: 5px;
margin: 4px 0;
font-size: 12px;
color: var(--muted-color);
}
.rating .icon {
width: 13px;
height: 13px;
color: #f0a020;
}
.price {
margin: 6px 0 10px;
font-size: 20px;
font-weight: 600;
}
.old-price {
margin-left: 4px;
font-size: 13px;
font-weight: 400;
color: var(--muted-color);
text-decoration: line-through;
}
.card-actions {
display: flex;
align-items: center;
justify-content: space-between;
}
.counter {
display: flex;
align-items: center;
gap: 4px;
padding: 4px 8px;
border-radius: 20px;
border: 1px solid var(--border-color);
background-color: var(--card-color);
}
.counter button {
width: 24px;
height: 24px;
border-radius: 50%;
font-size: 16px;
line-height: 1;
transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.counter button:hover {
background-color: var(--main-color);
color: #fff;
}
.counter button:active {
transform: scale(0.8);
}
.qty {
min-width: 22px;
text-align: center;
font-size: 14px;
}
.add-cart {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 36px;
border-radius: 20px;
background-color: var(--main-color);
transition: transform 0.3s ease, background-color 0.3s ease;
}
.add-cart .icon {
width: 20px;
height: 20px;
color: #fff;
}
.add-cart:hover {
background-color: var(--main-dark);
transform: scale(1.12);
}
.add-cart:active {
animation: cartBounce 0.4s ease;
}
.offer {
position: relative;
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
margin: 20px 3%;
padding: 0 0 0 4%;
overflow: hidden;
border-radius: 26px;
background: linear-gradient(110deg, var(--soft-color) 45%, var(--img-bg));
box-shadow: var(--shadow);
}
.offer-text h4 {
font-size: 14px;
font-weight: 400;
letter-spacing: 0.4em;
text-transform: uppercase;
color: var(--muted-color);
}
.offer-text h2 {
margin: 4px 0;
font-size: 64px;
font-weight: 700;
color: var(--main-dark);
}
.offer-text p {
margin-bottom: 20px;
font-size: 17px;
}
.offer-bottom {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 26px;
}
.timer {
display: flex;
gap: 10px;
}
.timer li {
display: flex;
flex-direction: column;
align-items: center;
width: 54px;
padding: 8px 0;
border-radius: 10px;
background-color: var(--card-color);
box-shadow: var(--shadow);
}
.timer strong {
font-family: 'Playfair Display', serif;
font-size: 22px;
font-weight: 500;
}
.timer span {
font-size: 10px;
color: var(--muted-color);
}
.timer li:last-child {
animation: tick 1s ease infinite;
}
.offer-image {
height: 100%;
overflow: hidden;
}
.offer-image img {
width: 100%;
height: 100%;
min-height: 260px;
object-fit: cover;
-webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
mask-image: linear-gradient(to right, transparent, #000 35%);
animation: floatY 6s ease-in-out infinite;
}
.features {
padding-top: 30px;
padding-bottom: 30px;
}
.feature-list {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.feature-list li {
display: flex;
align-items: center;
gap: 14px;
padding: 6px 14px;
border-right: 1px solid var(--border-color);
}
.feature-list li:last-child {
border-right: none;
}
.feature-list .icon {
flex-shrink: 0;
width: 56px;
height: 56px;
padding: 14px;
border-radius: 50%;
background-color: var(--img-bg);
color: var(--main-color);
transition: transform 0.5s ease;
}
.feature-list li:hover .icon {
transform: rotateY(360deg);
}
.feature-list h4 {
font-size: 14px;
font-weight: 600;
}
.feature-list p {
font-size: 12px;
color: var(--muted-color);
}
.footer {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 24px;
padding: 36px 6%;
background-color: var(--soft-color);
transition: background-color 0.5s ease;
}
.newsletter-text {
display: flex;
align-items: center;
gap: 18px;
max-width: 380px;
}
.newsletter-text > .icon {
flex-shrink: 0;
width: 48px;
height: 48px;
color: var(--main-color);
animation: floatY 3s ease-in-out infinite;
}
.newsletter-text h3 {
font-size: 28px;
}
.newsletter-text p {
font-size: 13px;
color: var(--muted-color);
}
.newsletter-form {
display: flex;
flex: 1;
max-width: 560px;
padding: 5px;
border-radius: 40px;
border: 1px solid var(--border-color);
background-color: var(--card-color);
}
.newsletter-form input {
flex: 1;
padding: 0 20px;
border: none;
outline: none;
background: none;
color: var(--text-color);
font-family: inherit;
font-size: 14px;
}
.newsletter-form .btn {
box-shadow: none;
}
.newsletter-msg {
width: 100%;
text-align: center;
font-size: 14px;
color: var(--main-color);
animation: fadeIn 0.6s ease;
}
.popup {
position: fixed;
inset: 0;
z-index: 100;
align-items: center;
justify-content: center;
padding: 20px;
background-color: rgba(20, 12, 6, 0.6);
backdrop-filter: blur(4px);
animation: fadeIn 0.4s ease;
}
.popup-box {
position: relative;
display: none;
align-items: center;
width: 100%;
max-width: 560px;
padding: 34px 36px;
border-radius: 26px;
border: 1px solid #e3cdb4;
background: linear-gradient(120deg, #fbefe2, #f1dcc6);
color: #4a2e18;
text-align: center;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.popup-box h2 {
font-size: 54px;
font-weight: 700;
line-height: 1.1;
color: #6e4420;
}
.popup-box h3 {
margin: 6px 0;
font-size: 26px;
}
.popup-box h4 {
font-family: 'Poppins', sans-serif;
font-size: 13px;
font-weight: 400;
letter-spacing: 0.4em;
text-transform: uppercase;
}
.popup-box p {
margin: 6px 0 18px;
font-size: 15px;
}
.popup-msg {
display: block;
margin-top: 12px;
font-size: 14px;
font-weight: 500;
color: #8b5a2b;
animation: fadeIn 0.5s ease;
}
.popup-close {
position: absolute;
top: 14px;
right: 14px;
z-index: 2;
width: 32px;
height: 32px;
border-radius: 50%;
background-color: #fff;
color: #4a2e18;
font-size: 14px;
font-weight: 600;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.4s ease, background-color 0.3s ease, color 0.3s ease;
}
.popup-close:hover {
background-color: #8b5a2b;
color: #fff;
transform: rotate(180deg);
}
.popup-coupon {
flex-direction: column;
justify-content: center;
max-width: 480px;
border: 2px dashed #b9852f;
outline: 6px solid #f1dcc6;
outline-offset: -12px;
background: radial-gradient(circle at 0 50%, transparent 14px, #fbefe2 15px);
}

.popup-coupon h2 {
font-style: italic;
animation: tick 1.6s ease infinite;
}
.popup-coupon .btn strong {
letter-spacing: 0.05em;
}
/* Spin popup */
.popup-spin {
justify-content: space-between;
gap: 20px;
max-width: 600px;
text-align: left;
}
.popup-spin h2 {
font-size: 46px;
}
.wheel-wrap {
position: relative;
flex-shrink: 0;
width: 220px;
height: 220px;
}
.wheel-wrap::before {
content: "";
position: absolute;
top: -8px;
left: 50%;
z-index: 2;
border-left: 11px solid transparent;
border-right: 11px solid transparent;
border-top: 22px solid #b9852f;
transform: translateX(-50%);
}
#wheel {
width: 100%;
height: 100%;
object-fit: contain;
mix-blend-mode: multiply;
transition: transform 3s cubic-bezier(0.17, 0.67, 0.2, 1);
}
.wheel-gift {
position: absolute;
right: -30px;
bottom: -10px;
width: 80px;
mix-blend-mode: multiply;
animation: floatY 3s ease-in-out infinite;
}
/* Timer popup */
.popup-timer {
gap: 26px;
max-width: 620px;
}
.hourglass {
flex-shrink: 0;
width: 170px;
height: 240px;
object-fit: cover;
border-radius: 18px;
}
.popup-timer .popup-text > .icon {
width: 30px;
height: 30px;
margin: 0 auto;
color: #8b5a2b;
}
.popup-timer .timer {
justify-content: center;
margin: 14px 0 18px;
}
.popup-timer .timer li {
background-color: #fffaf5;
}
.popup-timer .timer strong {
color: #4a2e18;
}
/* Animations */
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(40px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes shimmer {
from {
background-position: 250% 0;
}
to {
background-position: -150% 0;
}
}
@keyframes shine {
to {
left: 140%;
}
}
@keyframes slowZoom {
from {
transform: scale(1);
}
to {
transform: scale(1.08);
}
}
@keyframes floatY {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(139, 90, 43, 0.6);
}
100% {
box-shadow: 0 0 0 12px rgba(139, 90, 43, 0);
}
}
@keyframes tick {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
}
@keyframes heartPop {
0% {
transform: scale(1);
}
40% {
transform: scale(1.6);
}
100% {
transform: scale(1);
}
}
@keyframes cartBounce {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(0.8) rotate(-12deg);
}
}
@keyframes popIn {
from {
opacity: 0;
transform: scale(0.5) translateY(60px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@keyframes revealUp {
from {
opacity: 0;
translate: 0 40px;
}
}
@supports (animation-timeline: view()) {
.product-card,
.category,
.feature-list li {
animation: revealUp linear both;
animation-timeline: view();
animation-range: entry 0% entry 45%;
}
}

