/* IKEA rebrand concept — monochrome minimal system */
:root{
  --black:#111111;
  --ink:#2b2b2a;
  --grey-700:#4a4a48;
  --grey-500:#8a8a86;
  --grey-300:#bdbdb9;
  --grey-200:#e2e2df;
  --grey-100:#efefed;
  --off:#f6f6f4;
  --white:#ffffff;
  --radius:4px;
  --wrap:1280px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-font-smoothing:antialiased}
body{font-family:Inter,"Helvetica Neue",Arial,sans-serif;color:var(--black);background:var(--white);font-size:15px;line-height:1.55;letter-spacing:-0.005em}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 40px}
.label{font-size:13px;color:var(--grey-500)}
h1,h2,h3{font-weight:600;letter-spacing:-0.035em;line-height:1.02}
h1{font-size:76px}
h2{font-size:40px}
h3{font-size:20px;letter-spacing:-0.02em;line-height:1.2}
.muted{color:var(--grey-500)}
.btn{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 26px;border-radius:999px;font-weight:500;font-size:14px;border:1px solid var(--black);background:var(--black);color:var(--white);cursor:pointer;white-space:nowrap}
.btn.ghost{background:transparent;color:var(--black)}
.btn.light{background:var(--white);color:var(--black);border-color:var(--white)}
.btn.block{width:100%;justify-content:center}
.arrow{font-size:16px;line-height:1}

/* Top bar + nav */
.topbar{background:var(--black);color:#d6d6d3;font-size:12px}
.topbar .wrap{display:flex;justify-content:space-between;height:34px;align-items:center}
.topbar span b{color:var(--white);font-weight:500}
.nav{border-bottom:1px solid var(--grey-200);background:var(--white)}
.nav .wrap{display:flex;align-items:center;height:80px;gap:48px}
.nav .logo img{height:46px;width:auto}
.nav .links{display:flex;gap:30px;font-size:14px;font-weight:500}
.nav .links a{color:var(--grey-700)}
.nav .links a.on{color:var(--black);box-shadow:inset 0 -2px 0 var(--black);padding-bottom:6px}
.nav .tools{margin-left:auto;display:flex;align-items:center;gap:22px}
.search{display:flex;align-items:center;gap:10px;height:42px;width:300px;padding:0 18px;border-radius:999px;background:var(--grey-100);color:var(--grey-500);font-size:13.5px}
.icon{width:22px;height:22px;stroke:var(--black);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cart-ico{position:relative}
.cart-ico i{position:absolute;top:-6px;right:-8px;background:var(--black);color:var(--white);font-style:normal;font-size:10px;font-weight:600;width:17px;height:17px;border-radius:50%;display:grid;place-items:center}
.menu-btn{display:none}

/* Tiles */
.tile{background:var(--grey-100);border-radius:var(--radius);display:grid;place-items:center;overflow:hidden;position:relative}
.tile img{width:78%;height:auto}
.tile.alt{background:var(--grey-200)}
.tile.off{background:var(--off)}

/* Product card */
.card .tile{aspect-ratio:1/1}
.card .meta{padding:16px 2px 0}
.card .name{font-weight:600;font-size:14px;letter-spacing:.02em}
.card .desc{color:var(--grey-500);font-size:13.5px}
.card .price{font-weight:600;font-size:22px;letter-spacing:-0.03em;margin-top:8px}
.card .price sup{font-size:12px;vertical-align:8px;font-weight:600}
.card .was{font-size:14px;font-weight:400;color:var(--grey-500);letter-spacing:0;margin-left:6px}
.card .row{display:flex;justify-content:space-between;align-items:center}
.swatches{display:flex;gap:6px}
.sw{width:14px;height:14px;border-radius:50%;border:1px solid var(--grey-300)}
.tag{position:absolute;top:14px;left:14px;font-size:10.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;background:var(--white);padding:5px 9px;border-radius:2px}
.tag.dark{background:var(--black);color:var(--white)}
.fav{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:50%;background:var(--white);display:grid;place-items:center}
.fav .icon{width:16px;height:16px}
.add{width:36px;height:36px;border-radius:50%;border:1px solid var(--black);display:grid;place-items:center;font-size:18px;line-height:1}

/* Sections */
section{padding:96px 0}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:36px}
.sec-head a{font-size:14px;font-weight:500;border-bottom:1px solid var(--black);padding-bottom:2px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
hr.rule{border:0;border-top:1px solid var(--grey-200)}

/* Footer */
footer{background:var(--black);color:#a8a8a4;padding:80px 0 36px;font-size:13.5px}
footer .cols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px}
footer h4{color:var(--white);font-size:14px;font-weight:600;margin-bottom:18px}
footer li{list-style:none;margin-bottom:10px}
footer .logo img{height:58px;width:auto;margin-bottom:22px}
footer .base{display:flex;justify-content:space-between;margin-top:64px;padding-top:24px;border-top:1px solid #2a2a29;font-size:12px;color:#7a7a77}

/* Breadcrumb */
.crumbs{font-size:12.5px;color:var(--grey-500);padding:22px 0}
.crumbs b{color:var(--black);font-weight:500}

@media (max-width:760px){
  .wrap{padding:0 16px}
  h1{font-size:44px}
  h2{font-size:30px}
  section{padding:56px 0}
  .topbar .wrap span:last-child{display:none}
  .topbar .wrap{justify-content:center}
  .nav .wrap{height:64px;gap:16px}
  .nav .logo img{height:36px}
  .nav .links,.search{display:none}
  .nav .tools{gap:18px}
  .menu-btn{display:block}
  .grid-4,.grid-3{grid-template-columns:repeat(2,1fr);gap:14px}
  .card .price{font-size:18px}
  .btn{padding:0 18px;font-size:13.5px}
  .card .meta{padding-top:10px}
  .sec-head{margin-bottom:22px}
  footer .cols{grid-template-columns:1fr 1fr}
  footer .cols>div:first-child{grid-column:1/-1}
  footer .base{flex-direction:column;gap:8px}
}
