/* AliExpress-inspired mock layout (HTML/CSS only) */
:root{
--bg: #ffffff;
--text: #121212;
--muted: #5a5f6a;
--line: #e6e8ee;
--soft: #f6f7fb;
--soft2:#fff4f2;
--brand:#ff4d2d;
--brand2:#ff7a00;
--btnText:#ffffff;
--shadow: 0 10px 30px rgba(20, 24, 36, .10);
--radius: 16px;
--radius2: 22px;
--max: 1120px;
}
*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
margin:0;
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
color:var(--text);
background:var(--bg);
line-height:1.35;
}
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }
.container{
width:min(var(--max), calc(100% - 32px));
margin-inline:auto;
}
.sr-only{
position:absolute !important;
width:1px; height:1px;
padding:0; margin:-1px;
overflow:hidden; clip:rect(0,0,0,0);
white-space:nowrap; border:0;
}
.skip-link{
position:absolute;
left:12px; top:12px;
padding:10px 12px;
background:#000; color:#fff;
border-radius:10px;
transform: translateY(-200%);
}
.skip-link:focus{ transform: translateY(0); }
.topbar{
background: #0f0f14;
color:#fff;
font-size:14px;
}
.topbar__inner{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
padding:10px 0;
}
.topbar__left{ display:flex; gap:10px; align-items:center; }
.topbar__right{ display:flex; gap:14px; align-items:center; }
.topbar__link{ color:#fff; opacity:.9; }
.topbar__link:hover{ opacity:1; text-decoration:none; }
.pill{
display:inline-flex;
align-items:center;
padding:4px 10px;
border-radius:999px;
background: rgba(255,255,255,.12);
border: 1px solid rgba(255,255,255,.18);
font-weight:600;
}
.linklike{
background:none;
border:0;
color:#fff;
opacity:.92;
cursor:pointer;
padding:6px 8px;
border-radius:10px;
}
.linklike:hover{ background: rgba(255,255,255,.08); opacity:1; }
.site-header{
border-bottom: 1px solid var(--line);
background:#fff;
position:sticky;
top:0;
z-index:10;
}
.nav{
display:grid;
grid-template-columns: auto 1fr auto;
gap:16px;
align-items:center;
padding:14px 0;
}
.brand{
display:flex;
align-items:baseline;
gap:10px;
white-space:nowrap;
}
.brand__mark{
width:34px; height:34px;
border-radius:12px;
display:grid; place-items:center;
background: linear-gradient(135deg, var(--brand), var(--brand2));
color:#fff;
font-weight:900;
box-shadow: 0 10px 20px rgba(255,77,45,.25);
text-transform:lowercase;
}
.brand__name{
font-size:18px;
font-weight:900;
letter-spacing:.2px;
}
.brand__note{
margin-left:6px;
font-size:12px;
color:var(--muted);
font-weight:700;
}
.search{
display:flex;
gap:10px;
align-items:center;
padding:8px;
border:1px solid var(--line);
background: var(--soft);
border-radius: 999px;
}
.search input{
width:100%;
border:0;
outline:none;
background:transparent;
padding:10px 12px;
font-size:15px;
}
.actions{
display:flex;
align-items:center;
gap:8px;
}
.icon-btn{
position:relative;
display:flex;
align-items:center;
gap:8px;
padding:10px 12px;
border-radius:999px;
border:1px solid var(--line);
background:#fff;
}
.icon-btn:hover{
text-decoration:none;
box-shadow: var(--shadow);
}
.icon{
font-size:18px;
}
.icon-btn__label{
font-size:14px;
font-weight:700;
color:#2a2e39;
}
.badge{
position:absolute;
top:-6px; right:-6px;
background: var(--brand);
color:#fff;
font-weight:800;
font-size:12px;
padding:4px 7px;
border-radius:999px;
border:2px solid #fff;
}
.cats{
display:flex;
gap:10px;
padding:0 0 14px 0;
overflow:auto;
scrollbar-width: thin;
}
.chip{
display:inline-flex;
align-items:center;
justify-content:center;
padding:10px 12px;
border-radius:999px;
background: #fff;
border: 1px solid var(--line);
color:#2a2e39;
font-weight:800;
font-size:14px;
white-space:nowrap;
}
.chip:hover{ text-decoration:none; box-shadow: var(--shadow); }
.chip--active{
background: var(--soft2);
border-color: rgba(255,77,45,.35);
}
.hero{
background:
radial-gradient(1200px 600px at 10% 10%, rgba(255,77,45,.16), transparent 60%),
radial-gradient(1200px 600px at 90% 10%, rgba(255,122,0,.14), transparent 60%),
linear-gradient(180deg, #ffffff, #fffdfc);
padding: 26px 0 34px;
border-bottom: 1px solid var(--line);
}
.hero__grid{
display:grid;
grid-template-columns: 1.2fr .8fr;
gap: 18px;
align-items:stretch;
}
.hero__copy{
background:#fff;
border:1px solid var(--line);
border-radius: var(--radius2);
padding: 22px;
box-shadow: var(--shadow);
}
.kicker{
display:inline-flex;
padding:6px 10px;
border-radius: 999px;
background: rgba(255,77,45,.10);
border: 1px solid rgba(255,77,45,.22);
font-weight:900;
color:#7a2a1d;
margin:0 0 10px;
}
.hero h1{
margin:0 0 10px;
font-size: clamp(28px, 4vw, 44px);
line-height:1.05;
letter-spacing:-.5px;
}
.sub{
margin:0 0 16px;
color:var(--muted);
font-size:16px;
max-width: 56ch;
}
.hero__cta{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-bottom: 18px;
}
.btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:12px 16px;
border-radius: 999px;
border:1px solid transparent;
font-weight:900;
cursor:pointer;
user-select:none;
text-decoration:none;
}
.btn:hover{ text-decoration:none; filter: brightness(.98); }
.btn--primary{
background: linear-gradient(135deg, var(--brand), var(--brand2));
color: var(--btnText);
box-shadow: 0 14px 30px rgba(255,77,45,.25);
}
.btn--ghost{
background:#fff;
border-color: var(--line);
}
.btn--small{
padding:10px 12px;
width:100%;
border-color: var(--line);
background:#fff;
}
.btn--small:hover{ box-shadow: var(--shadow); }
.trust{
display:grid;
grid-template-columns: repeat(3, minmax(0,1fr));
gap:10px;
margin:0;
}
.trust__item{
border:1px solid var(--line);
background: var(--soft);
border-radius: 14px;
padding: 10px 12px;
}
.trust__item dt{
font-weight:900;
margin:0 0 2px;
font-size:14px;
}
.trust__item dd{
margin:0;
color:var(--muted);
font-size:13px;
}
.hero__panel .panel{
border:1px solid var(--line);
border-radius: var(--radius2);
background:#fff;
padding: 18px;
box-shadow: var(--shadow);
height:100%;
}
.panel__head{
display:flex;
justify-content:space-between;
align-items:baseline;
gap:12px;
margin-bottom: 12px;
}
.panel__head h2{
margin:0;
font-size:16px;
font-weight:1000;
}
.panel__head p{
margin:0;
color:var(--muted);
font-size:14px;
}
.mini-list{
list-style:none;
padding:0;
margin: 0 0 10px;
display:grid;
gap:10px;
}
.mini{
display:grid;
grid-template-columns: 54px 1fr;
gap:10px;
align-items:center;
padding: 10px;
border-radius: 16px;
border: 1px solid var(--line);
background: var(--soft);
}
.mini__img{
width:54px; height:54px;
border-radius: 14px;
background:
radial-gradient(35px 35px at 25% 30%, rgba(255,122,0,.25), transparent 60%),
radial-gradient(35px 35px at 70% 60%, rgba(255,77,45,.25), transparent 60%),
#fff;
border: 1px solid rgba(0,0,0,.06);
}
.mini__title{ margin:0 0 2px; font-weight:900; }
.mini__price{ margin:0; color:var(--muted); }
.now{ font-weight:1000; color:#1b1f2a; }
.was{ text-decoration:line-through; margin-left:8px; opacity:.7; }
.panel__link{
display:inline-flex;
font-weight:900;
color:#2a2e39;
padding:8px 10px;
border-radius: 12px;
}
.panel__link:hover{ background: var(--soft); text-decoration:none; }
.section{ padding: 26px 0; }
.section--alt{ background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
margin-bottom: 14px;
}
.section__head h2{
margin:0;
font-size: 20px;
font-weight:1000;
}
.muted-link{ color:var(--muted); font-weight:800; }
.cat-grid{
display:grid;
grid-template-columns: repeat(6, minmax(0,1fr));
gap: 12px;
}
.cat-card{
display:flex;
flex-direction:column;
gap:6px;
padding: 14px;
border-radius: var(--radius);
background:#fff;
border:1px solid var(--line);
box-shadow: 0 8px 18px rgba(20,24,36,.06);
}
.cat-card:hover{ text-decoration:none; box-shadow: var(--shadow); }
.cat-card__emoji{ font-size: 22px; }
.cat-card__name{ font-weight:1000; }
.cat-card__hint{ color:var(--muted); font-size: 13px; }
.filters{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.product-grid{
display:grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.product{
border:1px solid var(--line);
background:#fff;
border-radius: var(--radius2);
overflow:hidden;
box-shadow: 0 8px 18px rgba(20,24,36,.06);
display:flex;
flex-direction:column;
}
.product__img{
height: 160px;
background:
radial-gradient(90px 60px at 20% 30%, rgba(255,122,0,.25), transparent 60%),
radial-gradient(120px 80px at 70% 60%, rgba(255,77,45,.22), transparent 60%),
linear-gradient(135deg, rgba(0,0,0,.03), rgba(0,0,0,0));
}
.product__body{
padding: 14px;
display:flex;
flex-direction:column;
gap:10px;
flex:1;
}
.product__title{
margin:0;
font-size:16px;
font-weight:1000;
}
.product__meta{
margin:0;
color:var(--muted);
font-size:13px;
}
.product__price{
display:flex;
align-items:baseline;
gap:10px;
}
.product__price .now{ font-size:18px; }
.product__price .off{
font-weight:1000;
color:#7a2a1d;
background: rgba(255,77,45,.10);
border: 1px solid rgba(255,77,45,.18);
padding:4px 8px;
border-radius: 999px;
font-size:12px;
}
.promo{
display:grid;
grid-template-columns: 1fr 1fr;
gap:12px;
}
.promo__card{
background:#fff;
border:1px solid var(--line);
border-radius: var(--radius2);
padding: 18px;
box-shadow: 0 8px 18px rgba(20,24,36,.06);
}
.promo__card--outline{
background: #fff;
}
.promo__card h2{ margin:0 0 6px; font-size:18px; font-weight:1000; }
.promo__card p{ margin:0 0 12px; color:var(--muted); }
.footer{
background:#0f0f14;
color:#fff;
padding: 26px 0 18px;
margin-top: 10px;
}
.brand--footer .brand__note{ color: rgba(255,255,255,.65); }
.footer__grid{
display:grid;
grid-template-columns: 1fr 1.4fr;
gap: 18px;
align-items:start;
}
.footer__text{
margin:10px 0 0;
color: rgba(255,255,255,.75);
max-width: 60ch;
}
.footer__cols{
display:grid;
grid-template-columns: repeat(3, minmax(0,1fr));
gap: 14px;
}
.footer__col h3{
margin:0 0 10px;
font-size:14px;
font-weight:1000;
}
.footer__col a{
display:block;
padding: 7px 0;
color: rgba(255,255,255,.78);
}
.footer__col a:hover{ color:#fff; text-decoration:none; }
.footer__bottom{
border-top: 1px solid rgba(255,255,255,.12);
margin-top: 18px;
padding-top: 12px;
color: rgba(255,255,255,.72);
font-size: 13px;
}
/* Responsive */
@media (max-width: 980px){
.nav{
grid-template-columns: 1fr;
gap:10px;
}
.actions{
justify-content:space-between;
}
.hero__grid{
grid-template-columns: 1fr;
}
.cat-grid{
grid-template-columns: repeat(3, minmax(0,1fr));
}
.product-grid{
grid-template-columns: repeat(2, minmax(0,1fr));
}
.footer__grid{
grid-template-columns: 1fr;
}
}
@media (max-width: 560px){
.topbar__inner{
flex-direction:column;
align-items:flex-start;
}
.search{
border-radius: 18px;
}
.icon-btn__label{
display:none;
}
.trust{
grid-template-columns: 1fr;
}
.cat-grid{
grid-template-columns: repeat(2, minmax(0,1fr));
}
.product-grid{
grid-template-columns: 1fr;
}
.promo{
grid-template-columns: 1fr;
}
}